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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for TypeChangeInputHintAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for TypeChangeInputHintActionbuilder(TypeChangeInputHintAction template) create builder for TypeChangeInputHintAction instancecopyDeep()static TypeChangeInputHintActiondeepCopy(TypeChangeInputHintAction template) factory method to create a deep copy of TypeChangeInputHintAction@NotNull Stringnameof the Field Definition to update.@NotNull TypeTextInputHintNew value to set.static TypeChangeInputHintActionof()factory methodstatic TypeChangeInputHintActionof(TypeChangeInputHintAction template) factory method to create a shallow copy TypeChangeInputHintActionvoidsetFieldName(String fieldName) nameof the Field Definition to update.voidsetInputHint(TypeTextInputHint inputHint) New value to set.static com.fasterxml.jackson.core.type.TypeReference<TypeChangeInputHintAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods 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
nameof the Field Definition to update.- Returns:
- fieldName
-
getInputHint
New value to set. Must not be empty.
- Returns:
- inputHint
-
setFieldName
nameof 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
-
copyDeep
TypeChangeInputHintAction copyDeep()- Specified by:
copyDeepin interfaceTypeUpdateAction
-
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
-