C# Class Smartsheet.Api.Models.Favorite.AddFavoriteBuilder

A convenience class for making a Favorite object with the appropriate fields for adding the user.
Afficher le fichier Open project: smartsheet-platform/smartsheet-csharp-sdk

Méthodes publiques

Méthode Description
AddFavoriteBuilder ( ObjectType type, long objectId ) : System

Sets the required propeties for createing a Favorite.

Build ( ) : Favorite

Builds and returns the Favorite object.

Method Details

AddFavoriteBuilder() public méthode

Sets the required propeties for createing a Favorite.
public AddFavoriteBuilder ( ObjectType type, long objectId ) : System
type ObjectType the object type
objectId long ID of the favorited item. If type is "template", only private sheet-type template ID is allowed.
Résultat System

Build() public méthode

Builds and returns the Favorite object.
public Build ( ) : Favorite
Résultat Favorite