public final class ReservationsScopedList 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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ReservationsScopedList.WarningInformational warning which replaces the list of reservations when the list is empty. | 
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| ReservationsScopedList() | 
| Modifier and Type | Method and Description | 
|---|---|
| ReservationsScopedList | clone() | 
| List<Reservation> | getReservations()A list of reservations contained in this scope. | 
| ReservationsScopedList.Warning | getWarning()Informational warning which replaces the list of reservations when the list is empty. | 
| ReservationsScopedList | set(String fieldName,
   Object value) | 
| ReservationsScopedList | setReservations(List<Reservation> reservations)A list of reservations contained in this scope. | 
| ReservationsScopedList | setWarning(ReservationsScopedList.Warning warning)Informational warning which replaces the list of reservations when the list is empty. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<Reservation> getReservations()
null for nonepublic ReservationsScopedList setReservations(List<Reservation> reservations)
reservations - reservations or null for nonepublic ReservationsScopedList.Warning getWarning()
null for nonepublic ReservationsScopedList setWarning(ReservationsScopedList.Warning warning)
warning - warning or null for nonepublic ReservationsScopedList set(String fieldName, Object value)
set in class GenericJsonpublic ReservationsScopedList clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.