Class ValidationRulesUpdateRequestBodyError

java.lang.Object
io.voucherify.client.model.ValidationRulesUpdateRequestBodyError

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ValidationRulesUpdateRequestBodyError extends Object
Contains the error message returned from API when validation / redemption fails to meet requirements of defined rules.
  • Field Details

  • Constructor Details

    • ValidationRulesUpdateRequestBodyError

      public ValidationRulesUpdateRequestBodyError()
  • Method Details

    • message

    • getMessage

      @Nullable public String getMessage()
      The error message returned from API when validation / redemption fails to meet requirements of defined rules.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • 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
    • fromJson

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

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