Package com.dropbox.core.v2.teamlog
Class SharedContentChangeDownloadsPolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.SharedContentChangeDownloadsPolicyDetails
Changed whether members can download shared file/folder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DownloadPolicyTypeprotected final DownloadPolicyType -
Constructor Summary
ConstructorsConstructorDescriptionChanged whether members can download shared file/folder.SharedContentChangeDownloadsPolicyDetails(DownloadPolicyType newValue, DownloadPolicyType previousValue) Changed whether members can download shared file/folder. -
Method Summary
-
Field Details
-
newValue
-
previousValue
-
-
Constructor Details
-
SharedContentChangeDownloadsPolicyDetails
public SharedContentChangeDownloadsPolicyDetails(@Nonnull DownloadPolicyType newValue, @Nullable DownloadPolicyType previousValue) Changed whether members can download shared file/folder.- Parameters:
newValue- New downloads policy. Must not benull.previousValue- Previous downloads policy. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
SharedContentChangeDownloadsPolicyDetails
Changed whether members can download shared file/folder.The default values for unset fields will be used.
- Parameters:
newValue- New downloads policy. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New downloads policy.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous downloads 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
-