Package com.dropbox.core.v2.filerequests
Class FileRequestDeadline
java.lang.Object
com.dropbox.core.v2.filerequests.FileRequestDeadline
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileRequestDeadline(Date deadline) NoneFileRequestDeadline(Date deadline, GracePeriod allowLateUploads) -
Method Summary
-
Field Details
-
deadline
-
allowLateUploads
-
-
Constructor Details
-
FileRequestDeadline
- Parameters:
deadline- The deadline for this file request. Must not benull.allowLateUploads- If set, allow uploads after the deadline has passed. These uploads will be marked overdue.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
FileRequestDeadline
NoneThe default values for unset fields will be used.
- Parameters:
deadline- The deadline for this file request. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getDeadline
The deadline for this file request.- Returns:
- value for this field, never
null.
-
getAllowLateUploads
If set, allow uploads after the deadline has passed. These uploads will be marked overdue.- 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
-