Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 5.27 KB

File metadata and controls

238 lines (129 loc) · 5.27 KB

User

Properties

Name Type Description Notes
Id Pointer to int32 [optional]
Name Pointer to string [optional]
Username Pointer to string [optional]
Email Pointer to string [optional]
Created Pointer to string [optional]
Alert Pointer to bool [optional]
Admin Pointer to bool [optional]
External Pointer to bool [optional]

Methods

NewUser

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

NewUserWithDefaults

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

GetId

func (o *User) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *User) GetIdOk() (*int32, 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.

SetId

func (o *User) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *User) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *User) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *User) HasName() bool

HasName returns a boolean if a field has been set.

GetUsername

func (o *User) GetUsername() string

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

GetUsernameOk

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

SetUsername sets Username field to given value.

HasUsername

func (o *User) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetEmail

func (o *User) GetEmail() string

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

GetEmailOk

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.

SetEmail

func (o *User) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetCreated

func (o *User) GetCreated() string

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *User) GetCreatedOk() (*string, bool)

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

SetCreated

func (o *User) SetCreated(v string)

SetCreated sets Created field to given value.

HasCreated

func (o *User) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetAlert

func (o *User) GetAlert() bool

GetAlert returns the Alert field if non-nil, zero value otherwise.

GetAlertOk

func (o *User) GetAlertOk() (*bool, bool)

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

SetAlert

func (o *User) SetAlert(v bool)

SetAlert sets Alert field to given value.

HasAlert

func (o *User) HasAlert() bool

HasAlert returns a boolean if a field has been set.

GetAdmin

func (o *User) GetAdmin() bool

GetAdmin returns the Admin field if non-nil, zero value otherwise.

GetAdminOk

func (o *User) GetAdminOk() (*bool, bool)

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

SetAdmin

func (o *User) SetAdmin(v bool)

SetAdmin sets Admin field to given value.

HasAdmin

func (o *User) HasAdmin() bool

HasAdmin returns a boolean if a field has been set.

GetExternal

func (o *User) GetExternal() bool

GetExternal returns the External field if non-nil, zero value otherwise.

GetExternalOk

func (o *User) GetExternalOk() (*bool, bool)

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

SetExternal

func (o *User) SetExternal(v bool)

SetExternal sets External field to given value.

HasExternal

func (o *User) HasExternal() bool

HasExternal returns a boolean if a field has been set.

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