Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: generated/googleapis_beta/lib/toolresults/v1beta3.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis_beta.toolresults.v1beta3; 3 library googleapis_beta.toolresults.v1beta3;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after
1715 1715
1716 Any.fromJson(core.Map _json) { 1716 Any.fromJson(core.Map _json) {
1717 if (_json.containsKey("typeUrl")) { 1717 if (_json.containsKey("typeUrl")) {
1718 typeUrl = _json["typeUrl"]; 1718 typeUrl = _json["typeUrl"];
1719 } 1719 }
1720 if (_json.containsKey("value")) { 1720 if (_json.containsKey("value")) {
1721 value = _json["value"]; 1721 value = _json["value"];
1722 } 1722 }
1723 } 1723 }
1724 1724
1725 core.Map toJson() { 1725 core.Map<core.String, core.Object> toJson() {
1726 var _json = new core.Map(); 1726 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1727 if (typeUrl != null) { 1727 if (typeUrl != null) {
1728 _json["typeUrl"] = typeUrl; 1728 _json["typeUrl"] = typeUrl;
1729 } 1729 }
1730 if (value != null) { 1730 if (value != null) {
1731 _json["value"] = value; 1731 _json["value"] = value;
1732 } 1732 }
1733 return _json; 1733 return _json;
1734 } 1734 }
1735 } 1735 }
1736 1736
1737 /** 1737 /**
1738 * Encapsulates the metadata for basic sample series represented by a line chart 1738 * Encapsulates the metadata for basic sample series represented by a line chart
1739 */ 1739 */
1740 class BasicPerfSampleSeries { 1740 class BasicPerfSampleSeries {
1741 /** 1741 /**
1742 * 1742 *
1743 * Possible string values are: 1743 * Possible string values are:
1744 * - "cpu" 1744 * - "cpu"
1745 * - "graphics" 1745 * - "graphics"
1746 * - "memory" 1746 * - "memory"
1747 * - "network" 1747 * - "network"
1748 * - "perfMetricTypeUnspecified" 1748 * - "perfMetricTypeUnspecified"
1749 */ 1749 */
1750 core.String perfMetricType; 1750 core.String perfMetricType;
1751 /** 1751 /**
1752 * 1752 *
1753 * Possible string values are: 1753 * Possible string values are:
1754 * - "byte"
1754 * - "bytesPerSecond" 1755 * - "bytesPerSecond"
1755 * - "framesPerSecond" 1756 * - "framesPerSecond"
1756 * - "kibibyte" 1757 * - "kibibyte"
1757 * - "percent" 1758 * - "percent"
1758 * - "perfUnitUnspecified" 1759 * - "perfUnitUnspecified"
1759 */ 1760 */
1760 core.String perfUnit; 1761 core.String perfUnit;
1761 /** 1762 /**
1762 * 1763 *
1763 * Possible string values are: 1764 * Possible string values are:
(...skipping 20 matching lines...) Expand all
1784 perfMetricType = _json["perfMetricType"]; 1785 perfMetricType = _json["perfMetricType"];
1785 } 1786 }
1786 if (_json.containsKey("perfUnit")) { 1787 if (_json.containsKey("perfUnit")) {
1787 perfUnit = _json["perfUnit"]; 1788 perfUnit = _json["perfUnit"];
1788 } 1789 }
1789 if (_json.containsKey("sampleSeriesLabel")) { 1790 if (_json.containsKey("sampleSeriesLabel")) {
1790 sampleSeriesLabel = _json["sampleSeriesLabel"]; 1791 sampleSeriesLabel = _json["sampleSeriesLabel"];
1791 } 1792 }
1792 } 1793 }
1793 1794
1794 core.Map toJson() { 1795 core.Map<core.String, core.Object> toJson() {
1795 var _json = new core.Map(); 1796 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1796 if (perfMetricType != null) { 1797 if (perfMetricType != null) {
1797 _json["perfMetricType"] = perfMetricType; 1798 _json["perfMetricType"] = perfMetricType;
1798 } 1799 }
1799 if (perfUnit != null) { 1800 if (perfUnit != null) {
1800 _json["perfUnit"] = perfUnit; 1801 _json["perfUnit"] = perfUnit;
1801 } 1802 }
1802 if (sampleSeriesLabel != null) { 1803 if (sampleSeriesLabel != null) {
1803 _json["sampleSeriesLabel"] = sampleSeriesLabel; 1804 _json["sampleSeriesLabel"] = sampleSeriesLabel;
1804 } 1805 }
1805 return _json; 1806 return _json;
(...skipping 11 matching lines...) Expand all
1817 core.List<PerfSample> perfSamples; 1818 core.List<PerfSample> perfSamples;
1818 1819
1819 BatchCreatePerfSamplesRequest(); 1820 BatchCreatePerfSamplesRequest();
1820 1821
1821 BatchCreatePerfSamplesRequest.fromJson(core.Map _json) { 1822 BatchCreatePerfSamplesRequest.fromJson(core.Map _json) {
1822 if (_json.containsKey("perfSamples")) { 1823 if (_json.containsKey("perfSamples")) {
1823 perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson( value)).toList(); 1824 perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson( value)).toList();
1824 } 1825 }
1825 } 1826 }
1826 1827
1827 core.Map toJson() { 1828 core.Map<core.String, core.Object> toJson() {
1828 var _json = new core.Map(); 1829 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1829 if (perfSamples != null) { 1830 if (perfSamples != null) {
1830 _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList (); 1831 _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList ();
1831 } 1832 }
1832 return _json; 1833 return _json;
1833 } 1834 }
1834 } 1835 }
1835 1836
1836 class BatchCreatePerfSamplesResponse { 1837 class BatchCreatePerfSamplesResponse {
1837 core.List<PerfSample> perfSamples; 1838 core.List<PerfSample> perfSamples;
1838 1839
1839 BatchCreatePerfSamplesResponse(); 1840 BatchCreatePerfSamplesResponse();
1840 1841
1841 BatchCreatePerfSamplesResponse.fromJson(core.Map _json) { 1842 BatchCreatePerfSamplesResponse.fromJson(core.Map _json) {
1842 if (_json.containsKey("perfSamples")) { 1843 if (_json.containsKey("perfSamples")) {
1843 perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson( value)).toList(); 1844 perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson( value)).toList();
1844 } 1845 }
1845 } 1846 }
1846 1847
1847 core.Map toJson() { 1848 core.Map<core.String, core.Object> toJson() {
1848 var _json = new core.Map(); 1849 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1849 if (perfSamples != null) { 1850 if (perfSamples != null) {
1850 _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList (); 1851 _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList ();
1851 } 1852 }
1852 return _json; 1853 return _json;
1853 } 1854 }
1854 } 1855 }
1855 1856
1856 class CPUInfo { 1857 class CPUInfo {
1857 /** 1858 /**
1858 * description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A' 1859 * description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A'
(...skipping 11 matching lines...) Expand all
1870 cpuProcessor = _json["cpuProcessor"]; 1871 cpuProcessor = _json["cpuProcessor"];
1871 } 1872 }
1872 if (_json.containsKey("cpuSpeedInGhz")) { 1873 if (_json.containsKey("cpuSpeedInGhz")) {
1873 cpuSpeedInGhz = _json["cpuSpeedInGhz"]; 1874 cpuSpeedInGhz = _json["cpuSpeedInGhz"];
1874 } 1875 }
1875 if (_json.containsKey("numberOfCores")) { 1876 if (_json.containsKey("numberOfCores")) {
1876 numberOfCores = _json["numberOfCores"]; 1877 numberOfCores = _json["numberOfCores"];
1877 } 1878 }
1878 } 1879 }
1879 1880
1880 core.Map toJson() { 1881 core.Map<core.String, core.Object> toJson() {
1881 var _json = new core.Map(); 1882 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1882 if (cpuProcessor != null) { 1883 if (cpuProcessor != null) {
1883 _json["cpuProcessor"] = cpuProcessor; 1884 _json["cpuProcessor"] = cpuProcessor;
1884 } 1885 }
1885 if (cpuSpeedInGhz != null) { 1886 if (cpuSpeedInGhz != null) {
1886 _json["cpuSpeedInGhz"] = cpuSpeedInGhz; 1887 _json["cpuSpeedInGhz"] = cpuSpeedInGhz;
1887 } 1888 }
1888 if (numberOfCores != null) { 1889 if (numberOfCores != null) {
1889 _json["numberOfCores"] = numberOfCores; 1890 _json["numberOfCores"] = numberOfCores;
1890 } 1891 }
1891 return _json; 1892 return _json;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1957 1958
1958 Duration.fromJson(core.Map _json) { 1959 Duration.fromJson(core.Map _json) {
1959 if (_json.containsKey("nanos")) { 1960 if (_json.containsKey("nanos")) {
1960 nanos = _json["nanos"]; 1961 nanos = _json["nanos"];
1961 } 1962 }
1962 if (_json.containsKey("seconds")) { 1963 if (_json.containsKey("seconds")) {
1963 seconds = _json["seconds"]; 1964 seconds = _json["seconds"];
1964 } 1965 }
1965 } 1966 }
1966 1967
1967 core.Map toJson() { 1968 core.Map<core.String, core.Object> toJson() {
1968 var _json = new core.Map(); 1969 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1969 if (nanos != null) { 1970 if (nanos != null) {
1970 _json["nanos"] = nanos; 1971 _json["nanos"] = nanos;
1971 } 1972 }
1972 if (seconds != null) { 1973 if (seconds != null) {
1973 _json["seconds"] = seconds; 1974 _json["seconds"] = seconds;
1974 } 1975 }
1975 return _json; 1976 return _json;
1976 } 1977 }
1977 } 1978 }
1978 1979
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
2066 outcome = new Outcome.fromJson(_json["outcome"]); 2067 outcome = new Outcome.fromJson(_json["outcome"]);
2067 } 2068 }
2068 if (_json.containsKey("state")) { 2069 if (_json.containsKey("state")) {
2069 state = _json["state"]; 2070 state = _json["state"];
2070 } 2071 }
2071 if (_json.containsKey("testExecutionMatrixId")) { 2072 if (_json.containsKey("testExecutionMatrixId")) {
2072 testExecutionMatrixId = _json["testExecutionMatrixId"]; 2073 testExecutionMatrixId = _json["testExecutionMatrixId"];
2073 } 2074 }
2074 } 2075 }
2075 2076
2076 core.Map toJson() { 2077 core.Map<core.String, core.Object> toJson() {
2077 var _json = new core.Map(); 2078 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2078 if (completionTime != null) { 2079 if (completionTime != null) {
2079 _json["completionTime"] = (completionTime).toJson(); 2080 _json["completionTime"] = (completionTime).toJson();
2080 } 2081 }
2081 if (creationTime != null) { 2082 if (creationTime != null) {
2082 _json["creationTime"] = (creationTime).toJson(); 2083 _json["creationTime"] = (creationTime).toJson();
2083 } 2084 }
2084 if (executionId != null) { 2085 if (executionId != null) {
2085 _json["executionId"] = executionId; 2086 _json["executionId"] = executionId;
2086 } 2087 }
2087 if (outcome != null) { 2088 if (outcome != null) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 otherNativeCrash = _json["otherNativeCrash"]; 2129 otherNativeCrash = _json["otherNativeCrash"];
2129 } 2130 }
2130 if (_json.containsKey("timedOut")) { 2131 if (_json.containsKey("timedOut")) {
2131 timedOut = _json["timedOut"]; 2132 timedOut = _json["timedOut"];
2132 } 2133 }
2133 if (_json.containsKey("unableToCrawl")) { 2134 if (_json.containsKey("unableToCrawl")) {
2134 unableToCrawl = _json["unableToCrawl"]; 2135 unableToCrawl = _json["unableToCrawl"];
2135 } 2136 }
2136 } 2137 }
2137 2138
2138 core.Map toJson() { 2139 core.Map<core.String, core.Object> toJson() {
2139 var _json = new core.Map(); 2140 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2140 if (crashed != null) { 2141 if (crashed != null) {
2141 _json["crashed"] = crashed; 2142 _json["crashed"] = crashed;
2142 } 2143 }
2143 if (notInstalled != null) { 2144 if (notInstalled != null) {
2144 _json["notInstalled"] = notInstalled; 2145 _json["notInstalled"] = notInstalled;
2145 } 2146 }
2146 if (otherNativeCrash != null) { 2147 if (otherNativeCrash != null) {
2147 _json["otherNativeCrash"] = otherNativeCrash; 2148 _json["otherNativeCrash"] = otherNativeCrash;
2148 } 2149 }
2149 if (timedOut != null) { 2150 if (timedOut != null) {
(...skipping 23 matching lines...) Expand all
2173 core.String fileUri; 2174 core.String fileUri;
2174 2175
2175 FileReference(); 2176 FileReference();
2176 2177
2177 FileReference.fromJson(core.Map _json) { 2178 FileReference.fromJson(core.Map _json) {
2178 if (_json.containsKey("fileUri")) { 2179 if (_json.containsKey("fileUri")) {
2179 fileUri = _json["fileUri"]; 2180 fileUri = _json["fileUri"];
2180 } 2181 }
2181 } 2182 }
2182 2183
2183 core.Map toJson() { 2184 core.Map<core.String, core.Object> toJson() {
2184 var _json = new core.Map(); 2185 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2185 if (fileUri != null) { 2186 if (fileUri != null) {
2186 _json["fileUri"] = fileUri; 2187 _json["fileUri"] = fileUri;
2187 } 2188 }
2188 return _json; 2189 return _json;
2189 } 2190 }
2190 } 2191 }
2191 2192
2192 /** 2193 /**
2193 * A History represents a sorted list of Executions ordered by the 2194 * A History represents a sorted list of Executions ordered by the
2194 * start_timestamp_millis field (descending). It can be used to group all the 2195 * start_timestamp_millis field (descending). It can be used to group all the
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2229 displayName = _json["displayName"]; 2230 displayName = _json["displayName"];
2230 } 2231 }
2231 if (_json.containsKey("historyId")) { 2232 if (_json.containsKey("historyId")) {
2232 historyId = _json["historyId"]; 2233 historyId = _json["historyId"];
2233 } 2234 }
2234 if (_json.containsKey("name")) { 2235 if (_json.containsKey("name")) {
2235 name = _json["name"]; 2236 name = _json["name"];
2236 } 2237 }
2237 } 2238 }
2238 2239
2239 core.Map toJson() { 2240 core.Map<core.String, core.Object> toJson() {
2240 var _json = new core.Map(); 2241 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2241 if (displayName != null) { 2242 if (displayName != null) {
2242 _json["displayName"] = displayName; 2243 _json["displayName"] = displayName;
2243 } 2244 }
2244 if (historyId != null) { 2245 if (historyId != null) {
2245 _json["historyId"] = historyId; 2246 _json["historyId"] = historyId;
2246 } 2247 }
2247 if (name != null) { 2248 if (name != null) {
2248 _json["name"] = name; 2249 _json["name"] = name;
2249 } 2250 }
2250 return _json; 2251 return _json;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
2282 sourceImage = new ToolOutputReference.fromJson(_json["sourceImage"]); 2283 sourceImage = new ToolOutputReference.fromJson(_json["sourceImage"]);
2283 } 2284 }
2284 if (_json.containsKey("stepId")) { 2285 if (_json.containsKey("stepId")) {
2285 stepId = _json["stepId"]; 2286 stepId = _json["stepId"];
2286 } 2287 }
2287 if (_json.containsKey("thumbnail")) { 2288 if (_json.containsKey("thumbnail")) {
2288 thumbnail = new Thumbnail.fromJson(_json["thumbnail"]); 2289 thumbnail = new Thumbnail.fromJson(_json["thumbnail"]);
2289 } 2290 }
2290 } 2291 }
2291 2292
2292 core.Map toJson() { 2293 core.Map<core.String, core.Object> toJson() {
2293 var _json = new core.Map(); 2294 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2294 if (error != null) { 2295 if (error != null) {
2295 _json["error"] = (error).toJson(); 2296 _json["error"] = (error).toJson();
2296 } 2297 }
2297 if (sourceImage != null) { 2298 if (sourceImage != null) {
2298 _json["sourceImage"] = (sourceImage).toJson(); 2299 _json["sourceImage"] = (sourceImage).toJson();
2299 } 2300 }
2300 if (stepId != null) { 2301 if (stepId != null) {
2301 _json["stepId"] = stepId; 2302 _json["stepId"] = stepId;
2302 } 2303 }
2303 if (thumbnail != null) { 2304 if (thumbnail != null) {
(...skipping 23 matching lines...) Expand all
2327 2328
2328 InconclusiveDetail.fromJson(core.Map _json) { 2329 InconclusiveDetail.fromJson(core.Map _json) {
2329 if (_json.containsKey("abortedByUser")) { 2330 if (_json.containsKey("abortedByUser")) {
2330 abortedByUser = _json["abortedByUser"]; 2331 abortedByUser = _json["abortedByUser"];
2331 } 2332 }
2332 if (_json.containsKey("infrastructureFailure")) { 2333 if (_json.containsKey("infrastructureFailure")) {
2333 infrastructureFailure = _json["infrastructureFailure"]; 2334 infrastructureFailure = _json["infrastructureFailure"];
2334 } 2335 }
2335 } 2336 }
2336 2337
2337 core.Map toJson() { 2338 core.Map<core.String, core.Object> toJson() {
2338 var _json = new core.Map(); 2339 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2339 if (abortedByUser != null) { 2340 if (abortedByUser != null) {
2340 _json["abortedByUser"] = abortedByUser; 2341 _json["abortedByUser"] = abortedByUser;
2341 } 2342 }
2342 if (infrastructureFailure != null) { 2343 if (infrastructureFailure != null) {
2343 _json["infrastructureFailure"] = infrastructureFailure; 2344 _json["infrastructureFailure"] = infrastructureFailure;
2344 } 2345 }
2345 return _json; 2346 return _json;
2346 } 2347 }
2347 } 2348 }
2348 2349
(...skipping 15 matching lines...) Expand all
2364 2365
2365 ListExecutionsResponse.fromJson(core.Map _json) { 2366 ListExecutionsResponse.fromJson(core.Map _json) {
2366 if (_json.containsKey("executions")) { 2367 if (_json.containsKey("executions")) {
2367 executions = _json["executions"].map((value) => new Execution.fromJson(val ue)).toList(); 2368 executions = _json["executions"].map((value) => new Execution.fromJson(val ue)).toList();
2368 } 2369 }
2369 if (_json.containsKey("nextPageToken")) { 2370 if (_json.containsKey("nextPageToken")) {
2370 nextPageToken = _json["nextPageToken"]; 2371 nextPageToken = _json["nextPageToken"];
2371 } 2372 }
2372 } 2373 }
2373 2374
2374 core.Map toJson() { 2375 core.Map<core.String, core.Object> toJson() {
2375 var _json = new core.Map(); 2376 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2376 if (executions != null) { 2377 if (executions != null) {
2377 _json["executions"] = executions.map((value) => (value).toJson()).toList() ; 2378 _json["executions"] = executions.map((value) => (value).toJson()).toList() ;
2378 } 2379 }
2379 if (nextPageToken != null) { 2380 if (nextPageToken != null) {
2380 _json["nextPageToken"] = nextPageToken; 2381 _json["nextPageToken"] = nextPageToken;
2381 } 2382 }
2382 return _json; 2383 return _json;
2383 } 2384 }
2384 } 2385 }
2385 2386
(...skipping 17 matching lines...) Expand all
2403 2404
2404 ListHistoriesResponse.fromJson(core.Map _json) { 2405 ListHistoriesResponse.fromJson(core.Map _json) {
2405 if (_json.containsKey("histories")) { 2406 if (_json.containsKey("histories")) {
2406 histories = _json["histories"].map((value) => new History.fromJson(value)) .toList(); 2407 histories = _json["histories"].map((value) => new History.fromJson(value)) .toList();
2407 } 2408 }
2408 if (_json.containsKey("nextPageToken")) { 2409 if (_json.containsKey("nextPageToken")) {
2409 nextPageToken = _json["nextPageToken"]; 2410 nextPageToken = _json["nextPageToken"];
2410 } 2411 }
2411 } 2412 }
2412 2413
2413 core.Map toJson() { 2414 core.Map<core.String, core.Object> toJson() {
2414 var _json = new core.Map(); 2415 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2415 if (histories != null) { 2416 if (histories != null) {
2416 _json["histories"] = histories.map((value) => (value).toJson()).toList(); 2417 _json["histories"] = histories.map((value) => (value).toJson()).toList();
2417 } 2418 }
2418 if (nextPageToken != null) { 2419 if (nextPageToken != null) {
2419 _json["nextPageToken"] = nextPageToken; 2420 _json["nextPageToken"] = nextPageToken;
2420 } 2421 }
2421 return _json; 2422 return _json;
2422 } 2423 }
2423 } 2424 }
2424 2425
2425 class ListPerfSampleSeriesResponse { 2426 class ListPerfSampleSeriesResponse {
2426 /** The resulting PerfSampleSeries sorted by id */ 2427 /** The resulting PerfSampleSeries sorted by id */
2427 core.List<PerfSampleSeries> perfSampleSeries; 2428 core.List<PerfSampleSeries> perfSampleSeries;
2428 2429
2429 ListPerfSampleSeriesResponse(); 2430 ListPerfSampleSeriesResponse();
2430 2431
2431 ListPerfSampleSeriesResponse.fromJson(core.Map _json) { 2432 ListPerfSampleSeriesResponse.fromJson(core.Map _json) {
2432 if (_json.containsKey("perfSampleSeries")) { 2433 if (_json.containsKey("perfSampleSeries")) {
2433 perfSampleSeries = _json["perfSampleSeries"].map((value) => new PerfSample Series.fromJson(value)).toList(); 2434 perfSampleSeries = _json["perfSampleSeries"].map((value) => new PerfSample Series.fromJson(value)).toList();
2434 } 2435 }
2435 } 2436 }
2436 2437
2437 core.Map toJson() { 2438 core.Map<core.String, core.Object> toJson() {
2438 var _json = new core.Map(); 2439 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2439 if (perfSampleSeries != null) { 2440 if (perfSampleSeries != null) {
2440 _json["perfSampleSeries"] = perfSampleSeries.map((value) => (value).toJson ()).toList(); 2441 _json["perfSampleSeries"] = perfSampleSeries.map((value) => (value).toJson ()).toList();
2441 } 2442 }
2442 return _json; 2443 return _json;
2443 } 2444 }
2444 } 2445 }
2445 2446
2446 class ListPerfSamplesResponse { 2447 class ListPerfSamplesResponse {
2447 /** 2448 /**
2448 * Optional, returned if result size exceeds the page size specified in the 2449 * Optional, returned if result size exceeds the page size specified in the
2449 * request (or the default page size, 500, if unspecified). It indicates the 2450 * request (or the default page size, 500, if unspecified). It indicates the
2450 * last sample timestamp to be used as page_token in subsequent request 2451 * last sample timestamp to be used as page_token in subsequent request
2451 */ 2452 */
2452 core.String nextPageToken; 2453 core.String nextPageToken;
2453 core.List<PerfSample> perfSamples; 2454 core.List<PerfSample> perfSamples;
2454 2455
2455 ListPerfSamplesResponse(); 2456 ListPerfSamplesResponse();
2456 2457
2457 ListPerfSamplesResponse.fromJson(core.Map _json) { 2458 ListPerfSamplesResponse.fromJson(core.Map _json) {
2458 if (_json.containsKey("nextPageToken")) { 2459 if (_json.containsKey("nextPageToken")) {
2459 nextPageToken = _json["nextPageToken"]; 2460 nextPageToken = _json["nextPageToken"];
2460 } 2461 }
2461 if (_json.containsKey("perfSamples")) { 2462 if (_json.containsKey("perfSamples")) {
2462 perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson( value)).toList(); 2463 perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson( value)).toList();
2463 } 2464 }
2464 } 2465 }
2465 2466
2466 core.Map toJson() { 2467 core.Map<core.String, core.Object> toJson() {
2467 var _json = new core.Map(); 2468 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2468 if (nextPageToken != null) { 2469 if (nextPageToken != null) {
2469 _json["nextPageToken"] = nextPageToken; 2470 _json["nextPageToken"] = nextPageToken;
2470 } 2471 }
2471 if (perfSamples != null) { 2472 if (perfSamples != null) {
2472 _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList (); 2473 _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList ();
2473 } 2474 }
2474 return _json; 2475 return _json;
2475 } 2476 }
2476 } 2477 }
2477 2478
(...skipping 22 matching lines...) Expand all
2500 2501
2501 ListStepThumbnailsResponse.fromJson(core.Map _json) { 2502 ListStepThumbnailsResponse.fromJson(core.Map _json) {
2502 if (_json.containsKey("nextPageToken")) { 2503 if (_json.containsKey("nextPageToken")) {
2503 nextPageToken = _json["nextPageToken"]; 2504 nextPageToken = _json["nextPageToken"];
2504 } 2505 }
2505 if (_json.containsKey("thumbnails")) { 2506 if (_json.containsKey("thumbnails")) {
2506 thumbnails = _json["thumbnails"].map((value) => new Image.fromJson(value)) .toList(); 2507 thumbnails = _json["thumbnails"].map((value) => new Image.fromJson(value)) .toList();
2507 } 2508 }
2508 } 2509 }
2509 2510
2510 core.Map toJson() { 2511 core.Map<core.String, core.Object> toJson() {
2511 var _json = new core.Map(); 2512 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2512 if (nextPageToken != null) { 2513 if (nextPageToken != null) {
2513 _json["nextPageToken"] = nextPageToken; 2514 _json["nextPageToken"] = nextPageToken;
2514 } 2515 }
2515 if (thumbnails != null) { 2516 if (thumbnails != null) {
2516 _json["thumbnails"] = thumbnails.map((value) => (value).toJson()).toList() ; 2517 _json["thumbnails"] = thumbnails.map((value) => (value).toJson()).toList() ;
2517 } 2518 }
2518 return _json; 2519 return _json;
2519 } 2520 }
2520 } 2521 }
2521 2522
(...skipping 13 matching lines...) Expand all
2535 2536
2536 ListStepsResponse.fromJson(core.Map _json) { 2537 ListStepsResponse.fromJson(core.Map _json) {
2537 if (_json.containsKey("nextPageToken")) { 2538 if (_json.containsKey("nextPageToken")) {
2538 nextPageToken = _json["nextPageToken"]; 2539 nextPageToken = _json["nextPageToken"];
2539 } 2540 }
2540 if (_json.containsKey("steps")) { 2541 if (_json.containsKey("steps")) {
2541 steps = _json["steps"].map((value) => new Step.fromJson(value)).toList(); 2542 steps = _json["steps"].map((value) => new Step.fromJson(value)).toList();
2542 } 2543 }
2543 } 2544 }
2544 2545
2545 core.Map toJson() { 2546 core.Map<core.String, core.Object> toJson() {
2546 var _json = new core.Map(); 2547 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2547 if (nextPageToken != null) { 2548 if (nextPageToken != null) {
2548 _json["nextPageToken"] = nextPageToken; 2549 _json["nextPageToken"] = nextPageToken;
2549 } 2550 }
2550 if (steps != null) { 2551 if (steps != null) {
2551 _json["steps"] = steps.map((value) => (value).toJson()).toList(); 2552 _json["steps"] = steps.map((value) => (value).toJson()).toList();
2552 } 2553 }
2553 return _json; 2554 return _json;
2554 } 2555 }
2555 } 2556 }
2556 2557
2557 class MemoryInfo { 2558 class MemoryInfo {
2558 /** Maximum memory that can be allocated to the process in KiB */ 2559 /** Maximum memory that can be allocated to the process in KiB */
2559 core.String memoryCapInKibibyte; 2560 core.String memoryCapInKibibyte;
2560 /** Total memory available on the device in KiB */ 2561 /** Total memory available on the device in KiB */
2561 core.String memoryTotalInKibibyte; 2562 core.String memoryTotalInKibibyte;
2562 2563
2563 MemoryInfo(); 2564 MemoryInfo();
2564 2565
2565 MemoryInfo.fromJson(core.Map _json) { 2566 MemoryInfo.fromJson(core.Map _json) {
2566 if (_json.containsKey("memoryCapInKibibyte")) { 2567 if (_json.containsKey("memoryCapInKibibyte")) {
2567 memoryCapInKibibyte = _json["memoryCapInKibibyte"]; 2568 memoryCapInKibibyte = _json["memoryCapInKibibyte"];
2568 } 2569 }
2569 if (_json.containsKey("memoryTotalInKibibyte")) { 2570 if (_json.containsKey("memoryTotalInKibibyte")) {
2570 memoryTotalInKibibyte = _json["memoryTotalInKibibyte"]; 2571 memoryTotalInKibibyte = _json["memoryTotalInKibibyte"];
2571 } 2572 }
2572 } 2573 }
2573 2574
2574 core.Map toJson() { 2575 core.Map<core.String, core.Object> toJson() {
2575 var _json = new core.Map(); 2576 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2576 if (memoryCapInKibibyte != null) { 2577 if (memoryCapInKibibyte != null) {
2577 _json["memoryCapInKibibyte"] = memoryCapInKibibyte; 2578 _json["memoryCapInKibibyte"] = memoryCapInKibibyte;
2578 } 2579 }
2579 if (memoryTotalInKibibyte != null) { 2580 if (memoryTotalInKibibyte != null) {
2580 _json["memoryTotalInKibibyte"] = memoryTotalInKibibyte; 2581 _json["memoryTotalInKibibyte"] = memoryTotalInKibibyte;
2581 } 2582 }
2582 return _json; 2583 return _json;
2583 } 2584 }
2584 } 2585 }
2585 2586
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 skippedDetail = new SkippedDetail.fromJson(_json["skippedDetail"]); 2648 skippedDetail = new SkippedDetail.fromJson(_json["skippedDetail"]);
2648 } 2649 }
2649 if (_json.containsKey("successDetail")) { 2650 if (_json.containsKey("successDetail")) {
2650 successDetail = new SuccessDetail.fromJson(_json["successDetail"]); 2651 successDetail = new SuccessDetail.fromJson(_json["successDetail"]);
2651 } 2652 }
2652 if (_json.containsKey("summary")) { 2653 if (_json.containsKey("summary")) {
2653 summary = _json["summary"]; 2654 summary = _json["summary"];
2654 } 2655 }
2655 } 2656 }
2656 2657
2657 core.Map toJson() { 2658 core.Map<core.String, core.Object> toJson() {
2658 var _json = new core.Map(); 2659 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2659 if (failureDetail != null) { 2660 if (failureDetail != null) {
2660 _json["failureDetail"] = (failureDetail).toJson(); 2661 _json["failureDetail"] = (failureDetail).toJson();
2661 } 2662 }
2662 if (inconclusiveDetail != null) { 2663 if (inconclusiveDetail != null) {
2663 _json["inconclusiveDetail"] = (inconclusiveDetail).toJson(); 2664 _json["inconclusiveDetail"] = (inconclusiveDetail).toJson();
2664 } 2665 }
2665 if (skippedDetail != null) { 2666 if (skippedDetail != null) {
2666 _json["skippedDetail"] = (skippedDetail).toJson(); 2667 _json["skippedDetail"] = (skippedDetail).toJson();
2667 } 2668 }
2668 if (successDetail != null) { 2669 if (successDetail != null) {
(...skipping 17 matching lines...) Expand all
2686 2687
2687 PerfEnvironment.fromJson(core.Map _json) { 2688 PerfEnvironment.fromJson(core.Map _json) {
2688 if (_json.containsKey("cpuInfo")) { 2689 if (_json.containsKey("cpuInfo")) {
2689 cpuInfo = new CPUInfo.fromJson(_json["cpuInfo"]); 2690 cpuInfo = new CPUInfo.fromJson(_json["cpuInfo"]);
2690 } 2691 }
2691 if (_json.containsKey("memoryInfo")) { 2692 if (_json.containsKey("memoryInfo")) {
2692 memoryInfo = new MemoryInfo.fromJson(_json["memoryInfo"]); 2693 memoryInfo = new MemoryInfo.fromJson(_json["memoryInfo"]);
2693 } 2694 }
2694 } 2695 }
2695 2696
2696 core.Map toJson() { 2697 core.Map<core.String, core.Object> toJson() {
2697 var _json = new core.Map(); 2698 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2698 if (cpuInfo != null) { 2699 if (cpuInfo != null) {
2699 _json["cpuInfo"] = (cpuInfo).toJson(); 2700 _json["cpuInfo"] = (cpuInfo).toJson();
2700 } 2701 }
2701 if (memoryInfo != null) { 2702 if (memoryInfo != null) {
2702 _json["memoryInfo"] = (memoryInfo).toJson(); 2703 _json["memoryInfo"] = (memoryInfo).toJson();
2703 } 2704 }
2704 return _json; 2705 return _json;
2705 } 2706 }
2706 } 2707 }
2707 2708
(...skipping 30 matching lines...) Expand all
2738 perfMetrics = _json["perfMetrics"]; 2739 perfMetrics = _json["perfMetrics"];
2739 } 2740 }
2740 if (_json.containsKey("projectId")) { 2741 if (_json.containsKey("projectId")) {
2741 projectId = _json["projectId"]; 2742 projectId = _json["projectId"];
2742 } 2743 }
2743 if (_json.containsKey("stepId")) { 2744 if (_json.containsKey("stepId")) {
2744 stepId = _json["stepId"]; 2745 stepId = _json["stepId"];
2745 } 2746 }
2746 } 2747 }
2747 2748
2748 core.Map toJson() { 2749 core.Map<core.String, core.Object> toJson() {
2749 var _json = new core.Map(); 2750 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2750 if (executionId != null) { 2751 if (executionId != null) {
2751 _json["executionId"] = executionId; 2752 _json["executionId"] = executionId;
2752 } 2753 }
2753 if (historyId != null) { 2754 if (historyId != null) {
2754 _json["historyId"] = historyId; 2755 _json["historyId"] = historyId;
2755 } 2756 }
2756 if (perfEnvironment != null) { 2757 if (perfEnvironment != null) {
2757 _json["perfEnvironment"] = (perfEnvironment).toJson(); 2758 _json["perfEnvironment"] = (perfEnvironment).toJson();
2758 } 2759 }
2759 if (perfMetrics != null) { 2760 if (perfMetrics != null) {
(...skipping 20 matching lines...) Expand all
2780 2781
2781 PerfSample.fromJson(core.Map _json) { 2782 PerfSample.fromJson(core.Map _json) {
2782 if (_json.containsKey("sampleTime")) { 2783 if (_json.containsKey("sampleTime")) {
2783 sampleTime = new Timestamp.fromJson(_json["sampleTime"]); 2784 sampleTime = new Timestamp.fromJson(_json["sampleTime"]);
2784 } 2785 }
2785 if (_json.containsKey("value")) { 2786 if (_json.containsKey("value")) {
2786 value = _json["value"]; 2787 value = _json["value"];
2787 } 2788 }
2788 } 2789 }
2789 2790
2790 core.Map toJson() { 2791 core.Map<core.String, core.Object> toJson() {
2791 var _json = new core.Map(); 2792 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2792 if (sampleTime != null) { 2793 if (sampleTime != null) {
2793 _json["sampleTime"] = (sampleTime).toJson(); 2794 _json["sampleTime"] = (sampleTime).toJson();
2794 } 2795 }
2795 if (value != null) { 2796 if (value != null) {
2796 _json["value"] = value; 2797 _json["value"] = value;
2797 } 2798 }
2798 return _json; 2799 return _json;
2799 } 2800 }
2800 } 2801 }
2801 2802
(...skipping 30 matching lines...) Expand all
2832 projectId = _json["projectId"]; 2833 projectId = _json["projectId"];
2833 } 2834 }
2834 if (_json.containsKey("sampleSeriesId")) { 2835 if (_json.containsKey("sampleSeriesId")) {
2835 sampleSeriesId = _json["sampleSeriesId"]; 2836 sampleSeriesId = _json["sampleSeriesId"];
2836 } 2837 }
2837 if (_json.containsKey("stepId")) { 2838 if (_json.containsKey("stepId")) {
2838 stepId = _json["stepId"]; 2839 stepId = _json["stepId"];
2839 } 2840 }
2840 } 2841 }
2841 2842
2842 core.Map toJson() { 2843 core.Map<core.String, core.Object> toJson() {
2843 var _json = new core.Map(); 2844 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2844 if (basicPerfSampleSeries != null) { 2845 if (basicPerfSampleSeries != null) {
2845 _json["basicPerfSampleSeries"] = (basicPerfSampleSeries).toJson(); 2846 _json["basicPerfSampleSeries"] = (basicPerfSampleSeries).toJson();
2846 } 2847 }
2847 if (executionId != null) { 2848 if (executionId != null) {
2848 _json["executionId"] = executionId; 2849 _json["executionId"] = executionId;
2849 } 2850 }
2850 if (historyId != null) { 2851 if (historyId != null) {
2851 _json["historyId"] = historyId; 2852 _json["historyId"] = historyId;
2852 } 2853 }
2853 if (projectId != null) { 2854 if (projectId != null) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2886 2887
2887 ProjectSettings.fromJson(core.Map _json) { 2888 ProjectSettings.fromJson(core.Map _json) {
2888 if (_json.containsKey("defaultBucket")) { 2889 if (_json.containsKey("defaultBucket")) {
2889 defaultBucket = _json["defaultBucket"]; 2890 defaultBucket = _json["defaultBucket"];
2890 } 2891 }
2891 if (_json.containsKey("name")) { 2892 if (_json.containsKey("name")) {
2892 name = _json["name"]; 2893 name = _json["name"];
2893 } 2894 }
2894 } 2895 }
2895 2896
2896 core.Map toJson() { 2897 core.Map<core.String, core.Object> toJson() {
2897 var _json = new core.Map(); 2898 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2898 if (defaultBucket != null) { 2899 if (defaultBucket != null) {
2899 _json["defaultBucket"] = defaultBucket; 2900 _json["defaultBucket"] = defaultBucket;
2900 } 2901 }
2901 if (name != null) { 2902 if (name != null) {
2902 _json["name"] = name; 2903 _json["name"] = name;
2903 } 2904 }
2904 return _json; 2905 return _json;
2905 } 2906 }
2906 } 2907 }
2907 2908
2908 /** Request message for StepService.PublishXunitXmlFiles. */ 2909 /** Request message for StepService.PublishXunitXmlFiles. */
2909 class PublishXunitXmlFilesRequest { 2910 class PublishXunitXmlFilesRequest {
2910 /** 2911 /**
2911 * URI of the Xunit XML files to publish. 2912 * URI of the Xunit XML files to publish.
2912 * 2913 *
2913 * The maximum size of the file this reference is pointing to is 50MB. 2914 * The maximum size of the file this reference is pointing to is 50MB.
2914 * 2915 *
2915 * Required. 2916 * Required.
2916 */ 2917 */
2917 core.List<FileReference> xunitXmlFiles; 2918 core.List<FileReference> xunitXmlFiles;
2918 2919
2919 PublishXunitXmlFilesRequest(); 2920 PublishXunitXmlFilesRequest();
2920 2921
2921 PublishXunitXmlFilesRequest.fromJson(core.Map _json) { 2922 PublishXunitXmlFilesRequest.fromJson(core.Map _json) {
2922 if (_json.containsKey("xunitXmlFiles")) { 2923 if (_json.containsKey("xunitXmlFiles")) {
2923 xunitXmlFiles = _json["xunitXmlFiles"].map((value) => new FileReference.fr omJson(value)).toList(); 2924 xunitXmlFiles = _json["xunitXmlFiles"].map((value) => new FileReference.fr omJson(value)).toList();
2924 } 2925 }
2925 } 2926 }
2926 2927
2927 core.Map toJson() { 2928 core.Map<core.String, core.Object> toJson() {
2928 var _json = new core.Map(); 2929 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2929 if (xunitXmlFiles != null) { 2930 if (xunitXmlFiles != null) {
2930 _json["xunitXmlFiles"] = xunitXmlFiles.map((value) => (value).toJson()).to List(); 2931 _json["xunitXmlFiles"] = xunitXmlFiles.map((value) => (value).toJson()).to List();
2931 } 2932 }
2932 return _json; 2933 return _json;
2933 } 2934 }
2934 } 2935 }
2935 2936
2936 class SkippedDetail { 2937 class SkippedDetail {
2937 /** If the App doesn't support the specific API level. */ 2938 /** If the App doesn't support the specific API level. */
2938 core.bool incompatibleAppVersion; 2939 core.bool incompatibleAppVersion;
2939 /** If the App doesn't run on the specific architecture, for example, x86. */ 2940 /** If the App doesn't run on the specific architecture, for example, x86. */
2940 core.bool incompatibleArchitecture; 2941 core.bool incompatibleArchitecture;
2941 /** If the requested OS version doesn't run on the specific device model. */ 2942 /** If the requested OS version doesn't run on the specific device model. */
2942 core.bool incompatibleDevice; 2943 core.bool incompatibleDevice;
2943 2944
2944 SkippedDetail(); 2945 SkippedDetail();
2945 2946
2946 SkippedDetail.fromJson(core.Map _json) { 2947 SkippedDetail.fromJson(core.Map _json) {
2947 if (_json.containsKey("incompatibleAppVersion")) { 2948 if (_json.containsKey("incompatibleAppVersion")) {
2948 incompatibleAppVersion = _json["incompatibleAppVersion"]; 2949 incompatibleAppVersion = _json["incompatibleAppVersion"];
2949 } 2950 }
2950 if (_json.containsKey("incompatibleArchitecture")) { 2951 if (_json.containsKey("incompatibleArchitecture")) {
2951 incompatibleArchitecture = _json["incompatibleArchitecture"]; 2952 incompatibleArchitecture = _json["incompatibleArchitecture"];
2952 } 2953 }
2953 if (_json.containsKey("incompatibleDevice")) { 2954 if (_json.containsKey("incompatibleDevice")) {
2954 incompatibleDevice = _json["incompatibleDevice"]; 2955 incompatibleDevice = _json["incompatibleDevice"];
2955 } 2956 }
2956 } 2957 }
2957 2958
2958 core.Map toJson() { 2959 core.Map<core.String, core.Object> toJson() {
2959 var _json = new core.Map(); 2960 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2960 if (incompatibleAppVersion != null) { 2961 if (incompatibleAppVersion != null) {
2961 _json["incompatibleAppVersion"] = incompatibleAppVersion; 2962 _json["incompatibleAppVersion"] = incompatibleAppVersion;
2962 } 2963 }
2963 if (incompatibleArchitecture != null) { 2964 if (incompatibleArchitecture != null) {
2964 _json["incompatibleArchitecture"] = incompatibleArchitecture; 2965 _json["incompatibleArchitecture"] = incompatibleArchitecture;
2965 } 2966 }
2966 if (incompatibleDevice != null) { 2967 if (incompatibleDevice != null) {
2967 _json["incompatibleDevice"] = incompatibleDevice; 2968 _json["incompatibleDevice"] = incompatibleDevice;
2968 } 2969 }
2969 return _json; 2970 return _json;
(...skipping 10 matching lines...) Expand all
2980 core.String exception; 2981 core.String exception;
2981 2982
2982 StackTrace(); 2983 StackTrace();
2983 2984
2984 StackTrace.fromJson(core.Map _json) { 2985 StackTrace.fromJson(core.Map _json) {
2985 if (_json.containsKey("exception")) { 2986 if (_json.containsKey("exception")) {
2986 exception = _json["exception"]; 2987 exception = _json["exception"];
2987 } 2988 }
2988 } 2989 }
2989 2990
2990 core.Map toJson() { 2991 core.Map<core.String, core.Object> toJson() {
2991 var _json = new core.Map(); 2992 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2992 if (exception != null) { 2993 if (exception != null) {
2993 _json["exception"] = exception; 2994 _json["exception"] = exception;
2994 } 2995 }
2995 return _json; 2996 return _json;
2996 } 2997 }
2997 } 2998 }
2998 2999
2999 /** 3000 /**
3000 * The `Status` type defines a logical error model that is suitable for 3001 * The `Status` type defines a logical error model that is suitable for
3001 * different programming environments, including REST APIs and RPC APIs. It is 3002 * different programming environments, including REST APIs and RPC APIs. It is
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
3072 code = _json["code"]; 3073 code = _json["code"];
3073 } 3074 }
3074 if (_json.containsKey("details")) { 3075 if (_json.containsKey("details")) {
3075 details = _json["details"].map((value) => new Any.fromJson(value)).toList( ); 3076 details = _json["details"].map((value) => new Any.fromJson(value)).toList( );
3076 } 3077 }
3077 if (_json.containsKey("message")) { 3078 if (_json.containsKey("message")) {
3078 message = _json["message"]; 3079 message = _json["message"];
3079 } 3080 }
3080 } 3081 }
3081 3082
3082 core.Map toJson() { 3083 core.Map<core.String, core.Object> toJson() {
3083 var _json = new core.Map(); 3084 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3084 if (code != null) { 3085 if (code != null) {
3085 _json["code"] = code; 3086 _json["code"] = code;
3086 } 3087 }
3087 if (details != null) { 3088 if (details != null) {
3088 _json["details"] = details.map((value) => (value).toJson()).toList(); 3089 _json["details"] = details.map((value) => (value).toJson()).toList();
3089 } 3090 }
3090 if (message != null) { 3091 if (message != null) {
3091 _json["message"] = message; 3092 _json["message"] = message;
3092 } 3093 }
3093 return _json; 3094 return _json;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
3314 stepId = _json["stepId"]; 3315 stepId = _json["stepId"];
3315 } 3316 }
3316 if (_json.containsKey("testExecutionStep")) { 3317 if (_json.containsKey("testExecutionStep")) {
3317 testExecutionStep = new TestExecutionStep.fromJson(_json["testExecutionSte p"]); 3318 testExecutionStep = new TestExecutionStep.fromJson(_json["testExecutionSte p"]);
3318 } 3319 }
3319 if (_json.containsKey("toolExecutionStep")) { 3320 if (_json.containsKey("toolExecutionStep")) {
3320 toolExecutionStep = new ToolExecutionStep.fromJson(_json["toolExecutionSte p"]); 3321 toolExecutionStep = new ToolExecutionStep.fromJson(_json["toolExecutionSte p"]);
3321 } 3322 }
3322 } 3323 }
3323 3324
3324 core.Map toJson() { 3325 core.Map<core.String, core.Object> toJson() {
3325 var _json = new core.Map(); 3326 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3326 if (completionTime != null) { 3327 if (completionTime != null) {
3327 _json["completionTime"] = (completionTime).toJson(); 3328 _json["completionTime"] = (completionTime).toJson();
3328 } 3329 }
3329 if (creationTime != null) { 3330 if (creationTime != null) {
3330 _json["creationTime"] = (creationTime).toJson(); 3331 _json["creationTime"] = (creationTime).toJson();
3331 } 3332 }
3332 if (description != null) { 3333 if (description != null) {
3333 _json["description"] = description; 3334 _json["description"] = description;
3334 } 3335 }
3335 if (deviceUsageDuration != null) { 3336 if (deviceUsageDuration != null) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
3377 3378
3378 StepDimensionValueEntry.fromJson(core.Map _json) { 3379 StepDimensionValueEntry.fromJson(core.Map _json) {
3379 if (_json.containsKey("key")) { 3380 if (_json.containsKey("key")) {
3380 key = _json["key"]; 3381 key = _json["key"];
3381 } 3382 }
3382 if (_json.containsKey("value")) { 3383 if (_json.containsKey("value")) {
3383 value = _json["value"]; 3384 value = _json["value"];
3384 } 3385 }
3385 } 3386 }
3386 3387
3387 core.Map toJson() { 3388 core.Map<core.String, core.Object> toJson() {
3388 var _json = new core.Map(); 3389 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3389 if (key != null) { 3390 if (key != null) {
3390 _json["key"] = key; 3391 _json["key"] = key;
3391 } 3392 }
3392 if (value != null) { 3393 if (value != null) {
3393 _json["value"] = value; 3394 _json["value"] = value;
3394 } 3395 }
3395 return _json; 3396 return _json;
3396 } 3397 }
3397 } 3398 }
3398 3399
3399 class StepLabelsEntry { 3400 class StepLabelsEntry {
3400 core.String key; 3401 core.String key;
3401 core.String value; 3402 core.String value;
3402 3403
3403 StepLabelsEntry(); 3404 StepLabelsEntry();
3404 3405
3405 StepLabelsEntry.fromJson(core.Map _json) { 3406 StepLabelsEntry.fromJson(core.Map _json) {
3406 if (_json.containsKey("key")) { 3407 if (_json.containsKey("key")) {
3407 key = _json["key"]; 3408 key = _json["key"];
3408 } 3409 }
3409 if (_json.containsKey("value")) { 3410 if (_json.containsKey("value")) {
3410 value = _json["value"]; 3411 value = _json["value"];
3411 } 3412 }
3412 } 3413 }
3413 3414
3414 core.Map toJson() { 3415 core.Map<core.String, core.Object> toJson() {
3415 var _json = new core.Map(); 3416 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3416 if (key != null) { 3417 if (key != null) {
3417 _json["key"] = key; 3418 _json["key"] = key;
3418 } 3419 }
3419 if (value != null) { 3420 if (value != null) {
3420 _json["value"] = value; 3421 _json["value"] = value;
3421 } 3422 }
3422 return _json; 3423 return _json;
3423 } 3424 }
3424 } 3425 }
3425 3426
3426 class SuccessDetail { 3427 class SuccessDetail {
3427 /** If a native process other than the app crashed. */ 3428 /** If a native process other than the app crashed. */
3428 core.bool otherNativeCrash; 3429 core.bool otherNativeCrash;
3429 3430
3430 SuccessDetail(); 3431 SuccessDetail();
3431 3432
3432 SuccessDetail.fromJson(core.Map _json) { 3433 SuccessDetail.fromJson(core.Map _json) {
3433 if (_json.containsKey("otherNativeCrash")) { 3434 if (_json.containsKey("otherNativeCrash")) {
3434 otherNativeCrash = _json["otherNativeCrash"]; 3435 otherNativeCrash = _json["otherNativeCrash"];
3435 } 3436 }
3436 } 3437 }
3437 3438
3438 core.Map toJson() { 3439 core.Map<core.String, core.Object> toJson() {
3439 var _json = new core.Map(); 3440 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3440 if (otherNativeCrash != null) { 3441 if (otherNativeCrash != null) {
3441 _json["otherNativeCrash"] = otherNativeCrash; 3442 _json["otherNativeCrash"] = otherNativeCrash;
3442 } 3443 }
3443 return _json; 3444 return _json;
3444 } 3445 }
3445 } 3446 }
3446 3447
3447 /** 3448 /**
3448 * A reference to a test case. 3449 * A reference to a test case.
3449 * 3450 *
(...skipping 20 matching lines...) Expand all
3470 className = _json["className"]; 3471 className = _json["className"];
3471 } 3472 }
3472 if (_json.containsKey("name")) { 3473 if (_json.containsKey("name")) {
3473 name = _json["name"]; 3474 name = _json["name"];
3474 } 3475 }
3475 if (_json.containsKey("testSuiteName")) { 3476 if (_json.containsKey("testSuiteName")) {
3476 testSuiteName = _json["testSuiteName"]; 3477 testSuiteName = _json["testSuiteName"];
3477 } 3478 }
3478 } 3479 }
3479 3480
3480 core.Map toJson() { 3481 core.Map<core.String, core.Object> toJson() {
3481 var _json = new core.Map(); 3482 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3482 if (className != null) { 3483 if (className != null) {
3483 _json["className"] = className; 3484 _json["className"] = className;
3484 } 3485 }
3485 if (name != null) { 3486 if (name != null) {
3486 _json["name"] = name; 3487 _json["name"] = name;
3487 } 3488 }
3488 if (testSuiteName != null) { 3489 if (testSuiteName != null) {
3489 _json["testSuiteName"] = testSuiteName; 3490 _json["testSuiteName"] = testSuiteName;
3490 } 3491 }
3491 return _json; 3492 return _json;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3550 testSuiteOverviews = _json["testSuiteOverviews"].map((value) => new TestSu iteOverview.fromJson(value)).toList(); 3551 testSuiteOverviews = _json["testSuiteOverviews"].map((value) => new TestSu iteOverview.fromJson(value)).toList();
3551 } 3552 }
3552 if (_json.containsKey("testTiming")) { 3553 if (_json.containsKey("testTiming")) {
3553 testTiming = new TestTiming.fromJson(_json["testTiming"]); 3554 testTiming = new TestTiming.fromJson(_json["testTiming"]);
3554 } 3555 }
3555 if (_json.containsKey("toolExecution")) { 3556 if (_json.containsKey("toolExecution")) {
3556 toolExecution = new ToolExecution.fromJson(_json["toolExecution"]); 3557 toolExecution = new ToolExecution.fromJson(_json["toolExecution"]);
3557 } 3558 }
3558 } 3559 }
3559 3560
3560 core.Map toJson() { 3561 core.Map<core.String, core.Object> toJson() {
3561 var _json = new core.Map(); 3562 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3562 if (testIssues != null) { 3563 if (testIssues != null) {
3563 _json["testIssues"] = testIssues.map((value) => (value).toJson()).toList() ; 3564 _json["testIssues"] = testIssues.map((value) => (value).toJson()).toList() ;
3564 } 3565 }
3565 if (testSuiteOverviews != null) { 3566 if (testSuiteOverviews != null) {
3566 _json["testSuiteOverviews"] = testSuiteOverviews.map((value) => (value).to Json()).toList(); 3567 _json["testSuiteOverviews"] = testSuiteOverviews.map((value) => (value).to Json()).toList();
3567 } 3568 }
3568 if (testTiming != null) { 3569 if (testTiming != null) {
3569 _json["testTiming"] = (testTiming).toJson(); 3570 _json["testTiming"] = (testTiming).toJson();
3570 } 3571 }
3571 if (toolExecution != null) { 3572 if (toolExecution != null) {
(...skipping 18 matching lines...) Expand all
3590 3591
3591 TestIssue.fromJson(core.Map _json) { 3592 TestIssue.fromJson(core.Map _json) {
3592 if (_json.containsKey("errorMessage")) { 3593 if (_json.containsKey("errorMessage")) {
3593 errorMessage = _json["errorMessage"]; 3594 errorMessage = _json["errorMessage"];
3594 } 3595 }
3595 if (_json.containsKey("stackTrace")) { 3596 if (_json.containsKey("stackTrace")) {
3596 stackTrace = new StackTrace.fromJson(_json["stackTrace"]); 3597 stackTrace = new StackTrace.fromJson(_json["stackTrace"]);
3597 } 3598 }
3598 } 3599 }
3599 3600
3600 core.Map toJson() { 3601 core.Map<core.String, core.Object> toJson() {
3601 var _json = new core.Map(); 3602 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3602 if (errorMessage != null) { 3603 if (errorMessage != null) {
3603 _json["errorMessage"] = errorMessage; 3604 _json["errorMessage"] = errorMessage;
3604 } 3605 }
3605 if (stackTrace != null) { 3606 if (stackTrace != null) {
3606 _json["stackTrace"] = (stackTrace).toJson(); 3607 _json["stackTrace"] = (stackTrace).toJson();
3607 } 3608 }
3608 return _json; 3609 return _json;
3609 } 3610 }
3610 } 3611 }
3611 3612
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
3680 skippedCount = _json["skippedCount"]; 3681 skippedCount = _json["skippedCount"];
3681 } 3682 }
3682 if (_json.containsKey("totalCount")) { 3683 if (_json.containsKey("totalCount")) {
3683 totalCount = _json["totalCount"]; 3684 totalCount = _json["totalCount"];
3684 } 3685 }
3685 if (_json.containsKey("xmlSource")) { 3686 if (_json.containsKey("xmlSource")) {
3686 xmlSource = new FileReference.fromJson(_json["xmlSource"]); 3687 xmlSource = new FileReference.fromJson(_json["xmlSource"]);
3687 } 3688 }
3688 } 3689 }
3689 3690
3690 core.Map toJson() { 3691 core.Map<core.String, core.Object> toJson() {
3691 var _json = new core.Map(); 3692 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3692 if (errorCount != null) { 3693 if (errorCount != null) {
3693 _json["errorCount"] = errorCount; 3694 _json["errorCount"] = errorCount;
3694 } 3695 }
3695 if (failureCount != null) { 3696 if (failureCount != null) {
3696 _json["failureCount"] = failureCount; 3697 _json["failureCount"] = failureCount;
3697 } 3698 }
3698 if (name != null) { 3699 if (name != null) {
3699 _json["name"] = name; 3700 _json["name"] = name;
3700 } 3701 }
3701 if (skippedCount != null) { 3702 if (skippedCount != null) {
(...skipping 20 matching lines...) Expand all
3722 Duration testProcessDuration; 3723 Duration testProcessDuration;
3723 3724
3724 TestTiming(); 3725 TestTiming();
3725 3726
3726 TestTiming.fromJson(core.Map _json) { 3727 TestTiming.fromJson(core.Map _json) {
3727 if (_json.containsKey("testProcessDuration")) { 3728 if (_json.containsKey("testProcessDuration")) {
3728 testProcessDuration = new Duration.fromJson(_json["testProcessDuration"]); 3729 testProcessDuration = new Duration.fromJson(_json["testProcessDuration"]);
3729 } 3730 }
3730 } 3731 }
3731 3732
3732 core.Map toJson() { 3733 core.Map<core.String, core.Object> toJson() {
3733 var _json = new core.Map(); 3734 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3734 if (testProcessDuration != null) { 3735 if (testProcessDuration != null) {
3735 _json["testProcessDuration"] = (testProcessDuration).toJson(); 3736 _json["testProcessDuration"] = (testProcessDuration).toJson();
3736 } 3737 }
3737 return _json; 3738 return _json;
3738 } 3739 }
3739 } 3740 }
3740 3741
3741 /** A single thumbnail, with its size and format. */ 3742 /** A single thumbnail, with its size and format. */
3742 class Thumbnail { 3743 class Thumbnail {
3743 /** 3744 /**
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
3786 data = _json["data"]; 3787 data = _json["data"];
3787 } 3788 }
3788 if (_json.containsKey("heightPx")) { 3789 if (_json.containsKey("heightPx")) {
3789 heightPx = _json["heightPx"]; 3790 heightPx = _json["heightPx"];
3790 } 3791 }
3791 if (_json.containsKey("widthPx")) { 3792 if (_json.containsKey("widthPx")) {
3792 widthPx = _json["widthPx"]; 3793 widthPx = _json["widthPx"];
3793 } 3794 }
3794 } 3795 }
3795 3796
3796 core.Map toJson() { 3797 core.Map<core.String, core.Object> toJson() {
3797 var _json = new core.Map(); 3798 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3798 if (contentType != null) { 3799 if (contentType != null) {
3799 _json["contentType"] = contentType; 3800 _json["contentType"] = contentType;
3800 } 3801 }
3801 if (data != null) { 3802 if (data != null) {
3802 _json["data"] = data; 3803 _json["data"] = data;
3803 } 3804 }
3804 if (heightPx != null) { 3805 if (heightPx != null) {
3805 _json["heightPx"] = heightPx; 3806 _json["heightPx"] = heightPx;
3806 } 3807 }
3807 if (widthPx != null) { 3808 if (widthPx != null) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
3902 3903
3903 Timestamp.fromJson(core.Map _json) { 3904 Timestamp.fromJson(core.Map _json) {
3904 if (_json.containsKey("nanos")) { 3905 if (_json.containsKey("nanos")) {
3905 nanos = _json["nanos"]; 3906 nanos = _json["nanos"];
3906 } 3907 }
3907 if (_json.containsKey("seconds")) { 3908 if (_json.containsKey("seconds")) {
3908 seconds = _json["seconds"]; 3909 seconds = _json["seconds"];
3909 } 3910 }
3910 } 3911 }
3911 3912
3912 core.Map toJson() { 3913 core.Map<core.String, core.Object> toJson() {
3913 var _json = new core.Map(); 3914 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3914 if (nanos != null) { 3915 if (nanos != null) {
3915 _json["nanos"] = nanos; 3916 _json["nanos"] = nanos;
3916 } 3917 }
3917 if (seconds != null) { 3918 if (seconds != null) {
3918 _json["seconds"] = seconds; 3919 _json["seconds"] = seconds;
3919 } 3920 }
3920 return _json; 3921 return _json;
3921 } 3922 }
3922 } 3923 }
3923 3924
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
3976 exitCode = new ToolExitCode.fromJson(_json["exitCode"]); 3977 exitCode = new ToolExitCode.fromJson(_json["exitCode"]);
3977 } 3978 }
3978 if (_json.containsKey("toolLogs")) { 3979 if (_json.containsKey("toolLogs")) {
3979 toolLogs = _json["toolLogs"].map((value) => new FileReference.fromJson(val ue)).toList(); 3980 toolLogs = _json["toolLogs"].map((value) => new FileReference.fromJson(val ue)).toList();
3980 } 3981 }
3981 if (_json.containsKey("toolOutputs")) { 3982 if (_json.containsKey("toolOutputs")) {
3982 toolOutputs = _json["toolOutputs"].map((value) => new ToolOutputReference. fromJson(value)).toList(); 3983 toolOutputs = _json["toolOutputs"].map((value) => new ToolOutputReference. fromJson(value)).toList();
3983 } 3984 }
3984 } 3985 }
3985 3986
3986 core.Map toJson() { 3987 core.Map<core.String, core.Object> toJson() {
3987 var _json = new core.Map(); 3988 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3988 if (commandLineArguments != null) { 3989 if (commandLineArguments != null) {
3989 _json["commandLineArguments"] = commandLineArguments; 3990 _json["commandLineArguments"] = commandLineArguments;
3990 } 3991 }
3991 if (exitCode != null) { 3992 if (exitCode != null) {
3992 _json["exitCode"] = (exitCode).toJson(); 3993 _json["exitCode"] = (exitCode).toJson();
3993 } 3994 }
3994 if (toolLogs != null) { 3995 if (toolLogs != null) {
3995 _json["toolLogs"] = toolLogs.map((value) => (value).toJson()).toList(); 3996 _json["toolLogs"] = toolLogs.map((value) => (value).toJson()).toList();
3996 } 3997 }
3997 if (toolOutputs != null) { 3998 if (toolOutputs != null) {
(...skipping 17 matching lines...) Expand all
4015 ToolExecution toolExecution; 4016 ToolExecution toolExecution;
4016 4017
4017 ToolExecutionStep(); 4018 ToolExecutionStep();
4018 4019
4019 ToolExecutionStep.fromJson(core.Map _json) { 4020 ToolExecutionStep.fromJson(core.Map _json) {
4020 if (_json.containsKey("toolExecution")) { 4021 if (_json.containsKey("toolExecution")) {
4021 toolExecution = new ToolExecution.fromJson(_json["toolExecution"]); 4022 toolExecution = new ToolExecution.fromJson(_json["toolExecution"]);
4022 } 4023 }
4023 } 4024 }
4024 4025
4025 core.Map toJson() { 4026 core.Map<core.String, core.Object> toJson() {
4026 var _json = new core.Map(); 4027 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4027 if (toolExecution != null) { 4028 if (toolExecution != null) {
4028 _json["toolExecution"] = (toolExecution).toJson(); 4029 _json["toolExecution"] = (toolExecution).toJson();
4029 } 4030 }
4030 return _json; 4031 return _json;
4031 } 4032 }
4032 } 4033 }
4033 4034
4034 /** Exit code from a tool execution. */ 4035 /** Exit code from a tool execution. */
4035 class ToolExitCode { 4036 class ToolExitCode {
4036 /** 4037 /**
4037 * Tool execution exit code. A value of 0 means that the execution was 4038 * Tool execution exit code. A value of 0 means that the execution was
4038 * successful. 4039 * successful.
4039 * 4040 *
4040 * - In response: always set - In create/update request: always set 4041 * - In response: always set - In create/update request: always set
4041 */ 4042 */
4042 core.int number; 4043 core.int number;
4043 4044
4044 ToolExitCode(); 4045 ToolExitCode();
4045 4046
4046 ToolExitCode.fromJson(core.Map _json) { 4047 ToolExitCode.fromJson(core.Map _json) {
4047 if (_json.containsKey("number")) { 4048 if (_json.containsKey("number")) {
4048 number = _json["number"]; 4049 number = _json["number"];
4049 } 4050 }
4050 } 4051 }
4051 4052
4052 core.Map toJson() { 4053 core.Map<core.String, core.Object> toJson() {
4053 var _json = new core.Map(); 4054 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4054 if (number != null) { 4055 if (number != null) {
4055 _json["number"] = number; 4056 _json["number"] = number;
4056 } 4057 }
4057 return _json; 4058 return _json;
4058 } 4059 }
4059 } 4060 }
4060 4061
4061 /** A reference to a ToolExecution output file. */ 4062 /** A reference to a ToolExecution output file. */
4062 class ToolOutputReference { 4063 class ToolOutputReference {
4063 /** 4064 /**
(...skipping 24 matching lines...) Expand all
4088 creationTime = new Timestamp.fromJson(_json["creationTime"]); 4089 creationTime = new Timestamp.fromJson(_json["creationTime"]);
4089 } 4090 }
4090 if (_json.containsKey("output")) { 4091 if (_json.containsKey("output")) {
4091 output = new FileReference.fromJson(_json["output"]); 4092 output = new FileReference.fromJson(_json["output"]);
4092 } 4093 }
4093 if (_json.containsKey("testCase")) { 4094 if (_json.containsKey("testCase")) {
4094 testCase = new TestCaseReference.fromJson(_json["testCase"]); 4095 testCase = new TestCaseReference.fromJson(_json["testCase"]);
4095 } 4096 }
4096 } 4097 }
4097 4098
4098 core.Map toJson() { 4099 core.Map<core.String, core.Object> toJson() {
4099 var _json = new core.Map(); 4100 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4100 if (creationTime != null) { 4101 if (creationTime != null) {
4101 _json["creationTime"] = (creationTime).toJson(); 4102 _json["creationTime"] = (creationTime).toJson();
4102 } 4103 }
4103 if (output != null) { 4104 if (output != null) {
4104 _json["output"] = (output).toJson(); 4105 _json["output"] = (output).toJson();
4105 } 4106 }
4106 if (testCase != null) { 4107 if (testCase != null) {
4107 _json["testCase"] = (testCase).toJson(); 4108 _json["testCase"] = (testCase).toJson();
4108 } 4109 }
4109 return _json; 4110 return _json;
4110 } 4111 }
4111 } 4112 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/taskqueue/v1beta2.dart ('k') | generated/googleapis_beta/lib/videointelligence/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698