Interface CategoryChangeParentAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategoryChangeParentAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryChangeParentAction categoryChangeParentAction = CategoryChangeParentAction.builder()
.parent(parentBuilder -> parentBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategoryChangeParentAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategoryChangeParentActionbuilder
(CategoryChangeParentAction template) create builder for CategoryChangeParentAction instancestatic CategoryChangeParentAction
deepCopy
(CategoryChangeParentAction template) factory method to create a deep copy of CategoryChangeParentAction@NotNull @Valid CategoryResourceIdentifier
New value to set as parent.static CategoryChangeParentAction
of()
factory methodstatic CategoryChangeParentAction
of
(CategoryChangeParentAction template) factory method to create a shallow copy CategoryChangeParentActionvoid
setParent
(CategoryResourceIdentifier parent) New value to set as parent.static com.fasterxml.jackson.core.type.TypeReference<CategoryChangeParentAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
getAction, withCategoryUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_PARENT
discriminator value for CategoryChangeParentAction- See Also:
-
-
Method Details
-
getParent
New value to set as parent.
- Returns:
- parent
-
setParent
New value to set as parent.
- Parameters:
parent
- value to be set
-
of
factory method- Returns:
- instance of CategoryChangeParentAction
-
of
factory method to create a shallow copy CategoryChangeParentAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CategoryChangeParentAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategoryChangeParentAction- Returns:
- builder
-
builder
create builder for CategoryChangeParentAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategoryChangeParentAction
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
-