Interface TypeChangeInputHintAction

All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>, TypeUpdateAction

public interface TypeChangeInputHintAction extends 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 Details

    • CHANGE_INPUT_HINT

      static final String CHANGE_INPUT_HINT
      discriminator value for TypeChangeInputHintAction
      See Also:
  • Method Details

    • getFieldName

      @NotNull @NotNull String getFieldName()

      name of the Field Definition to update.

      Returns:
      fieldName
    • getInputHint

      @NotNull @NotNull TypeTextInputHint getInputHint()

      New value to set. Must not be empty.

      Returns:
      inputHint
    • setFieldName

      void setFieldName(String fieldName)

      name of the Field Definition to update.

      Parameters:
      fieldName - value to be set
    • setInputHint

      void setInputHint(TypeTextInputHint inputHint)

      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

      default <T> T withTypeChangeInputHintAction(Function<TypeChangeInputHintAction,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<TypeChangeInputHintAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference