public final class Page
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 Service Consumer Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
Page |
clone() |
java.lang.String |
getContent()
The Markdown content of the page.
|
java.lang.String |
getName()
The name of the page.
|
java.util.List<Page> |
getSubpages()
Subpages of this page.
|
Page |
set(java.lang.String fieldName,
java.lang.Object value) |
Page |
setContent(java.lang.String content)
The Markdown content of the page.
|
Page |
setName(java.lang.String name)
The name of the page.
|
Page |
setSubpages(java.util.List<Page> subpages)
Subpages of this page.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getContent()
null
for nonepublic Page setContent(java.lang.String content)
content
- content or null
for nonepublic java.lang.String getName()
null
for nonepublic Page setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<Page> getSubpages()
null
for nonepublic Page setSubpages(java.util.List<Page> subpages)
subpages
- subpages or null
for nonepublic Page set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Page clone()
clone
in class com.google.api.client.json.GenericJson