Skip to content

Latest commit

 

History

History
368 lines (199 loc) · 9.1 KB

User.md

File metadata and controls

368 lines (199 loc) · 9.1 KB

User

Properties

Name Type Description Notes
Addresses Pointer to []Address [optional]
AlternateEmail Pointer to string [optional]
Company Pointer to string [optional]
CostCenter Pointer to string [optional]
Department Pointer to string [optional]
Email Pointer to string [optional]
EmployeeIdentifier Pointer to string Must be unique per user. [optional]
EmployeeType Pointer to string [optional]
Firstname Pointer to string [optional]
JobTitle Pointer to string [optional]
Lastname Pointer to string [optional]
Location Pointer to string [optional]
PhoneNumbers Pointer to []PhoneNumber [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

GetAddresses

func (o *User) GetAddresses() []Address

GetAddresses returns the Addresses field if non-nil, zero value otherwise.

GetAddressesOk

func (o *User) GetAddressesOk() (*[]Address, bool)

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

SetAddresses

func (o *User) SetAddresses(v []Address)

SetAddresses sets Addresses field to given value.

HasAddresses

func (o *User) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

GetAlternateEmail

func (o *User) GetAlternateEmail() string

GetAlternateEmail returns the AlternateEmail field if non-nil, zero value otherwise.

GetAlternateEmailOk

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

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

SetAlternateEmail

func (o *User) SetAlternateEmail(v string)

SetAlternateEmail sets AlternateEmail field to given value.

HasAlternateEmail

func (o *User) HasAlternateEmail() bool

HasAlternateEmail returns a boolean if a field has been set.

GetCompany

func (o *User) GetCompany() string

GetCompany returns the Company field if non-nil, zero value otherwise.

GetCompanyOk

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

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

SetCompany

func (o *User) SetCompany(v string)

SetCompany sets Company field to given value.

HasCompany

func (o *User) HasCompany() bool

HasCompany returns a boolean if a field has been set.

GetCostCenter

func (o *User) GetCostCenter() string

GetCostCenter returns the CostCenter field if non-nil, zero value otherwise.

GetCostCenterOk

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

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

SetCostCenter

func (o *User) SetCostCenter(v string)

SetCostCenter sets CostCenter field to given value.

HasCostCenter

func (o *User) HasCostCenter() bool

HasCostCenter returns a boolean if a field has been set.

GetDepartment

func (o *User) GetDepartment() string

GetDepartment returns the Department field if non-nil, zero value otherwise.

GetDepartmentOk

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

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

SetDepartment

func (o *User) SetDepartment(v string)

SetDepartment sets Department field to given value.

HasDepartment

func (o *User) HasDepartment() bool

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

GetEmployeeIdentifier

func (o *User) GetEmployeeIdentifier() string

GetEmployeeIdentifier returns the EmployeeIdentifier field if non-nil, zero value otherwise.

GetEmployeeIdentifierOk

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

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

SetEmployeeIdentifier

func (o *User) SetEmployeeIdentifier(v string)

SetEmployeeIdentifier sets EmployeeIdentifier field to given value.

HasEmployeeIdentifier

func (o *User) HasEmployeeIdentifier() bool

HasEmployeeIdentifier returns a boolean if a field has been set.

GetEmployeeType

func (o *User) GetEmployeeType() string

GetEmployeeType returns the EmployeeType field if non-nil, zero value otherwise.

GetEmployeeTypeOk

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

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

SetEmployeeType

func (o *User) SetEmployeeType(v string)

SetEmployeeType sets EmployeeType field to given value.

HasEmployeeType

func (o *User) HasEmployeeType() bool

HasEmployeeType returns a boolean if a field has been set.

GetFirstname

func (o *User) GetFirstname() string

GetFirstname returns the Firstname field if non-nil, zero value otherwise.

GetFirstnameOk

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

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

SetFirstname

func (o *User) SetFirstname(v string)

SetFirstname sets Firstname field to given value.

HasFirstname

func (o *User) HasFirstname() bool

HasFirstname returns a boolean if a field has been set.

GetJobTitle

func (o *User) GetJobTitle() string

GetJobTitle returns the JobTitle field if non-nil, zero value otherwise.

GetJobTitleOk

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

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

SetJobTitle

func (o *User) SetJobTitle(v string)

SetJobTitle sets JobTitle field to given value.

HasJobTitle

func (o *User) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

GetLastname

func (o *User) GetLastname() string

GetLastname returns the Lastname field if non-nil, zero value otherwise.

GetLastnameOk

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

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

SetLastname

func (o *User) SetLastname(v string)

SetLastname sets Lastname field to given value.

HasLastname

func (o *User) HasLastname() bool

HasLastname returns a boolean if a field has been set.

GetLocation

func (o *User) GetLocation() string

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

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

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

SetLocation

func (o *User) SetLocation(v string)

SetLocation sets Location field to given value.

HasLocation

func (o *User) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetPhoneNumbers

func (o *User) GetPhoneNumbers() []PhoneNumber

GetPhoneNumbers returns the PhoneNumbers field if non-nil, zero value otherwise.

GetPhoneNumbersOk

func (o *User) GetPhoneNumbersOk() (*[]PhoneNumber, bool)

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

SetPhoneNumbers

func (o *User) SetPhoneNumbers(v []PhoneNumber)

SetPhoneNumbers sets PhoneNumbers field to given value.

HasPhoneNumbers

func (o *User) HasPhoneNumbers() bool

HasPhoneNumbers returns a boolean if a field has been set.

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