public final class Page 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 |
Page.Author
The author of this Page.
|
static class |
Page.Blog
Data about the blog containing this Page.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Page() |
| Modifier and Type | Method and Description |
|---|---|
Page |
clone() |
Page.Author |
getAuthor()
The author of this Page.
|
Page.Blog |
getBlog()
Data about the blog containing this Page.
|
String |
getContent()
The body content of this Page, in HTML.
|
String |
getEtag()
Etag of the resource.
|
String |
getId()
The identifier for this resource.
|
String |
getKind()
The kind of this entity.
|
String |
getPublished()
RFC 3339 date-time when this Page was published.
|
String |
getSelfLink()
The API REST URL to fetch this resource from.
|
String |
getStatus()
The status of the page for admin resources (either LIVE or DRAFT).
|
String |
getTitle()
The title of this entity.
|
String |
getTrashed()
RFC 3339 date-time when this Page was trashed.
|
String |
getUpdated()
RFC 3339 date-time when this Page was last updated.
|
String |
getUrl()
The URL that this Page is displayed at.
|
Page |
set(String fieldName,
Object value) |
Page |
setAuthor(Page.Author author)
The author of this Page.
|
Page |
setBlog(Page.Blog blog)
Data about the blog containing this Page.
|
Page |
setContent(String content)
The body content of this Page, in HTML.
|
Page |
setEtag(String etag)
Etag of the resource.
|
Page |
setId(String id)
The identifier for this resource.
|
Page |
setKind(String kind)
The kind of this entity.
|
Page |
setPublished(String published)
RFC 3339 date-time when this Page was published.
|
Page |
setSelfLink(String selfLink)
The API REST URL to fetch this resource from.
|
Page |
setStatus(String status)
The status of the page for admin resources (either LIVE or DRAFT).
|
Page |
setTitle(String title)
The title of this entity.
|
Page |
setTrashed(String trashed)
RFC 3339 date-time when this Page was trashed.
|
Page |
setUpdated(String updated)
RFC 3339 date-time when this Page was last updated.
|
Page |
setUrl(String url)
The URL that this Page is displayed at.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Page.Author getAuthor()
null for nonepublic Page setAuthor(Page.Author author)
author - author or null for nonepublic Page.Blog getBlog()
null for nonepublic Page setBlog(Page.Blog blog)
blog - blog or null for nonepublic String getContent()
null for nonepublic Page setContent(String content)
content - content or null for nonepublic String getEtag()
null for nonepublic Page setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Page setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Page setKind(String kind)
kind - kind or null for nonepublic String getPublished()
null for nonepublic Page setPublished(String published)
published - published or null for nonepublic String getSelfLink()
null for nonepublic Page setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic Page setStatus(String status)
status - status or null for nonepublic String getTitle()
null for nonepublic Page setTitle(String title)
title - title or null for nonepublic String getTrashed()
null for nonepublic Page setTrashed(String trashed)
trashed - trashed or null for nonepublic String getUpdated()
null for nonepublic Page setUpdated(String updated)
updated - updated or null for nonepublic String getUrl()
null for nonepublic Page setUrl(String url)
url - url or null for nonepublic Page set(String fieldName, Object value)
set in class GenericJsonpublic Page clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.