public class CatalogItemFoodAndBeverageDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogItemFoodAndBeverageDetails.Builder
Class to build instances of
CatalogItemFoodAndBeverageDetails. |
| Modifier | Constructor and Description |
|---|---|
|
CatalogItemFoodAndBeverageDetails(Integer calorieCount,
List<CatalogItemFoodAndBeverageDetailsDietaryPreference> dietaryPreferences,
List<CatalogItemFoodAndBeverageDetailsIngredient> ingredients)
Initialization constructor.
|
protected |
CatalogItemFoodAndBeverageDetails(io.apimatic.core.types.OptionalNullable<Integer> calorieCount,
io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsDietaryPreference>> dietaryPreferences,
io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsIngredient>> ingredients)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getCalorieCount()
Getter for CalorieCount.
|
List<CatalogItemFoodAndBeverageDetailsDietaryPreference> |
getDietaryPreferences()
Getter for DietaryPreferences.
|
List<CatalogItemFoodAndBeverageDetailsIngredient> |
getIngredients()
Getter for Ingredients.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetCalorieCount()
Internal Getter for CalorieCount.
|
protected io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsDietaryPreference>> |
internalGetDietaryPreferences()
Internal Getter for DietaryPreferences.
|
protected io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsIngredient>> |
internalGetIngredients()
Internal Getter for Ingredients.
|
CatalogItemFoodAndBeverageDetails.Builder |
toBuilder()
Builds a new
CatalogItemFoodAndBeverageDetails.Builder object. |
String |
toString()
Converts this CatalogItemFoodAndBeverageDetails into string format.
|
public CatalogItemFoodAndBeverageDetails(Integer calorieCount, List<CatalogItemFoodAndBeverageDetailsDietaryPreference> dietaryPreferences, List<CatalogItemFoodAndBeverageDetailsIngredient> ingredients)
calorieCount - Integer value for calorieCount.dietaryPreferences - List of CatalogItemFoodAndBeverageDetailsDietaryPreference value
for dietaryPreferences.ingredients - List of CatalogItemFoodAndBeverageDetailsIngredient value for
ingredients.protected CatalogItemFoodAndBeverageDetails(io.apimatic.core.types.OptionalNullable<Integer> calorieCount, io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsDietaryPreference>> dietaryPreferences, io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsIngredient>> ingredients)
calorieCount - Integer value for calorieCount.dietaryPreferences - List of CatalogItemFoodAndBeverageDetailsDietaryPreference value
for dietaryPreferences.ingredients - List of CatalogItemFoodAndBeverageDetailsIngredient value for
ingredients.protected io.apimatic.core.types.OptionalNullable<Integer> internalGetCalorieCount()
public Integer getCalorieCount()
protected io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsDietaryPreference>> internalGetDietaryPreferences()
public List<CatalogItemFoodAndBeverageDetailsDietaryPreference> getDietaryPreferences()
protected io.apimatic.core.types.OptionalNullable<List<CatalogItemFoodAndBeverageDetailsIngredient>> internalGetIngredients()
public List<CatalogItemFoodAndBeverageDetailsIngredient> getIngredients()
public String toString()
public CatalogItemFoodAndBeverageDetails.Builder toBuilder()
CatalogItemFoodAndBeverageDetails.Builder object.
Creates the instance with the state of the current model.CatalogItemFoodAndBeverageDetails.Builder objectCopyright © 2024. All rights reserved.