Class BrowserStateChangeDownloadFailed
-
- All Implemented Interfaces:
public final class BrowserStateChangeDownloadFailedA file download that failed — or was cancelled — during this call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserStateChangeDownloadFailed.BuilderA builder for BrowserStateChangeDownloadFailed.
-
Method Summary
Modifier and Type Method Description final StringdownloadId()The caller-assigned identifier for this download, stable across the state changes reporting it. final Stringurl()The final post-redirect URL the download was served from. final Optional<String>error()The failure or cancellation detail, when known. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("download_failed")final JsonField<String>_downloadId()Returns the raw JSON value of downloadId. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_error()Returns the raw JSON value of error. final Map<String, JsonValue>_additionalProperties()final BrowserStateChangeDownloadFailed.BuildertoBuilder()final BrowserStateChangeDownloadFailedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserStateChangeDownloadFailed.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserStateChangeDownloadFailed. -
-
Method Detail
-
downloadId
final String downloadId()
The caller-assigned identifier for this download, stable across the state changes reporting it.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("download_failed")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_downloadId
final JsonField<String> _downloadId()
Returns the raw JSON value of downloadId.
Unlike downloadId, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_error
final JsonField<String> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrowserStateChangeDownloadFailed.Builder toBuilder()
-
validate
final BrowserStateChangeDownloadFailed validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BrowserStateChangeDownloadFailed.Builder builder()
Returns a mutable builder for constructing an instance of BrowserStateChangeDownloadFailed.
The following fields are required:
.downloadId() .url()
-
-
-
-