Table of Contents

Class Group.CreateGroupBuilder

Namespace
Smartsheet.Api.Models
Assembly
smartsheet-csharp-sdk.dll

A convenience class for making a Group object with the appropriate fields for creating the group.

public class Group.CreateGroupBuilder
Inheritance
Group.CreateGroupBuilder
Inherited Members

Constructors

CreateGroupBuilder(string, string)

Sets the required attributes for creating a Group.

public CreateGroupBuilder(string name, string description)

Parameters

name string

name of group, must be unique within the organization

description string

description of group

Methods

Build()

Builds and returns the Group object

public Group Build()

Returns

Group

the Group object built.

GetName()

Gets the name of the Group.

public string GetName()

Returns

string

the name

SetDescription(string)

Sets the description of the Group.

public Group.CreateGroupBuilder SetDescription(string description)

Parameters

description string

the description of the group

Returns

Group.CreateGroupBuilder

the create group builder

SetMembers(IList<GroupMember>)

Sets the members of the Group.

public Group.CreateGroupBuilder SetMembers(IList<GroupMember> members)

Parameters

members IList<GroupMember>

the members of the group

Returns

Group.CreateGroupBuilder

the create group builder

SetName(string)

Sets the name of the Group.

public Group.CreateGroupBuilder SetName(string name)

Parameters

name string

the name of the group

Returns

Group.CreateGroupBuilder

the create group builder

getDescription()

Gets the description of the Group.

public string getDescription()

Returns

string

the description

getMembers()

Gets the members of the Group.

public IList<GroupMember> getMembers()

Returns

IList<GroupMember>

the members