Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Pointer to string | [optional] | ||
AvatarUrl | Pointer to string | [optional] | |
TwoFactorAuthentication | Pointer to bool | [optional] | |
LastLogin | Pointer to time.Time | [optional] | |
LastLoginIp | Pointer to string | [optional] | |
UpdatedAt | Pointer to time.Time | [optional] | |
CreatedAt | Pointer to time.Time | [optional] | |
NewsletterSubscribed | Pointer to bool | [optional] | |
GithubId | Pointer to string | [optional] | |
GithubUser | Pointer to string | [optional] | |
Flags | Pointer to []UserFlags | [optional] | |
Name | Pointer to string | [optional] | |
EmailValidated | Pointer to bool | [optional] |
func NewUser() *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) 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) HasId() bool
HasId returns a boolean if a field has been 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) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *User) GetAvatarUrl() string
GetAvatarUrl returns the AvatarUrl field if non-nil, zero value otherwise.
func (o *User) GetAvatarUrlOk() (*string, bool)
GetAvatarUrlOk returns a tuple with the AvatarUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetAvatarUrl(v string)
SetAvatarUrl sets AvatarUrl field to given value.
func (o *User) HasAvatarUrl() bool
HasAvatarUrl returns a boolean if a field has been set.
func (o *User) GetTwoFactorAuthentication() bool
GetTwoFactorAuthentication returns the TwoFactorAuthentication field if non-nil, zero value otherwise.
func (o *User) GetTwoFactorAuthenticationOk() (*bool, bool)
GetTwoFactorAuthenticationOk returns a tuple with the TwoFactorAuthentication field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetTwoFactorAuthentication(v bool)
SetTwoFactorAuthentication sets TwoFactorAuthentication field to given value.
func (o *User) HasTwoFactorAuthentication() bool
HasTwoFactorAuthentication returns a boolean if a field has been set.
func (o *User) GetLastLogin() time.Time
GetLastLogin returns the LastLogin field if non-nil, zero value otherwise.
func (o *User) GetLastLoginOk() (*time.Time, 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 *User) SetLastLogin(v time.Time)
SetLastLogin sets LastLogin field to given value.
func (o *User) HasLastLogin() bool
HasLastLogin returns a boolean if a field has been set.
func (o *User) GetLastLoginIp() string
GetLastLoginIp returns the LastLoginIp field if non-nil, zero value otherwise.
func (o *User) GetLastLoginIpOk() (*string, bool)
GetLastLoginIpOk returns a tuple with the LastLoginIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetLastLoginIp(v string)
SetLastLoginIp sets LastLoginIp field to given value.
func (o *User) HasLastLoginIp() bool
HasLastLoginIp returns a boolean if a field has been set.
func (o *User) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *User) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *User) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *User) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *User) 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 *User) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *User) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *User) GetNewsletterSubscribed() bool
GetNewsletterSubscribed returns the NewsletterSubscribed field if non-nil, zero value otherwise.
func (o *User) GetNewsletterSubscribedOk() (*bool, bool)
GetNewsletterSubscribedOk returns a tuple with the NewsletterSubscribed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetNewsletterSubscribed(v bool)
SetNewsletterSubscribed sets NewsletterSubscribed field to given value.
func (o *User) HasNewsletterSubscribed() bool
HasNewsletterSubscribed returns a boolean if a field has been set.
func (o *User) GetGithubId() string
GetGithubId returns the GithubId field if non-nil, zero value otherwise.
func (o *User) GetGithubIdOk() (*string, bool)
GetGithubIdOk returns a tuple with the GithubId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetGithubId(v string)
SetGithubId sets GithubId field to given value.
func (o *User) HasGithubId() bool
HasGithubId returns a boolean if a field has been set.
func (o *User) GetGithubUser() string
GetGithubUser returns the GithubUser field if non-nil, zero value otherwise.
func (o *User) GetGithubUserOk() (*string, bool)
GetGithubUserOk returns a tuple with the GithubUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetGithubUser(v string)
SetGithubUser sets GithubUser field to given value.
func (o *User) HasGithubUser() bool
HasGithubUser returns a boolean if a field has been set.
func (o *User) GetFlags() []UserFlags
GetFlags returns the Flags field if non-nil, zero value otherwise.
func (o *User) GetFlagsOk() (*[]UserFlags, bool)
GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetFlags(v []UserFlags)
SetFlags sets Flags field to given value.
func (o *User) HasFlags() bool
HasFlags returns a boolean if a field has been set.
func (o *User) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *User) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetName(v string)
SetName sets Name field to given value.
func (o *User) HasName() bool
HasName returns a boolean if a field has been set.
func (o *User) GetEmailValidated() bool
GetEmailValidated returns the EmailValidated field if non-nil, zero value otherwise.
func (o *User) GetEmailValidatedOk() (*bool, bool)
GetEmailValidatedOk returns a tuple with the EmailValidated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetEmailValidated(v bool)
SetEmailValidated sets EmailValidated field to given value.
func (o *User) HasEmailValidated() bool
HasEmailValidated returns a boolean if a field has been set.