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 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>_additionalProperties()final BrandCreateParams.Body.BuildertoBuilder()final BrandCreateParams.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 BrandCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrandCreateParams.Body.Builder toBuilder()
-
validate
final BrandCreateParams.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 BrandCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .settings()
-
-
-
-