Package com.courier.models.brands
Class BrandColors.Builder
-
- All Implemented Interfaces:
public final class BrandColors.BuilderA builder for BrandColors.
-
-
Method Summary
Modifier and Type Method Description final BrandColors.Builderprimary(String primary)final BrandColors.Builderprimary(JsonField<String> primary)Sets Builder.primary to an arbitrary JSON value. final BrandColors.Buildersecondary(String secondary)final BrandColors.Buildersecondary(JsonField<String> secondary)Sets Builder.secondary to an arbitrary JSON value. final BrandColors.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BrandColors.BuilderputAdditionalProperty(String key, JsonValue value)final BrandColors.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BrandColors.BuilderremoveAdditionalProperty(String key)final BrandColors.BuilderremoveAllAdditionalProperties(Set<String> keys)final BrandColorsbuild()Returns an immutable instance of BrandColors. -
-
Method Detail
-
primary
final BrandColors.Builder primary(String primary)
-
primary
final BrandColors.Builder primary(JsonField<String> primary)
Sets Builder.primary to an arbitrary JSON value.
You should usually call Builder.primary with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
secondary
final BrandColors.Builder secondary(String secondary)
-
secondary
final BrandColors.Builder secondary(JsonField<String> secondary)
Sets Builder.secondary to an arbitrary JSON value.
You should usually call Builder.secondary 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 BrandColors.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BrandColors.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrandColors.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrandColors.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrandColors.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrandColors build()
Returns an immutable instance of BrandColors.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-