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. |
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
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
func (o *Group) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Group) SetId(v int64)
SetId sets Id field to given value.
func (o *Group) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Group) SetName(v string)
SetName sets Name field to given value.
func (o *Group) GetShortName() string
GetShortName returns the ShortName field if non-nil, zero value otherwise.
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.
func (o *Group) SetShortName(v string)
SetShortName sets ShortName field to given value.
func (o *Group) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *Group) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Group) GetRoles() []Role
GetRoles returns the Roles field if non-nil, zero value otherwise.
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.
func (o *Group) SetRoles(v []Role)
SetRoles sets Roles field to given value.