Package io.voucherify.client.model
Class ProductCollectionsCreateResponseBodyProductsItem
java.lang.Object
io.voucherify.client.model.ProductCollectionsCreateResponseBodyProductsItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductCollectionsCreateResponseBodyProductsItem
extends Object
ProductCollectionsCreateResponseBodyProductsItem
-
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 ProductCollectionsCreateResponseBodyProductsItem 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 ProductCollectionsCreateResponseBodyProductsItem 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
-
ProductCollectionsCreateResponseBodyProductsItem
public ProductCollectionsCreateResponseBodyProductsItem()
-
-
Method Details
-
id
-
getId
-
setId
-
productId
-
getProductId
-
setProductId
-
_object
-
getObject
Denotes the type of the object represented by the ID.- Returns:
- _object
-
setObject
-
equals
-
hashCode
-
toString
-
fromJson
public static ProductCollectionsCreateResponseBodyProductsItem fromJson(String jsonString) throws IOException Create an instance of ProductCollectionsCreateResponseBodyProductsItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductCollectionsCreateResponseBodyProductsItem
- Throws:
IOException- if the JSON string is invalid with respect to ProductCollectionsCreateResponseBodyProductsItem
-
toJson
Convert an instance of ProductCollectionsCreateResponseBodyProductsItem to an JSON string- Returns:
- JSON string
-