public class BoxUploadSessionPart extends BoxJsonObject
BoxJsonObject.BoxJsonObjectCreator<E extends BoxJsonObject>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_OFFSET |
static java.lang.String |
FIELD_PART |
static java.lang.String |
FIELD_PART_ID |
static java.lang.String |
FIELD_SHA1 |
static java.lang.String |
FIELD_SIZE |
| Constructor and Description |
|---|
BoxUploadSessionPart()
Constructs an empty BoxUploadSessionPart object.
|
BoxUploadSessionPart(com.eclipsesource.json.JsonObject object)
Constructs a BoxUploadSessionPart object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createFromJson(com.eclipsesource.json.JsonObject object)
Creates the BoxJsonObject from a JsonObject
|
long |
getOffset()
Gets the offset byte.
|
java.lang.String |
getPartId()
Gets the part id.
|
java.lang.String |
getSha1()
Gets the sha1 digest of the part.
|
long |
getSize()
Gets the size of the part.
|
addInJsonArray, addInJsonArray, createFromJson, equals, getBoxJsonObjectCreator, getPropertiesKeySet, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsJsonArray, getPropertyAsJsonObject, getPropertyAsJsonObjectArray, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringHashSet, getPropertyValue, hashCode, parseJSONMember, remove, set, set, set, set, set, set, set, set, set, toJson, toJsonObjectpublic static final java.lang.String FIELD_PART_ID
public static final java.lang.String FIELD_SIZE
public static final java.lang.String FIELD_OFFSET
public static final java.lang.String FIELD_SHA1
public static final java.lang.String FIELD_PART
public BoxUploadSessionPart(com.eclipsesource.json.JsonObject object)
object - jsonObject to use to create an instance of this class.public BoxUploadSessionPart()
public void createFromJson(com.eclipsesource.json.JsonObject object)
BoxJsonObjectcreateFromJson in class BoxJsonObjectobject - json object to parse.public java.lang.String getSha1()
public java.lang.String getPartId()
public long getOffset()
public long getSize()