Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.04 KB

TagRequest.md

File metadata and controls

124 lines (67 loc) · 3.04 KB

TagRequest

Properties

Name Type Description Notes
Name string
Slug string
Color Pointer to string [optional]
Description Pointer to string [optional]

Methods

NewTagRequest

func NewTagRequest(name string, slug string, ) *TagRequest

NewTagRequest instantiates a new TagRequest 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

NewTagRequestWithDefaults

func NewTagRequestWithDefaults() *TagRequest

NewTagRequestWithDefaults instantiates a new TagRequest 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

GetName

func (o *TagRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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

SetName

func (o *TagRequest) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *TagRequest) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *TagRequest) GetSlugOk() (*string, bool)

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

SetSlug

func (o *TagRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

GetColor

func (o *TagRequest) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

GetColorOk

func (o *TagRequest) GetColorOk() (*string, bool)

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

SetColor

func (o *TagRequest) SetColor(v string)

SetColor sets Color field to given value.

HasColor

func (o *TagRequest) HasColor() bool

HasColor returns a boolean if a field has been set.

GetDescription

func (o *TagRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

SetDescription

func (o *TagRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *TagRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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