Interface ProductTypeChangeAttributeOrderByNameAction
- All Superinterfaces:
ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
- All Known Implementing Classes:
ProductTypeChangeAttributeOrderByNameActionImpl
ProductTypeChangeAttributeOrderByNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeChangeAttributeOrderByNameAction productTypeChangeAttributeOrderByNameAction = ProductTypeChangeAttributeOrderByNameAction.builder()
.plusAttributeNames(attributeNamesBuilder -> attributeNamesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductTypeChangeAttributeOrderByNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTypeChangeAttributeOrderByNameActioncreate builder for ProductTypeChangeAttributeOrderByNameAction instancefactory method to create a deep copy of ProductTypeChangeAttributeOrderByNameActionNames of Attributes to reorder.of()
factory methodfactory method to create a shallow copy ProductTypeChangeAttributeOrderByNameActionvoid
setAttributeNames
(String... attributeNames) Names of Attributes to reorder.void
setAttributeNames
(List<String> attributeNames) Names of Attributes to reorder.static com.fasterxml.jackson.core.type.TypeReference<ProductTypeChangeAttributeOrderByNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProductTypeChangeAttributeOrderByNameAction
(Function<ProductTypeChangeAttributeOrderByNameAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
getAction, withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_ATTRIBUTE_ORDER_BY_NAME
discriminator value for ProductTypeChangeAttributeOrderByNameAction- See Also:
-
-
Method Details
-
getAttributeNames
Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Returns:
- attributeNames
-
setAttributeNames
Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Parameters:
attributeNames
- values to be set
-
setAttributeNames
Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Parameters:
attributeNames
- values to be set
-
of
factory method- Returns:
- instance of ProductTypeChangeAttributeOrderByNameAction
-
of
static ProductTypeChangeAttributeOrderByNameAction of(ProductTypeChangeAttributeOrderByNameAction template) factory method to create a shallow copy ProductTypeChangeAttributeOrderByNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTypeChangeAttributeOrderByNameAction deepCopy(@Nullable ProductTypeChangeAttributeOrderByNameAction template) factory method to create a deep copy of ProductTypeChangeAttributeOrderByNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTypeChangeAttributeOrderByNameAction- Returns:
- builder
-
builder
static ProductTypeChangeAttributeOrderByNameActionBuilder builder(ProductTypeChangeAttributeOrderByNameAction template) create builder for ProductTypeChangeAttributeOrderByNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTypeChangeAttributeOrderByNameAction
default <T> T withProductTypeChangeAttributeOrderByNameAction(Function<ProductTypeChangeAttributeOrderByNameAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductTypeChangeAttributeOrderByNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-