Name | Type | Description | Notes |
---|---|---|---|
string | user email | ||
ExternalIdentity | Pointer to ExternalIdentity | [optional] | |
Id | string | identifier of user | |
LastAuthentication | Pointer to int64 | user last authentication timestamp in ms | [optional] |
Login | string | user login | |
MainUser | Pointer to bool | user is the tenant's main user | [optional] |
PortalData | Pointer to map[string]interface{} | user portal data | [optional] |
Roles | []string | list of user associated roles. | |
State | string | user state : disabled, enabled or suspended | |
TenantId | string | identifier of tenant account this user will belong to |
func NewUser(email string, id string, login string, roles []string, state string, tenantId string, ) *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) 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) GetExternalIdentity() ExternalIdentity
GetExternalIdentity returns the ExternalIdentity field if non-nil, zero value otherwise.
func (o *User) GetExternalIdentityOk() (*ExternalIdentity, bool)
GetExternalIdentityOk returns a tuple with the ExternalIdentity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetExternalIdentity(v ExternalIdentity)
SetExternalIdentity sets ExternalIdentity field to given value.
func (o *User) HasExternalIdentity() bool
HasExternalIdentity returns a boolean if a field has been set.
func (o *User) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *User) 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 *User) SetId(v string)
SetId sets Id field to given value.
func (o *User) GetLastAuthentication() int64
GetLastAuthentication returns the LastAuthentication field if non-nil, zero value otherwise.
func (o *User) GetLastAuthenticationOk() (*int64, bool)
GetLastAuthenticationOk returns a tuple with the LastAuthentication field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetLastAuthentication(v int64)
SetLastAuthentication sets LastAuthentication field to given value.
func (o *User) HasLastAuthentication() bool
HasLastAuthentication returns a boolean if a field has been set.
func (o *User) GetLogin() string
GetLogin returns the Login field if non-nil, zero value otherwise.
func (o *User) GetLoginOk() (*string, bool)
GetLoginOk returns a tuple with the Login field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetLogin(v string)
SetLogin sets Login field to given value.
func (o *User) GetMainUser() bool
GetMainUser returns the MainUser field if non-nil, zero value otherwise.
func (o *User) GetMainUserOk() (*bool, bool)
GetMainUserOk returns a tuple with the MainUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetMainUser(v bool)
SetMainUser sets MainUser field to given value.
func (o *User) HasMainUser() bool
HasMainUser returns a boolean if a field has been set.
func (o *User) GetPortalData() map[string]interface{}
GetPortalData returns the PortalData field if non-nil, zero value otherwise.
func (o *User) GetPortalDataOk() (*map[string]interface{}, bool)
GetPortalDataOk returns a tuple with the PortalData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetPortalData(v map[string]interface{})
SetPortalData sets PortalData field to given value.
func (o *User) HasPortalData() bool
HasPortalData returns a boolean if a field has been set.
func (o *User) GetRoles() []string
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *User) GetRolesOk() (*[]string, 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 []string)
SetRoles sets Roles field to given value.
func (o *User) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *User) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetState(v string)
SetState sets State field to given value.
func (o *User) GetTenantId() string
GetTenantId returns the TenantId field if non-nil, zero value otherwise.
func (o *User) GetTenantIdOk() (*string, bool)
GetTenantIdOk returns a tuple with the TenantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetTenantId(v string)
SetTenantId sets TenantId field to given value.