Package com.dropbox.core.v2.teamlog
Class GovernancePolicyEditDetailsDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.GovernancePolicyEditDetailsDetails
 
- 
 public class GovernancePolicyEditDetailsDetails extends java.lang.ObjectEdited policy.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringattributeprotected java.lang.StringgovernancePolicyIdprotected java.lang.Stringnameprotected java.lang.StringnewValueprotected PolicyTypepolicyTypeprotected java.lang.StringpreviousValue
 - 
Constructor SummaryConstructors Constructor Description GovernancePolicyEditDetailsDetails(java.lang.String governancePolicyId, java.lang.String name, java.lang.String attribute, java.lang.String previousValue, java.lang.String newValue)Edited policy.GovernancePolicyEditDetailsDetails(java.lang.String governancePolicyId, java.lang.String name, java.lang.String attribute, java.lang.String previousValue, java.lang.String newValue, PolicyType policyType)Edited policy.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAttribute()Attribute.java.lang.StringgetGovernancePolicyId()Policy ID.java.lang.StringgetName()Policy name.java.lang.StringgetNewValue()To.PolicyTypegetPolicyType()Policy type.java.lang.StringgetPreviousValue()From.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
governancePolicyIdprotected final java.lang.String governancePolicyId 
 - 
nameprotected final java.lang.String name 
 - 
policyTypeprotected final PolicyType policyType 
 - 
attributeprotected final java.lang.String attribute 
 - 
previousValueprotected final java.lang.String previousValue 
 - 
newValueprotected final java.lang.String newValue 
 
- 
 - 
Constructor Detail- 
GovernancePolicyEditDetailsDetailspublic GovernancePolicyEditDetailsDetails(java.lang.String governancePolicyId, java.lang.String name, java.lang.String attribute, java.lang.String previousValue, java.lang.String newValue, PolicyType policyType)Edited policy.- Parameters:
- governancePolicyId- Policy ID. Must not be- null.
- name- Policy name. Must not be- null.
- attribute- Attribute. Must not be- null.
- previousValue- From. Must not be- null.
- newValue- To. Must not be- null.
- policyType- Policy type.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
GovernancePolicyEditDetailsDetailspublic GovernancePolicyEditDetailsDetails(java.lang.String governancePolicyId, java.lang.String name, java.lang.String attribute, java.lang.String previousValue, java.lang.String newValue)Edited policy.The default values for unset fields will be used. - Parameters:
- governancePolicyId- Policy ID. Must not be- null.
- name- Policy name. Must not be- null.
- attribute- Attribute. Must not be- null.
- previousValue- From. Must not be- null.
- newValue- To. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getGovernancePolicyIdpublic java.lang.String getGovernancePolicyId() Policy ID.- Returns:
- value for this field, never null.
 
 - 
getNamepublic java.lang.String getName() Policy name.- Returns:
- value for this field, never null.
 
 - 
getAttributepublic java.lang.String getAttribute() Attribute.- Returns:
- value for this field, never null.
 
 - 
getPreviousValuepublic java.lang.String getPreviousValue() From.- Returns:
- value for this field, never null.
 
 - 
getNewValuepublic java.lang.String getNewValue() To.- Returns:
- value for this field, never null.
 
 - 
getPolicyTypepublic PolicyType getPolicyType() Policy type.- 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
 
 
- 
 
-