Skip to content

Latest commit

 

History

History
268 lines (147 loc) · 9.66 KB

PostUser200Response.md

File metadata and controls

268 lines (147 loc) · 9.66 KB

PostUser200Response

Properties

Name Type Description Notes
Email 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]

Methods

NewPostUser200Response

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

NewPostUser200ResponseWithDefaults

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

GetEmail

func (o *PostUser200Response) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

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.

SetEmail

func (o *PostUser200Response) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *PostUser200Response) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetLastLogin

func (o *PostUser200Response) GetLastLogin() GetUsers200ResponseDataInnerAllOfLastLogin

GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.

GetLastLoginOk

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.

SetLastLogin

func (o *PostUser200Response) SetLastLogin(v GetUsers200ResponseDataInnerAllOfLastLogin)

SetLastLogin sets LastLogin field to given value.

HasLastLogin

func (o *PostUser200Response) HasLastLogin() bool

HasLastLogin returns a boolean if a field has been set.

SetLastLoginNil

func (o *PostUser200Response) SetLastLoginNil(b bool)

SetLastLoginNil sets the value for LastLogin to be an explicit nil

UnsetLastLogin

func (o *PostUser200Response) UnsetLastLogin()

UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil

GetPasswordCreated

func (o *PostUser200Response) GetPasswordCreated() time.Time

GetPasswordCreated returns the PasswordCreated field if non-nil, zero value otherwise.

GetPasswordCreatedOk

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.

SetPasswordCreated

func (o *PostUser200Response) SetPasswordCreated(v time.Time)

SetPasswordCreated sets PasswordCreated field to given value.

HasPasswordCreated

func (o *PostUser200Response) HasPasswordCreated() bool

HasPasswordCreated returns a boolean if a field has been set.

SetPasswordCreatedNil

func (o *PostUser200Response) SetPasswordCreatedNil(b bool)

SetPasswordCreatedNil sets the value for PasswordCreated to be an explicit nil

UnsetPasswordCreated

func (o *PostUser200Response) UnsetPasswordCreated()

UnsetPasswordCreated ensures that no value is present for PasswordCreated, not even an explicit nil

GetRestricted

func (o *PostUser200Response) GetRestricted() bool

GetRestricted returns the Restricted field if non-nil, zero value otherwise.

GetRestrictedOk

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.

SetRestricted

func (o *PostUser200Response) SetRestricted(v bool)

SetRestricted sets Restricted field to given value.

HasRestricted

func (o *PostUser200Response) HasRestricted() bool

HasRestricted returns a boolean if a field has been set.

GetSshKeys

func (o *PostUser200Response) GetSshKeys() []string

GetSshKeys returns the SshKeys field if non-nil, zero value otherwise.

GetSshKeysOk

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.

SetSshKeys

func (o *PostUser200Response) SetSshKeys(v []string)

SetSshKeys sets SshKeys field to given value.

HasSshKeys

func (o *PostUser200Response) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

GetTfaEnabled

func (o *PostUser200Response) GetTfaEnabled() bool

GetTfaEnabled returns the TfaEnabled field if non-nil, zero value otherwise.

GetTfaEnabledOk

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.

SetTfaEnabled

func (o *PostUser200Response) SetTfaEnabled(v bool)

SetTfaEnabled sets TfaEnabled field to given value.

HasTfaEnabled

func (o *PostUser200Response) HasTfaEnabled() bool

HasTfaEnabled returns a boolean if a field has been set.

GetUsername

func (o *PostUser200Response) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

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.

SetUsername

func (o *PostUser200Response) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *PostUser200Response) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetVerifiedPhoneNumber

func (o *PostUser200Response) GetVerifiedPhoneNumber() string

GetVerifiedPhoneNumber returns the VerifiedPhoneNumber field if non-nil, zero value otherwise.

GetVerifiedPhoneNumberOk

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.

SetVerifiedPhoneNumber

func (o *PostUser200Response) SetVerifiedPhoneNumber(v string)

SetVerifiedPhoneNumber sets VerifiedPhoneNumber field to given value.

HasVerifiedPhoneNumber

func (o *PostUser200Response) HasVerifiedPhoneNumber() bool

HasVerifiedPhoneNumber returns a boolean if a field has been set.

SetVerifiedPhoneNumberNil

func (o *PostUser200Response) SetVerifiedPhoneNumberNil(b bool)

SetVerifiedPhoneNumberNil sets the value for VerifiedPhoneNumber to be an explicit nil

UnsetVerifiedPhoneNumber

func (o *PostUser200Response) UnsetVerifiedPhoneNumber()

UnsetVerifiedPhoneNumber ensures that no value is present for VerifiedPhoneNumber, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]