Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.26 KB

Group.md

File metadata and controls

135 lines (72 loc) · 3.26 KB

Group

Properties

Name Type Description Notes
Id int64 The group ID.
Name string The group name.
ShortName string The group short name.
Description string The group description.
Roles []Role The group roles.

Methods

NewGroup

func NewGroup(id int64, name string, shortName string, description string, roles []Role, ) *Group

NewGroup instantiates a new Group 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

NewGroupWithDefaults

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group 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 *Group) GetId() int64

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

GetIdOk

func (o *Group) GetIdOk() (*int64, 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 *Group) SetId(v int64)

SetId sets Id field to given value.

GetName

func (o *Group) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetShortName

func (o *Group) GetShortName() string

GetShortName returns the ShortName field if non-nil, zero value otherwise.

GetShortNameOk

func (o *Group) GetShortNameOk() (*string, bool)

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

SetShortName

func (o *Group) SetShortName(v string)

SetShortName sets ShortName field to given value.

GetDescription

func (o *Group) GetDescription() string

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

GetDescriptionOk

func (o *Group) 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 *Group) SetDescription(v string)

SetDescription sets Description field to given value.

GetRoles

func (o *Group) GetRoles() []Role

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

func (o *Group) GetRolesOk() (*[]Role, bool)

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

SetRoles

func (o *Group) SetRoles(v []Role)

SetRoles sets Roles field to given value.

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