public final class ReplaceImageRequest
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReplaceImageRequest() |
Modifier and Type | Method and Description |
---|---|
ReplaceImageRequest |
clone() |
String |
getImageObjectId()
The ID of the existing image that will be replaced.
|
String |
getImageReplaceMethod()
The replacement method.
|
String |
getUri()
The URI of the new image.
|
ReplaceImageRequest |
set(String fieldName,
Object value) |
ReplaceImageRequest |
setImageObjectId(String imageObjectId)
The ID of the existing image that will be replaced.
|
ReplaceImageRequest |
setImageReplaceMethod(String imageReplaceMethod)
The replacement method.
|
ReplaceImageRequest |
setUri(String uri)
The URI of the new image.
|
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 String getImageObjectId()
null
for nonepublic ReplaceImageRequest setImageObjectId(String imageObjectId)
imageObjectId
- imageObjectId or null
for nonepublic String getImageReplaceMethod()
null
for nonepublic ReplaceImageRequest setImageReplaceMethod(String imageReplaceMethod)
imageReplaceMethod
- imageReplaceMethod or null
for nonepublic String getUri()
null
for nonepublic ReplaceImageRequest setUri(String uri)
uri
- uri or null
for nonepublic ReplaceImageRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ReplaceImageRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.