public class LegalHoldsExportDownloadedDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LegalHoldsExportDownloadedDetails.Builder
Builder for
LegalHoldsExportDownloadedDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
exportName |
protected java.lang.String |
fileName |
protected java.lang.String |
legalHoldId |
protected java.lang.String |
name |
protected java.lang.String |
part |
Constructor and Description |
---|
LegalHoldsExportDownloadedDetails(java.lang.String legalHoldId,
java.lang.String name,
java.lang.String exportName)
Downloaded export for a hold.
|
LegalHoldsExportDownloadedDetails(java.lang.String legalHoldId,
java.lang.String name,
java.lang.String exportName,
java.lang.String part,
java.lang.String fileName)
Downloaded export for a hold.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExportName()
Export name.
|
java.lang.String |
getFileName()
Filename.
|
java.lang.String |
getLegalHoldId()
Hold ID.
|
java.lang.String |
getName()
Hold name.
|
java.lang.String |
getPart()
Part.
|
int |
hashCode() |
static LegalHoldsExportDownloadedDetails.Builder |
newBuilder(java.lang.String legalHoldId,
java.lang.String name,
java.lang.String exportName)
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 legalHoldId
protected final java.lang.String name
protected final java.lang.String exportName
protected final java.lang.String part
protected final java.lang.String fileName
public LegalHoldsExportDownloadedDetails(java.lang.String legalHoldId, java.lang.String name, java.lang.String exportName, java.lang.String part, java.lang.String fileName)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
legalHoldId
- Hold ID. Must not be null
.name
- Hold name. Must not be null
.exportName
- Export name. Must not be null
.part
- Part.fileName
- Filename.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LegalHoldsExportDownloadedDetails(java.lang.String legalHoldId, java.lang.String name, java.lang.String exportName)
The default values for unset fields will be used.
legalHoldId
- Hold ID. Must not be null
.name
- Hold name. Must not be null
.exportName
- Export name. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getLegalHoldId()
null
.public java.lang.String getName()
null
.public java.lang.String getExportName()
null
.public java.lang.String getPart()
null
if not present.public java.lang.String getFileName()
null
if not present.public static LegalHoldsExportDownloadedDetails.Builder newBuilder(java.lang.String legalHoldId, java.lang.String name, java.lang.String exportName)
legalHoldId
- Hold ID. Must not be null
.name
- Hold name. Must not be null
.exportName
- Export name. Must 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.