File class

Represents a File resource.

A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".

Constructors

File({DateRange? dateRange, String? etag, String? fileName, String? format, String? id, String? kind, String? lastModifiedTime, String? reportId, String? status, FileUrls? urls})
File.fromJson(Map json_)

Properties

dateRange DateRange?
The date range for which the file has report data.
getter/setter pair
etag String?
Etag of this resource.
getter/setter pair
fileName String?
The filename of the file.
getter/setter pair
format String?
The output format of the report.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique ID of this report file.
getter/setter pair
kind String?
Identifies what kind of resource this is.
getter/setter pair
lastModifiedTime String?
The timestamp in milliseconds since epoch when this file was last modified.
getter/setter pair
reportId String?
The ID of the report this file was generated from.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status of the report file. Possible string values are:
getter/setter pair
urls FileUrls?
The URLs where the completed report file can be downloaded.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited