Interface TypeChangeInputHintAction
- All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>
,TypeUpdateAction
Changes the inputHint
of CustomFieldStringType FieldDefinition, a CustomFieldLocalizedStringType FieldDefinition, and CustomFieldSetType FieldDefinition of these string-based FieldTypes.
Example to create an instance using the builder pattern
TypeChangeInputHintAction typeChangeInputHintAction = TypeChangeInputHintAction.builder()
.fieldName("{fieldName}")
.inputHint(TypeTextInputHint.SINGLE_LINE)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TypeChangeInputHintAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TypeChangeInputHintActionbuilder
(TypeChangeInputHintAction template) create builder for TypeChangeInputHintAction instancestatic TypeChangeInputHintAction
deepCopy
(TypeChangeInputHintAction template) factory method to create a deep copy of TypeChangeInputHintAction@NotNull String
name
of the Field Definition to update.@NotNull TypeTextInputHint
New value to set.static TypeChangeInputHintAction
of()
factory methodstatic TypeChangeInputHintAction
of
(TypeChangeInputHintAction template) factory method to create a shallow copy TypeChangeInputHintActionvoid
setFieldName
(String fieldName) name
of the Field Definition to update.void
setInputHint
(TypeTextInputHint inputHint) New value to set.static com.fasterxml.jackson.core.type.TypeReference<TypeChangeInputHintAction>
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
-
CHANGE_INPUT_HINT
discriminator value for TypeChangeInputHintAction- See Also:
-
-
Method Details
-
getFieldName
name
of the Field Definition to update.- Returns:
- fieldName
-
getInputHint
New value to set. Must not be empty.
- Returns:
- inputHint
-
setFieldName
name
of the Field Definition to update.- Parameters:
fieldName
- value to be set
-
setInputHint
New value to set. Must not be empty.
- Parameters:
inputHint
- value to be set
-
of
factory method- Returns:
- instance of TypeChangeInputHintAction
-
of
factory method to create a shallow copy TypeChangeInputHintAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of TypeChangeInputHintAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TypeChangeInputHintAction- Returns:
- builder
-
builder
create builder for TypeChangeInputHintAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTypeChangeInputHintAction
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
-