Package io.voucherify.client.model
Class CategoriesListResponseBody
java.lang.Object
io.voucherify.client.model.CategoriesListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CategoriesListResponseBody
extends Object
Response body schema for **GET** `v1/categories`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of category objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(Category dataItem) booleanstatic CategoriesListResponseBodyCreate an instance of CategoriesListResponseBody given an JSON stringgetData()Get dataIdentifies the name of the attribute that contains the array of category objects.The type of the object represented by JSON.getTotal()Total number of categories.inthashCode()voidvoidvoidvoidtoJson()Convert an instance of CategoriesListResponseBody 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
-
CategoriesListResponseBody
public CategoriesListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about categories in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of category objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Get data- Returns:
- data
-
setData
-
total
-
getTotal
Total number of categories.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CategoriesListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CategoriesListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to CategoriesListResponseBody
-
toJson
Convert an instance of CategoriesListResponseBody to an JSON string- Returns:
- JSON string
-