target.apidocs.com.google.api.services.directory.model.UserLocation.html Maven / Gradle / Ivy
UserLocation (Admin SDK API directory_v1-rev20220621-2.0.0)
com.google.api.services.directory.model
Class UserLocation
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.UserLocation
-
public final class UserLocation
extends GenericJson
JSON template for a location entry.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
UserLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
UserLocation
clone()
String
getArea()
Textual location.
String
getBuildingId()
Building Identifier.
String
getCustomType()
Custom Type.
String
getDeskCode()
Most specific textual code of individual desk location.
String
getFloorName()
Floor name/number.
String
getFloorSection()
Floor section.
String
getType()
Each entry can have a type which indicates standard types of that entry.
UserLocation
set(String fieldName,
Object value)
UserLocation
setArea(String area)
Textual location.
UserLocation
setBuildingId(String buildingId)
Building Identifier.
UserLocation
setCustomType(String customType)
Custom Type.
UserLocation
setDeskCode(String deskCode)
Most specific textual code of individual desk location.
UserLocation
setFloorName(String floorName)
Floor name/number.
UserLocation
setFloorSection(String floorSection)
Floor section.
UserLocation
setType(String type)
Each entry can have a type which indicates standard types of that entry.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getArea
public String getArea()
Textual location. This is most useful for display purposes to concisely describe the location.
For example 'Mountain View, CA', 'Near Seattle', 'US-NYC-9TH 9A209A.''
- Returns:
- value or
null
for none
-
setArea
public UserLocation setArea(String area)
Textual location. This is most useful for display purposes to concisely describe the location.
For example 'Mountain View, CA', 'Near Seattle', 'US-NYC-9TH 9A209A.''
- Parameters:
area
- area or null
for none
-
getBuildingId
public String getBuildingId()
Building Identifier.
- Returns:
- value or
null
for none
-
setBuildingId
public UserLocation setBuildingId(String buildingId)
Building Identifier.
- Parameters:
buildingId
- buildingId or null
for none
-
getCustomType
public String getCustomType()
Custom Type.
- Returns:
- value or
null
for none
-
setCustomType
public UserLocation setCustomType(String customType)
Custom Type.
- Parameters:
customType
- customType or null
for none
-
getDeskCode
public String getDeskCode()
Most specific textual code of individual desk location.
- Returns:
- value or
null
for none
-
setDeskCode
public UserLocation setDeskCode(String deskCode)
Most specific textual code of individual desk location.
- Parameters:
deskCode
- deskCode or null
for none
-
getFloorName
public String getFloorName()
Floor name/number.
- Returns:
- value or
null
for none
-
setFloorName
public UserLocation setFloorName(String floorName)
Floor name/number.
- Parameters:
floorName
- floorName or null
for none
-
getFloorSection
public String getFloorSection()
Floor section. More specific location within the floor. For example if a floor is divided into
sections 'A', 'B' and 'C' this field would identify one of those values.
- Returns:
- value or
null
for none
-
setFloorSection
public UserLocation setFloorSection(String floorSection)
Floor section. More specific location within the floor. For example if a floor is divided into
sections 'A', 'B' and 'C' this field would identify one of those values.
- Parameters:
floorSection
- floorSection or null
for none
-
getType
public String getType()
Each entry can have a type which indicates standard types of that entry. For example location
could be of types default and desk. In addition to standard type an entry can have a custom
type and can give it any name. Such types should have 'custom' as type and also have a
customType value.
- Returns:
- value or
null
for none
-
setType
public UserLocation setType(String type)
Each entry can have a type which indicates standard types of that entry. For example location
could be of types default and desk. In addition to standard type an entry can have a custom
type and can give it any name. Such types should have 'custom' as type and also have a
customType value.
- Parameters:
type
- type or null
for none
-
set
public UserLocation set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public UserLocation clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.