Class BetaBrowserStateChangeDownloadStarted
-
- All Implemented Interfaces:
public final class BetaBrowserStateChangeDownloadStartedA file download that started during this call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserStateChangeDownloadStarted.BuilderA builder for BetaBrowserStateChangeDownloadStarted.
-
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 BetaBrowserStateChangeDownloadStarted.BuildertoBuilder()final BetaBrowserStateChangeDownloadStartedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserStateChangeDownloadStarted.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserStateChangeDownloadStarted. -
-
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 BetaBrowserStateChangeDownloadStarted.Builder toBuilder()
-
validate
final BetaBrowserStateChangeDownloadStarted 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 BetaBrowserStateChangeDownloadStarted.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserStateChangeDownloadStarted.
The following fields are required:
.downloadId() .url()
-
-
-
-