Skip to content

Latest commit

 

History

History
143 lines (76 loc) · 4.21 KB

UpdateUser.md

File metadata and controls

143 lines (76 loc) · 4.21 KB

UpdateUser

Properties

Name Type Description Notes
Name Pointer to string The user name. [optional]
Policy Pointer to string The `Access Control List` json defining the role of the user. This represents the access control on the user level. [optional]
State Pointer to string New state ("deactivated" or "active") for the user. Only usable by admins for the user. [optional]
Roles Pointer to []int32 List of roles to assign to the user. [optional]
ApplicationNotificationSubscriptions Pointer to map[string]interface{} [optional]

Methods

GetName

func (o *UpdateUser) GetName() string

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

GetNameOk

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.

HasName

func (o *UpdateUser) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *UpdateUser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

GetPolicy

func (o *UpdateUser) GetPolicy() string

GetPolicy returns the Policy field if non-nil, zero value otherwise.

GetPolicyOk

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.

HasPolicy

func (o *UpdateUser) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

SetPolicy

func (o *UpdateUser) SetPolicy(v string)

SetPolicy gets a reference to the given string and assigns it to the Policy field.

GetState

func (o *UpdateUser) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

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.

HasState

func (o *UpdateUser) HasState() bool

HasState returns a boolean if a field has been set.

SetState

func (o *UpdateUser) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

GetRoles

func (o *UpdateUser) GetRoles() []int32

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

GetRolesOk

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.

HasRoles

func (o *UpdateUser) HasRoles() bool

HasRoles returns a boolean if a field has been set.

SetRoles

func (o *UpdateUser) SetRoles(v []int32)

SetRoles gets a reference to the given []int32 and assigns it to the Roles field.

GetApplicationNotificationSubscriptions

func (o *UpdateUser) GetApplicationNotificationSubscriptions() map[string]interface{}

GetApplicationNotificationSubscriptions returns the ApplicationNotificationSubscriptions field if non-nil, zero value otherwise.

GetApplicationNotificationSubscriptionsOk

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.

HasApplicationNotificationSubscriptions

func (o *UpdateUser) HasApplicationNotificationSubscriptions() bool

HasApplicationNotificationSubscriptions returns a boolean if a field has been set.

SetApplicationNotificationSubscriptions

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.

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