Package com.courier.models.brands
Class BrandColors
-
- All Implemented Interfaces:
public final class BrandColors
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandColors.BuilderA builder for BrandColors.
-
Method Summary
Modifier and Type Method Description final Optional<String>primary()final Optional<String>secondary()final JsonField<String>_primary()Returns the raw JSON value of primary. final JsonField<String>_secondary()Returns the raw JSON value of secondary. final Map<String, JsonValue>_additionalProperties()final BrandColors.BuildertoBuilder()final BrandColorsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrandColors.Builderbuilder()Returns a mutable builder for constructing an instance of BrandColors. -
-
Method Detail
-
_primary
final JsonField<String> _primary()
Returns the raw JSON value of primary.
Unlike primary, this method doesn't throw if the JSON field has an unexpected type.
-
_secondary
final JsonField<String> _secondary()
Returns the raw JSON value of secondary.
Unlike secondary, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrandColors.Builder toBuilder()
-
validate
final BrandColors 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 BrandColors.Builder builder()
Returns a mutable builder for constructing an instance of BrandColors.
-
-
-
-