Package com.commercetools.api.models.me
Class MyShoppingListUpdateImpl
java.lang.Object
com.commercetools.api.models.me.MyShoppingListUpdateImpl
- All Implemented Interfaces:
MyShoppingListUpdate
,ResourceUpdate<MyShoppingListUpdate,
,MyShoppingListUpdateAction, MyShoppingListUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class MyShoppingListUpdateImpl
extends Object
implements MyShoppingListUpdate, io.vrap.rmf.base.client.ModelBase
MyShoppingListUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
List of update actions to be performed on the ShoppingList.Expected version of the ShoppingList on which the changes should be applied.int
hashCode()
void
setActions
(MyShoppingListUpdateAction... actions) List of update actions to be performed on the ShoppingList.void
setActions
(List<MyShoppingListUpdateAction> actions) List of update actions to be performed on the ShoppingList.void
setVersion
(Long version) Expected version of the ShoppingList on which the changes should be applied.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyShoppingListUpdate
withMyShoppingListUpdate
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
MyShoppingListUpdateImpl
public MyShoppingListUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the ShoppingList on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
getVersion
in interfaceMyShoppingListUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<MyShoppingListUpdate,
MyShoppingListUpdateAction, MyShoppingListUpdateBuilder> - Returns:
- version
-
getActions
List of update actions to be performed on the ShoppingList.
- Specified by:
getActions
in interfaceMyShoppingListUpdate
- Specified by:
getActions
in interfaceResourceUpdate<MyShoppingListUpdate,
MyShoppingListUpdateAction, MyShoppingListUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:MyShoppingListUpdate
Expected version of the ShoppingList on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
setVersion
in interfaceMyShoppingListUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<MyShoppingListUpdate,
MyShoppingListUpdateAction, MyShoppingListUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:MyShoppingListUpdate
List of update actions to be performed on the ShoppingList.
- Specified by:
setActions
in interfaceMyShoppingListUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:MyShoppingListUpdate
List of update actions to be performed on the ShoppingList.
- Specified by:
setActions
in interfaceMyShoppingListUpdate
- Specified by:
setActions
in interfaceResourceUpdate<MyShoppingListUpdate,
MyShoppingListUpdateAction, MyShoppingListUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-