Package com.smartsheet.api.models
Class Discussion.CreateDiscussionBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Discussion.CreateDiscussionBuilder
-
- Enclosing class:
- Discussion
public static class Discussion.CreateDiscussionBuilder extends java.lang.ObjectA convenience class to help generate discussion object with the appropriate fields for adding a discussion to a sheet.
-
-
Constructor Summary
Constructors Constructor Description CreateDiscussionBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Discussionbuild()Builds the.CommentgetComment()Gets the comments.java.lang.StringgetTitle()Gets the title.Discussion.CreateDiscussionBuildersetComment(Comment comment)Sets the comments for the discussion.Discussion.CreateDiscussionBuildersetTitle(java.lang.String title)Sets the title for the discussion.
-
-
-
Method Detail
-
setTitle
public Discussion.CreateDiscussionBuilder setTitle(java.lang.String title)
Sets the title for the discussion.- Parameters:
title- the title- Returns:
- the creates the discussion builder
-
setComment
public Discussion.CreateDiscussionBuilder setComment(Comment comment)
Sets the comments for the discussion.- Parameters:
comment- the comments- Returns:
- the creates the discussion builder
-
getTitle
public java.lang.String getTitle()
Gets the title.- Returns:
- the title
-
getComment
public Comment getComment()
Gets the comments.- Returns:
- the comments
-
build
public Discussion build()
Builds the.- Returns:
- the discussion
-
-