Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | ||
Original | string | ||
OriginalName | string | ||
Name | string | ||
Amount | float32 | ||
Unit | string | ||
UnitShort | string | ||
UnitLong | string | ||
PossibleUnits | []string | ||
EstimatedCost | IngredientInformationEstimatedCost | ||
Consistency | string | ||
ShoppingListUnits | Pointer to []string | [optional] | |
Aisle | string | ||
Image | string | ||
Meta | []string | ||
Nutrition | Pointer to IngredientInformationNutrition | [optional] | |
CategoryPath | Pointer to []string | [optional] |
func NewIngredientInformation(id int32, original string, originalName string, name string, amount float32, unit string, unitShort string, unitLong string, possibleUnits []string, estimatedCost IngredientInformationEstimatedCost, consistency string, aisle string, image string, meta []string, ) *IngredientInformation
NewIngredientInformation instantiates a new IngredientInformation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIngredientInformationWithDefaults() *IngredientInformation
NewIngredientInformationWithDefaults instantiates a new IngredientInformation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *IngredientInformation) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetId(v int32)
SetId sets Id field to given value.
func (o *IngredientInformation) GetOriginal() string
GetOriginal returns the Original field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetOriginalOk() (*string, bool)
GetOriginalOk returns a tuple with the Original field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetOriginal(v string)
SetOriginal sets Original field to given value.
func (o *IngredientInformation) GetOriginalName() string
GetOriginalName returns the OriginalName field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetOriginalNameOk() (*string, bool)
GetOriginalNameOk returns a tuple with the OriginalName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetOriginalName(v string)
SetOriginalName sets OriginalName field to given value.
func (o *IngredientInformation) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetName(v string)
SetName sets Name field to given value.
func (o *IngredientInformation) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetAmount(v float32)
SetAmount sets Amount field to given value.
func (o *IngredientInformation) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *IngredientInformation) GetUnitShort() string
GetUnitShort returns the UnitShort field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetUnitShortOk() (*string, bool)
GetUnitShortOk returns a tuple with the UnitShort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetUnitShort(v string)
SetUnitShort sets UnitShort field to given value.
func (o *IngredientInformation) GetUnitLong() string
GetUnitLong returns the UnitLong field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetUnitLongOk() (*string, bool)
GetUnitLongOk returns a tuple with the UnitLong field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetUnitLong(v string)
SetUnitLong sets UnitLong field to given value.
func (o *IngredientInformation) GetPossibleUnits() []string
GetPossibleUnits returns the PossibleUnits field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetPossibleUnitsOk() (*[]string, bool)
GetPossibleUnitsOk returns a tuple with the PossibleUnits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetPossibleUnits(v []string)
SetPossibleUnits sets PossibleUnits field to given value.
func (o *IngredientInformation) GetEstimatedCost() IngredientInformationEstimatedCost
GetEstimatedCost returns the EstimatedCost field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetEstimatedCostOk() (*IngredientInformationEstimatedCost, bool)
GetEstimatedCostOk returns a tuple with the EstimatedCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetEstimatedCost(v IngredientInformationEstimatedCost)
SetEstimatedCost sets EstimatedCost field to given value.
func (o *IngredientInformation) GetConsistency() string
GetConsistency returns the Consistency field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetConsistencyOk() (*string, bool)
GetConsistencyOk returns a tuple with the Consistency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetConsistency(v string)
SetConsistency sets Consistency field to given value.
func (o *IngredientInformation) GetShoppingListUnits() []string
GetShoppingListUnits returns the ShoppingListUnits field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetShoppingListUnitsOk() (*[]string, bool)
GetShoppingListUnitsOk returns a tuple with the ShoppingListUnits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetShoppingListUnits(v []string)
SetShoppingListUnits sets ShoppingListUnits field to given value.
func (o *IngredientInformation) HasShoppingListUnits() bool
HasShoppingListUnits returns a boolean if a field has been set.
func (o *IngredientInformation) GetAisle() string
GetAisle returns the Aisle field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetAisleOk() (*string, bool)
GetAisleOk returns a tuple with the Aisle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetAisle(v string)
SetAisle sets Aisle field to given value.
func (o *IngredientInformation) GetImage() string
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetImage(v string)
SetImage sets Image field to given value.
func (o *IngredientInformation) GetMeta() []string
GetMeta returns the Meta field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetMetaOk() (*[]string, bool)
GetMetaOk returns a tuple with the Meta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetMeta(v []string)
SetMeta sets Meta field to given value.
func (o *IngredientInformation) GetNutrition() IngredientInformationNutrition
GetNutrition returns the Nutrition field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetNutritionOk() (*IngredientInformationNutrition, bool)
GetNutritionOk returns a tuple with the Nutrition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetNutrition(v IngredientInformationNutrition)
SetNutrition sets Nutrition field to given value.
func (o *IngredientInformation) HasNutrition() bool
HasNutrition returns a boolean if a field has been set.
func (o *IngredientInformation) GetCategoryPath() []string
GetCategoryPath returns the CategoryPath field if non-nil, zero value otherwise.
func (o *IngredientInformation) GetCategoryPathOk() (*[]string, bool)
GetCategoryPathOk returns a tuple with the CategoryPath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientInformation) SetCategoryPath(v []string)
SetCategoryPath sets CategoryPath field to given value.
func (o *IngredientInformation) HasCategoryPath() bool
HasCategoryPath returns a boolean if a field has been set.