target.apidocs.com.google.api.services.analytics.model.AccountTicket.html Maven / Gradle / Ivy
AccountTicket (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class AccountTicket
- 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.AccountTicket
-
public final class AccountTicket
extends GenericJson
JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and
the basic information for the account, property and 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
AccountTicket()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountTicket
clone()
Account
getAccount()
Account for this ticket.
String
getId()
Account ticket ID used to access the account ticket.
String
getKind()
Resource type for account ticket.
Profile
getProfile()
View (Profile) for the account.
String
getRedirectUri()
Redirect URI where the user will be sent after accepting Terms of Service.
Webproperty
getWebproperty()
Web property for the account.
AccountTicket
set(String fieldName,
Object value)
AccountTicket
setAccount(Account account)
Account for this ticket.
AccountTicket
setId(String id)
Account ticket ID used to access the account ticket.
AccountTicket
setKind(String kind)
Resource type for account ticket.
AccountTicket
setProfile(Profile profile)
View (Profile) for the account.
AccountTicket
setRedirectUri(String redirectUri)
Redirect URI where the user will be sent after accepting Terms of Service.
AccountTicket
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()
Account for this ticket.
- Returns:
- value or
null
for none
-
setAccount
public AccountTicket setAccount(Account account)
Account for this ticket.
- Parameters:
account
- account or null
for none
-
getId
public String getId()
Account ticket ID used to access the account ticket.
- Returns:
- value or
null
for none
-
setId
public AccountTicket setId(String id)
Account ticket ID used to access the account ticket.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
Resource type for account ticket.
- Returns:
- value or
null
for none
-
setKind
public AccountTicket 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 AccountTicket setProfile(Profile profile)
View (Profile) for the account.
- Parameters:
profile
- profile or null
for none
-
getRedirectUri
public String getRedirectUri()
Redirect URI where the user will be sent after accepting Terms of Service. Must be configured
in APIs console as a callback URL.
- Returns:
- value or
null
for none
-
setRedirectUri
public AccountTicket setRedirectUri(String redirectUri)
Redirect URI where the user will be sent after accepting Terms of Service. Must be configured
in APIs console as a callback URL.
- Parameters:
redirectUri
- redirectUri or null
for none
-
getWebproperty
public Webproperty getWebproperty()
Web property for the account.
- Returns:
- value or
null
for none
-
setWebproperty
public AccountTicket setWebproperty(Webproperty webproperty)
Web property for the account.
- Parameters:
webproperty
- webproperty or null
for none
-
set
public AccountTicket set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountTicket clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.