Class CategorySetAssetKeyActionImpl
java.lang.Object
com.commercetools.api.models.category.CategorySetAssetKeyActionImpl
- All Implemented Interfaces:
CategorySetAssetKeyAction
,CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CategorySetAssetKeyActionImpl
extends Object
implements CategorySetAssetKeyAction, io.vrap.rmf.base.client.ModelBase
Set or remove the key
of an Asset.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.category.CategorySetAssetKeyAction
SET_ASSET_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.Value to set.int
hashCode()
void
setAssetId
(String assetId) Value to set.void
setAssetKey
(String assetKey) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.category.CategorySetAssetKeyAction
withCategorySetAssetKeyAction
Methods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
withCategoryUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CategorySetAssetKeyActionImpl
public CategorySetAssetKeyActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCategoryUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CategoryUpdateAction>
- Returns:
- action
-
getAssetId
Value to set.
- Specified by:
getAssetId
in interfaceCategorySetAssetKeyAction
- Returns:
- assetId
-
getAssetKey
Value to set. If empty, any existing value will be removed.
- Specified by:
getAssetKey
in interfaceCategorySetAssetKeyAction
- Returns:
- assetKey
-
setAssetId
Description copied from interface:CategorySetAssetKeyAction
Value to set.
- Specified by:
setAssetId
in interfaceCategorySetAssetKeyAction
- Parameters:
assetId
- value to be set
-
setAssetKey
Description copied from interface:CategorySetAssetKeyAction
Value to set. If empty, any existing value will be removed.
- Specified by:
setAssetKey
in interfaceCategorySetAssetKeyAction
- Parameters:
assetKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-