public class UploadSessionStartResult extends Object
Constructor and Description |
---|
UploadSessionStartResult(String sessionId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSessionId()
A unique identifier for the upload session.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final String sessionId
public UploadSessionStartResult(String sessionId)
sessionId
- A unique identifier for the upload session. Pass this
to DbxUserFilesRequests.uploadSessionAppendV2(UploadSessionCursor,boolean)
and DbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo)
.
Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getSessionId()
DbxUserFilesRequests.uploadSessionAppendV2(UploadSessionCursor,boolean)
and DbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo)
.null
.public String toStringMultiline()
The returned String may contain newlines.