Table of Contents

Class Discussion.CreateDiscussionBuilder

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

A convenience class to help generate discussion object with the appropriate fields for adding a discussion to a sheet or row.

public class Discussion.CreateDiscussionBuilder
Inheritance
Discussion.CreateDiscussionBuilder
Inherited Members

Constructors

CreateDiscussionBuilder(string, Comment)

Sets the required properties for creating a discussion.

public CreateDiscussionBuilder(string title, Comment comment)

Parameters

title string

the discussion title

comment Comment

the comment of the discussion

Methods

Build()

Builds the.

public Discussion Build()

Returns

Discussion

the discussion

GetComment()

Gets the comments.

public Comment GetComment()

Returns

Comment

the comments

GetTitle()

Gets the title.

public string GetTitle()

Returns

string

the title

SetComment(Comment)

Sets the comments for the discussion.

public Discussion.CreateDiscussionBuilder SetComment(Comment comment)

Parameters

comment Comment

the comments

Returns

Discussion.CreateDiscussionBuilder

the creates the discussion builder

SetTitle(string)

Sets the title for the discussion.

public Discussion.CreateDiscussionBuilder SetTitle(string title)

Parameters

title string

the title

Returns

Discussion.CreateDiscussionBuilder

the creates the discussion builder