Package com.dropbox.core.v2.teamlog
Class FileEditCommentDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.FileEditCommentDetails
 
- 
 public class FileEditCommentDetails extends java.lang.ObjectEdited file comment.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringcommentTextprotected java.lang.StringpreviousCommentText
 - 
Constructor SummaryConstructors Constructor Description FileEditCommentDetails(java.lang.String previousCommentText)Edited file comment.FileEditCommentDetails(java.lang.String previousCommentText, java.lang.String commentText)Edited file comment.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCommentText()Comment text.java.lang.StringgetPreviousCommentText()Previous comment text.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
FileEditCommentDetailspublic FileEditCommentDetails(java.lang.String previousCommentText, java.lang.String commentText)Edited file comment.- Parameters:
- previousCommentText- Previous comment text. Must not be- null.
- commentText- Comment text.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
FileEditCommentDetailspublic FileEditCommentDetails(java.lang.String previousCommentText) Edited file comment.The default values for unset fields will be used. - Parameters:
- previousCommentText- Previous comment text. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getPreviousCommentTextpublic java.lang.String getPreviousCommentText() Previous comment text.- Returns:
- value for this field, never null.
 
 - 
getCommentTextpublic java.lang.String getCommentText() Comment text.- Returns:
- value for this field, or nullif not present.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String 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
 
 
- 
 
-