Class CategoryChangeAssetOrderActionImpl
java.lang.Object
com.commercetools.api.models.category.CategoryChangeAssetOrderActionImpl
- All Implemented Interfaces:
CategoryChangeAssetOrderAction
,CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CategoryChangeAssetOrderActionImpl
extends Object
implements CategoryChangeAssetOrderAction, io.vrap.rmf.base.client.ModelBase
This update action changes the order of the assets
array. The new order is defined by listing the id
s of the Assets.
-
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.CategoryChangeAssetOrderAction
CHANGE_ASSET_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New value to set.int
hashCode()
void
setAssetOrder
(String... assetOrder) New value to set.void
setAssetOrder
(List<String> assetOrder) New 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.CategoryChangeAssetOrderAction
withCategoryChangeAssetOrderAction
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
-
CategoryChangeAssetOrderActionImpl
public CategoryChangeAssetOrderActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCategoryUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CategoryUpdateAction>
- Returns:
- action
-
getAssetOrder
New value to set. Must contain all Asset
id
s.- Specified by:
getAssetOrder
in interfaceCategoryChangeAssetOrderAction
- Returns:
- assetOrder
-
setAssetOrder
Description copied from interface:CategoryChangeAssetOrderAction
New value to set. Must contain all Asset
id
s.- Specified by:
setAssetOrder
in interfaceCategoryChangeAssetOrderAction
- Parameters:
assetOrder
- values to be set
-
setAssetOrder
Description copied from interface:CategoryChangeAssetOrderAction
New value to set. Must contain all Asset
id
s.- Specified by:
setAssetOrder
in interfaceCategoryChangeAssetOrderAction
- Parameters:
assetOrder
- values to be set
-
equals
-
hashCode
public int hashCode()
-