Class AdditionalInfo

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

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

  • Constructor Details

    • AdditionalInfo

      public AdditionalInfo()
  • Method Details

    • key

      public AdditionalInfo key(String key)
    • getKey

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

      public void setKey(String key)
    • value

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

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

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