Name | Type | Description | Notes |
---|---|---|---|
FirstName | string | First name of the user. | |
LastName | string | Last name of the user. | |
string | Email address of the user. | ||
RoleIds | []string | List of roleIds associated with the user. | |
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the resource. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. | |
ModifiedBy | string | Identifier of the user who last modified the resource. | |
Id | string | Unique identifier for the user. | |
IsActive | Pointer to bool | True if the user is active. | [optional] |
IsLocked | Pointer to bool | This has the value `true` if the user's account has been locked. If a user tries to log into their account several times and fails, his or her account will be locked for security reasons. | [optional] |
IsMfaEnabled | Pointer to bool | True if multi factor authentication is enabled for the user. | [optional] |
LastLoginTimestamp | Pointer to time.Time | Timestamp of the last login for the user in UTC. Will be null if the user has never logged in. | [optional] |
func NewUserModel(firstName string, lastName string, email string, roleIds []string, createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, id string, ) *UserModel
NewUserModel instantiates a new UserModel 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 NewUserModelWithDefaults() *UserModel
NewUserModelWithDefaults instantiates a new UserModel 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 *UserModel) GetFirstName() string
GetFirstName returns the FirstName field if non-nil, zero value otherwise.
func (o *UserModel) 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 *UserModel) SetFirstName(v string)
SetFirstName sets FirstName field to given value.
func (o *UserModel) GetLastName() string
GetLastName returns the LastName field if non-nil, zero value otherwise.
func (o *UserModel) 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 *UserModel) SetLastName(v string)
SetLastName sets LastName field to given value.
func (o *UserModel) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *UserModel) 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 *UserModel) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *UserModel) GetRoleIds() []string
GetRoleIds returns the RoleIds field if non-nil, zero value otherwise.
func (o *UserModel) GetRoleIdsOk() (*[]string, bool)
GetRoleIdsOk returns a tuple with the RoleIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetRoleIds(v []string)
SetRoleIds sets RoleIds field to given value.
func (o *UserModel) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *UserModel) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *UserModel) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *UserModel) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *UserModel) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *UserModel) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *UserModel) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *UserModel) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.
func (o *UserModel) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UserModel) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetId(v string)
SetId sets Id field to given value.
func (o *UserModel) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *UserModel) 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 *UserModel) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *UserModel) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *UserModel) GetIsLocked() bool
GetIsLocked returns the IsLocked field if non-nil, zero value otherwise.
func (o *UserModel) GetIsLockedOk() (*bool, bool)
GetIsLockedOk returns a tuple with the IsLocked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetIsLocked(v bool)
SetIsLocked sets IsLocked field to given value.
func (o *UserModel) HasIsLocked() bool
HasIsLocked returns a boolean if a field has been set.
func (o *UserModel) GetIsMfaEnabled() bool
GetIsMfaEnabled returns the IsMfaEnabled field if non-nil, zero value otherwise.
func (o *UserModel) GetIsMfaEnabledOk() (*bool, bool)
GetIsMfaEnabledOk returns a tuple with the IsMfaEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetIsMfaEnabled(v bool)
SetIsMfaEnabled sets IsMfaEnabled field to given value.
func (o *UserModel) HasIsMfaEnabled() bool
HasIsMfaEnabled returns a boolean if a field has been set.
func (o *UserModel) GetLastLoginTimestamp() time.Time
GetLastLoginTimestamp returns the LastLoginTimestamp field if non-nil, zero value otherwise.
func (o *UserModel) GetLastLoginTimestampOk() (*time.Time, bool)
GetLastLoginTimestampOk returns a tuple with the LastLoginTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserModel) SetLastLoginTimestamp(v time.Time)
SetLastLoginTimestamp sets LastLoginTimestamp field to given value.
func (o *UserModel) HasLastLoginTimestamp() bool
HasLastLoginTimestamp returns a boolean if a field has been set.