Package io.voucherify.client.model
Class ProductCollectionsProductsListResponseBody
java.lang.Object
io.voucherify.client.model.ProductCollectionsProductsListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductCollectionsProductsListResponseBody
extends Object
Response body schema for **GET** `v1/product-collections/{productCollectionId}/products`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ProductCollectionsProductsListResponseBody given an JSON stringgetData()Get dataIdentifies the name of the JSON property that contains the array of products and SKUs.The type of the object represented by JSON.getTotal()Total number of products & SKUs in the product collection.inthashCode()voidvoidsetDataRef(String dataRef) voidvoidtoJson()Convert an instance of ProductCollectionsProductsListResponseBody 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
-
ProductCollectionsProductsListResponseBody
public ProductCollectionsProductsListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about products and SKUs.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the JSON property that contains the array of products and SKUs.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
public ProductCollectionsProductsListResponseBody addDataItem(ProductCollectionsProductsListResponseBodyDataItem dataItem) -
getData
Get data- Returns:
- data
-
setData
-
total
-
getTotal
Total number of products & SKUs in the product collection.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ProductCollectionsProductsListResponseBody fromJson(String jsonString) throws IOException Create an instance of ProductCollectionsProductsListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductCollectionsProductsListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ProductCollectionsProductsListResponseBody
-
toJson
Convert an instance of ProductCollectionsProductsListResponseBody to an JSON string- Returns:
- JSON string
-