Package com.smartsheet.api.models
Class Comment.AddCommentBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Comment.AddCommentBuilder
-
- Enclosing class:
- Comment
public static class Comment.AddCommentBuilder extends java.lang.Object
A convenience class to generate a comment with the appropriate fields for adding it to a sheet.
-
-
Constructor Summary
Constructors Constructor Description AddCommentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comment
build()
Builds the comment.java.lang.String
getText()
Gets the text for the comment.Comment.AddCommentBuilder
setText(java.lang.String text)
The text for the comment.
-
-
-
Method Detail
-
setText
public Comment.AddCommentBuilder setText(java.lang.String text)
The text for the comment.- Parameters:
text
- the text- Returns:
- the adds the comment builder
-
getText
public java.lang.String getText()
Gets the text for the comment.- Returns:
- the text
-
build
public Comment build()
Builds the comment.- Returns:
- the comment
-
-