Package com.dropbox.core.v2.async
Class PollArg
- java.lang.Object
- 
- com.dropbox.core.v2.async.PollArg
 
- 
 public class PollArg extends java.lang.ObjectArguments for methods that poll the status of an asynchronous job.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPollArg.SerializerFor internal use only.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringasyncJobId
 - 
Constructor SummaryConstructors Constructor Description PollArg(java.lang.String asyncJobId)Arguments for methods that poll the status of an asynchronous job.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAsyncJobId()Id of the asynchronous job.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
PollArgpublic PollArg(java.lang.String asyncJobId) Arguments for methods that poll the status of an asynchronous job.- Parameters:
- asyncJobId- Id of the asynchronous job. This is the value of a response returned from the method that launched the job. Must have length of at least 1 and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getAsyncJobIdpublic java.lang.String getAsyncJobId() Id of the asynchronous job. This is the value of a response returned from the method that launched the job.- Returns:
- value for this field, never null.
 
 - 
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
 
 
- 
 
-