Class ShoppingListSetSlugActionImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListSetSlugActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListSetSlugAction
,ShoppingListUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListSetSlugActionImpl
extends Object
implements ShoppingListSetSlugAction, io.vrap.rmf.base.client.ModelBase
ShoppingListSetSlugAction
-
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.shopping_list.ShoppingListSetSlugAction
SET_SLUG
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListSetSlugAction
withShoppingListSetSlugAction
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
withShoppingListUpdateAction
-
Constructor Details
-
ShoppingListSetSlugActionImpl
public ShoppingListSetSlugActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShoppingListUpdateAction>
- Specified by:
getAction
in interfaceShoppingListUpdateAction
- Returns:
- action
-
getSlug
Value to set. If empty, any existing value will be removed. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. Must match the pattern
^[A-Za-z0-9_-]{2,256}+$
- Specified by:
getSlug
in interfaceShoppingListSetSlugAction
- Returns:
- slug
-
setSlug
Description copied from interface:ShoppingListSetSlugAction
Value to set. If empty, any existing value will be removed. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. Must match the pattern
^[A-Za-z0-9_-]{2,256}+$
- Specified by:
setSlug
in interfaceShoppingListSetSlugAction
- Parameters:
slug
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-