Package com.dropbox.core.v2.teamlog
Class LegalHoldsExportAHoldDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.LegalHoldsExportAHoldDetails
-
public class LegalHoldsExportAHoldDetails extends java.lang.Object
Exported hold.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
exportName
protected java.lang.String
legalHoldId
protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description LegalHoldsExportAHoldDetails(java.lang.String legalHoldId, java.lang.String name)
Exported hold.LegalHoldsExportAHoldDetails(java.lang.String legalHoldId, java.lang.String name, java.lang.String exportName)
Exported hold.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getExportName()
Export name.java.lang.String
getLegalHoldId()
Hold ID.java.lang.String
getName()
Hold name.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
LegalHoldsExportAHoldDetails
public LegalHoldsExportAHoldDetails(@Nonnull java.lang.String legalHoldId, @Nonnull java.lang.String name, @Nullable java.lang.String exportName)
Exported hold.- Parameters:
legalHoldId
- Hold ID. Must not benull
.name
- Hold name. Must not benull
.exportName
- Export name.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
LegalHoldsExportAHoldDetails
public LegalHoldsExportAHoldDetails(@Nonnull java.lang.String legalHoldId, @Nonnull java.lang.String name)
Exported hold.The default values for unset fields will be used.
- Parameters:
legalHoldId
- Hold ID. Must not benull
.name
- Hold name. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getLegalHoldId
@Nonnull public java.lang.String getLegalHoldId()
Hold ID.- Returns:
- value for this field, never
null
.
-
getName
@Nonnull public java.lang.String getName()
Hold name.- Returns:
- value for this field, never
null
.
-
getExportName
@Nullable public java.lang.String getExportName()
Export name.- Returns:
- value for this field, or
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public 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
-
-