public final class EmbeddedObject
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 |
---|
EmbeddedObject() |
Modifier and Type | Method and Description |
---|---|
EmbeddedObject |
clone() |
java.lang.String |
getDescription()
The description of the embedded object.
|
EmbeddedDrawingProperties |
getEmbeddedDrawingProperties()
The properties of an embedded drawing.
|
EmbeddedObjectBorder |
getEmbeddedObjectBorder()
The border of the embedded object.
|
ImageProperties |
getImageProperties()
The properties of an image.
|
LinkedContentReference |
getLinkedContentReference()
A reference to the external linked source content.
|
Dimension |
getMarginBottom()
The bottom margin of the embedded object.
|
Dimension |
getMarginLeft()
The left margin of the embedded object.
|
Dimension |
getMarginRight()
The right margin of the embedded object.
|
Dimension |
getMarginTop()
The top margin of the embedded object.
|
Size |
getSize()
The visible size of the image after cropping.
|
java.lang.String |
getTitle()
The title of the embedded object.
|
EmbeddedObject |
set(java.lang.String fieldName,
java.lang.Object value) |
EmbeddedObject |
setDescription(java.lang.String description)
The description of the embedded object.
|
EmbeddedObject |
setEmbeddedDrawingProperties(EmbeddedDrawingProperties embeddedDrawingProperties)
The properties of an embedded drawing.
|
EmbeddedObject |
setEmbeddedObjectBorder(EmbeddedObjectBorder embeddedObjectBorder)
The border of the embedded object.
|
EmbeddedObject |
setImageProperties(ImageProperties imageProperties)
The properties of an image.
|
EmbeddedObject |
setLinkedContentReference(LinkedContentReference linkedContentReference)
A reference to the external linked source content.
|
EmbeddedObject |
setMarginBottom(Dimension marginBottom)
The bottom margin of the embedded object.
|
EmbeddedObject |
setMarginLeft(Dimension marginLeft)
The left margin of the embedded object.
|
EmbeddedObject |
setMarginRight(Dimension marginRight)
The right margin of the embedded object.
|
EmbeddedObject |
setMarginTop(Dimension marginTop)
The top margin of the embedded object.
|
EmbeddedObject |
setSize(Size size)
The visible size of the image after cropping.
|
EmbeddedObject |
setTitle(java.lang.String title)
The title of the embedded object.
|
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 getDescription()
null
for nonepublic EmbeddedObject setDescription(java.lang.String description)
description
- description or null
for nonepublic EmbeddedDrawingProperties getEmbeddedDrawingProperties()
null
for nonepublic EmbeddedObject setEmbeddedDrawingProperties(EmbeddedDrawingProperties embeddedDrawingProperties)
embeddedDrawingProperties
- embeddedDrawingProperties or null
for nonepublic EmbeddedObjectBorder getEmbeddedObjectBorder()
null
for nonepublic EmbeddedObject setEmbeddedObjectBorder(EmbeddedObjectBorder embeddedObjectBorder)
embeddedObjectBorder
- embeddedObjectBorder or null
for nonepublic ImageProperties getImageProperties()
null
for nonepublic EmbeddedObject setImageProperties(ImageProperties imageProperties)
imageProperties
- imageProperties or null
for nonepublic LinkedContentReference getLinkedContentReference()
null
for nonepublic EmbeddedObject setLinkedContentReference(LinkedContentReference linkedContentReference)
linkedContentReference
- linkedContentReference or null
for nonepublic Dimension getMarginBottom()
null
for nonepublic EmbeddedObject setMarginBottom(Dimension marginBottom)
marginBottom
- marginBottom or null
for nonepublic Dimension getMarginLeft()
null
for nonepublic EmbeddedObject setMarginLeft(Dimension marginLeft)
marginLeft
- marginLeft or null
for nonepublic Dimension getMarginRight()
null
for nonepublic EmbeddedObject setMarginRight(Dimension marginRight)
marginRight
- marginRight or null
for nonepublic Dimension getMarginTop()
null
for nonepublic EmbeddedObject setMarginTop(Dimension marginTop)
marginTop
- marginTop or null
for nonepublic Size getSize()
null
for nonepublic EmbeddedObject setSize(Size size)
size
- size or null
for nonepublic java.lang.String getTitle()
null
for nonepublic EmbeddedObject setTitle(java.lang.String title)
title
- title or null
for nonepublic EmbeddedObject set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public EmbeddedObject clone()
clone
in class com.google.api.client.json.GenericJson