Package com.dropbox.core.v2.teamlog
Class FileCommentsChangePolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.FileCommentsChangePolicyDetails
Enabled/disabled commenting on team files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FileCommentsPolicyprotected final FileCommentsPolicy -
Constructor Summary
ConstructorsConstructorDescriptionEnabled/disabled commenting on team files.FileCommentsChangePolicyDetails(FileCommentsPolicy newValue, FileCommentsPolicy previousValue) Enabled/disabled commenting on team files. -
Method Summary
-
Field Details
-
newValue
-
previousValue
-
-
Constructor Details
-
FileCommentsChangePolicyDetails
public FileCommentsChangePolicyDetails(@Nonnull FileCommentsPolicy newValue, @Nullable FileCommentsPolicy previousValue) Enabled/disabled commenting on team files.- Parameters:
newValue- New commenting on team files policy. Must not benull.previousValue- Previous commenting on team files policy. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
FileCommentsChangePolicyDetails
Enabled/disabled commenting on team files.The default values for unset fields will be used.
- Parameters:
newValue- New commenting on team files policy. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New commenting on team files policy.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous commenting on team files policy. Might be missing due to historical data gap.- 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
-