Skip to content

Latest commit

 

History

History
294 lines (161 loc) · 11.3 KB

AddedPutUser200.md

File metadata and controls

294 lines (161 loc) · 11.3 KB

AddedPutUser200

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 NullableAddedGetUser200AllOfLastLogin [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]
UserType Pointer to string If the user belongs to a parent or child account relationship, this defines the user type in the respective account. Possible values include: - `parent`. This is a user in an Akamai partner account. Akamai partners have a contractural relationship with their end customers, to sell Akamai services. This user can either have full access (a parent account admin user) or limited access. Limited users don't have access to manage child accounts, but they can be granted this access by an admin user. - `child`. This is an Akamai partner's end customer user, in a child account. A child user can have either full or limited access. Full access lets the user manage other child users and the proxy user in a child account. - `proxy`. This is a user on a child account that gives parent account users access to that child account. A parent account user with the `child_account_access` grant can Create a proxy user token from the parent account. The parent user can use this token to run API operations from the child account, as if they were a child user. - `default`. This applies to all regular, non-parent-child account users. [optional] [readonly]

Methods

NewAddedPutUser200

func NewAddedPutUser200() *AddedPutUser200

NewAddedPutUser200 instantiates a new AddedPutUser200 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

NewAddedPutUser200WithDefaults

func NewAddedPutUser200WithDefaults() *AddedPutUser200

NewAddedPutUser200WithDefaults instantiates a new AddedPutUser200 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 *AddedPutUser200) GetEmail() string

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

GetEmailOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *AddedPutUser200) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetLastLogin

func (o *AddedPutUser200) GetLastLogin() AddedGetUser200AllOfLastLogin

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

GetLastLoginOk

func (o *AddedPutUser200) GetLastLoginOk() (*AddedGetUser200AllOfLastLogin, 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 *AddedPutUser200) SetLastLogin(v AddedGetUser200AllOfLastLogin)

SetLastLogin sets LastLogin field to given value.

HasLastLogin

func (o *AddedPutUser200) HasLastLogin() bool

HasLastLogin returns a boolean if a field has been set.

SetLastLoginNil

func (o *AddedPutUser200) SetLastLoginNil(b bool)

SetLastLoginNil sets the value for LastLogin to be an explicit nil

UnsetLastLogin

func (o *AddedPutUser200) UnsetLastLogin()

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

GetPasswordCreated

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

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

GetPasswordCreatedOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetPasswordCreated(v time.Time)

SetPasswordCreated sets PasswordCreated field to given value.

HasPasswordCreated

func (o *AddedPutUser200) HasPasswordCreated() bool

HasPasswordCreated returns a boolean if a field has been set.

SetPasswordCreatedNil

func (o *AddedPutUser200) SetPasswordCreatedNil(b bool)

SetPasswordCreatedNil sets the value for PasswordCreated to be an explicit nil

UnsetPasswordCreated

func (o *AddedPutUser200) UnsetPasswordCreated()

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

GetRestricted

func (o *AddedPutUser200) GetRestricted() bool

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

GetRestrictedOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetRestricted(v bool)

SetRestricted sets Restricted field to given value.

HasRestricted

func (o *AddedPutUser200) HasRestricted() bool

HasRestricted returns a boolean if a field has been set.

GetSshKeys

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

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

GetSshKeysOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetSshKeys(v []string)

SetSshKeys sets SshKeys field to given value.

HasSshKeys

func (o *AddedPutUser200) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

GetTfaEnabled

func (o *AddedPutUser200) GetTfaEnabled() bool

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

GetTfaEnabledOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetTfaEnabled(v bool)

SetTfaEnabled sets TfaEnabled field to given value.

HasTfaEnabled

func (o *AddedPutUser200) HasTfaEnabled() bool

HasTfaEnabled returns a boolean if a field has been set.

GetUsername

func (o *AddedPutUser200) GetUsername() string

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

GetUsernameOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *AddedPutUser200) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetVerifiedPhoneNumber

func (o *AddedPutUser200) GetVerifiedPhoneNumber() string

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

GetVerifiedPhoneNumberOk

func (o *AddedPutUser200) 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 *AddedPutUser200) SetVerifiedPhoneNumber(v string)

SetVerifiedPhoneNumber sets VerifiedPhoneNumber field to given value.

HasVerifiedPhoneNumber

func (o *AddedPutUser200) HasVerifiedPhoneNumber() bool

HasVerifiedPhoneNumber returns a boolean if a field has been set.

SetVerifiedPhoneNumberNil

func (o *AddedPutUser200) SetVerifiedPhoneNumberNil(b bool)

SetVerifiedPhoneNumberNil sets the value for VerifiedPhoneNumber to be an explicit nil

UnsetVerifiedPhoneNumber

func (o *AddedPutUser200) UnsetVerifiedPhoneNumber()

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

GetUserType

func (o *AddedPutUser200) GetUserType() string

GetUserType returns the UserType field if non-nil, zero value otherwise.

GetUserTypeOk

func (o *AddedPutUser200) GetUserTypeOk() (*string, bool)

GetUserTypeOk returns a tuple with the UserType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUserType

func (o *AddedPutUser200) SetUserType(v string)

SetUserType sets UserType field to given value.

HasUserType

func (o *AddedPutUser200) HasUserType() bool

HasUserType returns a boolean if a field has been set.

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