C# Class Smartsheet.Api.Models.Group.CreateGroupBuilder

A convenience class for making a Group object with the appropriate fields for creating the group.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
Build ( ) : Group

Builds and returns the Group object

CreateGroupBuilder ( string name, string description ) : System

Sets the required attributes for creating a Group.

GetName ( ) : string

Gets the name of the Group.

SetDescription ( string description ) : CreateGroupBuilder

Sets the description of the Group.

SetMembers ( IList members ) : CreateGroupBuilder

Sets the members of the Group.

SetName ( string name ) : CreateGroupBuilder

Sets the name of the Group.

getDescription ( ) : string

Gets the description of the Group.

getMembers ( ) : IList

Gets the members of the Group.

Method Details

Build() public method

Builds and returns the Group object
public Build ( ) : Group
return Group

CreateGroupBuilder() public method

Sets the required attributes for creating a Group.
public CreateGroupBuilder ( string name, string description ) : System
name string name of group, must be unique within the organization
description string description of group
return System

GetName() public method

Gets the name of the Group.
public GetName ( ) : string
return string

SetDescription() public method

Sets the description of the Group.
public SetDescription ( string description ) : CreateGroupBuilder
description string the description of the group
return CreateGroupBuilder

SetMembers() public method

Sets the members of the Group.
public SetMembers ( IList members ) : CreateGroupBuilder
members IList the members of the group
return CreateGroupBuilder

SetName() public method

Sets the name of the Group.
public SetName ( string name ) : CreateGroupBuilder
name string the name of the group
return CreateGroupBuilder

getDescription() public method

Gets the description of the Group.
public getDescription ( ) : string
return string

getMembers() public method

Gets the members of the Group.
public getMembers ( ) : IList
return IList