public final class File
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 DCM/DFA Reporting And Trafficking 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 |
File.Urls
The URLs where the completed report file can be downloaded.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
File |
clone() |
DateRange |
getDateRange()
The date range for which the file has report data.
|
java.lang.String |
getEtag()
The eTag of this response for caching purposes.
|
java.lang.String |
getFileName()
The filename of the file.
|
java.lang.String |
getFormat()
The output format of the report.
|
java.lang.Long |
getId()
The unique ID of this report file.
|
java.lang.String |
getKind()
The kind of resource this is, in this case dfareporting#file.
|
java.lang.Long |
getLastModifiedTime()
The timestamp in milliseconds since epoch when this file was last modified.
|
java.lang.Long |
getReportId()
The ID of the report this file was generated from.
|
java.lang.String |
getStatus()
The status of the report file.
|
File.Urls |
getUrls()
The URLs where the completed report file can be downloaded.
|
File |
set(java.lang.String fieldName,
java.lang.Object value) |
File |
setDateRange(DateRange dateRange)
The date range for which the file has report data.
|
File |
setEtag(java.lang.String etag)
The eTag of this response for caching purposes.
|
File |
setFileName(java.lang.String fileName)
The filename of the file.
|
File |
setFormat(java.lang.String format)
The output format of the report.
|
File |
setId(java.lang.Long id)
The unique ID of this report file.
|
File |
setKind(java.lang.String kind)
The kind of resource this is, in this case dfareporting#file.
|
File |
setLastModifiedTime(java.lang.Long lastModifiedTime)
The timestamp in milliseconds since epoch when this file was last modified.
|
File |
setReportId(java.lang.Long reportId)
The ID of the report this file was generated from.
|
File |
setStatus(java.lang.String status)
The status of the report file.
|
File |
setUrls(File.Urls urls)
The URLs where the completed report file can be downloaded.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic DateRange getDateRange()
null for nonepublic File setDateRange(DateRange dateRange)
dateRange - dateRange or null for nonepublic java.lang.String getEtag()
null for nonepublic File setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getFileName()
null for nonepublic File setFileName(java.lang.String fileName)
fileName - fileName or null for nonepublic java.lang.String getFormat()
null for nonepublic File setFormat(java.lang.String format)
format - format or null for nonepublic java.lang.Long getId()
null for nonepublic File setId(java.lang.Long id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic File setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getLastModifiedTime()
null for nonepublic File setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime - lastModifiedTime or null for nonepublic java.lang.Long getReportId()
null for nonepublic File setReportId(java.lang.Long reportId)
reportId - reportId or null for nonepublic java.lang.String getStatus()
null for nonepublic File setStatus(java.lang.String status)
status - status or null for nonepublic File.Urls getUrls()
null for nonepublic File setUrls(File.Urls urls)
urls - urls or null for nonepublic File set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic File clone()
clone in class com.google.api.client.json.GenericJson