Name | Type | Description | Notes |
---|---|---|---|
Href | Pointer to string | An absolute URL that returns specified pricing data | [optional] |
Type | Pointer to ProductType | [optional] | |
Code | Pointer to string | Equinix-assigned product code | [optional] |
Name | Pointer to string | Full product name | [optional] |
Description | Pointer to string | Product description | [optional] |
Account | Pointer to SimplifiedAccount | [optional] | |
Charges | Pointer to []PriceCharge | [optional] | |
Currency | Pointer to string | Product offering price currency | [optional] |
TermLength | Pointer to PriceTermLength | [optional] | |
Catgory | Pointer to PriceCategory | [optional] | |
Connection | Pointer to VirtualConnectionPrice | [optional] | |
IpBlock | Pointer to IpBlockPrice | [optional] | |
Router | Pointer to FabricCloudRouterPrice | [optional] | |
Port | Pointer to VirtualPortPrice | [optional] |
func NewPrice() *Price
NewPrice instantiates a new Price 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 NewPriceWithDefaults() *Price
NewPriceWithDefaults instantiates a new Price 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 *Price) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *Price) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetHref(v string)
SetHref sets Href field to given value.
func (o *Price) HasHref() bool
HasHref returns a boolean if a field has been set.
func (o *Price) GetType() ProductType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Price) GetTypeOk() (*ProductType, 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 *Price) SetType(v ProductType)
SetType sets Type field to given value.
func (o *Price) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Price) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *Price) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetCode(v string)
SetCode sets Code field to given value.
func (o *Price) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *Price) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Price) 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 *Price) SetName(v string)
SetName sets Name field to given value.
func (o *Price) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Price) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Price) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Price) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Price) GetAccount() SimplifiedAccount
GetAccount returns the Account field if non-nil, zero value otherwise.
func (o *Price) GetAccountOk() (*SimplifiedAccount, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetAccount(v SimplifiedAccount)
SetAccount sets Account field to given value.
func (o *Price) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (o *Price) GetCharges() []PriceCharge
GetCharges returns the Charges field if non-nil, zero value otherwise.
func (o *Price) GetChargesOk() (*[]PriceCharge, bool)
GetChargesOk returns a tuple with the Charges field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetCharges(v []PriceCharge)
SetCharges sets Charges field to given value.
func (o *Price) HasCharges() bool
HasCharges returns a boolean if a field has been set.
func (o *Price) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *Price) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *Price) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (o *Price) GetTermLength() PriceTermLength
GetTermLength returns the TermLength field if non-nil, zero value otherwise.
func (o *Price) GetTermLengthOk() (*PriceTermLength, bool)
GetTermLengthOk returns a tuple with the TermLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetTermLength(v PriceTermLength)
SetTermLength sets TermLength field to given value.
func (o *Price) HasTermLength() bool
HasTermLength returns a boolean if a field has been set.
func (o *Price) GetCatgory() PriceCategory
GetCatgory returns the Catgory field if non-nil, zero value otherwise.
func (o *Price) GetCatgoryOk() (*PriceCategory, bool)
GetCatgoryOk returns a tuple with the Catgory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetCatgory(v PriceCategory)
SetCatgory sets Catgory field to given value.
func (o *Price) HasCatgory() bool
HasCatgory returns a boolean if a field has been set.
func (o *Price) GetConnection() VirtualConnectionPrice
GetConnection returns the Connection field if non-nil, zero value otherwise.
func (o *Price) GetConnectionOk() (*VirtualConnectionPrice, bool)
GetConnectionOk returns a tuple with the Connection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetConnection(v VirtualConnectionPrice)
SetConnection sets Connection field to given value.
func (o *Price) HasConnection() bool
HasConnection returns a boolean if a field has been set.
func (o *Price) GetIpBlock() IpBlockPrice
GetIpBlock returns the IpBlock field if non-nil, zero value otherwise.
func (o *Price) GetIpBlockOk() (*IpBlockPrice, bool)
GetIpBlockOk returns a tuple with the IpBlock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetIpBlock(v IpBlockPrice)
SetIpBlock sets IpBlock field to given value.
func (o *Price) HasIpBlock() bool
HasIpBlock returns a boolean if a field has been set.
func (o *Price) GetRouter() FabricCloudRouterPrice
GetRouter returns the Router field if non-nil, zero value otherwise.
func (o *Price) GetRouterOk() (*FabricCloudRouterPrice, bool)
GetRouterOk returns a tuple with the Router field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetRouter(v FabricCloudRouterPrice)
SetRouter sets Router field to given value.
func (o *Price) HasRouter() bool
HasRouter returns a boolean if a field has been set.
func (o *Price) GetPort() VirtualPortPrice
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *Price) GetPortOk() (*VirtualPortPrice, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetPort(v VirtualPortPrice)
SetPort sets Port field to given value.
func (o *Price) HasPort() bool
HasPort returns a boolean if a field has been set.