Package io.voucherify.client.model
Class ProductsSkusListResponseBody
java.lang.Object
io.voucherify.client.model.ProductsSkusListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductsSkusListResponseBody
extends Object
Response body schema for **GET** `v1/products/{productId}/skus`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSkusItem(Sku skusItem) booleanstatic ProductsSkusListResponseBodyCreate an instance of ProductsSkusListResponseBody given an JSON stringIdentifies the name of the JSON property that contains the array of SKUs.The type of the object represented by JSON.getSkus()A dictionary that contains an array of SKUs.getTotal()Total number of SKUs in the product.inthashCode()voidsetDataRef(String dataRef) voidvoidvoidtoJson()Convert an instance of ProductsSkusListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_SKUS
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProductsSkusListResponseBody
public ProductsSkusListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about SKUs.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the JSON property that contains the array of SKUs.- Returns:
- dataRef
-
setDataRef
-
skus
-
addSkusItem
-
getSkus
A dictionary that contains an array of SKUs.- Returns:
- skus
-
setSkus
-
total
-
getTotal
Total number of SKUs in the product.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ProductsSkusListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductsSkusListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ProductsSkusListResponseBody
-
toJson
Convert an instance of ProductsSkusListResponseBody to an JSON string- Returns:
- JSON string
-