public class LegalHoldHeldRevisionMetadata
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
authorEmail |
protected java.lang.String |
authorMemberId |
protected TeamMemberStatus |
authorMemberStatus |
protected java.lang.String |
contentHash |
protected java.lang.String |
fileType |
protected java.lang.String |
newFilename |
protected java.lang.String |
originalFilePath |
protected java.lang.String |
originalRevisionId |
protected java.util.Date |
serverModified |
protected long |
size |
Constructor and Description |
---|
LegalHoldHeldRevisionMetadata(java.lang.String newFilename,
java.lang.String originalRevisionId,
java.lang.String originalFilePath,
java.util.Date serverModified,
java.lang.String authorMemberId,
TeamMemberStatus authorMemberStatus,
java.lang.String authorEmail,
java.lang.String fileType,
long size,
java.lang.String contentHash) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthorEmail()
The email address of the held revision author.
|
java.lang.String |
getAuthorMemberId()
The member id of the revision's author.
|
TeamMemberStatus |
getAuthorMemberStatus()
The member status of the revision's author.
|
java.lang.String |
getContentHash()
A hash of the file content.
|
java.lang.String |
getFileType()
The type of the held revision's file.
|
java.lang.String |
getNewFilename()
The held revision filename.
|
java.lang.String |
getOriginalFilePath()
The original path of the held revision.
|
java.lang.String |
getOriginalRevisionId()
The id of the held revision.
|
java.util.Date |
getServerModified()
The last time the file was modified on Dropbox.
|
long |
getSize()
The file size in bytes.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String newFilename
protected final java.lang.String originalRevisionId
protected final java.lang.String originalFilePath
protected final java.util.Date serverModified
protected final java.lang.String authorMemberId
protected final TeamMemberStatus authorMemberStatus
protected final java.lang.String authorEmail
protected final java.lang.String fileType
protected final long size
protected final java.lang.String contentHash
public LegalHoldHeldRevisionMetadata(java.lang.String newFilename, java.lang.String originalRevisionId, java.lang.String originalFilePath, java.util.Date serverModified, java.lang.String authorMemberId, TeamMemberStatus authorMemberStatus, java.lang.String authorEmail, java.lang.String fileType, long size, java.lang.String contentHash)
newFilename
- The held revision filename. Must not be null
.originalRevisionId
- The id of the held revision. Must have length
of at least 9, match pattern "[0-9a-f]+
", and not be null
.originalFilePath
- The original path of the held revision. Must
match pattern "(/(.|[\\r\\n])*)?
" and not be null
.serverModified
- The last time the file was modified on Dropbox.
Must not be null
.authorMemberId
- The member id of the revision's author. Must not
be null
.authorMemberStatus
- The member status of the revision's author.
Must not be null
.authorEmail
- The email address of the held revision author. Must
have length of at most 255, match pattern "^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]\*\.[A-Za-z]{2,15}$
",
and not be null
.fileType
- The type of the held revision's file. Must not be null
.size
- The file size in bytes.contentHash
- A hash of the file content. This field can be used to
verify data integrity. For more information see our Content
hash page. Must have length of at least 64, have length of at
most 64, and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getNewFilename()
null
.public java.lang.String getOriginalRevisionId()
null
.public java.lang.String getOriginalFilePath()
null
.public java.util.Date getServerModified()
null
.public java.lang.String getAuthorMemberId()
null
.public TeamMemberStatus getAuthorMemberStatus()
null
.public java.lang.String getAuthorEmail()
null
.public java.lang.String getFileType()
null
.public long getSize()
public java.lang.String getContentHash()
null
.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.