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