Class OriginResponse.Gcs
-
- All Implemented Interfaces:
public final class OriginResponse.Gcs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOriginResponse.Gcs.BuilderA builder for Gcs.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the origin. final Stringbucket()final StringclientEmail()final BooleanincludeCanonicalHeader()Whether to send a Canonical header. final Stringname()Display name of the origin. final Stringprefix()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("GCS")final Optional<String>baseUrlForCanonicalHeader()URL used in the Canonical header (if enabled). final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_bucket()Returns the raw JSON value of bucket. final JsonField<String>_clientEmail()Returns the raw JSON value of clientEmail. final JsonField<Boolean>_includeCanonicalHeader()Returns the raw JSON value of includeCanonicalHeader. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_prefix()Returns the raw JSON value of prefix. final JsonField<String>_baseUrlForCanonicalHeader()Returns the raw JSON value of baseUrlForCanonicalHeader. final Map<String, JsonValue>_additionalProperties()final OriginResponse.Gcs.BuildertoBuilder()final OriginResponse.Gcsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OriginResponse.Gcs.Builderbuilder()Returns a mutable builder for constructing an instance of Gcs. -
-
Method Detail
-
id
final String id()
Unique identifier for the origin. This is generated by ImageKit when you create a new origin.
-
clientEmail
final String clientEmail()
-
includeCanonicalHeader
final Boolean includeCanonicalHeader()
Whether to send a Canonical header.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("GCS")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
baseUrlForCanonicalHeader
final Optional<String> baseUrlForCanonicalHeader()
URL used in the Canonical header (if enabled).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_bucket
final JsonField<String> _bucket()
Returns the raw JSON value of bucket.
Unlike bucket, this method doesn't throw if the JSON field has an unexpected type.
-
_clientEmail
final JsonField<String> _clientEmail()
Returns the raw JSON value of clientEmail.
Unlike clientEmail, this method doesn't throw if the JSON field has an unexpected type.
-
_includeCanonicalHeader
final JsonField<Boolean> _includeCanonicalHeader()
Returns the raw JSON value of includeCanonicalHeader.
Unlike includeCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_prefix
final JsonField<String> _prefix()
Returns the raw JSON value of prefix.
Unlike prefix, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrlForCanonicalHeader
final JsonField<String> _baseUrlForCanonicalHeader()
Returns the raw JSON value of baseUrlForCanonicalHeader.
Unlike baseUrlForCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OriginResponse.Gcs.Builder toBuilder()
-
validate
final OriginResponse.Gcs 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 OriginResponse.Gcs.Builder builder()
Returns a mutable builder for constructing an instance of Gcs.
The following fields are required:
.id() .bucket() .clientEmail() .includeCanonicalHeader() .name() .prefix()
-
-
-
-