public final class QueryResponse
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 YouTube 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 |
---|
QueryResponse() |
Modifier and Type | Method and Description |
---|---|
QueryResponse |
clone() |
java.util.List<ResultTableColumnHeader> |
getColumnHeaders()
This value specifies information about the data returned in the `rows` fields.
|
Errors |
getErrors()
When set, indicates that the operation failed.
|
java.lang.String |
getKind()
This value specifies the type of data included in the API response.
|
java.util.List<java.util.List<java.lang.Object>> |
getRows()
The list contains all rows of the result table.
|
QueryResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
QueryResponse |
setColumnHeaders(java.util.List<ResultTableColumnHeader> columnHeaders)
This value specifies information about the data returned in the `rows` fields.
|
QueryResponse |
setErrors(Errors errors)
When set, indicates that the operation failed.
|
QueryResponse |
setKind(java.lang.String kind)
This value specifies the type of data included in the API response.
|
QueryResponse |
setRows(java.util.List<java.util.List<java.lang.Object>> rows)
The list contains all rows of the result table.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<ResultTableColumnHeader> getColumnHeaders()
null
for nonepublic QueryResponse setColumnHeaders(java.util.List<ResultTableColumnHeader> columnHeaders)
columnHeaders
- columnHeaders or null
for nonepublic Errors getErrors()
null
for nonepublic QueryResponse setErrors(Errors errors)
errors
- errors or null
for nonepublic java.lang.String getKind()
null
for nonepublic QueryResponse setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.List<java.util.List<java.lang.Object>> getRows()
null
for nonepublic QueryResponse setRows(java.util.List<java.util.List<java.lang.Object>> rows)
rows
- rows or null
for nonepublic QueryResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public QueryResponse clone()
clone
in class com.google.api.client.json.GenericJson