Class ArgumentRequestDTO

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

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

  • Constructor Details

    • ArgumentRequestDTO

      public ArgumentRequestDTO()
  • Method Details

    • key

      public ArgumentRequestDTO key(String key)
    • getKey

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

      public void setKey(String key)
    • value

      public ArgumentRequestDTO 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 ArgumentRequestDTO
    • fromJson

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

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