Class SubInputDetail


  • public class SubInputDetail
    extends Object
    SubInputDetail
    • Constructor Detail

      • SubInputDetail

        public SubInputDetail()
    • Method Detail

      • getConfiguration

        public Map<String,​String> getConfiguration()
        Configuration parameters for the required input.
        Returns:
        configuration
      • setConfiguration

        public void setConfiguration​(Map<String,​String> configuration)
        Configuration parameters for the required input.
        Parameters:
        configuration -
      • getItems

        public List<Item> getItems()
        In case of a select, the items to choose from.
        Returns:
        items
      • setItems

        public void setItems​(List<Item> items)
        In case of a select, the items to choose from.
        Parameters:
        items -
      • getKey

        public String getKey()
        The value to provide in the result.
        Returns:
        key
      • setKey

        public void setKey​(String key)
        The value to provide in the result.
        Parameters:
        key -
      • getOptional

        public Boolean getOptional()
        True if this input is optional to provide.
        Returns:
        optional
      • setOptional

        public void setOptional​(Boolean optional)
        True if this input is optional to provide.
        Parameters:
        optional -
      • getType

        public String getType()
        The type of the required input.
        Returns:
        type
      • setType

        public void setType​(String type)
        The type of the required input.
        Parameters:
        type -
      • getValue

        public String getValue()
        The value can be pre-filled, if available.
        Returns:
        value
      • setValue

        public void setValue​(String value)
        The value can be pre-filled, if available.
        Parameters:
        value -
      • equals

        public boolean equals​(Object o)
        Return true if this SubInputDetail object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static SubInputDetail fromJson​(String jsonString)
                                       throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of SubInputDetail given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SubInputDetail
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to SubInputDetail
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of SubInputDetail to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException