target.apidocs.com.google.api.services.customsearch.model.Promotion.Image.html Maven / Gradle / Ivy
Promotion.Image (Custom Search API v1-rev20200401-1.30.9)
com.google.api.services.customsearch.model
Class Promotion.Image
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.customsearch.model.Promotion.Image
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Image()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Promotion.Image
clone()
Integer
getHeight()
String
getSource()
Integer
getWidth()
Promotion.Image
set(String fieldName,
Object value)
Promotion.Image
setHeight(Integer height)
Promotion.Image
setSource(String source)
Promotion.Image
setWidth(Integer width)
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getHeight
public Integer getHeight()
- Returns:
- value or
null
for none
-
setHeight
public Promotion.Image setHeight(Integer height)
- Parameters:
height
- height or null
for none
-
getSource
public String getSource()
- Returns:
- value or
null
for none
-
setSource
public Promotion.Image setSource(String source)
- Parameters:
source
- source or null
for none
-
getWidth
public Integer getWidth()
- Returns:
- value or
null
for none
-
setWidth
public Promotion.Image setWidth(Integer width)
- Parameters:
width
- width or null
for none
-
set
public Promotion.Image set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Promotion.Image clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy