public final class Building extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Building() |
Modifier and Type | Method and Description |
---|---|
Building |
clone() |
BuildingAddress |
getAddress()
The postal address of the building.
|
String |
getBuildingId()
Unique identifier for the building.
|
String |
getBuildingName()
The building name as seen by users in Calendar.
|
BuildingCoordinates |
getCoordinates()
The geographic coordinates of the center of the building, expressed as latitude and longitude
in decimal degrees.
|
String |
getDescription()
A brief description of the building.
|
String |
getEtags()
ETag of the resource.
|
List<String> |
getFloorNames()
The display names for all floors in this building.
|
String |
getKind()
Kind of resource this is.
|
Building |
set(String fieldName,
Object value) |
Building |
setAddress(BuildingAddress address)
The postal address of the building.
|
Building |
setBuildingId(String buildingId)
Unique identifier for the building.
|
Building |
setBuildingName(String buildingName)
The building name as seen by users in Calendar.
|
Building |
setCoordinates(BuildingCoordinates coordinates)
The geographic coordinates of the center of the building, expressed as latitude and longitude
in decimal degrees.
|
Building |
setDescription(String description)
A brief description of the building.
|
Building |
setEtags(String etags)
ETag of the resource.
|
Building |
setFloorNames(List<String> floorNames)
The display names for all floors in this building.
|
Building |
setKind(String kind)
Kind of resource this is.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public BuildingAddress getAddress()
null
for nonepublic Building setAddress(BuildingAddress address)
address
- address or null
for nonepublic String getBuildingId()
null
for nonepublic Building setBuildingId(String buildingId)
buildingId
- buildingId or null
for nonepublic String getBuildingName()
null
for nonepublic Building setBuildingName(String buildingName)
buildingName
- buildingName or null
for nonepublic BuildingCoordinates getCoordinates()
null
for nonepublic Building setCoordinates(BuildingCoordinates coordinates)
coordinates
- coordinates or null
for nonepublic String getDescription()
null
for nonepublic Building setDescription(String description)
description
- description or null
for nonepublic String getEtags()
null
for nonepublic Building setEtags(String etags)
etags
- etags or null
for nonepublic List<String> getFloorNames()
null
for nonepublic Building setFloorNames(List<String> floorNames)
floorNames
- floorNames or null
for nonepublic String getKind()
null
for nonepublic Building setKind(String kind)
kind
- kind or null
for nonepublic Building set(String fieldName, Object value)
set
in class GenericJson
public Building clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.