Name | Type | Description | Notes |
---|---|---|---|
Username | string | ||
Name | string | User's display name. | |
IsActive | Pointer to bool | Designates whether this user should be treated as active. Unselect this instead of deleting accounts. | [optional] |
LastLogin | Pointer to NullableTime | [optional] | |
Groups | Pointer to []string | [optional] | |
Pointer to string | [optional] | ||
Attributes | Pointer to map[string]interface{} | [optional] | |
Path | Pointer to string | [optional] | |
Type | Pointer to UserTypeEnum | [optional] |
func NewUserRequest(username string, name string, ) *UserRequest
NewUserRequest instantiates a new UserRequest 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 NewUserRequestWithDefaults() *UserRequest
NewUserRequestWithDefaults instantiates a new UserRequest 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 *UserRequest) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *UserRequest) 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 *UserRequest) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *UserRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UserRequest) 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 *UserRequest) SetName(v string)
SetName sets Name field to given value.
func (o *UserRequest) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *UserRequest) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRequest) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *UserRequest) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *UserRequest) GetLastLogin() time.Time
GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.
func (o *UserRequest) GetLastLoginOk() (*time.Time, bool)
GetLastLoginOk returns a tuple with the LastLogin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRequest) SetLastLogin(v time.Time)
SetLastLogin sets LastLogin field to given value.
func (o *UserRequest) HasLastLogin() bool
HasLastLogin returns a boolean if a field has been set.
func (o *UserRequest) SetLastLoginNil(b bool)
SetLastLoginNil sets the value for LastLogin to be an explicit nil
func (o *UserRequest) UnsetLastLogin()
UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil
func (o *UserRequest) GetGroups() []string
GetGroups returns the Groups field if non-nil, zero value otherwise.
func (o *UserRequest) GetGroupsOk() (*[]string, bool)
GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRequest) SetGroups(v []string)
SetGroups sets Groups field to given value.
func (o *UserRequest) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (o *UserRequest) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *UserRequest) 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 *UserRequest) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *UserRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *UserRequest) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *UserRequest) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRequest) SetAttributes(v map[string]interface{})
SetAttributes sets Attributes field to given value.
func (o *UserRequest) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *UserRequest) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *UserRequest) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRequest) SetPath(v string)
SetPath sets Path field to given value.
func (o *UserRequest) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *UserRequest) GetType() UserTypeEnum
GetType returns the Type field if non-nil, zero value otherwise.
func (o *UserRequest) GetTypeOk() (*UserTypeEnum, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRequest) SetType(v UserTypeEnum)
SetType sets Type field to given value.
func (o *UserRequest) HasType() bool
HasType returns a boolean if a field has been set.