public class BoxZipDownloadStatus extends BoxJSONObject
Modifier and Type | Class and Description |
---|---|
static class |
BoxZipDownloadStatus.State
Enumerates the possible download states of a zip.
|
Constructor and Description |
---|
BoxZipDownloadStatus()
Constructs a BoxZipDownloadStatus with default settings.
|
BoxZipDownloadStatus(String json)
Constructs a BoxZipDownloadStatus from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
int |
getDownloadFileCount()
Gets the number of files in the zip that were downloaded.
|
int |
getSkippedFileCount()
Gets the number of files in the zip that were skipped when downloading.
|
int |
getSkippedFolderCount()
Gets the number of folders in the zip that were skipped when downloading.
|
BoxZipDownloadStatus.State |
getState()
Gets the state of the download for the zip file.
|
int |
getTotalFileCount()
Gets the total number of files in the zip.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public BoxZipDownloadStatus()
public BoxZipDownloadStatus(String json)
json
- the JSON encoded enterprise.public int getTotalFileCount()
public int getDownloadFileCount()
public int getSkippedFileCount()
public int getSkippedFolderCount()
public BoxZipDownloadStatus.State getState()