public final class InsertPageBreakRequest
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 Google Docs 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 |
---|
InsertPageBreakRequest() |
Modifier and Type | Method and Description |
---|---|
InsertPageBreakRequest |
clone() |
EndOfSegmentLocation |
getEndOfSegmentLocation()
Inserts the page break at the end of the document body.
|
Location |
getLocation()
Inserts the page break at a specific index in the document.
|
InsertPageBreakRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
InsertPageBreakRequest |
setEndOfSegmentLocation(EndOfSegmentLocation endOfSegmentLocation)
Inserts the page break at the end of the document body.
|
InsertPageBreakRequest |
setLocation(Location location)
Inserts the page break at a specific index in the document.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public EndOfSegmentLocation getEndOfSegmentLocation()
null
for nonepublic InsertPageBreakRequest setEndOfSegmentLocation(EndOfSegmentLocation endOfSegmentLocation)
endOfSegmentLocation
- endOfSegmentLocation or null
for nonepublic Location getLocation()
null
for nonepublic InsertPageBreakRequest setLocation(Location location)
location
- location or null
for nonepublic InsertPageBreakRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public InsertPageBreakRequest clone()
clone
in class com.google.api.client.json.GenericJson