Name | Type | Description | Notes |
---|---|---|---|
Pointer to string | The email address for the User. Linode sends emails to this address for account management communications. May be used for other communications as configured. | [optional] | |
LastLogin | Pointer to NullableGetUsers200ResponseDataInnerAllOfLastLogin | [optional] | |
PasswordCreated | Pointer to NullableTime | The date and time when this User's current password was created. User passwords are first created during the Account sign-up process, and updated using the Reset Password webpage. `null` if this User has not created a password yet. | [optional] [readonly] |
Restricted | Pointer to bool | If true, the User must be granted access to perform actions or access entities on this Account. Run List a user's grants for details on how to configure grants for a restricted User. | [optional] |
SshKeys | Pointer to []string | A list of SSH Key labels added by this User. Users can add keys with the Add an SSH key operation. These keys are deployed when this User is included in the `authorized_users` field of the following requests: - Create a Linode - Rebuild a Linode - Create a disk | [optional] [readonly] |
TfaEnabled | Pointer to bool | A boolean value indicating if the User has Two Factor Authentication (TFA) enabled. Run the Create a two factor secret operation to enable TFA. | [optional] [readonly] |
Username | Pointer to string | The User's username. This is used for logging in, and may also be displayed alongside actions the User performs (for example, in Events or public StackScripts). | [optional] |
VerifiedPhoneNumber | Pointer to NullableString | The phone number verified for this User Profile with the Verify a phone number operation. `null` if this User Profile has no verified phone number. | [optional] [readonly] |
func NewPostUser200Response() *PostUser200Response
NewPostUser200Response instantiates a new PostUser200Response 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 NewPostUser200ResponseWithDefaults() *PostUser200Response
NewPostUser200ResponseWithDefaults instantiates a new PostUser200Response 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 *PostUser200Response) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *PostUser200Response) 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 *PostUser200Response) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *PostUser200Response) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *PostUser200Response) GetLastLogin() GetUsers200ResponseDataInnerAllOfLastLogin
GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.
func (o *PostUser200Response) GetLastLoginOk() (*GetUsers200ResponseDataInnerAllOfLastLogin, 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 *PostUser200Response) SetLastLogin(v GetUsers200ResponseDataInnerAllOfLastLogin)
SetLastLogin sets LastLogin field to given value.
func (o *PostUser200Response) HasLastLogin() bool
HasLastLogin returns a boolean if a field has been set.
func (o *PostUser200Response) SetLastLoginNil(b bool)
SetLastLoginNil sets the value for LastLogin to be an explicit nil
func (o *PostUser200Response) UnsetLastLogin()
UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil
func (o *PostUser200Response) GetPasswordCreated() time.Time
GetPasswordCreated returns the PasswordCreated field if non-nil, zero value otherwise.
func (o *PostUser200Response) GetPasswordCreatedOk() (*time.Time, bool)
GetPasswordCreatedOk returns a tuple with the PasswordCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostUser200Response) SetPasswordCreated(v time.Time)
SetPasswordCreated sets PasswordCreated field to given value.
func (o *PostUser200Response) HasPasswordCreated() bool
HasPasswordCreated returns a boolean if a field has been set.
func (o *PostUser200Response) SetPasswordCreatedNil(b bool)
SetPasswordCreatedNil sets the value for PasswordCreated to be an explicit nil
func (o *PostUser200Response) UnsetPasswordCreated()
UnsetPasswordCreated ensures that no value is present for PasswordCreated, not even an explicit nil
func (o *PostUser200Response) GetRestricted() bool
GetRestricted returns the Restricted field if non-nil, zero value otherwise.
func (o *PostUser200Response) GetRestrictedOk() (*bool, bool)
GetRestrictedOk returns a tuple with the Restricted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostUser200Response) SetRestricted(v bool)
SetRestricted sets Restricted field to given value.
func (o *PostUser200Response) HasRestricted() bool
HasRestricted returns a boolean if a field has been set.
func (o *PostUser200Response) GetSshKeys() []string
GetSshKeys returns the SshKeys field if non-nil, zero value otherwise.
func (o *PostUser200Response) GetSshKeysOk() (*[]string, bool)
GetSshKeysOk returns a tuple with the SshKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostUser200Response) SetSshKeys(v []string)
SetSshKeys sets SshKeys field to given value.
func (o *PostUser200Response) HasSshKeys() bool
HasSshKeys returns a boolean if a field has been set.
func (o *PostUser200Response) GetTfaEnabled() bool
GetTfaEnabled returns the TfaEnabled field if non-nil, zero value otherwise.
func (o *PostUser200Response) GetTfaEnabledOk() (*bool, bool)
GetTfaEnabledOk returns a tuple with the TfaEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostUser200Response) SetTfaEnabled(v bool)
SetTfaEnabled sets TfaEnabled field to given value.
func (o *PostUser200Response) HasTfaEnabled() bool
HasTfaEnabled returns a boolean if a field has been set.
func (o *PostUser200Response) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *PostUser200Response) 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 *PostUser200Response) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *PostUser200Response) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *PostUser200Response) GetVerifiedPhoneNumber() string
GetVerifiedPhoneNumber returns the VerifiedPhoneNumber field if non-nil, zero value otherwise.
func (o *PostUser200Response) GetVerifiedPhoneNumberOk() (*string, bool)
GetVerifiedPhoneNumberOk returns a tuple with the VerifiedPhoneNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostUser200Response) SetVerifiedPhoneNumber(v string)
SetVerifiedPhoneNumber sets VerifiedPhoneNumber field to given value.
func (o *PostUser200Response) HasVerifiedPhoneNumber() bool
HasVerifiedPhoneNumber returns a boolean if a field has been set.
func (o *PostUser200Response) SetVerifiedPhoneNumberNil(b bool)
SetVerifiedPhoneNumberNil sets the value for VerifiedPhoneNumber to be an explicit nil
func (o *PostUser200Response) UnsetVerifiedPhoneNumber()
UnsetVerifiedPhoneNumber ensures that no value is present for VerifiedPhoneNumber, not even an explicit nil