Package com.dropbox.core.v2.files
Class PaperCreateResult
java.lang.Object
com.dropbox.core.v2.files.PaperCreateResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPaperCreateResult(String url, String resultPath, String fileId, long paperRevision) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe id to use in Dropbox APIs when referencing the Paper Doc.longThe current doc revision.The fully qualified path the Paper Doc was actually created at.getUrl()URL to open the Paper Doc.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
url
-
resultPath
-
fileId
-
paperRevision
protected final long paperRevision
-
-
Constructor Details
-
PaperCreateResult
public PaperCreateResult(@Nonnull String url, @Nonnull String resultPath, @Nonnull 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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getUrl
URL to open the Paper Doc.- Returns:
- value for this field, never
null.
-
getResultPath
The fully qualified path the Paper Doc was actually created at.- Returns:
- value for this field, never
null.
-
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() -
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
-