UserProperties
Mongodb user properties.
Properties
Name | Type | Description | Notes |
---|---|---|---|
Username | string | ||
Password | string | ||
Roles | Pointer to []UserRoles | [optional] |
Methods
GetUsername
func (o *UserProperties) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
GetUsernameOk
func (o *UserProperties) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUsername
func (o *UserProperties) SetUsername(v string)
SetUsername sets Username field to given value.
GetPassword
func (o *UserProperties) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
GetPasswordOk
func (o *UserProperties) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPassword
func (o *UserProperties) SetPassword(v string)
SetPassword sets Password field to given value.
GetRoles
func (o *UserProperties) GetRoles() []UserRoles
GetRoles returns the Roles field if non-nil, zero value otherwise.
GetRolesOk
func (o *UserProperties) GetRolesOk() (*[]UserRoles, 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 *UserProperties) SetRoles(v []UserRoles)
SetRoles sets Roles field to given value.
HasRoles
func (o *UserProperties) HasRoles() bool
HasRoles returns a boolean if a field has been set.
Last updated