Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.22 KB

File metadata and controls

186 lines (101 loc) · 4.22 KB

SkuRules

Properties

Name Type Description Notes
Href Pointer to string [optional]
Id Pointer to string [optional]
Kind Pointer to string [optional]
Allowed Pointer to int32 [optional]
QuotaId Pointer to string [optional]
Sku Pointer to string [optional]

Methods

NewSkuRules

func NewSkuRules() *SkuRules

NewSkuRules instantiates a new SkuRules 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

NewSkuRulesWithDefaults

func NewSkuRulesWithDefaults() *SkuRules

NewSkuRulesWithDefaults instantiates a new SkuRules 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

GetHref

func (o *SkuRules) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *SkuRules) 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.

SetHref

func (o *SkuRules) SetHref(v string)

SetHref sets Href field to given value.

HasHref

func (o *SkuRules) HasHref() bool

HasHref returns a boolean if a field has been set.

GetId

func (o *SkuRules) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *SkuRules) 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.

SetId

func (o *SkuRules) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *SkuRules) HasId() bool

HasId returns a boolean if a field has been set.

GetKind

func (o *SkuRules) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *SkuRules) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *SkuRules) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *SkuRules) HasKind() bool

HasKind returns a boolean if a field has been set.

GetAllowed

func (o *SkuRules) GetAllowed() int32

GetAllowed returns the Allowed field if non-nil, zero value otherwise.

GetAllowedOk

func (o *SkuRules) GetAllowedOk() (*int32, bool)

GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllowed

func (o *SkuRules) SetAllowed(v int32)

SetAllowed sets Allowed field to given value.

HasAllowed

func (o *SkuRules) HasAllowed() bool

HasAllowed returns a boolean if a field has been set.

GetQuotaId

func (o *SkuRules) GetQuotaId() string

GetQuotaId returns the QuotaId field if non-nil, zero value otherwise.

GetQuotaIdOk

func (o *SkuRules) GetQuotaIdOk() (*string, bool)

GetQuotaIdOk returns a tuple with the QuotaId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuotaId

func (o *SkuRules) SetQuotaId(v string)

SetQuotaId sets QuotaId field to given value.

HasQuotaId

func (o *SkuRules) HasQuotaId() bool

HasQuotaId returns a boolean if a field has been set.

GetSku

func (o *SkuRules) GetSku() string

GetSku returns the Sku field if non-nil, zero value otherwise.

GetSkuOk

func (o *SkuRules) GetSkuOk() (*string, bool)

GetSkuOk returns a tuple with the Sku field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSku

func (o *SkuRules) SetSku(v string)

SetSku sets Sku field to given value.

HasSku

func (o *SkuRules) HasSku() bool

HasSku returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]