Class WorkParameterValueResponseDTO

java.lang.Object
com.redhat.parodos.sdk.model.WorkParameterValueResponseDTO

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class WorkParameterValueResponseDTO extends Object
WorkParameterValueResponseDTO
  • Field Details

  • Constructor Details

    • WorkParameterValueResponseDTO

      public WorkParameterValueResponseDTO()
  • Method Details

    • key

    • getKey

      @Nullable public String getKey()
      Get key
      Returns:
      key
    • setKey

      public void setKey(String key)
    • options

      public WorkParameterValueResponseDTO options(List<String> options)
    • addOptionsItem

      public WorkParameterValueResponseDTO addOptionsItem(String optionsItem)
    • getOptions

      @Nullable public List<String> getOptions()
      Get options
      Returns:
      options
    • setOptions

      public void setOptions(List<String> options)
    • propertyPath

      public WorkParameterValueResponseDTO propertyPath(String propertyPath)
    • getPropertyPath

      @Nullable public String getPropertyPath()
      Get propertyPath
      Returns:
      propertyPath
    • setPropertyPath

      public void setPropertyPath(String propertyPath)
    • value

      public WorkParameterValueResponseDTO value(String value)
    • getValue

      @Nullable public String getValue()
      Get value
      Returns:
      value
    • setValue

      public void setValue(String value)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to WorkParameterValueResponseDTO
    • fromJson

      public static WorkParameterValueResponseDTO fromJson(String jsonString) throws IOException
      Create an instance of WorkParameterValueResponseDTO given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of WorkParameterValueResponseDTO
      Throws:
      IOException - if the JSON string is invalid with respect to WorkParameterValueResponseDTO
    • toJson

      public String toJson()
      Convert an instance of WorkParameterValueResponseDTO to an JSON string
      Returns:
      JSON string