public class BoxFileUploadSessionPart extends BoxJSONObject
| Modifier and Type | Method and Description |
|---|---|
long |
getOffset()
Gets the offset byte.
|
String |
getPartId()
Gets the part id.
|
String |
getSha1()
Gets the sha1 digest of the part.
|
long |
getSize()
Gets the size of the part.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
void |
setOffset(long offset)
Sets the offset.
|
void |
setPartId(String partId)
Sets the part id.
|
void |
setSha1(String sha1)
Sets the sh1 digest of the part.
|
void |
setSize(long size)
Sets the size of the part.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObjectpublic void setSha1(String sha1)
sha1 - the sh1 digest of the partpublic void setPartId(String partId)
partId - the id of the part.public long getOffset()
public void setOffset(long offset)
offset - the offset byte of the part.public long getSize()
public void setSize(long size)
size - the size of the part.protected void parseJSONMember(JsonObject.Member member)
BoxJSONObjectSubclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
member - the JSON member to be parsed.