public class PaperDocCreateUpdateResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
docId |
protected long |
revision |
protected java.lang.String |
title |
Constructor and Description |
---|
PaperDocCreateUpdateResult(java.lang.String docId,
long revision,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDocId()
Doc ID of the newly created doc.
|
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 docId
protected final long revision
protected final java.lang.String title
public PaperDocCreateUpdateResult(java.lang.String docId, long revision, java.lang.String title)
docId
- Doc ID of the newly created doc. Must not be null
.revision
- The Paper doc revision. Simply an ever increasing
number.title
- The Paper doc title. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getDocId()
null
.public long getRevision()
public java.lang.String getTitle()
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.