public final class AccountRef 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 Google Analytics 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 |
|---|
AccountRef() |
| Modifier and Type | Method and Description |
|---|---|
AccountRef |
clone() |
String |
getHref()
Link for this account.
|
String |
getId()
Account ID.
|
String |
getKind()
Analytics account reference.
|
String |
getName()
Account name.
|
AccountRef |
set(String fieldName,
Object value) |
AccountRef |
setHref(String href)
Link for this account.
|
AccountRef |
setId(String id)
Account ID.
|
AccountRef |
setKind(String kind)
Analytics account reference.
|
AccountRef |
setName(String name)
Account name.
|
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 getHref()
null for nonepublic AccountRef setHref(String href)
href - href or null for nonepublic String getId()
null for nonepublic AccountRef setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic AccountRef setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic AccountRef setName(String name)
name - name or null for nonepublic AccountRef set(String fieldName, Object value)
set in class GenericJsonpublic AccountRef clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.