Package com.dropbox.core.v2.teamlog
Class SharedContentChangeDownloadsPolicyDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.SharedContentChangeDownloadsPolicyDetails
 
- 
 public class SharedContentChangeDownloadsPolicyDetails extends java.lang.ObjectChanged whether members can download shared file/folder.
- 
- 
Field SummaryFields Modifier and Type Field Description protected DownloadPolicyTypenewValueprotected DownloadPolicyTypepreviousValue
 - 
Constructor SummaryConstructors Constructor Description SharedContentChangeDownloadsPolicyDetails(DownloadPolicyType newValue)Changed whether members can download shared file/folder.SharedContentChangeDownloadsPolicyDetails(DownloadPolicyType newValue, DownloadPolicyType previousValue)Changed whether members can download shared file/folder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)DownloadPolicyTypegetNewValue()New downloads policy.DownloadPolicyTypegetPreviousValue()Previous downloads policy.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
newValueprotected final DownloadPolicyType newValue 
 - 
previousValueprotected final DownloadPolicyType previousValue 
 
- 
 - 
Constructor Detail- 
SharedContentChangeDownloadsPolicyDetailspublic SharedContentChangeDownloadsPolicyDetails(DownloadPolicyType newValue, DownloadPolicyType previousValue) Changed whether members can download shared file/folder.- Parameters:
- newValue- New downloads policy. Must not be- null.
- previousValue- Previous downloads policy. Might be missing due to historical data gap.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
SharedContentChangeDownloadsPolicyDetailspublic SharedContentChangeDownloadsPolicyDetails(DownloadPolicyType newValue) Changed whether members can download shared file/folder.The default values for unset fields will be used. - Parameters:
- newValue- New downloads policy. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getNewValuepublic DownloadPolicyType getNewValue() New downloads policy.- Returns:
- value for this field, never null.
 
 - 
getPreviousValuepublic DownloadPolicyType getPreviousValue() Previous downloads policy. Might be missing due to historical data gap.- 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
 
 
- 
 
-