public final class AdSource extends 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 AdMob API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AdSource() |
| Modifier and Type | Method and Description |
|---|---|
AdSource |
clone() |
String |
getAdSourceId()
ID of this ad source.
|
String |
getName()
Resource name of this ad source.
|
String |
getTitle()
Display name of this ad source.
|
AdSource |
set(String fieldName,
Object value) |
AdSource |
setAdSourceId(String adSourceId)
ID of this ad source.
|
AdSource |
setName(String name)
Resource name of this ad source.
|
AdSource |
setTitle(String title)
Display name of this ad source.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAdSourceId()
null for nonepublic AdSource setAdSourceId(String adSourceId)
adSourceId - adSourceId or null for nonepublic String getName()
null for nonepublic AdSource setName(String name)
name - name or null for nonepublic String getTitle()
null for nonepublic AdSource setTitle(String title)
title - title or null for nonepublic AdSource set(String fieldName, Object value)
set in class GenericJsonpublic AdSource clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.