Package io.voucherify.client.model
Class ValidationRulesCreateRequestBodyError
java.lang.Object
io.voucherify.client.model.ValidationRulesCreateRequestBodyError
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ValidationRulesCreateRequestBodyError
extends Object
Contains the error message returned from API when validation / redemption fails to meet requirements of defined rules.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ValidationRulesCreateRequestBodyError given an JSON stringThe error message returned from API when validation / redemption fails to meet requirements of defined rules.inthashCode()voidsetMessage(String message) toJson()Convert an instance of ValidationRulesCreateRequestBodyError to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ValidationRulesCreateRequestBodyError
public ValidationRulesCreateRequestBodyError()
-
-
Method Details
-
message
-
getMessage
The error message returned from API when validation / redemption fails to meet requirements of defined rules.- Returns:
- message
-
setMessage
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ValidationRulesCreateRequestBodyError given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidationRulesCreateRequestBodyError
- Throws:
IOException- if the JSON string is invalid with respect to ValidationRulesCreateRequestBodyError
-
toJson
Convert an instance of ValidationRulesCreateRequestBodyError to an JSON string- Returns:
- JSON string
-