public final class WriteControl
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 |
---|
WriteControl() |
Modifier and Type | Method and Description |
---|---|
WriteControl |
clone() |
java.lang.String |
getRequiredRevisionId()
The revision ID of the document that the write request will be applied to.
|
java.lang.String |
getTargetRevisionId()
The target revision ID of the document that the write request will be applied to.
|
WriteControl |
set(java.lang.String fieldName,
java.lang.Object value) |
WriteControl |
setRequiredRevisionId(java.lang.String requiredRevisionId)
The revision ID of the document that the write request will be applied to.
|
WriteControl |
setTargetRevisionId(java.lang.String targetRevisionId)
The target revision ID of the document that the write request will be applied to.
|
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 getRequiredRevisionId()
null
for nonepublic WriteControl setRequiredRevisionId(java.lang.String requiredRevisionId)
requiredRevisionId
- requiredRevisionId or null
for nonepublic java.lang.String getTargetRevisionId()
null
for nonepublic WriteControl setTargetRevisionId(java.lang.String targetRevisionId)
targetRevisionId
- targetRevisionId or null
for nonepublic WriteControl set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WriteControl clone()
clone
in class com.google.api.client.json.GenericJson