Class BrowserStateChangeDownloadStarted
-
- All Implemented Interfaces:
public final class BrowserStateChangeDownloadStartedA file download that started during this call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserStateChangeDownloadStarted.BuilderA builder for BrowserStateChangeDownloadStarted.
-
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 JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("download_started")final JsonField<String>_downloadId()Returns the raw JSON value of downloadId. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final BrowserStateChangeDownloadStarted.BuildertoBuilder()final BrowserStateChangeDownloadStartedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserStateChangeDownloadStarted.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserStateChangeDownloadStarted. -
-
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_started")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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrowserStateChangeDownloadStarted.Builder toBuilder()
-
validate
final BrowserStateChangeDownloadStarted 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 BrowserStateChangeDownloadStarted.Builder builder()
Returns a mutable builder for constructing an instance of BrowserStateChangeDownloadStarted.
The following fields are required:
.downloadId() .url()
-
-
-
-