Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.71 KB

User.md

File metadata and controls

114 lines (61 loc) · 2.71 KB

User

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Username string Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

Methods

NewUser

func NewUser(id int32, url string, display string, username string, ) *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.

GetUrl

func (o *User) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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

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

SetUrl

func (o *User) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *User) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

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

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

SetDisplay

func (o *User) SetDisplay(v string)

SetDisplay sets Display field to given value.

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.

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