public static final class TeamDrive.BackgroundImageFile extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TeamDrive.BackgroundImageFile() |
Modifier and Type | Method and Description |
---|---|
TeamDrive.BackgroundImageFile |
clone() |
String |
getId()
The ID of an image file in Drive to use for the background image.
|
Float |
getWidth()
The width of the cropped image in the closed range of 0 to 1, which is the width of the cropped
image divided by the width of the entire image.
|
Float |
getXCoordinate()
The X coordinate of the upper left corner of the cropping area in the background image.
|
Float |
getYCoordinate()
The Y coordinate of the upper left corner of the cropping area in the background image.
|
TeamDrive.BackgroundImageFile |
set(String fieldName,
Object value) |
TeamDrive.BackgroundImageFile |
setId(String id)
The ID of an image file in Drive to use for the background image.
|
TeamDrive.BackgroundImageFile |
setWidth(Float width)
The width of the cropped image in the closed range of 0 to 1, which is the width of the cropped
image divided by the width of the entire image.
|
TeamDrive.BackgroundImageFile |
setXCoordinate(Float xCoordinate)
The X coordinate of the upper left corner of the cropping area in the background image.
|
TeamDrive.BackgroundImageFile |
setYCoordinate(Float yCoordinate)
The Y coordinate of the upper left corner of the cropping area in the background image.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getId()
null
for nonepublic TeamDrive.BackgroundImageFile setId(String id)
id
- id or null
for nonepublic Float getWidth()
null
for nonepublic TeamDrive.BackgroundImageFile setWidth(Float width)
width
- width or null
for nonepublic Float getXCoordinate()
null
for nonepublic TeamDrive.BackgroundImageFile setXCoordinate(Float xCoordinate)
xCoordinate
- xCoordinate or null
for nonepublic Float getYCoordinate()
null
for nonepublic TeamDrive.BackgroundImageFile setYCoordinate(Float yCoordinate)
yCoordinate
- yCoordinate or null
for nonepublic TeamDrive.BackgroundImageFile set(String fieldName, Object value)
set
in class GenericJson
public TeamDrive.BackgroundImageFile clone()
clone
in class GenericJson