Class BrandTemplate
-
- All Implemented Interfaces:
public final class BrandTemplate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandTemplate.BuilderA builder for BrandTemplate.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()final Optional<String>backgroundColor()final Optional<String>blocksBackgroundColor()final Optional<String>footer()final Optional<String>head()final Optional<String>header()final Optional<String>width()final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<String>_backgroundColor()Returns the raw JSON value of backgroundColor. final JsonField<String>_blocksBackgroundColor()Returns the raw JSON value of blocksBackgroundColor. final JsonField<String>_footer()Returns the raw JSON value of footer. final JsonField<String>_head()Returns the raw JSON value of head. final JsonField<String>_header()Returns the raw JSON value of header. final JsonField<String>_width()Returns the raw JSON value of width. final Map<String, JsonValue>_additionalProperties()final BrandTemplate.BuildertoBuilder()final BrandTemplatevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrandTemplate.Builderbuilder()Returns a mutable builder for constructing an instance of BrandTemplate. -
-
Method Detail
-
backgroundColor
final Optional<String> backgroundColor()
-
blocksBackgroundColor
final Optional<String> blocksBackgroundColor()
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_backgroundColor
final JsonField<String> _backgroundColor()
Returns the raw JSON value of backgroundColor.
Unlike backgroundColor, this method doesn't throw if the JSON field has an unexpected type.
-
_blocksBackgroundColor
final JsonField<String> _blocksBackgroundColor()
Returns the raw JSON value of blocksBackgroundColor.
Unlike blocksBackgroundColor, this method doesn't throw if the JSON field has an unexpected type.
-
_footer
final JsonField<String> _footer()
Returns the raw JSON value of footer.
Unlike footer, this method doesn't throw if the JSON field has an unexpected type.
-
_head
final JsonField<String> _head()
Returns the raw JSON value of head.
Unlike head, this method doesn't throw if the JSON field has an unexpected type.
-
_header
final JsonField<String> _header()
Returns the raw JSON value of header.
Unlike header, this method doesn't throw if the JSON field has an unexpected type.
-
_width
final JsonField<String> _width()
Returns the raw JSON value of width.
Unlike width, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrandTemplate.Builder toBuilder()
-
validate
final BrandTemplate 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 BrandTemplate.Builder builder()
Returns a mutable builder for constructing an instance of BrandTemplate.
The following fields are required:
.enabled()
-
-
-
-