Package com.dropbox.core.v2.paper
Class PaperDocExportResult
java.lang.Object
com.dropbox.core.v2.paper.PaperDocExportResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPaperDocExportResult(String owner, String title, long revision, String mimeType) -
Method Summary
-
Field Details
-
owner
-
title
-
revision
protected final long revision -
mimeType
-
-
Constructor Details
-
PaperDocExportResult
public PaperDocExportResult(@Nonnull String owner, @Nonnull String title, long revision, @Nonnull String mimeType) - Parameters:
owner- The Paper doc owner's email address. Must not benull.title- The Paper doc title. Must not benull.revision- The Paper doc revision. Simply an ever increasing number.mimeType- MIME type of the export. This corresponds toExportFormatspecified in the request. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
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.
-
getRevision
public long getRevision()The Paper doc revision. Simply an ever increasing number.- Returns:
- value for this field.
-
getMimeType
MIME type of the export. This corresponds toExportFormatspecified in the request.- 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
-