Class OriginRequest.AkeneoPim
-
- All Implemented Interfaces:
public final class OriginRequest.AkeneoPim
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOriginRequest.AkeneoPim.BuilderA builder for AkeneoPim.
-
Method Summary
Modifier and Type Method Description final StringbaseUrl()Akeneo instance base URL. final StringclientId()Akeneo API client ID. final StringclientSecret()Akeneo API client secret. final Stringname()Display name of the origin. final Stringpassword()Akeneo API password. 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 Stringusername()Akeneo API username. final Optional<String>baseUrlForCanonicalHeader()URL used in the Canonical header (if enabled). final Optional<Boolean>includeCanonicalHeader()Whether to send a Canonical header. final JsonField<String>_baseUrl()Returns the raw JSON value of baseUrl. final JsonField<String>_clientId()Returns the raw JSON value of clientId. final JsonField<String>_clientSecret()Returns the raw JSON value of clientSecret. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_password()Returns the raw JSON value of password. final JsonField<String>_username()Returns the raw JSON value of username. final JsonField<String>_baseUrlForCanonicalHeader()Returns the raw JSON value of baseUrlForCanonicalHeader. final JsonField<Boolean>_includeCanonicalHeader()Returns the raw JSON value of includeCanonicalHeader. final Map<String, JsonValue>_additionalProperties()final OriginRequest.AkeneoPim.BuildertoBuilder()final OriginRequest.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 OriginRequest.AkeneoPim.Builderbuilder()Returns a mutable builder for constructing an instance of AkeneoPim. -
-
Method Detail
-
clientSecret
final String clientSecret()
Akeneo API client secret.
-
_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).
-
includeCanonicalHeader
final Optional<Boolean> includeCanonicalHeader()
Whether to send a Canonical header.
-
_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.
-
_clientId
final JsonField<String> _clientId()
Returns the raw JSON value of clientId.
Unlike clientId, this method doesn't throw if the JSON field has an unexpected type.
-
_clientSecret
final JsonField<String> _clientSecret()
Returns the raw JSON value of clientSecret.
Unlike clientSecret, 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.
-
_password
final JsonField<String> _password()
Returns the raw JSON value of password.
Unlike password, this method doesn't throw if the JSON field has an unexpected type.
-
_username
final JsonField<String> _username()
Returns the raw JSON value of username.
Unlike username, 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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OriginRequest.AkeneoPim.Builder toBuilder()
-
validate
final OriginRequest.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 OriginRequest.AkeneoPim.Builder builder()
Returns a mutable builder for constructing an instance of AkeneoPim.
The following fields are required:
.baseUrl() .clientId() .clientSecret() .name() .password() .username()
-
-
-
-