Package com.dropbox.core.v2.teamlog
Class GovernancePolicyEditDetailsDetails
java.lang.Object
com.dropbox.core.v2.teamlog.GovernancePolicyEditDetailsDetails
Edited policy.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernancePolicyEditDetailsDetails(String governancePolicyId, String name, String attribute, String previousValue, String newValue) Edited policy.GovernancePolicyEditDetailsDetails(String governancePolicyId, String name, String attribute, String previousValue, String newValue, PolicyType policyType) Edited policy. -
Method Summary
-
Field Details
-
governancePolicyId
-
name
-
policyType
-
attribute
-
previousValue
-
newValue
-
-
Constructor Details
-
GovernancePolicyEditDetailsDetails
public GovernancePolicyEditDetailsDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String attribute, @Nonnull String previousValue, @Nonnull String newValue, @Nullable PolicyType policyType) Edited policy.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.attribute- Attribute. Must not benull.previousValue- From. Must not benull.newValue- To. Must not benull.policyType- Policy type.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GovernancePolicyEditDetailsDetails
public GovernancePolicyEditDetailsDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String attribute, @Nonnull String previousValue, @Nonnull String newValue) Edited policy.The default values for unset fields will be used.
- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.attribute- Attribute. Must not benull.previousValue- From. Must not benull.newValue- To. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getGovernancePolicyId
Policy ID.- Returns:
- value for this field, never
null.
-
getName
Policy name.- Returns:
- value for this field, never
null.
-
getAttribute
Attribute.- Returns:
- value for this field, never
null.
-
getPreviousValue
From.- Returns:
- value for this field, never
null.
-
getNewValue
To.- Returns:
- value for this field, never
null.
-
getPolicyType
Policy type.- 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
-