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

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

Public Methods

Method Description
Build ( ) : Group

Builds and returns the Group object.

GetDescription ( ) : string

Gets the description of the Group.

GetName ( ) : string

Gets the name of the Group.

GetOwnerId ( ) : long?

Gets the Owner ID of the Group.

SetDescription ( string description ) : UpdateGroupBuilder

Sets the Description of the Group.

SetName ( string name ) : UpdateGroupBuilder

Sets the Name of the Group.

SetOwnerId ( long ownerId ) : UpdateGroupBuilder

Sets the Owener ID of the Group.

UpdateGroupBuilder ( long id ) : System

Sets the required properties for updating a group.

Method Details

Build() public method

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

GetDescription() public method

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

GetName() public method

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

GetOwnerId() public method

Gets the Owner ID of the Group.
public GetOwnerId ( ) : long?
return long?

SetDescription() public method

Sets the Description of the Group.
public SetDescription ( string description ) : UpdateGroupBuilder
description string the description of the Group
return UpdateGroupBuilder

SetName() public method

Sets the Name of the Group.
public SetName ( string name ) : UpdateGroupBuilder
name string the name of the Group
return UpdateGroupBuilder

SetOwnerId() public method

Sets the Owener ID of the Group.
public SetOwnerId ( long ownerId ) : UpdateGroupBuilder
ownerId long the owner ID of the Group
return UpdateGroupBuilder

UpdateGroupBuilder() public method

Sets the required properties for updating a group.
public UpdateGroupBuilder ( long id ) : System
id long the group id
return System