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