Skip to content

Latest commit

 

History

History
155 lines (84 loc) · 4.75 KB

PostTagRequest.md

File metadata and controls

155 lines (84 loc) · 4.75 KB

PostTagRequest

Properties

Name Type Description Notes
Domains Pointer to []int32 A list of Domain IDs to apply the new Tag to. You must be allowed to `read_write` all of the requested Domains, or the Tag will not be created and an error will be returned. [optional]
Label string The new Tag.
Linodes Pointer to []int32 A list of Linode IDs to apply the new Tag to. You must be allowed to `read_write` all of the requested Linodes, or the Tag will not be created and an error will be returned. [optional]
Nodebalancers Pointer to []int32 A list of NodeBalancer IDs to apply the new Tag to. You must be allowed to `read_write` all of the requested NodeBalancers, or the Tag will not be created and an error will be returned. [optional]
Volumes Pointer to []int32 A list of Volume IDs to apply the new Tag to. You must be allowed to `read_write` all of the requested Volumes, or the Tag will not be created and an error will be returned. [optional]

Methods

NewPostTagRequest

func NewPostTagRequest(label string, ) *PostTagRequest

NewPostTagRequest instantiates a new PostTagRequest 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

NewPostTagRequestWithDefaults

func NewPostTagRequestWithDefaults() *PostTagRequest

NewPostTagRequestWithDefaults instantiates a new PostTagRequest 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

GetDomains

func (o *PostTagRequest) GetDomains() []int32

GetDomains returns the Domains field if non-nil, zero value otherwise.

GetDomainsOk

func (o *PostTagRequest) GetDomainsOk() (*[]int32, bool)

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

SetDomains

func (o *PostTagRequest) SetDomains(v []int32)

SetDomains sets Domains field to given value.

HasDomains

func (o *PostTagRequest) HasDomains() bool

HasDomains returns a boolean if a field has been set.

GetLabel

func (o *PostTagRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *PostTagRequest) GetLabelOk() (*string, bool)

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

SetLabel

func (o *PostTagRequest) SetLabel(v string)

SetLabel sets Label field to given value.

GetLinodes

func (o *PostTagRequest) GetLinodes() []int32

GetLinodes returns the Linodes field if non-nil, zero value otherwise.

GetLinodesOk

func (o *PostTagRequest) GetLinodesOk() (*[]int32, bool)

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

SetLinodes

func (o *PostTagRequest) SetLinodes(v []int32)

SetLinodes sets Linodes field to given value.

HasLinodes

func (o *PostTagRequest) HasLinodes() bool

HasLinodes returns a boolean if a field has been set.

GetNodebalancers

func (o *PostTagRequest) GetNodebalancers() []int32

GetNodebalancers returns the Nodebalancers field if non-nil, zero value otherwise.

GetNodebalancersOk

func (o *PostTagRequest) GetNodebalancersOk() (*[]int32, bool)

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

SetNodebalancers

func (o *PostTagRequest) SetNodebalancers(v []int32)

SetNodebalancers sets Nodebalancers field to given value.

HasNodebalancers

func (o *PostTagRequest) HasNodebalancers() bool

HasNodebalancers returns a boolean if a field has been set.

GetVolumes

func (o *PostTagRequest) GetVolumes() []int32

GetVolumes returns the Volumes field if non-nil, zero value otherwise.

GetVolumesOk

func (o *PostTagRequest) GetVolumesOk() (*[]int32, bool)

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

SetVolumes

func (o *PostTagRequest) SetVolumes(v []int32)

SetVolumes sets Volumes field to given value.

HasVolumes

func (o *PostTagRequest) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

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