Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 1.56 KB

File metadata and controls

69 lines (38 loc) · 1.56 KB

Tag

Properties

Name Type Description Notes
Key string The object key.
Value string Value of the tag.

Methods

NewTag

func NewTag(key string, value string, ) *Tag

NewTag instantiates a new Tag 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

NewTagWithDefaults

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag 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

GetKey

func (o *Tag) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *Tag) GetKeyOk() (*string, bool)

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

SetKey

func (o *Tag) SetKey(v string)

SetKey sets Key field to given value.

GetValue

func (o *Tag) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *Tag) GetValueOk() (*string, bool)

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

SetValue

func (o *Tag) SetValue(v string)

SetValue sets Value field to given value.