public class PaperDocExportResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mimeType |
protected java.lang.String |
owner |
protected long |
revision |
protected java.lang.String |
title |
Constructor and Description |
---|
PaperDocExportResult(java.lang.String owner,
java.lang.String title,
long revision,
java.lang.String mimeType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMimeType()
MIME type of the export.
|
java.lang.String |
getOwner()
The Paper doc owner's email address.
|
long |
getRevision()
The Paper doc revision.
|
java.lang.String |
getTitle()
The Paper doc title.
|
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 owner
protected final java.lang.String title
protected final long revision
protected final java.lang.String mimeType
public PaperDocExportResult(java.lang.String owner, java.lang.String title, long revision, java.lang.String mimeType)
owner
- The Paper doc owner's email address. Must not be null
.title
- The Paper doc title. Must not be null
.revision
- The Paper doc revision. Simply an ever increasing
number.mimeType
- MIME type of the export. This corresponds to ExportFormat
specified in the request. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getOwner()
null
.public java.lang.String getTitle()
null
.public long getRevision()
public java.lang.String getMimeType()
ExportFormat
specified in the request.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.