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 SummaryFields Modifier and Type Field Description protected java.lang.StringfileIdprotected longpaperRevisionprotected java.lang.StringresultPathprotected java.lang.Stringurl
 - 
Constructor SummaryConstructors Constructor Description PaperCreateResult(java.lang.String url, java.lang.String resultPath, java.lang.String fileId, long paperRevision)
 - 
Method SummaryAll 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- 
PaperCreateResultpublic 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 be- null.
- resultPath- The fully qualified path the Paper Doc was actually created at. Must not be- null.
- 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 be- null.
- paperRevision- The current doc revision.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getUrlpublic java.lang.String getUrl() URL to open the Paper Doc.- Returns:
- value for this field, never null.
 
 - 
getResultPathpublic java.lang.String getResultPath() The fully qualified path the Paper Doc was actually created at.- Returns:
- value for this field, never null.
 
 - 
getFileIdpublic java.lang.String getFileId() The id to use in Dropbox APIs when referencing the Paper Doc.- Returns:
- value for this field, never null.
 
 - 
getPaperRevisionpublic long getPaperRevision() The current doc revision.- Returns:
- value for this field.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-