Name | Type | Description | Notes |
---|---|---|---|
ProductId | string | Unique identifier of the product in current plan. Valid values are: 1. `Free` 2. `Trial` 3. `Essentials` 4. `EnterpriseOps` 5. `EnterpriseSec` 6. `EnterpriseSuite` | |
PlanCost | float64 | Cost incurred for the current plan. | |
BillingFrequency | string | Billing frequency for the current plan. Valid values are: 1. `Monthly` 2. `Annually` | |
Consumables | Pointer to []Consumable | Consumables in the current plan. | [optional] |
PlanType | Pointer to string | Whether the account is `Free`/`Trial`/`Paid` | [optional] |
PlanName | Pointer to string | The plan name for the product being used. | [optional] |
DiscountAmount | Pointer to int32 | The discount offered for the given contract period. | [optional] |
ContractPeriod | Pointer to ContractPeriod | [optional] | |
CurrentBillingPeriod | Pointer to CurrentBillingPeriod | [optional] | |
Credits | Pointer to int64 | Numerical value of the amount of credits | [optional] |
Baselines | Pointer to Baselines | [optional] |
func NewCurrentPlan(productId string, planCost float64, billingFrequency string, ) *CurrentPlan
NewCurrentPlan instantiates a new CurrentPlan 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 NewCurrentPlanWithDefaults() *CurrentPlan
NewCurrentPlanWithDefaults instantiates a new CurrentPlan 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 *CurrentPlan) GetProductId() string
GetProductId returns the ProductId field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetProductIdOk() (*string, bool)
GetProductIdOk returns a tuple with the ProductId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetProductId(v string)
SetProductId sets ProductId field to given value.
func (o *CurrentPlan) GetPlanCost() float64
GetPlanCost returns the PlanCost field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetPlanCostOk() (*float64, bool)
GetPlanCostOk returns a tuple with the PlanCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetPlanCost(v float64)
SetPlanCost sets PlanCost field to given value.
func (o *CurrentPlan) GetBillingFrequency() string
GetBillingFrequency returns the BillingFrequency field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetBillingFrequencyOk() (*string, bool)
GetBillingFrequencyOk returns a tuple with the BillingFrequency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetBillingFrequency(v string)
SetBillingFrequency sets BillingFrequency field to given value.
func (o *CurrentPlan) GetConsumables() []Consumable
GetConsumables returns the Consumables field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetConsumablesOk() (*[]Consumable, bool)
GetConsumablesOk returns a tuple with the Consumables field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetConsumables(v []Consumable)
SetConsumables sets Consumables field to given value.
func (o *CurrentPlan) HasConsumables() bool
HasConsumables returns a boolean if a field has been set.
func (o *CurrentPlan) GetPlanType() string
GetPlanType returns the PlanType field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetPlanTypeOk() (*string, bool)
GetPlanTypeOk returns a tuple with the PlanType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetPlanType(v string)
SetPlanType sets PlanType field to given value.
func (o *CurrentPlan) HasPlanType() bool
HasPlanType returns a boolean if a field has been set.
func (o *CurrentPlan) GetPlanName() string
GetPlanName returns the PlanName field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetPlanNameOk() (*string, bool)
GetPlanNameOk returns a tuple with the PlanName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetPlanName(v string)
SetPlanName sets PlanName field to given value.
func (o *CurrentPlan) HasPlanName() bool
HasPlanName returns a boolean if a field has been set.
func (o *CurrentPlan) GetDiscountAmount() int32
GetDiscountAmount returns the DiscountAmount field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetDiscountAmountOk() (*int32, bool)
GetDiscountAmountOk returns a tuple with the DiscountAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetDiscountAmount(v int32)
SetDiscountAmount sets DiscountAmount field to given value.
func (o *CurrentPlan) HasDiscountAmount() bool
HasDiscountAmount returns a boolean if a field has been set.
func (o *CurrentPlan) GetContractPeriod() ContractPeriod
GetContractPeriod returns the ContractPeriod field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetContractPeriodOk() (*ContractPeriod, bool)
GetContractPeriodOk returns a tuple with the ContractPeriod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetContractPeriod(v ContractPeriod)
SetContractPeriod sets ContractPeriod field to given value.
func (o *CurrentPlan) HasContractPeriod() bool
HasContractPeriod returns a boolean if a field has been set.
func (o *CurrentPlan) GetCurrentBillingPeriod() CurrentBillingPeriod
GetCurrentBillingPeriod returns the CurrentBillingPeriod field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetCurrentBillingPeriodOk() (*CurrentBillingPeriod, bool)
GetCurrentBillingPeriodOk returns a tuple with the CurrentBillingPeriod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetCurrentBillingPeriod(v CurrentBillingPeriod)
SetCurrentBillingPeriod sets CurrentBillingPeriod field to given value.
func (o *CurrentPlan) HasCurrentBillingPeriod() bool
HasCurrentBillingPeriod returns a boolean if a field has been set.
func (o *CurrentPlan) GetCredits() int64
GetCredits returns the Credits field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetCreditsOk() (*int64, bool)
GetCreditsOk returns a tuple with the Credits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetCredits(v int64)
SetCredits sets Credits field to given value.
func (o *CurrentPlan) HasCredits() bool
HasCredits returns a boolean if a field has been set.
func (o *CurrentPlan) GetBaselines() Baselines
GetBaselines returns the Baselines field if non-nil, zero value otherwise.
func (o *CurrentPlan) GetBaselinesOk() (*Baselines, bool)
GetBaselinesOk returns a tuple with the Baselines field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CurrentPlan) SetBaselines(v Baselines)
SetBaselines sets Baselines field to given value.
func (o *CurrentPlan) HasBaselines() bool
HasBaselines returns a boolean if a field has been set.