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

Side by Side Diff: generated/googleapis/lib/analyticsreporting/v4.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/androidenterprise/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.analyticsreporting.v4; 3 library googleapis.analyticsreporting.v4;
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 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 if (nextPageToken != null) { 1190 if (nextPageToken != null) {
1191 _json["nextPageToken"] = nextPageToken; 1191 _json["nextPageToken"] = nextPageToken;
1192 } 1192 }
1193 return _json; 1193 return _json;
1194 } 1194 }
1195 } 1195 }
1196 1196
1197 /** The data part of the report. */ 1197 /** The data part of the report. */
1198 class ReportData { 1198 class ReportData {
1199 /** 1199 /**
1200 * The last time the data in the report was refreshed. All the hits received
1201 * before this timestamp are included in the calculation of the report.
1202 */
1203 core.String dataLastRefreshed;
1204 /**
1200 * Indicates if response to this request is golden or not. Data is 1205 * Indicates if response to this request is golden or not. Data is
1201 * golden when the exact same request will not produce any new results if 1206 * golden when the exact same request will not produce any new results if
1202 * asked at a later point in time. 1207 * asked at a later point in time.
1203 */ 1208 */
1204 core.bool isDataGolden; 1209 core.bool isDataGolden;
1205 /** 1210 /**
1206 * Minimum and maximum values seen over all matching rows. These are both 1211 * Minimum and maximum values seen over all matching rows. These are both
1207 * empty when `hideValueRanges` in the request is false, or when 1212 * empty when `hideValueRanges` in the request is false, or when
1208 * rowCount is zero. 1213 * rowCount is zero.
1209 */ 1214 */
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 * format as a scalar expression. E.g., The "totals" for 1250 * format as a scalar expression. E.g., The "totals" for
1246 * `3 / (ga:sessions + 2)` we compute 1251 * `3 / (ga:sessions + 2)` we compute
1247 * `3 / ((sum of all relevant ga:sessions) + 2)`. 1252 * `3 / ((sum of all relevant ga:sessions) + 2)`.
1248 * Totals are computed before pagination. 1253 * Totals are computed before pagination.
1249 */ 1254 */
1250 core.List<DateRangeValues> totals; 1255 core.List<DateRangeValues> totals;
1251 1256
1252 ReportData(); 1257 ReportData();
1253 1258
1254 ReportData.fromJson(core.Map _json) { 1259 ReportData.fromJson(core.Map _json) {
1260 if (_json.containsKey("dataLastRefreshed")) {
1261 dataLastRefreshed = _json["dataLastRefreshed"];
1262 }
1255 if (_json.containsKey("isDataGolden")) { 1263 if (_json.containsKey("isDataGolden")) {
1256 isDataGolden = _json["isDataGolden"]; 1264 isDataGolden = _json["isDataGolden"];
1257 } 1265 }
1258 if (_json.containsKey("maximums")) { 1266 if (_json.containsKey("maximums")) {
1259 maximums = _json["maximums"].map((value) => new DateRangeValues.fromJson(v alue)).toList(); 1267 maximums = _json["maximums"].map((value) => new DateRangeValues.fromJson(v alue)).toList();
1260 } 1268 }
1261 if (_json.containsKey("minimums")) { 1269 if (_json.containsKey("minimums")) {
1262 minimums = _json["minimums"].map((value) => new DateRangeValues.fromJson(v alue)).toList(); 1270 minimums = _json["minimums"].map((value) => new DateRangeValues.fromJson(v alue)).toList();
1263 } 1271 }
1264 if (_json.containsKey("rowCount")) { 1272 if (_json.containsKey("rowCount")) {
1265 rowCount = _json["rowCount"]; 1273 rowCount = _json["rowCount"];
1266 } 1274 }
1267 if (_json.containsKey("rows")) { 1275 if (_json.containsKey("rows")) {
1268 rows = _json["rows"].map((value) => new ReportRow.fromJson(value)).toList( ); 1276 rows = _json["rows"].map((value) => new ReportRow.fromJson(value)).toList( );
1269 } 1277 }
1270 if (_json.containsKey("samplesReadCounts")) { 1278 if (_json.containsKey("samplesReadCounts")) {
1271 samplesReadCounts = _json["samplesReadCounts"]; 1279 samplesReadCounts = _json["samplesReadCounts"];
1272 } 1280 }
1273 if (_json.containsKey("samplingSpaceSizes")) { 1281 if (_json.containsKey("samplingSpaceSizes")) {
1274 samplingSpaceSizes = _json["samplingSpaceSizes"]; 1282 samplingSpaceSizes = _json["samplingSpaceSizes"];
1275 } 1283 }
1276 if (_json.containsKey("totals")) { 1284 if (_json.containsKey("totals")) {
1277 totals = _json["totals"].map((value) => new DateRangeValues.fromJson(value )).toList(); 1285 totals = _json["totals"].map((value) => new DateRangeValues.fromJson(value )).toList();
1278 } 1286 }
1279 } 1287 }
1280 1288
1281 core.Map toJson() { 1289 core.Map toJson() {
1282 var _json = new core.Map(); 1290 var _json = new core.Map();
1291 if (dataLastRefreshed != null) {
1292 _json["dataLastRefreshed"] = dataLastRefreshed;
1293 }
1283 if (isDataGolden != null) { 1294 if (isDataGolden != null) {
1284 _json["isDataGolden"] = isDataGolden; 1295 _json["isDataGolden"] = isDataGolden;
1285 } 1296 }
1286 if (maximums != null) { 1297 if (maximums != null) {
1287 _json["maximums"] = maximums.map((value) => (value).toJson()).toList(); 1298 _json["maximums"] = maximums.map((value) => (value).toJson()).toList();
1288 } 1299 }
1289 if (minimums != null) { 1300 if (minimums != null) {
1290 _json["minimums"] = minimums.map((value) => (value).toJson()).toList(); 1301 _json["minimums"] = minimums.map((value) => (value).toJson()).toList();
1291 } 1302 }
1292 if (rowCount != null) { 1303 if (rowCount != null) {
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 } 2066 }
2056 2067
2057 core.Map toJson() { 2068 core.Map toJson() {
2058 var _json = new core.Map(); 2069 var _json = new core.Map();
2059 if (orFiltersForSegment != null) { 2070 if (orFiltersForSegment != null) {
2060 _json["orFiltersForSegment"] = orFiltersForSegment.map((value) => (value). toJson()).toList(); 2071 _json["orFiltersForSegment"] = orFiltersForSegment.map((value) => (value). toJson()).toList();
2061 } 2072 }
2062 return _json; 2073 return _json;
2063 } 2074 }
2064 } 2075 }
OLDNEW
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/androidenterprise/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698