Package com.dropbox.core.v2.teamlog
Class FileEditCommentDetails
java.lang.Object
com.dropbox.core.v2.teamlog.FileEditCommentDetails
Edited file comment.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileEditCommentDetails(String previousCommentText) Edited file comment.FileEditCommentDetails(String previousCommentText, String commentText) Edited file comment. -
Method Summary
-
Field Details
-
commentText
-
previousCommentText
-
-
Constructor Details
-
FileEditCommentDetails
Edited file comment.- Parameters:
previousCommentText- Previous comment text. Must not benull.commentText- Comment text.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
FileEditCommentDetails
Edited file comment.The default values for unset fields will be used.
- Parameters:
previousCommentText- Previous comment text. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getPreviousCommentText
Previous comment text.- Returns:
- value for this field, never
null.
-
getCommentText
Comment text.- 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
-