Package com.dropbox.core.v2.teamlog
Class LegalHoldsActivateAHoldDetails
java.lang.Object
com.dropbox.core.v2.teamlog.LegalHoldsActivateAHoldDetails
Activated a hold.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLegalHoldsActivateAHoldDetails(String legalHoldId, String name, Date startDate) Activated a hold.LegalHoldsActivateAHoldDetails(String legalHoldId, String name, Date startDate, Date endDate) Activated a hold. -
Method Summary
-
Field Details
-
legalHoldId
-
name
-
startDate
-
endDate
-
-
Constructor Details
-
LegalHoldsActivateAHoldDetails
public LegalHoldsActivateAHoldDetails(@Nonnull String legalHoldId, @Nonnull String name, @Nonnull Date startDate, @Nullable Date endDate) Activated a hold.- Parameters:
legalHoldId- Hold ID. Must not benull.name- Hold name. Must not benull.startDate- Hold start date. Must not benull.endDate- Hold end date.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
LegalHoldsActivateAHoldDetails
public LegalHoldsActivateAHoldDetails(@Nonnull String legalHoldId, @Nonnull String name, @Nonnull Date startDate) Activated a hold.The default values for unset fields will be used.
- Parameters:
legalHoldId- Hold ID. Must not benull.name- Hold name. Must not benull.startDate- Hold start date. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getLegalHoldId
Hold ID.- Returns:
- value for this field, never
null.
-
getName
Hold name.- Returns:
- value for this field, never
null.
-
getStartDate
Hold start date.- Returns:
- value for this field, never
null.
-
getEndDate
Hold end date.- 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
-