Package ai.reveng.model
Class ProductOutput
java.lang.Object
ai.reveng.model.ProductOutput
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductOutput
extends Object
ProductOutput
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeaturesItem(String featuresItem) addPricesItem(PriceOutput pricesItem) creditsPerMonth(Long creditsPerMonth) description(String description) booleanstatic ProductOutputCreate an instance of ProductOutput given an JSON stringCredits awarded per billing month, if applicable.Human-readable product description.Marketing feature list for this product.getId()Product ID.getName()Human-readable product name.All active recurring prices for this product.getTier()User tier associated with this product, if any.inthashCode()prices(List<PriceOutput> prices) voidsetCreditsPerMonth(Long creditsPerMonth) voidsetDescription(String description) voidsetFeatures(List<String> features) voidvoidvoidsetPrices(List<PriceOutput> prices) voidtoJson()Convert an instance of ProductOutput to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CREDITS_PER_MONTH
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_FEATURES
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PRICES
- See Also:
-
SERIALIZED_NAME_TIER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProductOutput
public ProductOutput()
-
-
Method Details
-
creditsPerMonth
-
getCreditsPerMonth
Credits awarded per billing month, if applicable.- Returns:
- creditsPerMonth
-
setCreditsPerMonth
-
description
-
getDescription
Human-readable product description.- Returns:
- description
-
setDescription
-
features
-
addFeaturesItem
-
getFeatures
Marketing feature list for this product.- Returns:
- features
-
setFeatures
-
id
-
getId
Product ID.- Returns:
- id
-
setId
-
name
-
getName
Human-readable product name.- Returns:
- name
-
setName
-
prices
-
addPricesItem
-
getPrices
All active recurring prices for this product.- Returns:
- prices
-
setPrices
-
tier
-
getTier
User tier associated with this product, if any.- Returns:
- tier
-
setTier
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ProductOutput
-
fromJson
Create an instance of ProductOutput given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductOutput
- Throws:
IOException- if the JSON string is invalid with respect to ProductOutput
-
toJson
Convert an instance of ProductOutput to an JSON string- Returns:
- JSON string
-