public final class CustomDataSources
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 |
---|
CustomDataSources() |
Modifier and Type | Method and Description |
---|---|
CustomDataSources |
clone() |
java.util.List<CustomDataSource> |
getItems()
Collection of custom data sources.
|
java.lang.Integer |
getItemsPerPage()
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
java.lang.String |
getKind()
Collection type.
|
java.lang.String |
getNextLink()
Link to next page for this custom data source collection.
|
java.lang.String |
getPreviousLink()
Link to previous page for this custom data source collection.
|
java.lang.Integer |
getStartIndex()
The starting index of the resources, which is 1 by default or otherwise specified by the start-
index query parameter.
|
java.lang.Integer |
getTotalResults()
The total number of results for the query, regardless of the number of results in the response.
|
java.lang.String |
getUsername()
Email ID of the authenticated user
|
CustomDataSources |
set(java.lang.String fieldName,
java.lang.Object value) |
CustomDataSources |
setItems(java.util.List<CustomDataSource> items)
Collection of custom data sources.
|
CustomDataSources |
setItemsPerPage(java.lang.Integer itemsPerPage)
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
CustomDataSources |
setKind(java.lang.String kind)
Collection type.
|
CustomDataSources |
setNextLink(java.lang.String nextLink)
Link to next page for this custom data source collection.
|
CustomDataSources |
setPreviousLink(java.lang.String previousLink)
Link to previous page for this custom data source collection.
|
CustomDataSources |
setStartIndex(java.lang.Integer startIndex)
The starting index of the resources, which is 1 by default or otherwise specified by the start-
index query parameter.
|
CustomDataSources |
setTotalResults(java.lang.Integer totalResults)
The total number of results for the query, regardless of the number of results in the response.
|
CustomDataSources |
setUsername(java.lang.String username)
Email ID of the authenticated user
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<CustomDataSource> getItems()
null
for nonepublic CustomDataSources setItems(java.util.List<CustomDataSource> items)
items
- items or null
for nonepublic java.lang.Integer getItemsPerPage()
null
for nonepublic CustomDataSources setItemsPerPage(java.lang.Integer itemsPerPage)
itemsPerPage
- itemsPerPage or null
for nonepublic java.lang.String getKind()
null
for nonepublic CustomDataSources setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getNextLink()
null
for nonepublic CustomDataSources setNextLink(java.lang.String nextLink)
nextLink
- nextLink or null
for nonepublic java.lang.String getPreviousLink()
null
for nonepublic CustomDataSources setPreviousLink(java.lang.String previousLink)
previousLink
- previousLink or null
for nonepublic java.lang.Integer getStartIndex()
null
for nonepublic CustomDataSources setStartIndex(java.lang.Integer startIndex)
startIndex
- startIndex or null
for nonepublic java.lang.Integer getTotalResults()
null
for nonepublic CustomDataSources setTotalResults(java.lang.Integer totalResults)
totalResults
- totalResults or null
for nonepublic java.lang.String getUsername()
null
for nonepublic CustomDataSources setUsername(java.lang.String username)
username
- username or null
for nonepublic CustomDataSources set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CustomDataSources clone()
clone
in class com.google.api.client.json.GenericJson