public final class Property
extends com.google.api.client.json.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 My Business Lodging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
Property |
clone() |
Integer |
getBuiltYear()
Built year.
|
String |
getBuiltYearException()
Built year exception.
|
Integer |
getFloorsCount()
Floors count.
|
String |
getFloorsCountException()
Floors count exception.
|
Integer |
getLastRenovatedYear()
Last renovated year.
|
String |
getLastRenovatedYearException()
Last renovated year exception.
|
Integer |
getRoomsCount()
Rooms count.
|
String |
getRoomsCountException()
Rooms count exception.
|
Property |
set(String fieldName,
Object value) |
Property |
setBuiltYear(Integer builtYear)
Built year.
|
Property |
setBuiltYearException(String builtYearException)
Built year exception.
|
Property |
setFloorsCount(Integer floorsCount)
Floors count.
|
Property |
setFloorsCountException(String floorsCountException)
Floors count exception.
|
Property |
setLastRenovatedYear(Integer lastRenovatedYear)
Last renovated year.
|
Property |
setLastRenovatedYearException(String lastRenovatedYearException)
Last renovated year exception.
|
Property |
setRoomsCount(Integer roomsCount)
Rooms count.
|
Property |
setRoomsCountException(String roomsCountException)
Rooms count exception.
|
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 Integer getBuiltYear()
null
for nonepublic Property setBuiltYear(Integer builtYear)
builtYear
- builtYear or null
for nonepublic String getBuiltYearException()
null
for nonepublic Property setBuiltYearException(String builtYearException)
builtYearException
- builtYearException or null
for nonepublic Integer getFloorsCount()
null
for nonepublic Property setFloorsCount(Integer floorsCount)
floorsCount
- floorsCount or null
for nonepublic String getFloorsCountException()
null
for nonepublic Property setFloorsCountException(String floorsCountException)
floorsCountException
- floorsCountException or null
for nonepublic Integer getLastRenovatedYear()
null
for nonepublic Property setLastRenovatedYear(Integer lastRenovatedYear)
lastRenovatedYear
- lastRenovatedYear or null
for nonepublic String getLastRenovatedYearException()
null
for nonepublic Property setLastRenovatedYearException(String lastRenovatedYearException)
lastRenovatedYearException
- lastRenovatedYearException or null
for nonepublic Integer getRoomsCount()
null
for nonepublic Property setRoomsCount(Integer roomsCount)
roomsCount
- roomsCount or null
for nonepublic String getRoomsCountException()
null
for nonepublic Property setRoomsCountException(String roomsCountException)
roomsCountException
- roomsCountException or null
for nonepublic Property set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Property clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.