public class FileRequestCloseDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FileRequestCloseDetails.Builder
Builder for
FileRequestCloseDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fileRequestId |
protected FileRequestDetails |
previousDetails |
Constructor and Description |
---|
FileRequestCloseDetails()
Closed file request.
|
FileRequestCloseDetails(java.lang.String fileRequestId,
FileRequestDetails previousDetails)
Closed file request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFileRequestId()
File request id.
|
FileRequestDetails |
getPreviousDetails()
Previous file request details.
|
int |
hashCode() |
static FileRequestCloseDetails.Builder |
newBuilder()
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 previousDetails
public FileRequestCloseDetails(java.lang.String fileRequestId, FileRequestDetails previousDetails)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FileRequestCloseDetails()
The default values for unset fields will be used.
public java.lang.String getFileRequestId()
null
if not present.public FileRequestDetails getPreviousDetails()
null
if not present.public static FileRequestCloseDetails.Builder newBuilder()
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.