Class CategorySetAssetCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.category.CategorySetAssetCustomFieldActionImpl
- All Implemented Interfaces:
CategorySetAssetCustomFieldAction
,CategoryUpdateAction
,ResourceUpdateAction<CategoryUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CategorySetAssetCustomFieldActionImpl
extends Object
implements CategorySetAssetCustomFieldAction, io.vrap.rmf.base.client.ModelBase
CategorySetAssetCustomFieldAction
-
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.CategorySetAssetCustomFieldAction
SET_ASSET_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New value to set.New value to set.getName()
Name of the Custom Field.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.int
hashCode()
void
setAssetId
(String assetId) New value to set.void
setAssetKey
(String assetKey) New value to set.void
Name of the Custom Field.void
Ifvalue
is absent ornull
, this field will be removed if it exists.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.category.CategorySetAssetCustomFieldAction
withCategorySetAssetCustomFieldAction
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
-
CategorySetAssetCustomFieldActionImpl
public CategorySetAssetCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCategoryUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CategoryUpdateAction>
- Returns:
- action
-
getAssetId
New value to set. Either
assetId
orassetKey
is required.- Specified by:
getAssetId
in interfaceCategorySetAssetCustomFieldAction
- Returns:
- assetId
-
getAssetKey
New value to set. Either
assetId
orassetKey
is required.- Specified by:
getAssetKey
in interfaceCategorySetAssetCustomFieldAction
- Returns:
- assetKey
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceCategorySetAssetCustomFieldAction
- Returns:
- name
-
getValue
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
getValue
in interfaceCategorySetAssetCustomFieldAction
- Returns:
- value
-
setAssetId
Description copied from interface:CategorySetAssetCustomFieldAction
New value to set. Either
assetId
orassetKey
is required.- Specified by:
setAssetId
in interfaceCategorySetAssetCustomFieldAction
- Parameters:
assetId
- value to be set
-
setAssetKey
Description copied from interface:CategorySetAssetCustomFieldAction
New value to set. Either
assetId
orassetKey
is required.- Specified by:
setAssetKey
in interfaceCategorySetAssetCustomFieldAction
- Parameters:
assetKey
- value to be set
-
setName
Description copied from interface:CategorySetAssetCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceCategorySetAssetCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:CategorySetAssetCustomFieldAction
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
setValue
in interfaceCategorySetAssetCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode()
-