public final class BatchReport
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
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchReport.Outputs
Model definition for BatchReportOutputs.
|
static class |
BatchReport.TimeSpan
Period included in the report.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
BatchReport() |
| Modifier and Type | Method and Description |
|---|---|
BatchReport |
clone() |
java.lang.String |
getId()
The ID that YouTube assigns and uses to uniquely identify the report.
|
java.lang.String |
getKind()
This value specifies the type of data of this item.
|
java.util.List<BatchReport.Outputs> |
getOutputs()
Report outputs.
|
java.lang.String |
getReportId()
The ID of the the report definition.
|
BatchReport.TimeSpan |
getTimeSpan()
Period included in the report.
|
com.google.api.client.util.DateTime |
getTimeUpdated()
The time when the report was updated.
|
BatchReport |
set(java.lang.String fieldName,
java.lang.Object value) |
BatchReport |
setId(java.lang.String id)
The ID that YouTube assigns and uses to uniquely identify the report.
|
BatchReport |
setKind(java.lang.String kind)
This value specifies the type of data of this item.
|
BatchReport |
setOutputs(java.util.List<BatchReport.Outputs> outputs)
Report outputs.
|
BatchReport |
setReportId(java.lang.String reportId)
The ID of the the report definition.
|
BatchReport |
setTimeSpan(BatchReport.TimeSpan timeSpan)
Period included in the report.
|
BatchReport |
setTimeUpdated(com.google.api.client.util.DateTime timeUpdated)
The time when the report was updated.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getId()
null for nonepublic BatchReport setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic BatchReport setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.List<BatchReport.Outputs> getOutputs()
null for nonepublic BatchReport setOutputs(java.util.List<BatchReport.Outputs> outputs)
outputs - outputs or null for nonepublic java.lang.String getReportId()
null for nonepublic BatchReport setReportId(java.lang.String reportId)
reportId - reportId or null for nonepublic BatchReport.TimeSpan getTimeSpan()
null for nonepublic BatchReport setTimeSpan(BatchReport.TimeSpan timeSpan)
timeSpan - timeSpan or null for nonepublic com.google.api.client.util.DateTime getTimeUpdated()
null for nonepublic BatchReport setTimeUpdated(com.google.api.client.util.DateTime timeUpdated)
timeUpdated - timeUpdated or null for nonepublic BatchReport set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic BatchReport clone()
clone in class com.google.api.client.json.GenericJson