Interface LocalizedStringSetField
- All Superinterfaces:
CustomField
A field with a localized string set value.
Example to create an instance using the builder pattern
LocalizedStringSetField localizedStringSetField = LocalizedStringSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for LocalizedStringSetField -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for LocalizedStringSetFieldbuilder
(LocalizedStringSetField template) create builder for LocalizedStringSetField instancestatic LocalizedStringSetField
deepCopy
(LocalizedStringSetField template) factory method to create a deep copy of LocalizedStringSetField@NotNull @Valid List<LocalizedString>
getValue()
static LocalizedStringSetField
of()
factory methodstatic LocalizedStringSetField
of
(LocalizedStringSetField template) factory method to create a shallow copy LocalizedStringSetFieldvoid
setValue
(LocalizedString... value) set valuevoid
setValue
(List<LocalizedString> value) set valuestatic com.fasterxml.jackson.core.type.TypeReference<LocalizedStringSetField>
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_STRING_SET
discriminator value for LocalizedStringSetField- 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 LocalizedStringSetField
-
of
factory method to create a shallow copy LocalizedStringSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of LocalizedStringSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for LocalizedStringSetField- Returns:
- builder
-
builder
create builder for LocalizedStringSetField instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withLocalizedStringSetField
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
-