public final class Tasks
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 Google Tasks API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Tasks() |
Modifier and Type | Method and Description |
---|---|
Tasks |
clone() |
String |
getEtag()
ETag of the resource.
|
List<Task> |
getItems()
Collection of tasks.
|
String |
getKind()
Type of the resource.
|
String |
getNextPageToken()
Token used to access the next page of this result.
|
Tasks |
set(String fieldName,
Object value) |
Tasks |
setEtag(String etag)
ETag of the resource.
|
Tasks |
setItems(List<Task> items)
Collection of tasks.
|
Tasks |
setKind(String kind)
Type of the resource.
|
Tasks |
setNextPageToken(String nextPageToken)
Token used to access the next page of this result.
|
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 getEtag()
null
for nonepublic Tasks setEtag(String etag)
etag
- etag or null
for nonepublic Tasks setItems(List<Task> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic Tasks setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic Tasks setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic Tasks set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Tasks clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.