public final class Post
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 Blogger API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Post.Author
The author of this Post.
|
static class |
Post.Blog
Data about the blog containing this Post.
|
static class |
Post.Images
Model definition for PostImages.
|
static class |
Post.Location
The location for geotagged posts.
|
static class |
Post.Replies
The container of comments on this Post.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Post() |
Modifier and Type | Method and Description |
---|---|
Post |
clone() |
Post.Author |
getAuthor()
The author of this Post.
|
Post.Blog |
getBlog()
Data about the blog containing this Post.
|
java.lang.String |
getContent()
The content of the Post.
|
java.lang.String |
getCustomMetaData()
The JSON meta-data for the Post.
|
java.lang.String |
getEtag()
Etag of the resource.
|
java.lang.String |
getId()
The identifier of this Post.
|
java.util.List<Post.Images> |
getImages()
Display image for the Post.
|
java.lang.String |
getKind()
The kind of this entity.
|
java.util.List<java.lang.String> |
getLabels()
The list of labels this Post was tagged with.
|
Post.Location |
getLocation()
The location for geotagged posts.
|
java.lang.String |
getPublished()
RFC 3339 date-time when this Post was published.
|
java.lang.String |
getReaderComments()
Comment control and display setting for readers of this post.
|
Post.Replies |
getReplies()
The container of comments on this Post.
|
java.lang.String |
getSelfLink()
The API REST URL to fetch this resource from.
|
java.lang.String |
getStatus()
Status of the post.
|
java.lang.String |
getTitle()
The title of the Post.
|
java.lang.String |
getTitleLink()
The title link URL, similar to atom's related link.
|
java.lang.String |
getUpdated()
RFC 3339 date-time when this Post was last updated.
|
java.lang.String |
getUrl()
The URL where this Post is displayed.
|
Post |
set(java.lang.String fieldName,
java.lang.Object value) |
Post |
setAuthor(Post.Author author)
The author of this Post.
|
Post |
setBlog(Post.Blog blog)
Data about the blog containing this Post.
|
Post |
setContent(java.lang.String content)
The content of the Post.
|
Post |
setCustomMetaData(java.lang.String customMetaData)
The JSON meta-data for the Post.
|
Post |
setEtag(java.lang.String etag)
Etag of the resource.
|
Post |
setId(java.lang.String id)
The identifier of this Post.
|
Post |
setImages(java.util.List<Post.Images> images)
Display image for the Post.
|
Post |
setKind(java.lang.String kind)
The kind of this entity.
|
Post |
setLabels(java.util.List<java.lang.String> labels)
The list of labels this Post was tagged with.
|
Post |
setLocation(Post.Location location)
The location for geotagged posts.
|
Post |
setPublished(java.lang.String published)
RFC 3339 date-time when this Post was published.
|
Post |
setReaderComments(java.lang.String readerComments)
Comment control and display setting for readers of this post.
|
Post |
setReplies(Post.Replies replies)
The container of comments on this Post.
|
Post |
setSelfLink(java.lang.String selfLink)
The API REST URL to fetch this resource from.
|
Post |
setStatus(java.lang.String status)
Status of the post.
|
Post |
setTitle(java.lang.String title)
The title of the Post.
|
Post |
setTitleLink(java.lang.String titleLink)
The title link URL, similar to atom's related link.
|
Post |
setUpdated(java.lang.String updated)
RFC 3339 date-time when this Post was last updated.
|
Post |
setUrl(java.lang.String url)
The URL where this Post is displayed.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Post.Author getAuthor()
null
for nonepublic Post setAuthor(Post.Author author)
author
- author or null
for nonepublic Post.Blog getBlog()
null
for nonepublic Post setBlog(Post.Blog blog)
blog
- blog or null
for nonepublic java.lang.String getContent()
null
for nonepublic Post setContent(java.lang.String content)
content
- content or null
for nonepublic java.lang.String getCustomMetaData()
null
for nonepublic Post setCustomMetaData(java.lang.String customMetaData)
customMetaData
- customMetaData or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Post setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic Post setId(java.lang.String id)
id
- id or null
for nonepublic java.util.List<Post.Images> getImages()
null
for nonepublic Post setImages(java.util.List<Post.Images> images)
images
- images or null
for nonepublic java.lang.String getKind()
null
for nonepublic Post setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.List<java.lang.String> getLabels()
null
for nonepublic Post setLabels(java.util.List<java.lang.String> labels)
labels
- labels or null
for nonepublic Post.Location getLocation()
null
for nonepublic Post setLocation(Post.Location location)
location
- location or null
for nonepublic java.lang.String getPublished()
null
for nonepublic Post setPublished(java.lang.String published)
published
- published or null
for nonepublic java.lang.String getReaderComments()
null
for nonepublic Post setReaderComments(java.lang.String readerComments)
readerComments
- readerComments or null
for nonepublic Post.Replies getReplies()
null
for nonepublic Post setReplies(Post.Replies replies)
replies
- replies or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Post setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getStatus()
null
for nonepublic Post setStatus(java.lang.String status)
status
- status or null
for nonepublic java.lang.String getTitle()
null
for nonepublic Post setTitle(java.lang.String title)
title
- title or null
for nonepublic java.lang.String getTitleLink()
null
for nonepublic Post setTitleLink(java.lang.String titleLink)
titleLink
- titleLink or null
for nonepublic java.lang.String getUpdated()
null
for nonepublic Post setUpdated(java.lang.String updated)
updated
- updated or null
for nonepublic java.lang.String getUrl()
null
for nonepublic Post setUrl(java.lang.String url)
url
- url or null
for nonepublic Post set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Post clone()
clone
in class com.google.api.client.json.GenericJson