Package io.voucherify.client.model
Class ValidationRulesListResponseBody
java.lang.Object
io.voucherify.client.model.ValidationRulesListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ValidationRulesListResponseBody
extends Object
Response body schema for **GET** `v1/validation-rules`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(ValidationRule dataItem) data(List<ValidationRule> data) booleanCreate an instance of ValidationRulesListResponseBody given an JSON stringgetData()An array of validation rules.Identifies the name of the attribute that contains the array of validation rules.The type of the object represented by JSON.getTotal()Total number of validation rules in the project.inthashCode()voidsetData(List<ValidationRule> data) voidsetDataRef(String dataRef) voidvoidtoJson()Convert an instance of ValidationRulesListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ValidationRulesListResponseBody
public ValidationRulesListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about validation rules.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of validation rules.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
An array of validation rules.- Returns:
- data
-
setData
-
total
-
getTotal
Total number of validation rules in the project.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ValidationRulesListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidationRulesListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ValidationRulesListResponseBody
-
toJson
Convert an instance of ValidationRulesListResponseBody to an JSON string- Returns:
- JSON string
-