Name | Type | Description | Notes |
---|---|---|---|
FirstName | Pointer to string | The user's first name. Changed in version 2.2.0: A minimum character length requirement ('minLength') is added. | [optional] |
LastName | Pointer to string | The user's last name. Changed in version 2.2.0: A minimum character length requirement ('minLength') is added. | [optional] |
Username | Pointer to string | The username. Changed in version 2.2.0: A minimum character length requirement ('minLength') is added. | [optional] |
Pointer to string | The user's email. Changed in version 2.2.0: A minimum character length requirement ('minLength') is added. | [optional] | |
Active | Pointer to NullableBool | Whether the user is active | [optional] [readonly] |
LastLogin | Pointer to NullableString | The last user login | [optional] [readonly] |
LoginCount | Pointer to NullableInt32 | The login count | [optional] [readonly] |
FailedLoginCount | Pointer to NullableInt32 | The number of times the login failed | [optional] [readonly] |
Roles | Pointer to []UserCollectionItemRoles | User roles. Changed in version 2.2.0: Field is no longer read-only. | [optional] |
CreatedOn | Pointer to NullableString | The date user was created | [optional] [readonly] |
ChangedOn | Pointer to NullableString | The date user was changed | [optional] [readonly] |
Password | Pointer to string | [optional] |
func NewUser() *User
NewUser instantiates a new User 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 NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 *User) GetFirstName() string
GetFirstName returns the FirstName field if non-nil, zero value otherwise.
func (o *User) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetFirstName(v string)
SetFirstName sets FirstName field to given value.
func (o *User) HasFirstName() bool
HasFirstName returns a boolean if a field has been set.
func (o *User) GetLastName() string
GetLastName returns the LastName field if non-nil, zero value otherwise.
func (o *User) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetLastName(v string)
SetLastName sets LastName field to given value.
func (o *User) HasLastName() bool
HasLastName returns a boolean if a field has been set.
func (o *User) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *User) 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 *User) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *User) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *User) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *User) 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 *User) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *User) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *User) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *User) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetActive(v bool)
SetActive sets Active field to given value.
func (o *User) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *User) SetActiveNil(b bool)
SetActiveNil sets the value for Active to be an explicit nil
func (o *User) UnsetActive()
UnsetActive ensures that no value is present for Active, not even an explicit nil
func (o *User) GetLastLogin() string
GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.
func (o *User) GetLastLoginOk() (*string, 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 *User) SetLastLogin(v string)
SetLastLogin sets LastLogin field to given value.
func (o *User) HasLastLogin() bool
HasLastLogin returns a boolean if a field has been set.
func (o *User) SetLastLoginNil(b bool)
SetLastLoginNil sets the value for LastLogin to be an explicit nil
func (o *User) UnsetLastLogin()
UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil
func (o *User) GetLoginCount() int32
GetLoginCount returns the LoginCount field if non-nil, zero value otherwise.
func (o *User) GetLoginCountOk() (*int32, bool)
GetLoginCountOk returns a tuple with the LoginCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetLoginCount(v int32)
SetLoginCount sets LoginCount field to given value.
func (o *User) HasLoginCount() bool
HasLoginCount returns a boolean if a field has been set.
func (o *User) SetLoginCountNil(b bool)
SetLoginCountNil sets the value for LoginCount to be an explicit nil
func (o *User) UnsetLoginCount()
UnsetLoginCount ensures that no value is present for LoginCount, not even an explicit nil
func (o *User) GetFailedLoginCount() int32
GetFailedLoginCount returns the FailedLoginCount field if non-nil, zero value otherwise.
func (o *User) GetFailedLoginCountOk() (*int32, bool)
GetFailedLoginCountOk returns a tuple with the FailedLoginCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetFailedLoginCount(v int32)
SetFailedLoginCount sets FailedLoginCount field to given value.
func (o *User) HasFailedLoginCount() bool
HasFailedLoginCount returns a boolean if a field has been set.
func (o *User) SetFailedLoginCountNil(b bool)
SetFailedLoginCountNil sets the value for FailedLoginCount to be an explicit nil
func (o *User) UnsetFailedLoginCount()
UnsetFailedLoginCount ensures that no value is present for FailedLoginCount, not even an explicit nil
func (o *User) GetRoles() []UserCollectionItemRoles
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *User) GetRolesOk() (*[]UserCollectionItemRoles, 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 *User) SetRoles(v []UserCollectionItemRoles)
SetRoles sets Roles field to given value.
func (o *User) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (o *User) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.
func (o *User) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetCreatedOn(v string)
SetCreatedOn sets CreatedOn field to given value.
func (o *User) HasCreatedOn() bool
HasCreatedOn returns a boolean if a field has been set.
func (o *User) SetCreatedOnNil(b bool)
SetCreatedOnNil sets the value for CreatedOn to be an explicit nil
func (o *User) UnsetCreatedOn()
UnsetCreatedOn ensures that no value is present for CreatedOn, not even an explicit nil
func (o *User) GetChangedOn() string
GetChangedOn returns the ChangedOn field if non-nil, zero value otherwise.
func (o *User) GetChangedOnOk() (*string, bool)
GetChangedOnOk returns a tuple with the ChangedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetChangedOn(v string)
SetChangedOn sets ChangedOn field to given value.
func (o *User) HasChangedOn() bool
HasChangedOn returns a boolean if a field has been set.
func (o *User) SetChangedOnNil(b bool)
SetChangedOnNil sets the value for ChangedOn to be an explicit nil
func (o *User) UnsetChangedOn()
UnsetChangedOn ensures that no value is present for ChangedOn, not even an explicit nil
func (o *User) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *User) 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 *User) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *User) HasPassword() bool
HasPassword returns a boolean if a field has been set.