target.apidocs.com.google.api.services.drive.model.ChangeList.html Maven / Gradle / Ivy
ChangeList (Drive API v2-rev20180830-1.26.0)
com.google.api.services.drive.model
Class ChangeList
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.ChangeList
-
public final class ChangeList
extends com.google.api.client.json.GenericJson
A list of changes for a user.
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 Drive API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ChangeList()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChangeList
clone()
String
getEtag()
The ETag of the list.
List<Change>
getItems()
The list of changes.
String
getKind()
This is always drive#changeList.
Long
getLargestChangeId()
The current largest change ID.
String
getNewStartPageToken()
The starting page token for future changes.
String
getNextLink()
A link to the next page of changes.
String
getNextPageToken()
The page token for the next page of changes.
String
getSelfLink()
A link back to this list.
ChangeList
set(String fieldName,
Object value)
ChangeList
setEtag(String etag)
The ETag of the list.
ChangeList
setItems(List<Change> items)
The list of changes.
ChangeList
setKind(String kind)
This is always drive#changeList.
ChangeList
setLargestChangeId(Long largestChangeId)
The current largest change ID.
ChangeList
setNewStartPageToken(String newStartPageToken)
The starting page token for future changes.
ChangeList
setNextLink(String nextLink)
A link to the next page of changes.
ChangeList
setNextPageToken(String nextPageToken)
The page token for the next page of changes.
ChangeList
setSelfLink(String selfLink)
A link back to this list.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEtag
public String getEtag()
The ETag of the list.
- Returns:
- value or
null
for none
-
setEtag
public ChangeList setEtag(String etag)
The ETag of the list.
- Parameters:
etag
- etag or null
for none
-
getItems
public List<Change> getItems()
The list of changes. If nextPageToken is populated, then this list may be incomplete and an
additional page of results should be fetched.
- Returns:
- value or
null
for none
-
setItems
public ChangeList setItems(List<Change> items)
The list of changes. If nextPageToken is populated, then this list may be incomplete and an
additional page of results should be fetched.
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
This is always drive#changeList.
- Returns:
- value or
null
for none
-
setKind
public ChangeList setKind(String kind)
This is always drive#changeList.
- Parameters:
kind
- kind or null
for none
-
getLargestChangeId
public Long getLargestChangeId()
The current largest change ID.
- Returns:
- value or
null
for none
-
setLargestChangeId
public ChangeList setLargestChangeId(Long largestChangeId)
The current largest change ID.
- Parameters:
largestChangeId
- largestChangeId or null
for none
-
getNewStartPageToken
public String getNewStartPageToken()
The starting page token for future changes. This will be present only if the end of the current
changes list has been reached.
- Returns:
- value or
null
for none
-
setNewStartPageToken
public ChangeList setNewStartPageToken(String newStartPageToken)
The starting page token for future changes. This will be present only if the end of the current
changes list has been reached.
- Parameters:
newStartPageToken
- newStartPageToken or null
for none
-
getNextLink
public String getNextLink()
A link to the next page of changes.
- Returns:
- value or
null
for none
-
setNextLink
public ChangeList setNextLink(String nextLink)
A link to the next page of changes.
- Parameters:
nextLink
- nextLink or null
for none
-
getNextPageToken
public String getNextPageToken()
The page token for the next page of changes. This will be absent if the end of the changes list
has been reached. If the token is rejected for any reason, it should be discarded, and
pagination should be restarted from the first page of results.
- Returns:
- value or
null
for none
-
setNextPageToken
public ChangeList setNextPageToken(String nextPageToken)
The page token for the next page of changes. This will be absent if the end of the changes list
has been reached. If the token is rejected for any reason, it should be discarded, and
pagination should be restarted from the first page of results.
- Parameters:
nextPageToken
- nextPageToken or null
for none
-
getSelfLink
public String getSelfLink()
A link back to this list.
- Returns:
- value or
null
for none
-
setSelfLink
public ChangeList setSelfLink(String selfLink)
A link back to this list.
- Parameters:
selfLink
- selfLink or null
for none
-
set
public ChangeList set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ChangeList clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2018 Google. All rights reserved.