Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.34 KB

Category.md

File metadata and controls

98 lines (53 loc) · 2.34 KB

Category

Properties

Name Type Description Notes
Id Pointer to string [optional] [readonly]
Name string
Priority int64

Methods

NewCategory

func NewCategory(name string, priority int64, ) *Category

NewCategory instantiates a new Category 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

NewCategoryWithDefaults

func NewCategoryWithDefaults() *Category

NewCategoryWithDefaults instantiates a new Category 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

GetId

func (o *Category) GetId() string

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

GetIdOk

func (o *Category) 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 *Category) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Category) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *Category) GetName() string

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

GetNameOk

func (o *Category) 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 *Category) SetName(v string)

SetName sets Name field to given value.

GetPriority

func (o *Category) GetPriority() int64

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

func (o *Category) GetPriorityOk() (*int64, bool)

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

SetPriority

func (o *Category) SetPriority(v int64)

SetPriority sets Priority field to given value.

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