Interface BooleanSetAttribute
- All Superinterfaces:
Attribute
This type represents an attribute whose value is set of boolean values.
Example to create an instance using the builder pattern
BooleanSetAttribute booleanSetAttribute = BooleanSetAttribute.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanSetAttributeBuilder
builder()
builder factory method for BooleanSetAttributestatic BooleanSetAttributeBuilder
builder
(BooleanSetAttribute template) create builder for BooleanSetAttribute instancestatic BooleanSetAttribute
deepCopy
(BooleanSetAttribute template) factory method to create a deep copy of BooleanSetAttributegetValue()
static BooleanSetAttribute
of()
factory methodstatic BooleanSetAttribute
of
(BooleanSetAttribute template) factory method to create a shallow copy BooleanSetAttributevoid
set valuevoid
set valuestatic com.fasterxml.jackson.core.type.TypeReference<BooleanSetAttribute>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBooleanSetAttribute
(Function<BooleanSetAttribute, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.productvariants.Attribute
getName, getType, setName, withAttribute
-
Field Details
-
BOOLEAN_SET
discriminator value for BooleanSetAttribute- 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 BooleanSetAttribute
-
of
factory method to create a shallow copy BooleanSetAttribute- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of BooleanSetAttribute- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BooleanSetAttribute- Returns:
- builder
-
builder
create builder for BooleanSetAttribute instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBooleanSetAttribute
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
-