Package com.dropbox.core.v2.paper
Class PaperDocGetMetadataResult
java.lang.Object
com.dropbox.core.v2.paper.PaperDocGetMetadataResult
Metadata returned by docs/get_metadata.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPaperDocGetMetadataResult(String docId, String owner, String title, Date createdDate, PaperDocStatus status, long revision, Date lastUpdatedDate, String lastEditor) Metadata returned by docs/get_metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Paper doc creation date.getDocId()The Paper doc ID.The email address of the last editor of the Paper doc.The date when the Paper doc was last edited.getOwner()The Paper doc owner's email address.longThe Paper doc revision.The Paper doc status.getTitle()The Paper doc title.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
docId
-
owner
-
title
-
createdDate
-
status
-
revision
protected final long revision -
lastUpdatedDate
-
lastEditor
-
-
Constructor Details
-
PaperDocGetMetadataResult
public PaperDocGetMetadataResult(@Nonnull String docId, @Nonnull String owner, @Nonnull String title, @Nonnull Date createdDate, @Nonnull PaperDocStatus status, long revision, @Nonnull Date lastUpdatedDate, @Nonnull String lastEditor) Metadata returned by docs/get_metadata.- Parameters:
docId- The Paper doc ID. Must not benull.owner- The Paper doc owner's email address. Must not benull.title- The Paper doc title. Must not benull.createdDate- The Paper doc creation date. Must not benull.status- The Paper doc status. Must not benull.revision- The Paper doc revision. Simply an ever increasing number.lastUpdatedDate- The date when the Paper doc was last edited. Must not benull.lastEditor- The email address of the last editor of the Paper doc. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getDocId
The Paper doc ID.- Returns:
- value for this field, never
null.
-
getOwner
The Paper doc owner's email address.- Returns:
- value for this field, never
null.
-
getTitle
The Paper doc title.- Returns:
- value for this field, never
null.
-
getCreatedDate
The Paper doc creation date.- Returns:
- value for this field, never
null.
-
getStatus
The Paper doc status.- Returns:
- value for this field, never
null.
-
getRevision
public long getRevision()The Paper doc revision. Simply an ever increasing number.- Returns:
- value for this field.
-
getLastUpdatedDate
The date when the Paper doc was last edited.- Returns:
- value for this field, never
null.
-
getLastEditor
The email address of the last editor of the Paper doc.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-