public final class Document 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 Google Docs 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 |
---|
Document() |
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 Body getBody()
null
for nonepublic Document setBody(Body body)
body
- body or null
for nonepublic String getDocumentId()
null
for nonepublic Document setDocumentId(String documentId)
documentId
- documentId or null
for nonepublic DocumentStyle getDocumentStyle()
null
for nonepublic Document setDocumentStyle(DocumentStyle documentStyle)
documentStyle
- documentStyle or null
for nonepublic Map<String,Footer> getFooters()
null
for nonepublic Document setFooters(Map<String,Footer> footers)
footers
- footers or null
for nonepublic Map<String,Footnote> getFootnotes()
null
for nonepublic Document setFootnotes(Map<String,Footnote> footnotes)
footnotes
- footnotes or null
for nonepublic Map<String,Header> getHeaders()
null
for nonepublic Document setHeaders(Map<String,Header> headers)
headers
- headers or null
for nonepublic Map<String,InlineObject> getInlineObjects()
null
for nonepublic Document setInlineObjects(Map<String,InlineObject> inlineObjects)
inlineObjects
- inlineObjects or null
for nonepublic Map<String,List> getLists()
null
for nonepublic Document setLists(Map<String,List> lists)
lists
- lists or null
for nonepublic Map<String,NamedRanges> getNamedRanges()
null
for nonepublic Document setNamedRanges(Map<String,NamedRanges> namedRanges)
namedRanges
- namedRanges or null
for nonepublic NamedStyles getNamedStyles()
null
for nonepublic Document setNamedStyles(NamedStyles namedStyles)
namedStyles
- namedStyles or null
for nonepublic Map<String,PositionedObject> getPositionedObjects()
null
for nonepublic Document setPositionedObjects(Map<String,PositionedObject> positionedObjects)
positionedObjects
- positionedObjects or null
for nonepublic String getRevisionId()
null
for nonepublic Document setRevisionId(String revisionId)
revisionId
- revisionId or null
for nonepublic Map<String,SuggestedDocumentStyle> getSuggestedDocumentStyleChanges()
null
for nonepublic Document setSuggestedDocumentStyleChanges(Map<String,SuggestedDocumentStyle> suggestedDocumentStyleChanges)
suggestedDocumentStyleChanges
- suggestedDocumentStyleChanges or null
for nonepublic Map<String,SuggestedNamedStyles> getSuggestedNamedStylesChanges()
null
for nonepublic Document setSuggestedNamedStylesChanges(Map<String,SuggestedNamedStyles> suggestedNamedStylesChanges)
suggestedNamedStylesChanges
- suggestedNamedStylesChanges or null
for nonepublic String getSuggestionsViewMode()
null
for nonepublic Document setSuggestionsViewMode(String suggestionsViewMode)
suggestionsViewMode
- suggestionsViewMode or null
for nonepublic String getTitle()
null
for nonepublic Document setTitle(String title)
title
- title or null
for nonepublic Document set(String fieldName, Object value)
set
in class GenericJson
public Document clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.