public class FileRequestReceiveFileDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FileRequestReceiveFileDetails.Builder
Builder for
FileRequestReceiveFileDetails . |
Modifier and Type | Field and 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 and 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.
|
Modifier and Type | Method and 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.
|
protected final java.lang.String fileRequestId
protected final FileRequestDetails fileRequestDetails
protected final java.util.List<java.lang.String> submittedFileNames
protected final java.lang.String submitterName
protected final java.lang.String submitterEmail
public FileRequestReceiveFileDetails(java.util.List<java.lang.String> submittedFileNames, java.lang.String fileRequestId, FileRequestDetails fileRequestDetails, java.lang.String submitterName, java.lang.String submitterEmail)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
submittedFileNames
- Submitted file names. Must not contain a
null
item and not be null
.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. Might be
missing due to historical data gap.submitterEmail
- The email as provided by the submitter. Might be
missing due to historical data gap. Must have length of at most 255.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FileRequestReceiveFileDetails(java.util.List<java.lang.String> submittedFileNames)
The default values for unset fields will be used.
submittedFileNames
- Submitted file names. Must not contain a
null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<java.lang.String> getSubmittedFileNames()
null
.public java.lang.String getFileRequestId()
null
if not present.public FileRequestDetails getFileRequestDetails()
null
if not present.public java.lang.String getSubmitterName()
null
if not present.public java.lang.String getSubmitterEmail()
null
if not present.public static FileRequestReceiveFileDetails.Builder newBuilder(java.util.List<java.lang.String> submittedFileNames)
submittedFileNames
- Submitted file names. Must not contain a
null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.