public final class CommentList 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 Blogger API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CommentList() |
Modifier and Type | Method and Description |
---|---|
CommentList |
clone() |
String |
getEtag()
Etag of the response.
|
List<Comment> |
getItems()
The List of Comments for a Post.
|
String |
getKind()
The kind of this entry.
|
String |
getNextPageToken()
Pagination token to fetch the next page, if one exists.
|
String |
getPrevPageToken()
Pagination token to fetch the previous page, if one exists.
|
CommentList |
set(String fieldName,
Object value) |
CommentList |
setEtag(String etag)
Etag of the response.
|
CommentList |
setItems(List<Comment> items)
The List of Comments for a Post.
|
CommentList |
setKind(String kind)
The kind of this entry.
|
CommentList |
setNextPageToken(String nextPageToken)
Pagination token to fetch the next page, if one exists.
|
CommentList |
setPrevPageToken(String prevPageToken)
Pagination token to fetch the previous page, if one exists.
|
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 CommentList setEtag(String etag)
etag
- etag or null
for nonepublic List<Comment> getItems()
null
for nonepublic CommentList setItems(List<Comment> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic CommentList setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic CommentList setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic String getPrevPageToken()
null
for nonepublic CommentList setPrevPageToken(String prevPageToken)
prevPageToken
- prevPageToken or null
for nonepublic CommentList set(String fieldName, Object value)
set
in class GenericJson
public CommentList clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.