Interface CategoryRemoveAssetAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategoryRemoveAssetAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryRemoveAssetAction categoryRemoveAssetAction = CategoryRemoveAssetAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategoryRemoveAssetAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategoryRemoveAssetActionbuilder
(CategoryRemoveAssetAction template) create builder for CategoryRemoveAssetAction instancestatic CategoryRemoveAssetAction
deepCopy
(CategoryRemoveAssetAction template) factory method to create a deep copy of CategoryRemoveAssetActionValue to remove.Value to remove.static CategoryRemoveAssetAction
of()
factory methodstatic CategoryRemoveAssetAction
of
(CategoryRemoveAssetAction template) factory method to create a shallow copy CategoryRemoveAssetActionvoid
setAssetId
(String assetId) Value to remove.void
setAssetKey
(String assetKey) Value to remove.static com.fasterxml.jackson.core.type.TypeReference<CategoryRemoveAssetAction>
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
-
REMOVE_ASSET
discriminator value for CategoryRemoveAssetAction- See Also:
-
-
Method Details
-
getAssetId
String getAssetId()Value to remove. Either
assetId
orassetKey
is required.- Returns:
- assetId
-
getAssetKey
String getAssetKey()Value to remove. Either
assetId
orassetKey
is required.- Returns:
- assetKey
-
setAssetId
Value to remove. Either
assetId
orassetKey
is required.- Parameters:
assetId
- value to be set
-
setAssetKey
Value to remove. Either
assetId
orassetKey
is required.- Parameters:
assetKey
- value to be set
-
of
factory method- Returns:
- instance of CategoryRemoveAssetAction
-
of
factory method to create a shallow copy CategoryRemoveAssetAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CategoryRemoveAssetAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategoryRemoveAssetAction- Returns:
- builder
-
builder
create builder for CategoryRemoveAssetAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategoryRemoveAssetAction
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
-