Package com.dropbox.core.v2.teamlog
Class FileRequestReceiveFileDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileRequestReceiveFileDetails
-
public class FileRequestReceiveFileDetails extends java.lang.Object
Received files for file request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileRequestReceiveFileDetails.Builder
Builder forFileRequestReceiveFileDetails
.
-
Field Summary
Fields Modifier and Type Field Description protected FileRequestDetails
fileRequestDetails
protected java.lang.String
fileRequestId
protected java.util.List<java.lang.String>
submittedFileNames
protected java.lang.String
submitterEmail
protected java.lang.String
submitterName
-
Constructor Summary
Constructors Constructor Description FileRequestReceiveFileDetails(java.util.List<java.lang.String> submittedFileNames)
Received files for file request.FileRequestReceiveFileDetails(java.util.List<java.lang.String> submittedFileNames, java.lang.String fileRequestId, FileRequestDetails fileRequestDetails, java.lang.String submitterName, java.lang.String submitterEmail)
Received files for file request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
FileRequestDetails
getFileRequestDetails()
File request details.java.lang.String
getFileRequestId()
File request id.java.util.List<java.lang.String>
getSubmittedFileNames()
Submitted file names.java.lang.String
getSubmitterEmail()
The email as provided by the submitter.java.lang.String
getSubmitterName()
The name as provided by the submitter.int
hashCode()
static FileRequestReceiveFileDetails.Builder
newBuilder(java.util.List<java.lang.String> submittedFileNames)
Returns a new builder for creating an instance of this class.java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
fileRequestId
@Nullable protected final java.lang.String fileRequestId
-
fileRequestDetails
@Nullable protected final FileRequestDetails fileRequestDetails
-
submittedFileNames
@Nonnull protected final java.util.List<java.lang.String> submittedFileNames
-
submitterName
@Nullable protected final java.lang.String submitterName
-
submitterEmail
@Nullable protected final java.lang.String submitterEmail
-
-
Constructor Detail
-
FileRequestReceiveFileDetails
public FileRequestReceiveFileDetails(@Nonnull java.util.List<java.lang.String> submittedFileNames, @Nullable java.lang.String fileRequestId, @Nullable FileRequestDetails fileRequestDetails, @Nullable java.lang.String submitterName, @Nullable java.lang.String submitterEmail)
Received files for file request.Use
newBuilder(java.util.List<java.lang.String>)
to create instances of this class without specifying values for all optional fields.- Parameters:
submittedFileNames
- Submitted file names. Must not contain anull
item and 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]+
".fileRequestDetails
- File request details. Might be missing due to historical data gap.submitterName
- The name as provided by the submitter.submitterEmail
- The email as provided by the submitter. Must have length of at most 255.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
FileRequestReceiveFileDetails
public FileRequestReceiveFileDetails(@Nonnull java.util.List<java.lang.String> submittedFileNames)
Received files for file request.The default values for unset fields will be used.
- Parameters:
submittedFileNames
- Submitted file names. Must not contain anull
item and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getSubmittedFileNames
@Nonnull public java.util.List<java.lang.String> getSubmittedFileNames()
Submitted file names.- Returns:
- value for this field, never
null
.
-
getFileRequestId
@Nullable public java.lang.String getFileRequestId()
File request id. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getFileRequestDetails
@Nullable public FileRequestDetails getFileRequestDetails()
File request details. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getSubmitterName
@Nullable public java.lang.String getSubmitterName()
The name as provided by the submitter.- Returns:
- value for this field, or
null
if not present.
-
getSubmitterEmail
@Nullable public java.lang.String getSubmitterEmail()
The email as provided by the submitter.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static FileRequestReceiveFileDetails.Builder newBuilder(java.util.List<java.lang.String> submittedFileNames)
Returns a new builder for creating an instance of this class.- Parameters:
submittedFileNames
- Submitted file names. Must not contain anull
item and not benull
.- Returns:
- builder for this class.
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
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
-
-