Name | Type | Description | Notes |
---|---|---|---|
IsPreHahed | Pointer to bool | If you want to provide hashed password set this property to `true` otherwise we will hash the plain password and store the hash | [optional] |
Username | Pointer to string | [optional] | |
Password | Pointer to string | this password will be hashed for you if the `isPreHashed` is set on false | [optional] |
Role | Pointer to []string | Defined user's permissions | [optional] |
func NewUsers() *Users
NewUsers instantiates a new Users 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 NewUsersWithDefaults() *Users
NewUsersWithDefaults instantiates a new Users 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 *Users) GetIsPreHahed() bool
GetIsPreHahed returns the IsPreHahed field if non-nil, zero value otherwise.
func (o *Users) GetIsPreHahedOk() (*bool, bool)
GetIsPreHahedOk returns a tuple with the IsPreHahed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Users) SetIsPreHahed(v bool)
SetIsPreHahed sets IsPreHahed field to given value.
func (o *Users) HasIsPreHahed() bool
HasIsPreHahed returns a boolean if a field has been set.
func (o *Users) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *Users) 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.
func (o *Users) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *Users) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *Users) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *Users) 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.
func (o *Users) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *Users) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *Users) GetRole() []string
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *Users) GetRoleOk() (*[]string, bool)
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Users) SetRole(v []string)
SetRole sets Role field to given value.
func (o *Users) HasRole() bool
HasRole returns a boolean if a field has been set.