Package com.courier.models.brands
Class EmailHeader
-
- All Implemented Interfaces:
public final class EmailHeader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEmailHeader.BuilderA builder for EmailHeader.
-
Method Summary
Modifier and Type Method Description final Logologo()final Optional<String>barColor()final Optional<Boolean>inheritDefault()final JsonField<Logo>_logo()Returns the raw JSON value of logo. final JsonField<String>_barColor()Returns the raw JSON value of barColor. final JsonField<Boolean>_inheritDefault()Returns the raw JSON value of inheritDefault. final Map<String, JsonValue>_additionalProperties()final EmailHeader.BuildertoBuilder()final EmailHeadervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EmailHeader.Builderbuilder()Returns a mutable builder for constructing an instance of EmailHeader. -
-
Method Detail
-
inheritDefault
final Optional<Boolean> inheritDefault()
-
_logo
final JsonField<Logo> _logo()
Returns the raw JSON value of logo.
Unlike logo, this method doesn't throw if the JSON field has an unexpected type.
-
_barColor
final JsonField<String> _barColor()
Returns the raw JSON value of barColor.
Unlike barColor, this method doesn't throw if the JSON field has an unexpected type.
-
_inheritDefault
final JsonField<Boolean> _inheritDefault()
Returns the raw JSON value of inheritDefault.
Unlike inheritDefault, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EmailHeader.Builder toBuilder()
-
validate
final EmailHeader 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 EmailHeader.Builder builder()
Returns a mutable builder for constructing an instance of EmailHeader.
The following fields are required:
.logo()
-
-
-
-