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
Modifier 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 instancestatic LocalizedEnumSetField
deepCopy
(LocalizedEnumSetField template) factory method to create a deep copy of LocalizedEnumSetFieldgetValue()
static LocalizedEnumSetField
of()
factory methodstatic LocalizedEnumSetField
of
(LocalizedEnumSetField template) factory method to create a shallow copy LocalizedEnumSetFieldvoid
set valuevoid
set valuestatic 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
- Returns:
- value
-
setValue
set value- Parameters:
value
- values to be set
-
setValue
set value- 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
-
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
-