Package io.voucherify.client.model
Class ProductCollectionsGetResponseBodyProductsItem
java.lang.Object
io.voucherify.client.model.ProductCollectionsGetResponseBodyProductsItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductCollectionsGetResponseBodyProductsItem
extends Object
ProductCollectionsGetResponseBodyProductsItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDenotes the type of the object represented by the ID. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ProductCollectionsGetResponseBodyProductsItem given an JSON stringgetId()The product ID.Denotes the type of the object represented by the ID.Product ID for SKUs.inthashCode()voidvoidvoidsetProductId(String productId) toJson()Convert an instance of ProductCollectionsGetResponseBodyProductsItem to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_PRODUCT_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProductCollectionsGetResponseBodyProductsItem
public ProductCollectionsGetResponseBodyProductsItem()
-
-
Method Details
-
id
-
getId
The product ID.- Returns:
- id
-
setId
-
productId
-
getProductId
Product ID for SKUs.- Returns:
- productId
-
setProductId
-
_object
-
getObject
Denotes the type of the object represented by the ID.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ProductCollectionsGetResponseBodyProductsItem fromJson(String jsonString) throws IOException Create an instance of ProductCollectionsGetResponseBodyProductsItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductCollectionsGetResponseBodyProductsItem
- Throws:
IOException- if the JSON string is invalid with respect to ProductCollectionsGetResponseBodyProductsItem
-
toJson
Convert an instance of ProductCollectionsGetResponseBodyProductsItem to an JSON string- Returns:
- JSON string
-