Interface TypeUpdateAction
- All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>
- All Known Subinterfaces:
TypeAddEnumValueAction
,TypeAddFieldDefinitionAction
,TypeAddLocalizedEnumValueAction
,TypeChangeEnumValueLabelAction
,TypeChangeEnumValueOrderAction
,TypeChangeFieldDefinitionOrderAction
,TypeChangeInputHintAction
,TypeChangeKeyAction
,TypeChangeLabelAction
,TypeChangeLocalizedEnumValueLabelAction
,TypeChangeLocalizedEnumValueOrderAction
,TypeChangeNameAction
,TypeRemoveFieldDefinitionAction
,TypeSetDescriptionAction
TypeUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
TypeUpdateAction typeUpdateAction = TypeUpdateAction.addEnumValueBuilder()
fieldName("{fieldName}")
value(valueBuilder -> valueBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addEnumValue subtypebuilder for addFieldDefinition subtypebuilder for addLocalizedEnumValue subtypebuilder for changeEnumValueLabel subtypebuilder for changeEnumValueOrder subtypebuilder for changeFieldDefinitionOrder subtypebuilder for changeInputHint subtypestatic TypeChangeKeyActionBuilder
builder for changeKey subtypestatic TypeChangeLabelActionBuilder
builder for changeLabel subtypebuilder for changeLocalizedEnumValueLabel subtypebuilder for changeLocalizedEnumValueOrder subtypestatic TypeChangeNameActionBuilder
builder for changeName subtypestatic TypeUpdateAction
deepCopy
(TypeUpdateAction template) factory method to create a deep copy of TypeUpdateAction@NotNull String
builder for removeFieldDefinition subtypebuilder for setDescription subtypestatic com.fasterxml.jackson.core.type.TypeReference<TypeUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withTypeUpdateAction
(Function<TypeUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<TypeUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of TypeUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addEnumValueBuilder
builder for addEnumValue subtype- Returns:
- builder
-
addFieldDefinitionBuilder
builder for addFieldDefinition subtype- Returns:
- builder
-
addLocalizedEnumValueBuilder
builder for addLocalizedEnumValue subtype- Returns:
- builder
-
changeEnumValueLabelBuilder
builder for changeEnumValueLabel subtype- Returns:
- builder
-
changeEnumValueOrderBuilder
builder for changeEnumValueOrder subtype- Returns:
- builder
-
changeFieldDefinitionOrderBuilder
builder for changeFieldDefinitionOrder subtype- Returns:
- builder
-
changeInputHintBuilder
builder for changeInputHint subtype- Returns:
- builder
-
changeKeyBuilder
builder for changeKey subtype- Returns:
- builder
-
changeLabelBuilder
builder for changeLabel subtype- Returns:
- builder
-
changeLocalizedEnumValueLabelBuilder
builder for changeLocalizedEnumValueLabel subtype- Returns:
- builder
-
changeLocalizedEnumValueOrderBuilder
builder for changeLocalizedEnumValueOrder subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
removeFieldDefinitionBuilder
builder for removeFieldDefinition subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
withTypeUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-