public final class ProfileRef
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ProfileRef() |
Modifier and Type | Method and Description |
---|---|
ProfileRef |
clone() |
java.lang.String |
getAccountId()
Account ID to which this view (profile) belongs.
|
java.lang.String |
getHref()
Link for this view (profile).
|
java.lang.String |
getId()
View (Profile) ID.
|
java.lang.String |
getInternalWebPropertyId()
Internal ID for the web property to which this view (profile) belongs.
|
java.lang.String |
getKind()
Analytics view (profile) reference.
|
java.lang.String |
getName()
Name of this view (profile).
|
java.lang.String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
|
ProfileRef |
set(java.lang.String fieldName,
java.lang.Object value) |
ProfileRef |
setAccountId(java.lang.String accountId)
Account ID to which this view (profile) belongs.
|
ProfileRef |
setHref(java.lang.String href)
Link for this view (profile).
|
ProfileRef |
setId(java.lang.String id)
View (Profile) ID.
|
ProfileRef |
setInternalWebPropertyId(java.lang.String internalWebPropertyId)
Internal ID for the web property to which this view (profile) belongs.
|
ProfileRef |
setKind(java.lang.String kind)
Analytics view (profile) reference.
|
ProfileRef |
setName(java.lang.String name)
Name of this view (profile).
|
ProfileRef |
setWebPropertyId(java.lang.String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getAccountId()
null
for nonepublic ProfileRef setAccountId(java.lang.String accountId)
accountId
- accountId or null
for nonepublic java.lang.String getHref()
null
for nonepublic ProfileRef setHref(java.lang.String href)
href
- href or null
for nonepublic java.lang.String getId()
null
for nonepublic ProfileRef setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getInternalWebPropertyId()
null
for nonepublic ProfileRef setInternalWebPropertyId(java.lang.String internalWebPropertyId)
internalWebPropertyId
- internalWebPropertyId or null
for nonepublic java.lang.String getKind()
null
for nonepublic ProfileRef setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic ProfileRef setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getWebPropertyId()
null
for nonepublic ProfileRef setWebPropertyId(java.lang.String webPropertyId)
webPropertyId
- webPropertyId or null
for nonepublic ProfileRef set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ProfileRef clone()
clone
in class com.google.api.client.json.GenericJson