
target.apidocs.com.google.api.services.adsensehost.model.AdStyle.html Maven / Gradle / Ivy
AdStyle (AdSense Host API v4.1-rev20200930-2.0.0)
com.google.api.services.adsensehost.model
Class AdStyle
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.adsensehost.model.AdStyle
-
public final class AdStyle
extends com.google.api.client.json.GenericJson
Model definition for AdStyle.
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 AdSense Host API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
AdStyle.Colors
The colors included in the style.
static class
AdStyle.Font
The font which is included in the style.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.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
AdStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AdStyle
clone()
AdStyle.Colors
getColors()
The colors included in the style.
String
getCorners()
The style of the corners in the ad (deprecated: never populated, ignored).
AdStyle.Font
getFont()
The font which is included in the style.
String
getKind()
Kind this is, in this case adsensehost#adStyle.
AdStyle
set(String fieldName,
Object value)
AdStyle
setColors(AdStyle.Colors colors)
The colors included in the style.
AdStyle
setCorners(String corners)
The style of the corners in the ad (deprecated: never populated, ignored).
AdStyle
setFont(AdStyle.Font font)
The font which is included in the style.
AdStyle
setKind(String kind)
Kind this is, in this case adsensehost#adStyle.
-
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
-
getColors
public AdStyle.Colors getColors()
The colors included in the style. These are represented as six hexadecimal characters, similar
to HTML color codes, but without the leading hash.
- Returns:
- value or
null
for none
-
setColors
public AdStyle setColors(AdStyle.Colors colors)
The colors included in the style. These are represented as six hexadecimal characters, similar
to HTML color codes, but without the leading hash.
- Parameters:
colors
- colors or null
for none
-
getCorners
public String getCorners()
The style of the corners in the ad (deprecated: never populated, ignored).
- Returns:
- value or
null
for none
-
setCorners
public AdStyle setCorners(String corners)
The style of the corners in the ad (deprecated: never populated, ignored).
- Parameters:
corners
- corners or null
for none
-
getFont
public AdStyle.Font getFont()
The font which is included in the style.
- Returns:
- value or
null
for none
-
setFont
public AdStyle setFont(AdStyle.Font font)
The font which is included in the style.
- Parameters:
font
- font or null
for none
-
getKind
public String getKind()
Kind this is, in this case adsensehost#adStyle.
- Returns:
- value or
null
for none
-
setKind
public AdStyle setKind(String kind)
Kind this is, in this case adsensehost#adStyle.
- Parameters:
kind
- kind or null
for none
-
set
public AdStyle set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AdStyle clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy