public class ZipDownload extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
ZipDownload.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
downloadUrl
The URL that can be used to download the `zip` archive.
|
protected OffsetDateTime |
expiresAt
The time and date when this archive will expire.
|
protected List<List<ZipDownloadNameConflictsField>> |
nameConflicts
A list of conflicts that occurred when trying to create the archive.
|
protected String |
statusUrl
The URL that can be used to get the status of the `zip` archive being downloaded.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
ZipDownload() |
protected |
ZipDownload(ZipDownload.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDownloadUrl() |
OffsetDateTime |
getExpiresAt() |
List<List<ZipDownloadNameConflictsField>> |
getNameConflicts() |
String |
getStatusUrl() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String downloadUrl
It is important to note that the domain and path of this URL might change between API calls, and therefore it's important to use this URL as-is.
protected String statusUrl
It is important to note that the domain and path of this URL might change between API calls, and therefore it's important to use this URL as-is.
protected OffsetDateTime expiresAt
By default, these URLs are only valid for a few seconds, unless a download is started after which the `download_url` is valid for the duration of the download, and the `status_url` is valid for 12 hours from the start of the download.
protected List<List<ZipDownloadNameConflictsField>> nameConflicts
To solve these conflicts, the API will automatically rename an item and return a mapping between the original item's name and its new name.
For every conflict, both files will be renamed and therefore this list will always be a multiple of 2.
public ZipDownload()
protected ZipDownload(ZipDownload.Builder builder)
public String getDownloadUrl()
public String getStatusUrl()
public OffsetDateTime getExpiresAt()
public List<List<ZipDownloadNameConflictsField>> getNameConflicts()