Package com.courier.models.brands
Class WidgetBackground.Builder
-
- All Implemented Interfaces:
public final class WidgetBackground.BuilderA builder for WidgetBackground.
-
-
Method Summary
-
-
Method Detail
-
bottomColor
final WidgetBackground.Builder bottomColor(String bottomColor)
-
bottomColor
final WidgetBackground.Builder bottomColor(Optional<String> bottomColor)
Alias for calling Builder.bottomColor with
bottomColor.orElse(null).
-
bottomColor
final WidgetBackground.Builder bottomColor(JsonField<String> bottomColor)
Sets Builder.bottomColor to an arbitrary JSON value.
You should usually call Builder.bottomColor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
topColor
final WidgetBackground.Builder topColor(String topColor)
-
topColor
final WidgetBackground.Builder topColor(Optional<String> topColor)
Alias for calling Builder.topColor with
topColor.orElse(null).
-
topColor
final WidgetBackground.Builder topColor(JsonField<String> topColor)
Sets Builder.topColor to an arbitrary JSON value.
You should usually call Builder.topColor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WidgetBackground.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WidgetBackground.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WidgetBackground.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WidgetBackground.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WidgetBackground.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WidgetBackground build()
Returns an immutable instance of WidgetBackground.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-