public final class GuestUnitType 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 My Business Lodging 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 |
---|
GuestUnitType() |
Modifier and Type | Method and Description |
---|---|
GuestUnitType |
clone() |
List<String> |
getCodes()
Required.
|
GuestUnitFeatures |
getFeatures()
Features and available amenities of the GuestUnitType.
|
String |
getLabel()
Required.
|
GuestUnitType |
set(String fieldName,
Object value) |
GuestUnitType |
setCodes(List<String> codes)
Required.
|
GuestUnitType |
setFeatures(GuestUnitFeatures features)
Features and available amenities of the GuestUnitType.
|
GuestUnitType |
setLabel(String label)
Required.
|
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 List<String> getCodes()
null
for nonepublic GuestUnitType setCodes(List<String> codes)
codes
- codes or null
for nonepublic GuestUnitFeatures getFeatures()
null
for nonepublic GuestUnitType setFeatures(GuestUnitFeatures features)
features
- features or null
for nonepublic String getLabel()
null
for nonepublic GuestUnitType setLabel(String label)
label
- label or null
for nonepublic GuestUnitType set(String fieldName, Object value)
set
in class GenericJson
public GuestUnitType clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.