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