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