Interface LocalizedEnumSetField
- All Superinterfaces:
CustomField
A field with a localized enum set value.
Example to create an instance using the builder pattern
LocalizedEnumSetField localizedEnumSetField = LocalizedEnumSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for LocalizedEnumSetField -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizedEnumSetFieldBuilder
builder()
builder factory method for LocalizedEnumSetFieldstatic LocalizedEnumSetFieldBuilder
builder
(LocalizedEnumSetField template) create builder for LocalizedEnumSetField instancecopyDeep()
static LocalizedEnumSetField
deepCopy
(LocalizedEnumSetField template) factory method to create a deep copy of LocalizedEnumSetFieldgetValue()
JSON array of localized enum values, each represented by its key.static LocalizedEnumSetField
of()
factory methodstatic LocalizedEnumSetField
of
(LocalizedEnumSetField template) factory method to create a shallow copy LocalizedEnumSetFieldvoid
JSON array of localized enum values, each represented by its key.void
JSON array of localized enum values, each represented by its key.static com.fasterxml.jackson.core.type.TypeReference<LocalizedEnumSetField>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.importapi.models.customfields.CustomField
getType, withCustomField
-
Field Details
-
LOCALIZED_ENUM_SET
discriminator value for LocalizedEnumSetField- See Also:
-
-
Method Details
-
getValue
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Returns:
- value
-
setValue
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Parameters:
value
- values to be set
-
setValue
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Parameters:
value
- values to be set
-
of
factory method- Returns:
- instance of LocalizedEnumSetField
-
of
factory method to create a shallow copy LocalizedEnumSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
LocalizedEnumSetField copyDeep()- Specified by:
copyDeep
in interfaceCustomField
-
deepCopy
factory method to create a deep copy of LocalizedEnumSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for LocalizedEnumSetField- Returns:
- builder
-
builder
create builder for LocalizedEnumSetField instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withLocalizedEnumSetField
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-