Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Name of the user. | [optional] |
State | Pointer to string | The state of the user. - `deactivated`: The user has been deactivated. - `active`: The user is active. Note: Only `admin` users can update the state of another user. | [optional] |
IsAdmin | Pointer to bool | Indicates whether the user is an `admin`. | [optional] |
Policy | Pointer to string | Indicates the access level of the user. | [optional] |
Roles | Pointer to []int32 | A list of the IDs of the roles assigned to the user. Note: To find the ID of a role, use the List roles endpoint. | [optional] |
ApplicationNotificationSubscriptions | Pointer to map[string]interface{} | Application notifications that the user is subscribed to. | [optional] |
func (o *UpdateUser) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateUser) 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 *UpdateUser) HasName() bool
HasName returns a boolean if a field has been set.
func (o *UpdateUser) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *UpdateUser) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *UpdateUser) GetStateOk() (string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateUser) HasState() bool
HasState returns a boolean if a field has been set.
func (o *UpdateUser) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (o *UpdateUser) GetIsAdmin() bool
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
func (o *UpdateUser) 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 *UpdateUser) HasIsAdmin() bool
HasIsAdmin returns a boolean if a field has been set.
func (o *UpdateUser) SetIsAdmin(v bool)
SetIsAdmin gets a reference to the given bool and assigns it to the IsAdmin field.
func (o *UpdateUser) GetPolicy() string
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *UpdateUser) GetPolicyOk() (string, bool)
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateUser) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (o *UpdateUser) SetPolicy(v string)
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (o *UpdateUser) GetRoles() []int32
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *UpdateUser) 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 *UpdateUser) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (o *UpdateUser) SetRoles(v []int32)
SetRoles gets a reference to the given []int32 and assigns it to the Roles field.
func (o *UpdateUser) GetApplicationNotificationSubscriptions() map[string]interface{}
GetApplicationNotificationSubscriptions returns the ApplicationNotificationSubscriptions field if non-nil, zero value otherwise.
func (o *UpdateUser) GetApplicationNotificationSubscriptionsOk() (map[string]interface{}, bool)
GetApplicationNotificationSubscriptionsOk returns a tuple with the ApplicationNotificationSubscriptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateUser) HasApplicationNotificationSubscriptions() bool
HasApplicationNotificationSubscriptions returns a boolean if a field has been set.
func (o *UpdateUser) SetApplicationNotificationSubscriptions(v map[string]interface{})
SetApplicationNotificationSubscriptions gets a reference to the given map[string]interface{} and assigns it to the ApplicationNotificationSubscriptions field.