Package com.dropbox.core.v2.teamlog
Class FileRequestChangeDetails
java.lang.Object
com.dropbox.core.v2.teamlog.FileRequestChangeDetails
Changed file request.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final FileRequestDetailsprotected final FileRequestDetails -
Constructor Summary
ConstructorsConstructorDescriptionFileRequestChangeDetails(FileRequestDetails newDetails) Changed file request.FileRequestChangeDetails(FileRequestDetails newDetails, String fileRequestId, FileRequestDetails previousDetails) Changed file request. -
Method Summary
Modifier and TypeMethodDescriptionbooleanFile request id.New file request details.Previous file request details.inthashCode()newBuilder(FileRequestDetails newDetails) 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
-
fileRequestId
-
previousDetails
-
newDetails
-
-
Constructor Details
-
FileRequestChangeDetails
public FileRequestChangeDetails(@Nonnull FileRequestDetails newDetails, @Nullable String fileRequestId, @Nullable FileRequestDetails previousDetails) Changed file request.Use
newBuilder(com.dropbox.core.v2.teamlog.FileRequestDetails)to create instances of this class without specifying values for all optional fields.- Parameters:
newDetails- New file request details. Must not benull.fileRequestId- File request id. Might be missing due to historical data gap. Must have length of at least 1 and match pattern "[-_0-9a-zA-Z]+".previousDetails- Previous file request details. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
FileRequestChangeDetails
Changed file request.The default values for unset fields will be used.
- Parameters:
newDetails- New file request details. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewDetails
New file request details.- Returns:
- value for this field, never
null.
-
getFileRequestId
File request id. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
getPreviousDetails
Previous file request details. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Parameters:
newDetails- New file request details. 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
-