Package com.dropbox.core.v2.team
Class LegalHoldHeldRevisionMetadata
- java.lang.Object
- 
- com.dropbox.core.v2.team.LegalHoldHeldRevisionMetadata
 
- 
 public class LegalHoldHeldRevisionMetadata extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringauthorEmailprotected java.lang.StringauthorMemberIdprotected TeamMemberStatusauthorMemberStatusprotected java.lang.StringcontentHashprotected java.lang.StringfileTypeprotected java.lang.StringnewFilenameprotected java.lang.StringoriginalFilePathprotected java.lang.StringoriginalRevisionIdprotected java.util.DateserverModifiedprotected longsize
 - 
Constructor SummaryConstructors Constructor 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)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAuthorEmail()The email address of the held revision author.java.lang.StringgetAuthorMemberId()The member id of the revision's author.TeamMemberStatusgetAuthorMemberStatus()The member status of the revision's author.java.lang.StringgetContentHash()A hash of the file content.java.lang.StringgetFileType()The type of the held revision's file.java.lang.StringgetNewFilename()The held revision filename.java.lang.StringgetOriginalFilePath()The original path of the held revision.java.lang.StringgetOriginalRevisionId()The id of the held revision.java.util.DategetServerModified()The last time the file was modified on Dropbox.longgetSize()The file size in bytes.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
newFilenameprotected final java.lang.String newFilename 
 - 
originalRevisionIdprotected final java.lang.String originalRevisionId 
 - 
originalFilePathprotected final java.lang.String originalFilePath 
 - 
serverModifiedprotected final java.util.Date serverModified 
 - 
authorMemberIdprotected final java.lang.String authorMemberId 
 - 
authorMemberStatusprotected final TeamMemberStatus authorMemberStatus 
 - 
authorEmailprotected final java.lang.String authorEmail 
 - 
fileTypeprotected final java.lang.String fileType 
 - 
sizeprotected final long size 
 - 
contentHashprotected final java.lang.String contentHash 
 
- 
 - 
Constructor Detail- 
LegalHoldHeldRevisionMetadatapublic 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)- Parameters:
- 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.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getNewFilenamepublic java.lang.String getNewFilename() The held revision filename.- Returns:
- value for this field, never null.
 
 - 
getOriginalRevisionIdpublic java.lang.String getOriginalRevisionId() The id of the held revision.- Returns:
- value for this field, never null.
 
 - 
getOriginalFilePathpublic java.lang.String getOriginalFilePath() The original path of the held revision.- Returns:
- value for this field, never null.
 
 - 
getServerModifiedpublic java.util.Date getServerModified() The last time the file was modified on Dropbox.- Returns:
- value for this field, never null.
 
 - 
getAuthorMemberIdpublic java.lang.String getAuthorMemberId() The member id of the revision's author.- Returns:
- value for this field, never null.
 
 - 
getAuthorMemberStatuspublic TeamMemberStatus getAuthorMemberStatus() The member status of the revision's author.- Returns:
- value for this field, never null.
 
 - 
getAuthorEmailpublic java.lang.String getAuthorEmail() The email address of the held revision author.- Returns:
- value for this field, never null.
 
 - 
getFileTypepublic java.lang.String getFileType() The type of the held revision's file.- Returns:
- value for this field, never null.
 
 - 
getSizepublic long getSize() The file size in bytes.- Returns:
- value for this field.
 
 - 
getContentHashpublic java.lang.String getContentHash() A hash of the file content. This field can be used to verify data integrity. For more information see our Content hash page.- Returns:
- value for this field, never null.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-