Class Group.UpdateGroupBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for making a Group object with the appropriate fields for updating the group.
public class Group.UpdateGroupBuilder
- Inheritance
-
Group.UpdateGroupBuilder
- Inherited Members
Constructors
UpdateGroupBuilder(long?)
Sets the required properties for updating a group.
public UpdateGroupBuilder(long? id)
Parameters
id
long?the group id
Methods
Build()
Builds and returns the Group object.
public Group Build()
Returns
- Group
the Group object
GetDescription()
Gets the description of the Group.
public string GetDescription()
Returns
- string
the description
GetName()
Gets the name of the Group.
public string GetName()
Returns
- string
the name
GetOwnerId()
Gets the Owner ID of the Group.
public long? GetOwnerId()
Returns
- long?
the owner ID
SetDescription(string)
Sets the Description of the Group.
public Group.UpdateGroupBuilder SetDescription(string description)
Parameters
description
stringthe description of the Group
Returns
- Group.UpdateGroupBuilder
the update group builder
SetName(string)
Sets the Name of the Group.
public Group.UpdateGroupBuilder SetName(string name)
Parameters
name
stringthe name of the Group
Returns
- Group.UpdateGroupBuilder
the update group builder
SetOwnerId(long?)
Sets the Owener ID of the Group.
public Group.UpdateGroupBuilder SetOwnerId(long? ownerId)
Parameters
ownerId
long?the owner ID of the Group
Returns
- Group.UpdateGroupBuilder
the update group builder