Package com.dropbox.core.v2.files
Class PaperCreateResult
- java.lang.Object
-
- com.dropbox.core.v2.files.PaperCreateResult
-
public class PaperCreateResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringfileIdprotected longpaperRevisionprotected java.lang.StringresultPathprotected java.lang.Stringurl
-
Constructor Summary
Constructors Constructor Description PaperCreateResult(java.lang.String url, java.lang.String resultPath, java.lang.String fileId, long paperRevision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetFileId()The id to use in Dropbox APIs when referencing the Paper Doc.longgetPaperRevision()The current doc revision.java.lang.StringgetResultPath()The fully qualified path the Paper Doc was actually created at.java.lang.StringgetUrl()URL to open the Paper Doc.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
PaperCreateResult
public PaperCreateResult(java.lang.String url, java.lang.String resultPath, java.lang.String fileId, long paperRevision)- Parameters:
url- URL to open the Paper Doc. Must not benull.resultPath- The fully qualified path the Paper Doc was actually created at. Must not benull.fileId- The id to use in Dropbox APIs when referencing the Paper Doc. Must have length of at least 4, match pattern "id:.+", and not benull.paperRevision- The current doc revision.- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
URL to open the Paper Doc.- Returns:
- value for this field, never
null.
-
getResultPath
public java.lang.String getResultPath()
The fully qualified path the Paper Doc was actually created at.- Returns:
- value for this field, never
null.
-
getFileId
public java.lang.String getFileId()
The id to use in Dropbox APIs when referencing the Paper Doc.- Returns:
- value for this field, never
null.
-
getPaperRevision
public long getPaperRevision()
The current doc revision.- Returns:
- value for this field.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toStringMultiline
public 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
-
-