Smartsheet.Api.Models.Favorite.AddFavoriteBuilder.AddFavoriteBuilder C# (CSharp) Method

AddFavoriteBuilder() public method

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.
return System
            public AddFavoriteBuilder(ObjectType? type, long? objectId)
            {
                this.type = type;
                this.objectId = objectId;
            }
Favorite.AddFavoriteBuilder