Class ProductOutput

java.lang.Object
ai.reveng.model.ProductOutput

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ProductOutput extends Object
ProductOutput
  • Field Details

  • Constructor Details

    • ProductOutput

      public ProductOutput()
  • Method Details

    • creditsPerMonth

      public ProductOutput creditsPerMonth(@Nullable Long creditsPerMonth)
    • getCreditsPerMonth

      @Nullable public Long getCreditsPerMonth()
      Credits awarded per billing month, if applicable.
      Returns:
      creditsPerMonth
    • setCreditsPerMonth

      public void setCreditsPerMonth(@Nullable Long creditsPerMonth)
    • description

      public ProductOutput description(@Nonnull String description)
    • getDescription

      @Nonnull public String getDescription()
      Human-readable product description.
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • features

      public ProductOutput features(@Nullable List<String> features)
    • addFeaturesItem

      public ProductOutput addFeaturesItem(String featuresItem)
    • getFeatures

      @Nullable public List<String> getFeatures()
      Marketing feature list for this product.
      Returns:
      features
    • setFeatures

      public void setFeatures(@Nullable List<String> features)
    • id

      public ProductOutput id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Product ID.
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • name

      public ProductOutput name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Human-readable product name.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • prices

      public ProductOutput prices(@Nullable List<PriceOutput> prices)
    • addPricesItem

      public ProductOutput addPricesItem(PriceOutput pricesItem)
    • getPrices

      @Nullable public List<PriceOutput> getPrices()
      All active recurring prices for this product.
      Returns:
      prices
    • setPrices

      public void setPrices(@Nullable List<PriceOutput> prices)
    • tier

      public ProductOutput tier(@Nullable String tier)
    • getTier

      @Nullable public String getTier()
      User tier associated with this product, if any.
      Returns:
      tier
    • setTier

      public void setTier(@Nullable String tier)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static ProductOutput fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of ProductOutput to an JSON string
      Returns:
      JSON string