public final class ReservationBlocksListResponse
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 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 |
ReservationBlocksListResponse.Warning
Informational warning message.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReservationBlocksListResponse() |
Modifier and Type | Method and Description |
---|---|
ReservationBlocksListResponse |
clone() |
String |
getId()
Unique identifier for the resource; defined by the server.
|
List<ReservationBlock> |
getItems()
A list of reservation block resources.
|
String |
getKind()
Type of the resource.
|
String |
getNextPageToken()
This token allows you to get the next page of results for list requests.
|
String |
getSelfLink()
Server-defined URL for this resource.
|
ReservationBlocksListResponse.Warning |
getWarning()
Informational warning message.
|
ReservationBlocksListResponse |
set(String fieldName,
Object value) |
ReservationBlocksListResponse |
setId(String id)
Unique identifier for the resource; defined by the server.
|
ReservationBlocksListResponse |
setItems(List<ReservationBlock> items)
A list of reservation block resources.
|
ReservationBlocksListResponse |
setKind(String kind)
Type of the resource.
|
ReservationBlocksListResponse |
setNextPageToken(String nextPageToken)
This token allows you to get the next page of results for list requests.
|
ReservationBlocksListResponse |
setSelfLink(String selfLink)
Server-defined URL for this resource.
|
ReservationBlocksListResponse |
setWarning(ReservationBlocksListResponse.Warning warning)
Informational warning message.
|
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 String getId()
null
for nonepublic ReservationBlocksListResponse setId(String id)
id
- id or null
for nonepublic List<ReservationBlock> getItems()
null
for nonepublic ReservationBlocksListResponse setItems(List<ReservationBlock> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic ReservationBlocksListResponse setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic ReservationBlocksListResponse setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic String getSelfLink()
null
for nonepublic ReservationBlocksListResponse setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic ReservationBlocksListResponse.Warning getWarning()
null
for nonepublic ReservationBlocksListResponse setWarning(ReservationBlocksListResponse.Warning warning)
warning
- warning or null
for nonepublic ReservationBlocksListResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ReservationBlocksListResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.