target.apidocs.com.google.api.services.analytics.model.AccountTreeResponse.html Maven / Gradle / Ivy
AccountTreeResponse (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class AccountTreeResponse
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.AccountTreeResponse
-
public final class AccountTreeResponse
extends GenericJson
JSON template for an Analytics account tree response. The account tree response is used in the
provisioning api to return the result of creating an account, property, and view (profile).
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
- Author:
- Google, Inc.
-
-
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
AccountTreeResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountTreeResponse
clone()
Account
getAccount()
The account created.
String
getKind()
Resource type for account ticket.
Profile
getProfile()
View (Profile) for the account.
Webproperty
getWebproperty()
Web property for the account.
AccountTreeResponse
set(String fieldName,
Object value)
AccountTreeResponse
setAccount(Account account)
The account created.
AccountTreeResponse
setKind(String kind)
Resource type for account ticket.
AccountTreeResponse
setProfile(Profile profile)
View (Profile) for the account.
AccountTreeResponse
setWebproperty(Webproperty webproperty)
Web property for the account.
-
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
-
getAccount
public Account getAccount()
The account created.
- Returns:
- value or
null
for none
-
setAccount
public AccountTreeResponse setAccount(Account account)
The account created.
- Parameters:
account
- account or null
for none
-
getKind
public String getKind()
Resource type for account ticket.
- Returns:
- value or
null
for none
-
setKind
public AccountTreeResponse setKind(String kind)
Resource type for account ticket.
- Parameters:
kind
- kind or null
for none
-
getProfile
public Profile getProfile()
View (Profile) for the account.
- Returns:
- value or
null
for none
-
setProfile
public AccountTreeResponse setProfile(Profile profile)
View (Profile) for the account.
- Parameters:
profile
- profile or null
for none
-
getWebproperty
public Webproperty getWebproperty()
Web property for the account.
- Returns:
- value or
null
for none
-
setWebproperty
public AccountTreeResponse setWebproperty(Webproperty webproperty)
Web property for the account.
- Parameters:
webproperty
- webproperty or null
for none
-
set
public AccountTreeResponse set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountTreeResponse clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.