Skip to content

Latest commit

 

History

History
264 lines (143 loc) · 7.31 KB

ComputerUserAndLocation.md

File metadata and controls

264 lines (143 loc) · 7.31 KB

ComputerUserAndLocation

Properties

Name Type Description Notes
Username Pointer to string [optional]
Realname Pointer to string [optional]
Email Pointer to string [optional]
Position Pointer to string [optional]
Phone Pointer to string [optional]
DepartmentId Pointer to string [optional]
BuildingId Pointer to string [optional]
Room Pointer to string [optional]
ExtensionAttributes Pointer to []ComputerExtensionAttribute [optional]

Methods

NewComputerUserAndLocation

func NewComputerUserAndLocation() *ComputerUserAndLocation

NewComputerUserAndLocation instantiates a new ComputerUserAndLocation 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

NewComputerUserAndLocationWithDefaults

func NewComputerUserAndLocationWithDefaults() *ComputerUserAndLocation

NewComputerUserAndLocationWithDefaults instantiates a new ComputerUserAndLocation 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

GetUsername

func (o *ComputerUserAndLocation) GetUsername() string

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

GetUsernameOk

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

SetUsername sets Username field to given value.

HasUsername

func (o *ComputerUserAndLocation) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetRealname

func (o *ComputerUserAndLocation) GetRealname() string

GetRealname returns the Realname field if non-nil, zero value otherwise.

GetRealnameOk

func (o *ComputerUserAndLocation) GetRealnameOk() (*string, bool)

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

SetRealname

func (o *ComputerUserAndLocation) SetRealname(v string)

SetRealname sets Realname field to given value.

HasRealname

func (o *ComputerUserAndLocation) HasRealname() bool

HasRealname returns a boolean if a field has been set.

GetEmail

func (o *ComputerUserAndLocation) GetEmail() string

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

GetEmailOk

func (o *ComputerUserAndLocation) 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 *ComputerUserAndLocation) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *ComputerUserAndLocation) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetPosition

func (o *ComputerUserAndLocation) GetPosition() string

GetPosition returns the Position field if non-nil, zero value otherwise.

GetPositionOk

func (o *ComputerUserAndLocation) GetPositionOk() (*string, bool)

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

SetPosition

func (o *ComputerUserAndLocation) SetPosition(v string)

SetPosition sets Position field to given value.

HasPosition

func (o *ComputerUserAndLocation) HasPosition() bool

HasPosition returns a boolean if a field has been set.

GetPhone

func (o *ComputerUserAndLocation) GetPhone() string

GetPhone returns the Phone field if non-nil, zero value otherwise.

GetPhoneOk

func (o *ComputerUserAndLocation) GetPhoneOk() (*string, bool)

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

SetPhone

func (o *ComputerUserAndLocation) SetPhone(v string)

SetPhone sets Phone field to given value.

HasPhone

func (o *ComputerUserAndLocation) HasPhone() bool

HasPhone returns a boolean if a field has been set.

GetDepartmentId

func (o *ComputerUserAndLocation) GetDepartmentId() string

GetDepartmentId returns the DepartmentId field if non-nil, zero value otherwise.

GetDepartmentIdOk

func (o *ComputerUserAndLocation) GetDepartmentIdOk() (*string, bool)

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

SetDepartmentId

func (o *ComputerUserAndLocation) SetDepartmentId(v string)

SetDepartmentId sets DepartmentId field to given value.

HasDepartmentId

func (o *ComputerUserAndLocation) HasDepartmentId() bool

HasDepartmentId returns a boolean if a field has been set.

GetBuildingId

func (o *ComputerUserAndLocation) GetBuildingId() string

GetBuildingId returns the BuildingId field if non-nil, zero value otherwise.

GetBuildingIdOk

func (o *ComputerUserAndLocation) GetBuildingIdOk() (*string, bool)

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

SetBuildingId

func (o *ComputerUserAndLocation) SetBuildingId(v string)

SetBuildingId sets BuildingId field to given value.

HasBuildingId

func (o *ComputerUserAndLocation) HasBuildingId() bool

HasBuildingId returns a boolean if a field has been set.

GetRoom

func (o *ComputerUserAndLocation) GetRoom() string

GetRoom returns the Room field if non-nil, zero value otherwise.

GetRoomOk

func (o *ComputerUserAndLocation) GetRoomOk() (*string, bool)

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

SetRoom

func (o *ComputerUserAndLocation) SetRoom(v string)

SetRoom sets Room field to given value.

HasRoom

func (o *ComputerUserAndLocation) HasRoom() bool

HasRoom returns a boolean if a field has been set.

GetExtensionAttributes

func (o *ComputerUserAndLocation) GetExtensionAttributes() []ComputerExtensionAttribute

GetExtensionAttributes returns the ExtensionAttributes field if non-nil, zero value otherwise.

GetExtensionAttributesOk

func (o *ComputerUserAndLocation) GetExtensionAttributesOk() (*[]ComputerExtensionAttribute, bool)

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

SetExtensionAttributes

func (o *ComputerUserAndLocation) SetExtensionAttributes(v []ComputerExtensionAttribute)

SetExtensionAttributes sets ExtensionAttributes field to given value.

HasExtensionAttributes

func (o *ComputerUserAndLocation) HasExtensionAttributes() bool

HasExtensionAttributes returns a boolean if a field has been set.

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