Package com.dropbox.core.v2.teamlog
Class GovernancePolicyZipPartDownloadedDetails
java.lang.Object
com.dropbox.core.v2.teamlog.GovernancePolicyZipPartDownloadedDetails
Downloaded content from a policy.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forGovernancePolicyZipPartDownloadedDetails. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final PolicyType -
Constructor Summary
ConstructorsConstructorDescriptionGovernancePolicyZipPartDownloadedDetails(String governancePolicyId, String name, String exportName) Downloaded content from a policy.GovernancePolicyZipPartDownloadedDetails(String governancePolicyId, String name, String exportName, PolicyType policyType, String part) Downloaded content from a policy. -
Method Summary
Modifier and TypeMethodDescriptionbooleanExport name.Policy ID.getName()Policy name.getPart()Part.Policy type.inthashCode()newBuilder(String governancePolicyId, String name, String exportName) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
governancePolicyId
-
name
-
policyType
-
exportName
-
part
-
-
Constructor Details
-
GovernancePolicyZipPartDownloadedDetails
public GovernancePolicyZipPartDownloadedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String exportName, @Nullable PolicyType policyType, @Nullable String part) Downloaded content from a policy.Use
newBuilder(java.lang.String,java.lang.String,java.lang.String)to create instances of this class without specifying values for all optional fields.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.exportName- Export name. Must not benull.policyType- Policy type.part- Part.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GovernancePolicyZipPartDownloadedDetails
public GovernancePolicyZipPartDownloadedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String exportName) Downloaded content from a policy.The default values for unset fields will be used.
- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.exportName- Export 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.
-
getExportName
Export name.- Returns:
- value for this field, never
null.
-
getPolicyType
Policy type.- Returns:
- value for this field, or
nullif not present.
-
getPart
Part.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static GovernancePolicyZipPartDownloadedDetails.Builder newBuilder(String governancePolicyId, String name, String exportName) Returns a new builder for creating an instance of this class.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.exportName- Export name. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
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
-