public final class ListSessionsResponse 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 Fitness API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ListSessionsResponse() |
| Modifier and Type | Method and Description |
|---|---|
ListSessionsResponse |
clone() |
List<Session> |
getDeletedSession()
If includeDeleted is set to true in the request, and startTime and endTime are omitted, this
will include sessions which were deleted since the last sync.
|
Boolean |
getHasMoreData()
Flag to indicate server has more data to transfer.
|
String |
getNextPageToken()
The sync token which is used to sync further changes.
|
List<Session> |
getSession()
Sessions with an end time that is between startTime and endTime of the request.
|
ListSessionsResponse |
set(String fieldName,
Object value) |
ListSessionsResponse |
setDeletedSession(List<Session> deletedSession)
If includeDeleted is set to true in the request, and startTime and endTime are omitted, this
will include sessions which were deleted since the last sync.
|
ListSessionsResponse |
setHasMoreData(Boolean hasMoreData)
Flag to indicate server has more data to transfer.
|
ListSessionsResponse |
setNextPageToken(String nextPageToken)
The sync token which is used to sync further changes.
|
ListSessionsResponse |
setSession(List<Session> session)
Sessions with an end time that is between startTime and endTime of the request.
|
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<Session> getDeletedSession()
null for nonepublic ListSessionsResponse setDeletedSession(List<Session> deletedSession)
deletedSession - deletedSession or null for nonepublic Boolean getHasMoreData()
null for nonepublic ListSessionsResponse setHasMoreData(Boolean hasMoreData)
hasMoreData - hasMoreData or null for nonepublic String getNextPageToken()
null for nonepublic ListSessionsResponse setNextPageToken(String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic List<Session> getSession()
null for nonepublic ListSessionsResponse setSession(List<Session> session)
session - session or null for nonepublic ListSessionsResponse set(String fieldName, Object value)
set in class GenericJsonpublic ListSessionsResponse clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.