public final class Dimensions
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 My Business 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 |
---|
Dimensions() |
Modifier and Type | Method and Description |
---|---|
Dimensions |
clone() |
java.lang.Integer |
getHeightPixels()
Height of the media item, in pixels.
|
java.lang.Integer |
getWidthPixels()
Width of the media item, in pixels.
|
Dimensions |
set(java.lang.String fieldName,
java.lang.Object value) |
Dimensions |
setHeightPixels(java.lang.Integer heightPixels)
Height of the media item, in pixels.
|
Dimensions |
setWidthPixels(java.lang.Integer widthPixels)
Width of the media item, in pixels.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getHeightPixels()
null
for nonepublic Dimensions setHeightPixels(java.lang.Integer heightPixels)
heightPixels
- heightPixels or null
for nonepublic java.lang.Integer getWidthPixels()
null
for nonepublic Dimensions setWidthPixels(java.lang.Integer widthPixels)
widthPixels
- widthPixels or null
for nonepublic Dimensions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Dimensions clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.