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