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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for LocalizedStringSetField -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for LocalizedStringSetFieldbuilder(LocalizedStringSetField template) create builder for LocalizedStringSetField instancecopyDeep()static LocalizedStringSetFielddeepCopy(LocalizedStringSetField template) factory method to create a deep copy of LocalizedStringSetField@NotNull @Valid List<LocalizedString>getValue()JSON array of localized strings.static LocalizedStringSetFieldof()factory methodstatic LocalizedStringSetFieldof(LocalizedStringSetField template) factory method to create a shallow copy LocalizedStringSetFieldvoidsetValue(LocalizedString... value) JSON array of localized strings.voidsetValue(List<LocalizedString> value) JSON array of localized strings.static com.fasterxml.jackson.core.type.TypeReference<LocalizedStringSetField>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor 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
JSON array of localized strings. The order of items in the array is not fixed.
- Returns:
- value
-
setValue
JSON array of localized strings. The order of items in the array is not fixed.
- Parameters:
value- values to be set
-
setValue
JSON array of localized strings. The order of items in the array is not fixed.
- 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
-
copyDeep
LocalizedStringSetField copyDeep()- Specified by:
copyDeepin interfaceCustomField
-
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
-