public final class Blog 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
Modifier and Type | Class and Description |
---|---|
static class |
Blog.Locale
The locale this Blog is set to.
|
static class |
Blog.Pages
The container of pages in this blog.
|
static class |
Blog.Posts
The container of posts in this blog.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Blog() |
Modifier and Type | Method and Description |
---|---|
Blog |
clone() |
String |
getCustomMetaData()
The JSON custom meta-data for the Blog.
|
String |
getDescription()
The description of this blog.
|
String |
getId()
The identifier for this resource.
|
String |
getKind()
The kind of this entry.
|
Blog.Locale |
getLocale()
The locale this Blog is set to.
|
String |
getName()
The name of this blog.
|
Blog.Pages |
getPages()
The container of pages in this blog.
|
Blog.Posts |
getPosts()
The container of posts in this blog.
|
String |
getPublished()
RFC 3339 date-time when this blog was published.
|
String |
getSelfLink()
The API REST URL to fetch this resource from.
|
String |
getStatus()
The status of the blog.
|
String |
getUpdated()
RFC 3339 date-time when this blog was last updated.
|
String |
getUrl()
The URL where this blog is published.
|
Blog |
set(String fieldName,
Object value) |
Blog |
setCustomMetaData(String customMetaData)
The JSON custom meta-data for the Blog.
|
Blog |
setDescription(String description)
The description of this blog.
|
Blog |
setId(String id)
The identifier for this resource.
|
Blog |
setKind(String kind)
The kind of this entry.
|
Blog |
setLocale(Blog.Locale locale)
The locale this Blog is set to.
|
Blog |
setName(String name)
The name of this blog.
|
Blog |
setPages(Blog.Pages pages)
The container of pages in this blog.
|
Blog |
setPosts(Blog.Posts posts)
The container of posts in this blog.
|
Blog |
setPublished(String published)
RFC 3339 date-time when this blog was published.
|
Blog |
setSelfLink(String selfLink)
The API REST URL to fetch this resource from.
|
Blog |
setStatus(String status)
The status of the blog.
|
Blog |
setUpdated(String updated)
RFC 3339 date-time when this blog was last updated.
|
Blog |
setUrl(String url)
The URL where this blog is published.
|
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 getCustomMetaData()
null
for nonepublic Blog setCustomMetaData(String customMetaData)
customMetaData
- customMetaData or null
for nonepublic String getDescription()
null
for nonepublic Blog setDescription(String description)
description
- description or null
for nonepublic String getId()
null
for nonepublic Blog setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Blog setKind(String kind)
kind
- kind or null
for nonepublic Blog.Locale getLocale()
null
for nonepublic Blog setLocale(Blog.Locale locale)
locale
- locale or null
for nonepublic String getName()
null
for nonepublic Blog setName(String name)
name
- name or null
for nonepublic Blog.Pages getPages()
null
for nonepublic Blog setPages(Blog.Pages pages)
pages
- pages or null
for nonepublic Blog.Posts getPosts()
null
for nonepublic Blog setPosts(Blog.Posts posts)
posts
- posts or null
for nonepublic String getPublished()
null
for nonepublic Blog setPublished(String published)
published
- published or null
for nonepublic String getSelfLink()
null
for nonepublic Blog setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getStatus()
null
for nonepublic Blog setStatus(String status)
status
- status or null
for nonepublic String getUpdated()
null
for nonepublic Blog setUpdated(String updated)
updated
- updated or null
for nonepublic String getUrl()
null
for nonepublic Blog setUrl(String url)
url
- url or null
for nonepublic Blog set(String fieldName, Object value)
set
in class GenericJson
public Blog clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.