Interface AttributeGroupSetKeyAction
- All Superinterfaces:
AttributeGroupUpdateAction,ResourceUpdateAction<AttributeGroupUpdateAction>
AttributeGroupSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeGroupSetKeyAction attributeGroupSetKeyAction = AttributeGroupSetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AttributeGroupSetKeyActionbuilder(AttributeGroupSetKeyAction template) create builder for AttributeGroupSetKeyAction instancecopyDeep()static AttributeGroupSetKeyActiondeepCopy(AttributeGroupSetKeyAction template) factory method to create a deep copy of AttributeGroupSetKeyActiongetKey()Ifkeyis absent ornull, the existing key, if any, will be removed.static AttributeGroupSetKeyActionof()factory methodstatic AttributeGroupSetKeyActionof(AttributeGroupSetKeyAction template) factory method to create a shallow copy AttributeGroupSetKeyActionstatic AttributeGroupSetKeyActionofUnset()voidIfkeyis absent ornull, the existing key, if any, will be removed.static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupSetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.attribute_group.AttributeGroupUpdateAction
getAction, withAttributeGroupUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_KEY
discriminator value for AttributeGroupSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()If
keyis absent ornull, the existing key, if any, will be removed.- Returns:
- key
-
setKey
If
keyis absent ornull, the existing key, if any, will be removed.- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of AttributeGroupSetKeyAction
-
of
factory method to create a shallow copy AttributeGroupSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeGroupSetKeyAction copyDeep()- Specified by:
copyDeepin interfaceAttributeGroupUpdateAction
-
deepCopy
factory method to create a deep copy of AttributeGroupSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeGroupSetKeyAction- Returns:
- builder
-
builder
create builder for AttributeGroupSetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeGroupSetKeyAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-