Name | Type | Description | Notes |
---|---|---|---|
Username | string | ||
Realname | string | ||
Phone | string | ||
string | |||
Room | string | ||
Position | string | ||
DepartmentId | int64 | ||
BuildingId | int64 | ||
Id | int64 | ||
VersionLock | int64 |
func NewLocationInformation(username string, realname string, phone string, email string, room string, position string, departmentId int64, buildingId int64, id int64, versionLock int64, ) *LocationInformation
NewLocationInformation instantiates a new LocationInformation 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
func NewLocationInformationWithDefaults() *LocationInformation
NewLocationInformationWithDefaults instantiates a new LocationInformation 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
func (o *LocationInformation) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *LocationInformation) 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.
func (o *LocationInformation) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *LocationInformation) GetRealname() string
GetRealname returns the Realname field if non-nil, zero value otherwise.
func (o *LocationInformation) 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.
func (o *LocationInformation) SetRealname(v string)
SetRealname sets Realname field to given value.
func (o *LocationInformation) GetPhone() string
GetPhone returns the Phone field if non-nil, zero value otherwise.
func (o *LocationInformation) 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.
func (o *LocationInformation) SetPhone(v string)
SetPhone sets Phone field to given value.
func (o *LocationInformation) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *LocationInformation) 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.
func (o *LocationInformation) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *LocationInformation) GetRoom() string
GetRoom returns the Room field if non-nil, zero value otherwise.
func (o *LocationInformation) 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.
func (o *LocationInformation) SetRoom(v string)
SetRoom sets Room field to given value.
func (o *LocationInformation) GetPosition() string
GetPosition returns the Position field if non-nil, zero value otherwise.
func (o *LocationInformation) 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.
func (o *LocationInformation) SetPosition(v string)
SetPosition sets Position field to given value.
func (o *LocationInformation) GetDepartmentId() int64
GetDepartmentId returns the DepartmentId field if non-nil, zero value otherwise.
func (o *LocationInformation) GetDepartmentIdOk() (*int64, 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.
func (o *LocationInformation) SetDepartmentId(v int64)
SetDepartmentId sets DepartmentId field to given value.
func (o *LocationInformation) GetBuildingId() int64
GetBuildingId returns the BuildingId field if non-nil, zero value otherwise.
func (o *LocationInformation) GetBuildingIdOk() (*int64, 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.
func (o *LocationInformation) SetBuildingId(v int64)
SetBuildingId sets BuildingId field to given value.
func (o *LocationInformation) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *LocationInformation) GetIdOk() (*int64, 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.
func (o *LocationInformation) SetId(v int64)
SetId sets Id field to given value.
func (o *LocationInformation) GetVersionLock() int64
GetVersionLock returns the VersionLock field if non-nil, zero value otherwise.
func (o *LocationInformation) GetVersionLockOk() (*int64, bool)
GetVersionLockOk returns a tuple with the VersionLock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LocationInformation) SetVersionLock(v int64)
SetVersionLock sets VersionLock field to given value.