Package com.courier.models.brands
Class BrandUpdateParams.Body
-
- All Implemented Interfaces:
public final class BrandUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the brand. final Optional<BrandSettings>settings()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<BrandSnippets>_snippets()Returns the raw JSON value of snippets. final Map<String, JsonValue>_additionalProperties()final BrandUpdateParams.Body.BuildertoBuilder()final BrandUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrandUpdateParams.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.
-
_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 BrandUpdateParams.Body.Builder toBuilder()
-
validate
final BrandUpdateParams.Body 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 BrandUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-