Class OriginResponse.AkeneoPim
-
- All Implemented Interfaces:
public final class OriginResponse.AkeneoPim
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOriginResponse.AkeneoPim.BuilderA builder for AkeneoPim.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the origin. final StringbaseUrl()Akeneo instance base URL. final BooleanincludeCanonicalHeader()Whether to send a Canonical header. final Stringname()Display name of the origin. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("AKENEO_PIM")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>_baseUrl()Returns the raw JSON value of baseUrl. 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>_baseUrlForCanonicalHeader()Returns the raw JSON value of baseUrlForCanonicalHeader. final Map<String, JsonValue>_additionalProperties()final OriginResponse.AkeneoPim.BuildertoBuilder()final OriginResponse.AkeneoPimvalidate()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.AkeneoPim.Builderbuilder()Returns a mutable builder for constructing an instance of AkeneoPim. -
-
Method Detail
-
id
final String id()
Unique identifier for the origin. This is generated by ImageKit when you create a new origin.
-
includeCanonicalHeader
final Boolean includeCanonicalHeader()
Whether to send a Canonical header.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("AKENEO_PIM")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.
-
_baseUrl
final JsonField<String> _baseUrl()
Returns the raw JSON value of baseUrl.
Unlike baseUrl, 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.
-
_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.AkeneoPim.Builder toBuilder()
-
validate
final OriginResponse.AkeneoPim 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.AkeneoPim.Builder builder()
Returns a mutable builder for constructing an instance of AkeneoPim.
The following fields are required:
.id() .baseUrl() .includeCanonicalHeader() .name()
-
-
-
-