public final class Image
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 Slides 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 |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
java.lang.String |
getContentUrl()
An URL to an image with a default lifetime of 30 minutes.
|
ImageProperties |
getImageProperties()
The properties of the image.
|
java.lang.String |
getSourceUrl()
The source URL is the URL used to insert the image.
|
Image |
set(java.lang.String fieldName,
java.lang.Object value) |
Image |
setContentUrl(java.lang.String contentUrl)
An URL to an image with a default lifetime of 30 minutes.
|
Image |
setImageProperties(ImageProperties imageProperties)
The properties of the image.
|
Image |
setSourceUrl(java.lang.String sourceUrl)
The source URL is the URL used to insert the image.
|
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 getContentUrl()
null
for nonepublic Image setContentUrl(java.lang.String contentUrl)
contentUrl
- contentUrl or null
for nonepublic ImageProperties getImageProperties()
null
for nonepublic Image setImageProperties(ImageProperties imageProperties)
imageProperties
- imageProperties or null
for nonepublic java.lang.String getSourceUrl()
null
for nonepublic Image setSourceUrl(java.lang.String sourceUrl)
sourceUrl
- sourceUrl or null
for nonepublic Image set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Image clone()
clone
in class com.google.api.client.json.GenericJson