Class BrandSettingsEmail.TemplateOverride
-
- All Implemented Interfaces:
public final class BrandSettingsEmail.TemplateOverride
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandSettingsEmail.TemplateOverride.BuilderA builder for TemplateOverride.
-
Method Summary
-
-
Method Detail
-
toBrandTemplate
final BrandTemplate toBrandTemplate()
-
backgroundColor
final Optional<String> backgroundColor()
-
blocksBackgroundColor
final Optional<String> blocksBackgroundColor()
-
mjml
final BrandTemplate mjml()
-
footerBackgroundColor
final Optional<String> footerBackgroundColor()
-
footerFullWidth
final Optional<Boolean> footerFullWidth()
-
_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.
-
_mjml
final JsonField<BrandTemplate> _mjml()
Returns the raw JSON value of mjml.
Unlike mjml, this method doesn't throw if the JSON field has an unexpected type.
-
_footerBackgroundColor
final JsonField<String> _footerBackgroundColor()
Returns the raw JSON value of footerBackgroundColor.
Unlike footerBackgroundColor, this method doesn't throw if the JSON field has an unexpected type.
-
_footerFullWidth
final JsonField<Boolean> _footerFullWidth()
Returns the raw JSON value of footerFullWidth.
Unlike footerFullWidth, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrandSettingsEmail.TemplateOverride.Builder toBuilder()
-
validate
final BrandSettingsEmail.TemplateOverride 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 BrandSettingsEmail.TemplateOverride.Builder builder()
Returns a mutable builder for constructing an instance of TemplateOverride.
The following fields are required:
.enabled() .mjml()
-
-
-
-