Skip to content

Latest commit

 

History

History
145 lines (78 loc) · 3.53 KB

User.md

File metadata and controls

145 lines (78 loc) · 3.53 KB

User

Properties

Name Type Description Notes
Object string Type of Object, always equals to "user"
Id string Unique identifier for the user
DisplayName string Full name for the user
Email Pointer to string Email address of the user [optional]
PhotoURL Pointer to string URL of the user's profile picture [optional]

Methods

NewUser

func NewUser(object string, id string, displayName 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

GetObject

func (o *User) GetObject() string

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

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

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

SetObject

func (o *User) SetObject(v string)

SetObject sets Object field to given value.

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.

GetDisplayName

func (o *User) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

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

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

SetDisplayName

func (o *User) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

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.

GetPhotoURL

func (o *User) GetPhotoURL() string

GetPhotoURL returns the PhotoURL field if non-nil, zero value otherwise.

GetPhotoURLOk

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

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

SetPhotoURL

func (o *User) SetPhotoURL(v string)

SetPhotoURL sets PhotoURL field to given value.

HasPhotoURL

func (o *User) HasPhotoURL() bool

HasPhotoURL returns a boolean if a field has been set.

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