Package com.dropbox.core.v2.teamlog
Class ExtendedVersionHistoryChangePolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.ExtendedVersionHistoryChangePolicyDetails
Accepted/opted out of extended version history.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExtendedVersionHistoryPolicyprotected final ExtendedVersionHistoryPolicy -
Constructor Summary
ConstructorsConstructorDescriptionAccepted/opted out of extended version history.ExtendedVersionHistoryChangePolicyDetails(ExtendedVersionHistoryPolicy newValue, ExtendedVersionHistoryPolicy previousValue) Accepted/opted out of extended version history. -
Method Summary
-
Field Details
-
newValue
-
previousValue
-
-
Constructor Details
-
ExtendedVersionHistoryChangePolicyDetails
public ExtendedVersionHistoryChangePolicyDetails(@Nonnull ExtendedVersionHistoryPolicy newValue, @Nullable ExtendedVersionHistoryPolicy previousValue) Accepted/opted out of extended version history.- Parameters:
newValue- New extended version history policy. Must not benull.previousValue- Previous extended version history policy. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
ExtendedVersionHistoryChangePolicyDetails
Accepted/opted out of extended version history.The default values for unset fields will be used.
- Parameters:
newValue- New extended version history policy. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New extended version history policy.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous extended version history 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
-