public final class PostList 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 |
---|
PostList() |
Modifier and Type | Method and Description |
---|---|
PostList |
clone() |
String |
getEtag()
Etag of the response.
|
List<Post> |
getItems()
The list of Posts for this Blog.
|
String |
getKind()
The kind of this entity.
|
String |
getNextPageToken()
Pagination token to fetch the next page, if one exists.
|
String |
getPrevPageToken()
Pagination token to fetch the previous page, if one exists.
|
PostList |
set(String fieldName,
Object value) |
PostList |
setEtag(String etag)
Etag of the response.
|
PostList |
setItems(List<Post> items)
The list of Posts for this Blog.
|
PostList |
setKind(String kind)
The kind of this entity.
|
PostList |
setNextPageToken(String nextPageToken)
Pagination token to fetch the next page, if one exists.
|
PostList |
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 PostList setEtag(String etag)
etag
- etag or null
for nonepublic List<Post> getItems()
null
for nonepublic PostList setItems(List<Post> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic PostList setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic PostList setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic String getPrevPageToken()
null
for nonepublic PostList setPrevPageToken(String prevPageToken)
prevPageToken
- prevPageToken or null
for nonepublic PostList set(String fieldName, Object value)
set
in class GenericJson
public PostList clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.