Class BrandCreateParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class BrandCreateParams implements Params
Create a new brand. Requires
nameandsettings(with at leastcolors.primaryandcolors.secondary).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandCreateParams.BuilderA builder for BrandCreateParams.
public final classBrandCreateParams.Body
-
Method Summary
Modifier and Type Method Description final Stringname()final BrandSettingssettings()final Optional<String>id()final Optional<BrandSnippets>snippets()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<BrandSettings>_settings()Returns the raw JSON value of settings. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BrandSnippets>_snippets()Returns the raw JSON value of snippets. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final BrandCreateParams.BuildertoBuilder()final BrandCreateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrandCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of BrandCreateParams. -
-
Method Detail
-
settings
final BrandSettings settings()
-
snippets
final Optional<BrandSnippets> snippets()
-
_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.
-
_settings
final JsonField<BrandSettings> _settings()
Returns the raw JSON value of settings.
Unlike settings, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_snippets
final JsonField<BrandSnippets> _snippets()
Returns the raw JSON value of snippets.
Unlike snippets, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final BrandCreateParams.Builder toBuilder()
-
_body
final BrandCreateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static BrandCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of BrandCreateParams.
The following fields are required:
.name() .settings()
-
-
-
-