Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.01 KB

File metadata and controls

134 lines (73 loc) · 3.01 KB

User

Properties

Name Type Description Notes
Id Pointer to string User identifier [optional]
Name Pointer to string User name [optional]
Login Pointer to string User login [optional]
Email Pointer to string User email [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() string

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

GetIdOk

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.

SetId

func (o *User) SetId(v string)

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.

GetLogin

func (o *User) GetLogin() string

GetLogin returns the Login field if non-nil, zero value otherwise.

GetLoginOk

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

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

SetLogin

func (o *User) SetLogin(v string)

SetLogin sets Login field to given value.

HasLogin

func (o *User) HasLogin() bool

HasLogin 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.

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