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