Interface TypeRemoveFieldDefinitionAction
- All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>
,TypeUpdateAction
TypeRemoveFieldDefinitionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeRemoveFieldDefinitionAction typeRemoveFieldDefinitionAction = TypeRemoveFieldDefinitionAction.builder()
.fieldName("{fieldName}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TypeRemoveFieldDefinitionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TypeRemoveFieldDefinitionActionbuilder
(TypeRemoveFieldDefinitionAction template) create builder for TypeRemoveFieldDefinitionAction instancedeepCopy
(TypeRemoveFieldDefinitionAction template) factory method to create a deep copy of TypeRemoveFieldDefinitionAction@NotNull String
name
of the FieldDefinition to remove.of()
factory methodof
(TypeRemoveFieldDefinitionAction template) factory method to create a shallow copy TypeRemoveFieldDefinitionActionvoid
setFieldName
(String fieldName) name
of the FieldDefinition to remove.static com.fasterxml.jackson.core.type.TypeReference<TypeRemoveFieldDefinitionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.type.TypeUpdateAction
getAction, withTypeUpdateAction
-
Field Details
-
REMOVE_FIELD_DEFINITION
discriminator value for TypeRemoveFieldDefinitionAction- See Also:
-
-
Method Details
-
getFieldName
name
of the FieldDefinition to remove. The removal of a FieldDefinition deletes asynchronously all Custom Fields using the FieldDefinition as well.- Returns:
- fieldName
-
setFieldName
name
of the FieldDefinition to remove. The removal of a FieldDefinition deletes asynchronously all Custom Fields using the FieldDefinition as well.- Parameters:
fieldName
- value to be set
-
of
factory method- Returns:
- instance of TypeRemoveFieldDefinitionAction
-
of
factory method to create a shallow copy TypeRemoveFieldDefinitionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static TypeRemoveFieldDefinitionAction deepCopy(@Nullable TypeRemoveFieldDefinitionAction template) factory method to create a deep copy of TypeRemoveFieldDefinitionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TypeRemoveFieldDefinitionAction- Returns:
- builder
-
builder
create builder for TypeRemoveFieldDefinitionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTypeRemoveFieldDefinitionAction
default <T> T withTypeRemoveFieldDefinitionAction(Function<TypeRemoveFieldDefinitionAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<TypeRemoveFieldDefinitionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-