Interface CategoryChangeAssetNameAction
- All Superinterfaces:
CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
CategoryChangeAssetNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryChangeAssetNameAction categoryChangeAssetNameAction = CategoryChangeAssetNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CategoryChangeAssetNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CategoryChangeAssetNameActionbuilder
(CategoryChangeAssetNameAction template) create builder for CategoryChangeAssetNameAction instancedeepCopy
(CategoryChangeAssetNameAction template) factory method to create a deep copy of CategoryChangeAssetNameActionNew value to set.New value to set.@NotNull @Valid LocalizedString
getName()
New value to set.of()
factory methodof
(CategoryChangeAssetNameAction template) factory method to create a shallow copy CategoryChangeAssetNameActionvoid
setAssetId
(String assetId) New value to set.void
setAssetKey
(String assetKey) New value to set.void
setName
(LocalizedString name) New value to set.static com.fasterxml.jackson.core.type.TypeReference<CategoryChangeAssetNameAction>
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_ASSET_NAME
discriminator value for CategoryChangeAssetNameAction- See Also:
-
-
Method Details
-
getAssetId
String getAssetId()New value to set. Either
assetId
orassetKey
is required.- Returns:
- assetId
-
getAssetKey
String getAssetKey()New value to set. Either
assetId
orassetKey
is required.- Returns:
- assetKey
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
setAssetId
New value to set. Either
assetId
orassetKey
is required.- Parameters:
assetId
- value to be set
-
setAssetKey
New value to set. Either
assetId
orassetKey
is required.- Parameters:
assetKey
- value to be set
-
setName
New value to set. Must not be empty.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of CategoryChangeAssetNameAction
-
of
factory method to create a shallow copy CategoryChangeAssetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CategoryChangeAssetNameAction deepCopy(@Nullable CategoryChangeAssetNameAction template) factory method to create a deep copy of CategoryChangeAssetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategoryChangeAssetNameAction- Returns:
- builder
-
builder
create builder for CategoryChangeAssetNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCategoryChangeAssetNameAction
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
-