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 Campaign Manager 360 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
File |
clone() |
DateRange |
getDateRange()
The date range for which the file has report data.
|
String |
getEtag()
Etag of this resource.
|
String |
getFileName()
The filename of the file.
|
String |
getFormat()
The output format of the report.
|
Long |
getId()
The unique ID of this report file.
|
String |
getKind()
Identifies what kind of resource this is.
|
Long |
getLastModifiedTime()
The timestamp in milliseconds since epoch when this file was last modified.
|
Long |
getReportId()
The ID of the report this file was generated from.
|
String |
getStatus()
The status of the report file.
|
File.Urls |
getUrls()
The URLs where the completed report file can be downloaded.
|
File |
set(String fieldName,
Object value) |
File |
setDateRange(DateRange dateRange)
The date range for which the file has report data.
|
File |
setEtag(String etag)
Etag of this resource.
|
File |
setFileName(String fileName)
The filename of the file.
|
File |
setFormat(String format)
The output format of the report.
|
File |
setId(Long id)
The unique ID of this report file.
|
File |
setKind(String kind)
Identifies what kind of resource this is.
|
File |
setLastModifiedTime(Long lastModifiedTime)
The timestamp in milliseconds since epoch when this file was last modified.
|
File |
setReportId(Long reportId)
The ID of the report this file was generated from.
|
File |
setStatus(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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public DateRange getDateRange()
null
for nonepublic File setDateRange(DateRange dateRange)
dateRange
- dateRange or null
for nonepublic String getEtag()
null
for nonepublic File setEtag(String etag)
etag
- etag or null
for nonepublic String getFileName()
null
for nonepublic File setFileName(String fileName)
fileName
- fileName or null
for nonepublic String getFormat()
null
for nonepublic File setFormat(String format)
format
- format or null
for nonepublic Long getId()
null
for nonepublic File setId(Long id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic File setKind(String kind)
kind
- kind or null
for nonepublic Long getLastModifiedTime()
null
for nonepublic File setLastModifiedTime(Long lastModifiedTime)
lastModifiedTime
- lastModifiedTime or null
for nonepublic Long getReportId()
null
for nonepublic File setReportId(Long reportId)
reportId
- reportId or null
for nonepublic String getStatus()
null
for nonepublic File setStatus(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public File clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.