Package com.dropbox.core.v2.teamlog
Class DashEditedCommentInStackDetails
java.lang.Object
com.dropbox.core.v2.teamlog.DashEditedCommentInStackDetails
Edited a comment in a stack.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final DashStackType -
Constructor Summary
ConstructorsConstructorDescriptionDashEditedCommentInStackDetails(String stackName, String stackItemName, String commentText) Edited a comment in a stack.DashEditedCommentInStackDetails(String stackName, String stackItemName, String commentText, DashStackType stackType) Edited a comment in a stack. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe text of the comment.The name of the stack item that the comment is tied to.The name of the stack where the comment exists.The type of stack backend.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
stackName
-
stackItemName
-
commentText
-
stackType
-
-
Constructor Details
-
DashEditedCommentInStackDetails
public DashEditedCommentInStackDetails(@Nonnull String stackName, @Nonnull String stackItemName, @Nonnull String commentText, @Nullable DashStackType stackType) Edited a comment in a stack.- Parameters:
stackName- The name of the stack where the comment exists. Must not benull.stackItemName- The name of the stack item that the comment is tied to. Must not benull.commentText- The text of the comment. Must not benull.stackType- The type of stack backend.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
DashEditedCommentInStackDetails
public DashEditedCommentInStackDetails(@Nonnull String stackName, @Nonnull String stackItemName, @Nonnull String commentText) Edited a comment in a stack.The default values for unset fields will be used.
- Parameters:
stackName- The name of the stack where the comment exists. Must not benull.stackItemName- The name of the stack item that the comment is tied to. Must not benull.commentText- The text of the comment. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getStackName
The name of the stack where the comment exists.- Returns:
- value for this field, never
null.
-
getStackItemName
The name of the stack item that the comment is tied to.- Returns:
- value for this field, never
null.
-
getCommentText
The text of the comment.- Returns:
- value for this field, never
null.
-
getStackType
The type of stack backend.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-