Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | Pointer to time.Time | [optional] [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
CurrencyId | Pointer to string | Use either currency_id or currency_code. | [optional] |
CurrencyCode | Pointer to string | Use either currency_id or currency_code. | [optional] |
CurrencySymbol | Pointer to string | [optional] [readonly] | |
CurrencyDecimalPlaces | Pointer to int32 | [optional] [readonly] | |
Amount | string | ||
Start | time.Time | Start date of the available budget. | |
End | time.Time | End date of the available budget. | |
SpentInBudgets | Pointer to []BudgetSpent | [optional] [readonly] | |
SpentOutsideBudget | Pointer to []BudgetSpent | [optional] [readonly] |
func NewAvailableBudget(amount string, start time.Time, end time.Time, ) *AvailableBudget
NewAvailableBudget instantiates a new AvailableBudget 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 NewAvailableBudgetWithDefaults() *AvailableBudget
NewAvailableBudgetWithDefaults instantiates a new AvailableBudget 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 *AvailableBudget) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *AvailableBudget) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *AvailableBudget) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *AvailableBudget) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *AvailableBudget) GetCurrencyId() string
GetCurrencyId returns the CurrencyId field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetCurrencyIdOk() (*string, bool)
GetCurrencyIdOk returns a tuple with the CurrencyId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetCurrencyId(v string)
SetCurrencyId sets CurrencyId field to given value.
func (o *AvailableBudget) HasCurrencyId() bool
HasCurrencyId returns a boolean if a field has been set.
func (o *AvailableBudget) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetCurrencyCode(v string)
SetCurrencyCode sets CurrencyCode field to given value.
func (o *AvailableBudget) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (o *AvailableBudget) GetCurrencySymbol() string
GetCurrencySymbol returns the CurrencySymbol field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetCurrencySymbolOk() (*string, bool)
GetCurrencySymbolOk returns a tuple with the CurrencySymbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetCurrencySymbol(v string)
SetCurrencySymbol sets CurrencySymbol field to given value.
func (o *AvailableBudget) HasCurrencySymbol() bool
HasCurrencySymbol returns a boolean if a field has been set.
func (o *AvailableBudget) GetCurrencyDecimalPlaces() int32
GetCurrencyDecimalPlaces returns the CurrencyDecimalPlaces field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetCurrencyDecimalPlacesOk() (*int32, bool)
GetCurrencyDecimalPlacesOk returns a tuple with the CurrencyDecimalPlaces field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetCurrencyDecimalPlaces(v int32)
SetCurrencyDecimalPlaces sets CurrencyDecimalPlaces field to given value.
func (o *AvailableBudget) HasCurrencyDecimalPlaces() bool
HasCurrencyDecimalPlaces returns a boolean if a field has been set.
func (o *AvailableBudget) GetAmount() string
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetAmountOk() (*string, 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 *AvailableBudget) SetAmount(v string)
SetAmount sets Amount field to given value.
func (o *AvailableBudget) GetStart() time.Time
GetStart returns the Start field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetStartOk() (*time.Time, bool)
GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetStart(v time.Time)
SetStart sets Start field to given value.
func (o *AvailableBudget) GetEnd() time.Time
GetEnd returns the End field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetEndOk() (*time.Time, bool)
GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetEnd(v time.Time)
SetEnd sets End field to given value.
func (o *AvailableBudget) GetSpentInBudgets() []BudgetSpent
GetSpentInBudgets returns the SpentInBudgets field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetSpentInBudgetsOk() (*[]BudgetSpent, bool)
GetSpentInBudgetsOk returns a tuple with the SpentInBudgets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetSpentInBudgets(v []BudgetSpent)
SetSpentInBudgets sets SpentInBudgets field to given value.
func (o *AvailableBudget) HasSpentInBudgets() bool
HasSpentInBudgets returns a boolean if a field has been set.
func (o *AvailableBudget) GetSpentOutsideBudget() []BudgetSpent
GetSpentOutsideBudget returns the SpentOutsideBudget field if non-nil, zero value otherwise.
func (o *AvailableBudget) GetSpentOutsideBudgetOk() (*[]BudgetSpent, bool)
GetSpentOutsideBudgetOk returns a tuple with the SpentOutsideBudget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AvailableBudget) SetSpentOutsideBudget(v []BudgetSpent)
SetSpentOutsideBudget sets SpentOutsideBudget field to given value.
func (o *AvailableBudget) HasSpentOutsideBudget() bool
HasSpentOutsideBudget returns a boolean if a field has been set.