Class Brand
-
- All Implemented Interfaces:
public final class Brand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrand.BuilderA builder for Brand.
-
Method Summary
Modifier and Type Method Description final Stringid()final Longcreated()final Stringname()final Longupdated()final Optional<Long>published()final Optional<BrandSettings>settings()final Optional<BrandSnippets>snippets()final Optional<String>version()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_created()Returns the raw JSON value of created. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Long>_updated()Returns the raw JSON value of updated. final JsonField<Long>_published()Returns the raw JSON value of published. final JsonField<BrandSettings>_settings()Returns the raw JSON value of settings. final JsonField<BrandSnippets>_snippets()Returns the raw JSON value of snippets. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final Brand.BuildertoBuilder()final Brandvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Brand.Builderbuilder()Returns a mutable builder for constructing an instance of Brand. -
-
Method Detail
-
settings
final Optional<BrandSettings> settings()
-
snippets
final Optional<BrandSnippets> snippets()
-
_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.
-
_created
final JsonField<Long> _created()
Returns the raw JSON value of created.
Unlike created, 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.
-
_updated
final JsonField<Long> _updated()
Returns the raw JSON value of updated.
Unlike updated, this method doesn't throw if the JSON field has an unexpected type.
-
_published
final JsonField<Long> _published()
Returns the raw JSON value of published.
Unlike published, 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.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Brand.Builder toBuilder()
-
validate
final Brand 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 Brand.Builder builder()
Returns a mutable builder for constructing an instance of Brand.
The following fields are required:
.id() .created() .name() .updated()
-
-
-
-