Package com.courier.models.brands
Class BrandCreateParams.Body
-
- All Implemented Interfaces:
public final class BrandCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()final Optional<String>id()final Optional<BrandSettings>settings()final Optional<BrandSnippets>snippets()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BrandSettings>_settings()Returns the raw JSON value of settings. final JsonField<BrandSnippets>_snippets()Returns the raw JSON value of snippets. final Map<String, JsonValue>_additionalProperties()final BrandCreateParams.Body.BuildertoBuilder()final BrandCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrandCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
settings
final Optional<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.
-
_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.
-
_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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrandCreateParams.Body.Builder toBuilder()
-
validate
final BrandCreateParams.Body validate()
-
builder
final static BrandCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-