target.apidocs.com.google.api.services.analytics.model.WebPropertyRef.html Maven / Gradle / Ivy
WebPropertyRef (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class WebPropertyRef
- 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.WebPropertyRef
-
public final class WebPropertyRef
extends GenericJson
JSON template for a web property reference.
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
WebPropertyRef()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
WebPropertyRef
clone()
String
getAccountId()
Account ID to which this web property belongs.
String
getHref()
Link for this web property.
String
getId()
Web property ID of the form UA-XXXXX-YY.
String
getInternalWebPropertyId()
Internal ID for this web property.
String
getKind()
Analytics web property reference.
String
getName()
Name of this web property.
WebPropertyRef
set(String fieldName,
Object value)
WebPropertyRef
setAccountId(String accountId)
Account ID to which this web property belongs.
WebPropertyRef
setHref(String href)
Link for this web property.
WebPropertyRef
setId(String id)
Web property ID of the form UA-XXXXX-YY.
WebPropertyRef
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for this web property.
WebPropertyRef
setKind(String kind)
Analytics web property reference.
WebPropertyRef
setName(String name)
Name of this web property.
-
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
-
getAccountId
public String getAccountId()
Account ID to which this web property belongs.
- Returns:
- value or
null
for none
-
setAccountId
public WebPropertyRef setAccountId(String accountId)
Account ID to which this web property belongs.
- Parameters:
accountId
- accountId or null
for none
-
getHref
public String getHref()
Link for this web property.
- Returns:
- value or
null
for none
-
setHref
public WebPropertyRef setHref(String href)
Link for this web property.
- Parameters:
href
- href or null
for none
-
getId
public String getId()
Web property ID of the form UA-XXXXX-YY.
- Returns:
- value or
null
for none
-
setId
public WebPropertyRef setId(String id)
Web property ID of the form UA-XXXXX-YY.
- Parameters:
id
- id or null
for none
-
getInternalWebPropertyId
public String getInternalWebPropertyId()
Internal ID for this web property.
- Returns:
- value or
null
for none
-
setInternalWebPropertyId
public WebPropertyRef setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for this web property.
- Parameters:
internalWebPropertyId
- internalWebPropertyId or null
for none
-
getKind
public String getKind()
Analytics web property reference.
- Returns:
- value or
null
for none
-
setKind
public WebPropertyRef setKind(String kind)
Analytics web property reference.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Name of this web property.
- Returns:
- value or
null
for none
-
setName
public WebPropertyRef setName(String name)
Name of this web property.
- Parameters:
name
- name or null
for none
-
set
public WebPropertyRef set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public WebPropertyRef clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.