Package com.dropbox.core.v2.teamlog
Class GovernancePolicyContentDisposedDetails
java.lang.Object
com.dropbox.core.v2.teamlog.GovernancePolicyContentDisposedDetails
Content disposed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DispositionActionTypeprotected final Stringprotected final Stringprotected final PolicyType -
Constructor Summary
ConstructorsConstructorDescriptionGovernancePolicyContentDisposedDetails(String governancePolicyId, String name, DispositionActionType dispositionType) Content disposed.GovernancePolicyContentDisposedDetails(String governancePolicyId, String name, DispositionActionType dispositionType, PolicyType policyType) Content disposed. -
Method Summary
-
Field Details
-
governancePolicyId
-
name
-
policyType
-
dispositionType
-
-
Constructor Details
-
GovernancePolicyContentDisposedDetails
public GovernancePolicyContentDisposedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull DispositionActionType dispositionType, @Nullable PolicyType policyType) Content disposed.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.dispositionType- Disposition type. Must not benull.policyType- Policy type.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GovernancePolicyContentDisposedDetails
public GovernancePolicyContentDisposedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull DispositionActionType dispositionType) Content disposed.The default values for unset fields will be used.
- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.dispositionType- Disposition type. 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.
-
getDispositionType
Disposition type.- 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
-