Name | Type | Description | Notes |
---|---|---|---|
BillingFrequency | BillingFrequency | ||
Term | ContractTerm | ||
Type | ContractType | ||
EndsAt | NullableTime | ||
CreatedAt | time.Time | Date when the contract was created | |
State | ContractState | ||
Id | string | ||
Sla | string | ||
ControlPanel | NullableString | ||
InModification | bool |
func NewVpsContract(billingFrequency BillingFrequency, term ContractTerm, type_ ContractType, endsAt NullableTime, createdAt time.Time, state ContractState, id string, sla string, controlPanel NullableString, inModification bool, ) *VpsContract
NewVpsContract instantiates a new VpsContract 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 NewVpsContractWithDefaults() *VpsContract
NewVpsContractWithDefaults instantiates a new VpsContract 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 *VpsContract) GetBillingFrequency() BillingFrequency
GetBillingFrequency returns the BillingFrequency field if non-nil, zero value otherwise.
func (o *VpsContract) GetBillingFrequencyOk() (*BillingFrequency, 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 *VpsContract) SetBillingFrequency(v BillingFrequency)
SetBillingFrequency sets BillingFrequency field to given value.
func (o *VpsContract) GetTerm() ContractTerm
GetTerm returns the Term field if non-nil, zero value otherwise.
func (o *VpsContract) GetTermOk() (*ContractTerm, bool)
GetTermOk returns a tuple with the Term field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetTerm(v ContractTerm)
SetTerm sets Term field to given value.
func (o *VpsContract) GetType() ContractType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *VpsContract) GetTypeOk() (*ContractType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetType(v ContractType)
SetType sets Type field to given value.
func (o *VpsContract) GetEndsAt() time.Time
GetEndsAt returns the EndsAt field if non-nil, zero value otherwise.
func (o *VpsContract) GetEndsAtOk() (*time.Time, bool)
GetEndsAtOk returns a tuple with the EndsAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetEndsAt(v time.Time)
SetEndsAt sets EndsAt field to given value.
func (o *VpsContract) SetEndsAtNil(b bool)
SetEndsAtNil sets the value for EndsAt to be an explicit nil
func (o *VpsContract) UnsetEndsAt()
UnsetEndsAt ensures that no value is present for EndsAt, not even an explicit nil
func (o *VpsContract) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *VpsContract) 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 *VpsContract) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *VpsContract) GetState() ContractState
GetState returns the State field if non-nil, zero value otherwise.
func (o *VpsContract) GetStateOk() (*ContractState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetState(v ContractState)
SetState sets State field to given value.
func (o *VpsContract) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *VpsContract) GetIdOk() (*string, 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 *VpsContract) SetId(v string)
SetId sets Id field to given value.
func (o *VpsContract) GetSla() string
GetSla returns the Sla field if non-nil, zero value otherwise.
func (o *VpsContract) GetSlaOk() (*string, bool)
GetSlaOk returns a tuple with the Sla field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetSla(v string)
SetSla sets Sla field to given value.
func (o *VpsContract) GetControlPanel() string
GetControlPanel returns the ControlPanel field if non-nil, zero value otherwise.
func (o *VpsContract) GetControlPanelOk() (*string, bool)
GetControlPanelOk returns a tuple with the ControlPanel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetControlPanel(v string)
SetControlPanel sets ControlPanel field to given value.
func (o *VpsContract) SetControlPanelNil(b bool)
SetControlPanelNil sets the value for ControlPanel to be an explicit nil
func (o *VpsContract) UnsetControlPanel()
UnsetControlPanel ensures that no value is present for ControlPanel, not even an explicit nil
func (o *VpsContract) GetInModification() bool
GetInModification returns the InModification field if non-nil, zero value otherwise.
func (o *VpsContract) GetInModificationOk() (*bool, bool)
GetInModificationOk returns a tuple with the InModification field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsContract) SetInModification(v bool)
SetInModification sets InModification field to given value.