Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Name of the user. | [optional] |
Pointer to string | Email address of the user. | ||
IsAdmin | Pointer to bool | Indicates whether the user is an `admin`. | [optional] |
Roles | Pointer to []int32 | A list of the IDs of the roles assigned to the user. | [optional] |
Acl | Pointer to string | Indicates the access level of the user. | [optional] |
func (o *NewInvitation) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NewInvitation) 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 *NewInvitation) HasName() bool
HasName returns a boolean if a field has been set.
func (o *NewInvitation) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *NewInvitation) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *NewInvitation) GetEmailOk() (string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewInvitation) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *NewInvitation) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (o *NewInvitation) GetIsAdmin() bool
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
func (o *NewInvitation) GetIsAdminOk() (bool, bool)
GetIsAdminOk returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewInvitation) HasIsAdmin() bool
HasIsAdmin returns a boolean if a field has been set.
func (o *NewInvitation) SetIsAdmin(v bool)
SetIsAdmin gets a reference to the given bool and assigns it to the IsAdmin field.
func (o *NewInvitation) GetRoles() []int32
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *NewInvitation) GetRolesOk() ([]int32, 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 *NewInvitation) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (o *NewInvitation) SetRoles(v []int32)
SetRoles gets a reference to the given []int32 and assigns it to the Roles field.
func (o *NewInvitation) GetAcl() string
GetAcl returns the Acl field if non-nil, zero value otherwise.
func (o *NewInvitation) GetAclOk() (string, bool)
GetAclOk returns a tuple with the Acl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewInvitation) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (o *NewInvitation) SetAcl(v string)
SetAcl gets a reference to the given string and assigns it to the Acl field.