OLD | NEW |
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.analytics.v3; | 3 library googleapis.analytics.v3; |
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 5061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5072 | 5072 |
5073 AccountChildLink.fromJson(core.Map _json) { | 5073 AccountChildLink.fromJson(core.Map _json) { |
5074 if (_json.containsKey("href")) { | 5074 if (_json.containsKey("href")) { |
5075 href = _json["href"]; | 5075 href = _json["href"]; |
5076 } | 5076 } |
5077 if (_json.containsKey("type")) { | 5077 if (_json.containsKey("type")) { |
5078 type = _json["type"]; | 5078 type = _json["type"]; |
5079 } | 5079 } |
5080 } | 5080 } |
5081 | 5081 |
5082 core.Map toJson() { | 5082 core.Map<core.String, core.Object> toJson() { |
5083 var _json = new core.Map(); | 5083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5084 if (href != null) { | 5084 if (href != null) { |
5085 _json["href"] = href; | 5085 _json["href"] = href; |
5086 } | 5086 } |
5087 if (type != null) { | 5087 if (type != null) { |
5088 _json["type"] = type; | 5088 _json["type"] = type; |
5089 } | 5089 } |
5090 return _json; | 5090 return _json; |
5091 } | 5091 } |
5092 } | 5092 } |
5093 | 5093 |
5094 /** Permissions the user has for this account. */ | 5094 /** Permissions the user has for this account. */ |
5095 class AccountPermissions { | 5095 class AccountPermissions { |
5096 /** | 5096 /** |
5097 * All the permissions that the user has for this account. These include any | 5097 * All the permissions that the user has for this account. These include any |
5098 * implied permissions (e.g., EDIT implies VIEW). | 5098 * implied permissions (e.g., EDIT implies VIEW). |
5099 */ | 5099 */ |
5100 core.List<core.String> effective; | 5100 core.List<core.String> effective; |
5101 | 5101 |
5102 AccountPermissions(); | 5102 AccountPermissions(); |
5103 | 5103 |
5104 AccountPermissions.fromJson(core.Map _json) { | 5104 AccountPermissions.fromJson(core.Map _json) { |
5105 if (_json.containsKey("effective")) { | 5105 if (_json.containsKey("effective")) { |
5106 effective = _json["effective"]; | 5106 effective = _json["effective"]; |
5107 } | 5107 } |
5108 } | 5108 } |
5109 | 5109 |
5110 core.Map toJson() { | 5110 core.Map<core.String, core.Object> toJson() { |
5111 var _json = new core.Map(); | 5111 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5112 if (effective != null) { | 5112 if (effective != null) { |
5113 _json["effective"] = effective; | 5113 _json["effective"] = effective; |
5114 } | 5114 } |
5115 return _json; | 5115 return _json; |
5116 } | 5116 } |
5117 } | 5117 } |
5118 | 5118 |
5119 /** JSON template for Analytics account entry. */ | 5119 /** JSON template for Analytics account entry. */ |
5120 class Account { | 5120 class Account { |
5121 /** | 5121 /** |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5165 selfLink = _json["selfLink"]; | 5165 selfLink = _json["selfLink"]; |
5166 } | 5166 } |
5167 if (_json.containsKey("starred")) { | 5167 if (_json.containsKey("starred")) { |
5168 starred = _json["starred"]; | 5168 starred = _json["starred"]; |
5169 } | 5169 } |
5170 if (_json.containsKey("updated")) { | 5170 if (_json.containsKey("updated")) { |
5171 updated = core.DateTime.parse(_json["updated"]); | 5171 updated = core.DateTime.parse(_json["updated"]); |
5172 } | 5172 } |
5173 } | 5173 } |
5174 | 5174 |
5175 core.Map toJson() { | 5175 core.Map<core.String, core.Object> toJson() { |
5176 var _json = new core.Map(); | 5176 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5177 if (childLink != null) { | 5177 if (childLink != null) { |
5178 _json["childLink"] = (childLink).toJson(); | 5178 _json["childLink"] = (childLink).toJson(); |
5179 } | 5179 } |
5180 if (created != null) { | 5180 if (created != null) { |
5181 _json["created"] = (created).toIso8601String(); | 5181 _json["created"] = (created).toIso8601String(); |
5182 } | 5182 } |
5183 if (id != null) { | 5183 if (id != null) { |
5184 _json["id"] = id; | 5184 _json["id"] = id; |
5185 } | 5185 } |
5186 if (kind != null) { | 5186 if (kind != null) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5226 id = _json["id"]; | 5226 id = _json["id"]; |
5227 } | 5227 } |
5228 if (_json.containsKey("kind")) { | 5228 if (_json.containsKey("kind")) { |
5229 kind = _json["kind"]; | 5229 kind = _json["kind"]; |
5230 } | 5230 } |
5231 if (_json.containsKey("name")) { | 5231 if (_json.containsKey("name")) { |
5232 name = _json["name"]; | 5232 name = _json["name"]; |
5233 } | 5233 } |
5234 } | 5234 } |
5235 | 5235 |
5236 core.Map toJson() { | 5236 core.Map<core.String, core.Object> toJson() { |
5237 var _json = new core.Map(); | 5237 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5238 if (href != null) { | 5238 if (href != null) { |
5239 _json["href"] = href; | 5239 _json["href"] = href; |
5240 } | 5240 } |
5241 if (id != null) { | 5241 if (id != null) { |
5242 _json["id"] = id; | 5242 _json["id"] = id; |
5243 } | 5243 } |
5244 if (kind != null) { | 5244 if (kind != null) { |
5245 _json["kind"] = kind; | 5245 _json["kind"] = kind; |
5246 } | 5246 } |
5247 if (name != null) { | 5247 if (name != null) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5307 startIndex = _json["startIndex"]; | 5307 startIndex = _json["startIndex"]; |
5308 } | 5308 } |
5309 if (_json.containsKey("totalResults")) { | 5309 if (_json.containsKey("totalResults")) { |
5310 totalResults = _json["totalResults"]; | 5310 totalResults = _json["totalResults"]; |
5311 } | 5311 } |
5312 if (_json.containsKey("username")) { | 5312 if (_json.containsKey("username")) { |
5313 username = _json["username"]; | 5313 username = _json["username"]; |
5314 } | 5314 } |
5315 } | 5315 } |
5316 | 5316 |
5317 core.Map toJson() { | 5317 core.Map<core.String, core.Object> toJson() { |
5318 var _json = new core.Map(); | 5318 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5319 if (items != null) { | 5319 if (items != null) { |
5320 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5320 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5321 } | 5321 } |
5322 if (itemsPerPage != null) { | 5322 if (itemsPerPage != null) { |
5323 _json["itemsPerPage"] = itemsPerPage; | 5323 _json["itemsPerPage"] = itemsPerPage; |
5324 } | 5324 } |
5325 if (kind != null) { | 5325 if (kind != null) { |
5326 _json["kind"] = kind; | 5326 _json["kind"] = kind; |
5327 } | 5327 } |
5328 if (nextLink != null) { | 5328 if (nextLink != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5373 name = _json["name"]; | 5373 name = _json["name"]; |
5374 } | 5374 } |
5375 if (_json.containsKey("starred")) { | 5375 if (_json.containsKey("starred")) { |
5376 starred = _json["starred"]; | 5376 starred = _json["starred"]; |
5377 } | 5377 } |
5378 if (_json.containsKey("webProperties")) { | 5378 if (_json.containsKey("webProperties")) { |
5379 webProperties = _json["webProperties"].map((value) => new WebPropertySumma
ry.fromJson(value)).toList(); | 5379 webProperties = _json["webProperties"].map((value) => new WebPropertySumma
ry.fromJson(value)).toList(); |
5380 } | 5380 } |
5381 } | 5381 } |
5382 | 5382 |
5383 core.Map toJson() { | 5383 core.Map<core.String, core.Object> toJson() { |
5384 var _json = new core.Map(); | 5384 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5385 if (id != null) { | 5385 if (id != null) { |
5386 _json["id"] = id; | 5386 _json["id"] = id; |
5387 } | 5387 } |
5388 if (kind != null) { | 5388 if (kind != null) { |
5389 _json["kind"] = kind; | 5389 _json["kind"] = kind; |
5390 } | 5390 } |
5391 if (name != null) { | 5391 if (name != null) { |
5392 _json["name"] = name; | 5392 _json["name"] = name; |
5393 } | 5393 } |
5394 if (starred != null) { | 5394 if (starred != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5439 profile = new Profile.fromJson(_json["profile"]); | 5439 profile = new Profile.fromJson(_json["profile"]); |
5440 } | 5440 } |
5441 if (_json.containsKey("redirectUri")) { | 5441 if (_json.containsKey("redirectUri")) { |
5442 redirectUri = _json["redirectUri"]; | 5442 redirectUri = _json["redirectUri"]; |
5443 } | 5443 } |
5444 if (_json.containsKey("webproperty")) { | 5444 if (_json.containsKey("webproperty")) { |
5445 webproperty = new Webproperty.fromJson(_json["webproperty"]); | 5445 webproperty = new Webproperty.fromJson(_json["webproperty"]); |
5446 } | 5446 } |
5447 } | 5447 } |
5448 | 5448 |
5449 core.Map toJson() { | 5449 core.Map<core.String, core.Object> toJson() { |
5450 var _json = new core.Map(); | 5450 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5451 if (account != null) { | 5451 if (account != null) { |
5452 _json["account"] = (account).toJson(); | 5452 _json["account"] = (account).toJson(); |
5453 } | 5453 } |
5454 if (id != null) { | 5454 if (id != null) { |
5455 _json["id"] = id; | 5455 _json["id"] = id; |
5456 } | 5456 } |
5457 if (kind != null) { | 5457 if (kind != null) { |
5458 _json["kind"] = kind; | 5458 _json["kind"] = kind; |
5459 } | 5459 } |
5460 if (profile != null) { | 5460 if (profile != null) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5527 startIndex = _json["startIndex"]; | 5527 startIndex = _json["startIndex"]; |
5528 } | 5528 } |
5529 if (_json.containsKey("totalResults")) { | 5529 if (_json.containsKey("totalResults")) { |
5530 totalResults = _json["totalResults"]; | 5530 totalResults = _json["totalResults"]; |
5531 } | 5531 } |
5532 if (_json.containsKey("username")) { | 5532 if (_json.containsKey("username")) { |
5533 username = _json["username"]; | 5533 username = _json["username"]; |
5534 } | 5534 } |
5535 } | 5535 } |
5536 | 5536 |
5537 core.Map toJson() { | 5537 core.Map<core.String, core.Object> toJson() { |
5538 var _json = new core.Map(); | 5538 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5539 if (items != null) { | 5539 if (items != null) { |
5540 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5540 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5541 } | 5541 } |
5542 if (itemsPerPage != null) { | 5542 if (itemsPerPage != null) { |
5543 _json["itemsPerPage"] = itemsPerPage; | 5543 _json["itemsPerPage"] = itemsPerPage; |
5544 } | 5544 } |
5545 if (kind != null) { | 5545 if (kind != null) { |
5546 _json["kind"] = kind; | 5546 _json["kind"] = kind; |
5547 } | 5547 } |
5548 if (nextLink != null) { | 5548 if (nextLink != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5583 autoTaggingEnabled = _json["autoTaggingEnabled"]; | 5583 autoTaggingEnabled = _json["autoTaggingEnabled"]; |
5584 } | 5584 } |
5585 if (_json.containsKey("customerId")) { | 5585 if (_json.containsKey("customerId")) { |
5586 customerId = _json["customerId"]; | 5586 customerId = _json["customerId"]; |
5587 } | 5587 } |
5588 if (_json.containsKey("kind")) { | 5588 if (_json.containsKey("kind")) { |
5589 kind = _json["kind"]; | 5589 kind = _json["kind"]; |
5590 } | 5590 } |
5591 } | 5591 } |
5592 | 5592 |
5593 core.Map toJson() { | 5593 core.Map<core.String, core.Object> toJson() { |
5594 var _json = new core.Map(); | 5594 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5595 if (autoTaggingEnabled != null) { | 5595 if (autoTaggingEnabled != null) { |
5596 _json["autoTaggingEnabled"] = autoTaggingEnabled; | 5596 _json["autoTaggingEnabled"] = autoTaggingEnabled; |
5597 } | 5597 } |
5598 if (customerId != null) { | 5598 if (customerId != null) { |
5599 _json["customerId"] = customerId; | 5599 _json["customerId"] = customerId; |
5600 } | 5600 } |
5601 if (kind != null) { | 5601 if (kind != null) { |
5602 _json["kind"] = kind; | 5602 _json["kind"] = kind; |
5603 } | 5603 } |
5604 return _json; | 5604 return _json; |
5605 } | 5605 } |
5606 } | 5606 } |
5607 | 5607 |
5608 /** Request template for the delete upload data request. */ | 5608 /** Request template for the delete upload data request. */ |
5609 class AnalyticsDataimportDeleteUploadDataRequest { | 5609 class AnalyticsDataimportDeleteUploadDataRequest { |
5610 /** A list of upload UIDs. */ | 5610 /** A list of upload UIDs. */ |
5611 core.List<core.String> customDataImportUids; | 5611 core.List<core.String> customDataImportUids; |
5612 | 5612 |
5613 AnalyticsDataimportDeleteUploadDataRequest(); | 5613 AnalyticsDataimportDeleteUploadDataRequest(); |
5614 | 5614 |
5615 AnalyticsDataimportDeleteUploadDataRequest.fromJson(core.Map _json) { | 5615 AnalyticsDataimportDeleteUploadDataRequest.fromJson(core.Map _json) { |
5616 if (_json.containsKey("customDataImportUids")) { | 5616 if (_json.containsKey("customDataImportUids")) { |
5617 customDataImportUids = _json["customDataImportUids"]; | 5617 customDataImportUids = _json["customDataImportUids"]; |
5618 } | 5618 } |
5619 } | 5619 } |
5620 | 5620 |
5621 core.Map toJson() { | 5621 core.Map<core.String, core.Object> toJson() { |
5622 var _json = new core.Map(); | 5622 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5623 if (customDataImportUids != null) { | 5623 if (customDataImportUids != null) { |
5624 _json["customDataImportUids"] = customDataImportUids; | 5624 _json["customDataImportUids"] = customDataImportUids; |
5625 } | 5625 } |
5626 return _json; | 5626 return _json; |
5627 } | 5627 } |
5628 } | 5628 } |
5629 | 5629 |
5630 /** JSON template for a metadata column. */ | 5630 /** JSON template for a metadata column. */ |
5631 class Column { | 5631 class Column { |
5632 /** Map of attribute name and value for this column. */ | 5632 /** Map of attribute name and value for this column. */ |
(...skipping 10 matching lines...) Expand all Loading... |
5643 attributes = _json["attributes"]; | 5643 attributes = _json["attributes"]; |
5644 } | 5644 } |
5645 if (_json.containsKey("id")) { | 5645 if (_json.containsKey("id")) { |
5646 id = _json["id"]; | 5646 id = _json["id"]; |
5647 } | 5647 } |
5648 if (_json.containsKey("kind")) { | 5648 if (_json.containsKey("kind")) { |
5649 kind = _json["kind"]; | 5649 kind = _json["kind"]; |
5650 } | 5650 } |
5651 } | 5651 } |
5652 | 5652 |
5653 core.Map toJson() { | 5653 core.Map<core.String, core.Object> toJson() { |
5654 var _json = new core.Map(); | 5654 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5655 if (attributes != null) { | 5655 if (attributes != null) { |
5656 _json["attributes"] = attributes; | 5656 _json["attributes"] = attributes; |
5657 } | 5657 } |
5658 if (id != null) { | 5658 if (id != null) { |
5659 _json["id"] = id; | 5659 _json["id"] = id; |
5660 } | 5660 } |
5661 if (kind != null) { | 5661 if (kind != null) { |
5662 _json["kind"] = kind; | 5662 _json["kind"] = kind; |
5663 } | 5663 } |
5664 return _json; | 5664 return _json; |
(...skipping 29 matching lines...) Expand all Loading... |
5694 items = _json["items"].map((value) => new Column.fromJson(value)).toList()
; | 5694 items = _json["items"].map((value) => new Column.fromJson(value)).toList()
; |
5695 } | 5695 } |
5696 if (_json.containsKey("kind")) { | 5696 if (_json.containsKey("kind")) { |
5697 kind = _json["kind"]; | 5697 kind = _json["kind"]; |
5698 } | 5698 } |
5699 if (_json.containsKey("totalResults")) { | 5699 if (_json.containsKey("totalResults")) { |
5700 totalResults = _json["totalResults"]; | 5700 totalResults = _json["totalResults"]; |
5701 } | 5701 } |
5702 } | 5702 } |
5703 | 5703 |
5704 core.Map toJson() { | 5704 core.Map<core.String, core.Object> toJson() { |
5705 var _json = new core.Map(); | 5705 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5706 if (attributeNames != null) { | 5706 if (attributeNames != null) { |
5707 _json["attributeNames"] = attributeNames; | 5707 _json["attributeNames"] = attributeNames; |
5708 } | 5708 } |
5709 if (etag != null) { | 5709 if (etag != null) { |
5710 _json["etag"] = etag; | 5710 _json["etag"] = etag; |
5711 } | 5711 } |
5712 if (items != null) { | 5712 if (items != null) { |
5713 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5713 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5714 } | 5714 } |
5715 if (kind != null) { | 5715 if (kind != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
5735 | 5735 |
5736 CustomDataSourceChildLink.fromJson(core.Map _json) { | 5736 CustomDataSourceChildLink.fromJson(core.Map _json) { |
5737 if (_json.containsKey("href")) { | 5737 if (_json.containsKey("href")) { |
5738 href = _json["href"]; | 5738 href = _json["href"]; |
5739 } | 5739 } |
5740 if (_json.containsKey("type")) { | 5740 if (_json.containsKey("type")) { |
5741 type = _json["type"]; | 5741 type = _json["type"]; |
5742 } | 5742 } |
5743 } | 5743 } |
5744 | 5744 |
5745 core.Map toJson() { | 5745 core.Map<core.String, core.Object> toJson() { |
5746 var _json = new core.Map(); | 5746 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5747 if (href != null) { | 5747 if (href != null) { |
5748 _json["href"] = href; | 5748 _json["href"] = href; |
5749 } | 5749 } |
5750 if (type != null) { | 5750 if (type != null) { |
5751 _json["type"] = type; | 5751 _json["type"] = type; |
5752 } | 5752 } |
5753 return _json; | 5753 return _json; |
5754 } | 5754 } |
5755 } | 5755 } |
5756 | 5756 |
(...skipping 11 matching lines...) Expand all Loading... |
5768 | 5768 |
5769 CustomDataSourceParentLink.fromJson(core.Map _json) { | 5769 CustomDataSourceParentLink.fromJson(core.Map _json) { |
5770 if (_json.containsKey("href")) { | 5770 if (_json.containsKey("href")) { |
5771 href = _json["href"]; | 5771 href = _json["href"]; |
5772 } | 5772 } |
5773 if (_json.containsKey("type")) { | 5773 if (_json.containsKey("type")) { |
5774 type = _json["type"]; | 5774 type = _json["type"]; |
5775 } | 5775 } |
5776 } | 5776 } |
5777 | 5777 |
5778 core.Map toJson() { | 5778 core.Map<core.String, core.Object> toJson() { |
5779 var _json = new core.Map(); | 5779 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5780 if (href != null) { | 5780 if (href != null) { |
5781 _json["href"] = href; | 5781 _json["href"] = href; |
5782 } | 5782 } |
5783 if (type != null) { | 5783 if (type != null) { |
5784 _json["type"] = type; | 5784 _json["type"] = type; |
5785 } | 5785 } |
5786 return _json; | 5786 return _json; |
5787 } | 5787 } |
5788 } | 5788 } |
5789 | 5789 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5866 updated = core.DateTime.parse(_json["updated"]); | 5866 updated = core.DateTime.parse(_json["updated"]); |
5867 } | 5867 } |
5868 if (_json.containsKey("uploadType")) { | 5868 if (_json.containsKey("uploadType")) { |
5869 uploadType = _json["uploadType"]; | 5869 uploadType = _json["uploadType"]; |
5870 } | 5870 } |
5871 if (_json.containsKey("webPropertyId")) { | 5871 if (_json.containsKey("webPropertyId")) { |
5872 webPropertyId = _json["webPropertyId"]; | 5872 webPropertyId = _json["webPropertyId"]; |
5873 } | 5873 } |
5874 } | 5874 } |
5875 | 5875 |
5876 core.Map toJson() { | 5876 core.Map<core.String, core.Object> toJson() { |
5877 var _json = new core.Map(); | 5877 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5878 if (accountId != null) { | 5878 if (accountId != null) { |
5879 _json["accountId"] = accountId; | 5879 _json["accountId"] = accountId; |
5880 } | 5880 } |
5881 if (childLink != null) { | 5881 if (childLink != null) { |
5882 _json["childLink"] = (childLink).toJson(); | 5882 _json["childLink"] = (childLink).toJson(); |
5883 } | 5883 } |
5884 if (created != null) { | 5884 if (created != null) { |
5885 _json["created"] = (created).toIso8601String(); | 5885 _json["created"] = (created).toIso8601String(); |
5886 } | 5886 } |
5887 if (description != null) { | 5887 if (description != null) { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5980 startIndex = _json["startIndex"]; | 5980 startIndex = _json["startIndex"]; |
5981 } | 5981 } |
5982 if (_json.containsKey("totalResults")) { | 5982 if (_json.containsKey("totalResults")) { |
5983 totalResults = _json["totalResults"]; | 5983 totalResults = _json["totalResults"]; |
5984 } | 5984 } |
5985 if (_json.containsKey("username")) { | 5985 if (_json.containsKey("username")) { |
5986 username = _json["username"]; | 5986 username = _json["username"]; |
5987 } | 5987 } |
5988 } | 5988 } |
5989 | 5989 |
5990 core.Map toJson() { | 5990 core.Map<core.String, core.Object> toJson() { |
5991 var _json = new core.Map(); | 5991 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5992 if (items != null) { | 5992 if (items != null) { |
5993 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5993 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5994 } | 5994 } |
5995 if (itemsPerPage != null) { | 5995 if (itemsPerPage != null) { |
5996 _json["itemsPerPage"] = itemsPerPage; | 5996 _json["itemsPerPage"] = itemsPerPage; |
5997 } | 5997 } |
5998 if (kind != null) { | 5998 if (kind != null) { |
5999 _json["kind"] = kind; | 5999 _json["kind"] = kind; |
6000 } | 6000 } |
6001 if (nextLink != null) { | 6001 if (nextLink != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
6031 | 6031 |
6032 CustomDimensionParentLink.fromJson(core.Map _json) { | 6032 CustomDimensionParentLink.fromJson(core.Map _json) { |
6033 if (_json.containsKey("href")) { | 6033 if (_json.containsKey("href")) { |
6034 href = _json["href"]; | 6034 href = _json["href"]; |
6035 } | 6035 } |
6036 if (_json.containsKey("type")) { | 6036 if (_json.containsKey("type")) { |
6037 type = _json["type"]; | 6037 type = _json["type"]; |
6038 } | 6038 } |
6039 } | 6039 } |
6040 | 6040 |
6041 core.Map toJson() { | 6041 core.Map<core.String, core.Object> toJson() { |
6042 var _json = new core.Map(); | 6042 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6043 if (href != null) { | 6043 if (href != null) { |
6044 _json["href"] = href; | 6044 _json["href"] = href; |
6045 } | 6045 } |
6046 if (type != null) { | 6046 if (type != null) { |
6047 _json["type"] = type; | 6047 _json["type"] = type; |
6048 } | 6048 } |
6049 return _json; | 6049 return _json; |
6050 } | 6050 } |
6051 } | 6051 } |
6052 | 6052 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6117 selfLink = _json["selfLink"]; | 6117 selfLink = _json["selfLink"]; |
6118 } | 6118 } |
6119 if (_json.containsKey("updated")) { | 6119 if (_json.containsKey("updated")) { |
6120 updated = core.DateTime.parse(_json["updated"]); | 6120 updated = core.DateTime.parse(_json["updated"]); |
6121 } | 6121 } |
6122 if (_json.containsKey("webPropertyId")) { | 6122 if (_json.containsKey("webPropertyId")) { |
6123 webPropertyId = _json["webPropertyId"]; | 6123 webPropertyId = _json["webPropertyId"]; |
6124 } | 6124 } |
6125 } | 6125 } |
6126 | 6126 |
6127 core.Map toJson() { | 6127 core.Map<core.String, core.Object> toJson() { |
6128 var _json = new core.Map(); | 6128 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6129 if (accountId != null) { | 6129 if (accountId != null) { |
6130 _json["accountId"] = accountId; | 6130 _json["accountId"] = accountId; |
6131 } | 6131 } |
6132 if (active != null) { | 6132 if (active != null) { |
6133 _json["active"] = active; | 6133 _json["active"] = active; |
6134 } | 6134 } |
6135 if (created != null) { | 6135 if (created != null) { |
6136 _json["created"] = (created).toIso8601String(); | 6136 _json["created"] = (created).toIso8601String(); |
6137 } | 6137 } |
6138 if (id != null) { | 6138 if (id != null) { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6222 startIndex = _json["startIndex"]; | 6222 startIndex = _json["startIndex"]; |
6223 } | 6223 } |
6224 if (_json.containsKey("totalResults")) { | 6224 if (_json.containsKey("totalResults")) { |
6225 totalResults = _json["totalResults"]; | 6225 totalResults = _json["totalResults"]; |
6226 } | 6226 } |
6227 if (_json.containsKey("username")) { | 6227 if (_json.containsKey("username")) { |
6228 username = _json["username"]; | 6228 username = _json["username"]; |
6229 } | 6229 } |
6230 } | 6230 } |
6231 | 6231 |
6232 core.Map toJson() { | 6232 core.Map<core.String, core.Object> toJson() { |
6233 var _json = new core.Map(); | 6233 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6234 if (items != null) { | 6234 if (items != null) { |
6235 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6235 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6236 } | 6236 } |
6237 if (itemsPerPage != null) { | 6237 if (itemsPerPage != null) { |
6238 _json["itemsPerPage"] = itemsPerPage; | 6238 _json["itemsPerPage"] = itemsPerPage; |
6239 } | 6239 } |
6240 if (kind != null) { | 6240 if (kind != null) { |
6241 _json["kind"] = kind; | 6241 _json["kind"] = kind; |
6242 } | 6242 } |
6243 if (nextLink != null) { | 6243 if (nextLink != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
6273 | 6273 |
6274 CustomMetricParentLink.fromJson(core.Map _json) { | 6274 CustomMetricParentLink.fromJson(core.Map _json) { |
6275 if (_json.containsKey("href")) { | 6275 if (_json.containsKey("href")) { |
6276 href = _json["href"]; | 6276 href = _json["href"]; |
6277 } | 6277 } |
6278 if (_json.containsKey("type")) { | 6278 if (_json.containsKey("type")) { |
6279 type = _json["type"]; | 6279 type = _json["type"]; |
6280 } | 6280 } |
6281 } | 6281 } |
6282 | 6282 |
6283 core.Map toJson() { | 6283 core.Map<core.String, core.Object> toJson() { |
6284 var _json = new core.Map(); | 6284 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6285 if (href != null) { | 6285 if (href != null) { |
6286 _json["href"] = href; | 6286 _json["href"] = href; |
6287 } | 6287 } |
6288 if (type != null) { | 6288 if (type != null) { |
6289 _json["type"] = type; | 6289 _json["type"] = type; |
6290 } | 6290 } |
6291 return _json; | 6291 return _json; |
6292 } | 6292 } |
6293 } | 6293 } |
6294 | 6294 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6374 type = _json["type"]; | 6374 type = _json["type"]; |
6375 } | 6375 } |
6376 if (_json.containsKey("updated")) { | 6376 if (_json.containsKey("updated")) { |
6377 updated = core.DateTime.parse(_json["updated"]); | 6377 updated = core.DateTime.parse(_json["updated"]); |
6378 } | 6378 } |
6379 if (_json.containsKey("webPropertyId")) { | 6379 if (_json.containsKey("webPropertyId")) { |
6380 webPropertyId = _json["webPropertyId"]; | 6380 webPropertyId = _json["webPropertyId"]; |
6381 } | 6381 } |
6382 } | 6382 } |
6383 | 6383 |
6384 core.Map toJson() { | 6384 core.Map<core.String, core.Object> toJson() { |
6385 var _json = new core.Map(); | 6385 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6386 if (accountId != null) { | 6386 if (accountId != null) { |
6387 _json["accountId"] = accountId; | 6387 _json["accountId"] = accountId; |
6388 } | 6388 } |
6389 if (active != null) { | 6389 if (active != null) { |
6390 _json["active"] = active; | 6390 _json["active"] = active; |
6391 } | 6391 } |
6392 if (created != null) { | 6392 if (created != null) { |
6393 _json["created"] = (created).toIso8601String(); | 6393 _json["created"] = (created).toIso8601String(); |
6394 } | 6394 } |
6395 if (id != null) { | 6395 if (id != null) { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6488 startIndex = _json["startIndex"]; | 6488 startIndex = _json["startIndex"]; |
6489 } | 6489 } |
6490 if (_json.containsKey("totalResults")) { | 6490 if (_json.containsKey("totalResults")) { |
6491 totalResults = _json["totalResults"]; | 6491 totalResults = _json["totalResults"]; |
6492 } | 6492 } |
6493 if (_json.containsKey("username")) { | 6493 if (_json.containsKey("username")) { |
6494 username = _json["username"]; | 6494 username = _json["username"]; |
6495 } | 6495 } |
6496 } | 6496 } |
6497 | 6497 |
6498 core.Map toJson() { | 6498 core.Map<core.String, core.Object> toJson() { |
6499 var _json = new core.Map(); | 6499 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6500 if (items != null) { | 6500 if (items != null) { |
6501 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6501 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6502 } | 6502 } |
6503 if (itemsPerPage != null) { | 6503 if (itemsPerPage != null) { |
6504 _json["itemsPerPage"] = itemsPerPage; | 6504 _json["itemsPerPage"] = itemsPerPage; |
6505 } | 6505 } |
6506 if (kind != null) { | 6506 if (kind != null) { |
6507 _json["kind"] = kind; | 6507 _json["kind"] = kind; |
6508 } | 6508 } |
6509 if (nextLink != null) { | 6509 if (nextLink != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
6530 WebPropertyRef webPropertyRef; | 6530 WebPropertyRef webPropertyRef; |
6531 | 6531 |
6532 EntityAdWordsLinkEntity(); | 6532 EntityAdWordsLinkEntity(); |
6533 | 6533 |
6534 EntityAdWordsLinkEntity.fromJson(core.Map _json) { | 6534 EntityAdWordsLinkEntity.fromJson(core.Map _json) { |
6535 if (_json.containsKey("webPropertyRef")) { | 6535 if (_json.containsKey("webPropertyRef")) { |
6536 webPropertyRef = new WebPropertyRef.fromJson(_json["webPropertyRef"]); | 6536 webPropertyRef = new WebPropertyRef.fromJson(_json["webPropertyRef"]); |
6537 } | 6537 } |
6538 } | 6538 } |
6539 | 6539 |
6540 core.Map toJson() { | 6540 core.Map<core.String, core.Object> toJson() { |
6541 var _json = new core.Map(); | 6541 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6542 if (webPropertyRef != null) { | 6542 if (webPropertyRef != null) { |
6543 _json["webPropertyRef"] = (webPropertyRef).toJson(); | 6543 _json["webPropertyRef"] = (webPropertyRef).toJson(); |
6544 } | 6544 } |
6545 return _json; | 6545 return _json; |
6546 } | 6546 } |
6547 } | 6547 } |
6548 | 6548 |
6549 /** JSON template for Analytics Entity AdWords Link. */ | 6549 /** JSON template for Analytics Entity AdWords Link. */ |
6550 class EntityAdWordsLink { | 6550 class EntityAdWordsLink { |
6551 /** | 6551 /** |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6587 name = _json["name"]; | 6587 name = _json["name"]; |
6588 } | 6588 } |
6589 if (_json.containsKey("profileIds")) { | 6589 if (_json.containsKey("profileIds")) { |
6590 profileIds = _json["profileIds"]; | 6590 profileIds = _json["profileIds"]; |
6591 } | 6591 } |
6592 if (_json.containsKey("selfLink")) { | 6592 if (_json.containsKey("selfLink")) { |
6593 selfLink = _json["selfLink"]; | 6593 selfLink = _json["selfLink"]; |
6594 } | 6594 } |
6595 } | 6595 } |
6596 | 6596 |
6597 core.Map toJson() { | 6597 core.Map<core.String, core.Object> toJson() { |
6598 var _json = new core.Map(); | 6598 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6599 if (adWordsAccounts != null) { | 6599 if (adWordsAccounts != null) { |
6600 _json["adWordsAccounts"] = adWordsAccounts.map((value) => (value).toJson()
).toList(); | 6600 _json["adWordsAccounts"] = adWordsAccounts.map((value) => (value).toJson()
).toList(); |
6601 } | 6601 } |
6602 if (entity != null) { | 6602 if (entity != null) { |
6603 _json["entity"] = (entity).toJson(); | 6603 _json["entity"] = (entity).toJson(); |
6604 } | 6604 } |
6605 if (id != null) { | 6605 if (id != null) { |
6606 _json["id"] = id; | 6606 _json["id"] = id; |
6607 } | 6607 } |
6608 if (kind != null) { | 6608 if (kind != null) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6671 previousLink = _json["previousLink"]; | 6671 previousLink = _json["previousLink"]; |
6672 } | 6672 } |
6673 if (_json.containsKey("startIndex")) { | 6673 if (_json.containsKey("startIndex")) { |
6674 startIndex = _json["startIndex"]; | 6674 startIndex = _json["startIndex"]; |
6675 } | 6675 } |
6676 if (_json.containsKey("totalResults")) { | 6676 if (_json.containsKey("totalResults")) { |
6677 totalResults = _json["totalResults"]; | 6677 totalResults = _json["totalResults"]; |
6678 } | 6678 } |
6679 } | 6679 } |
6680 | 6680 |
6681 core.Map toJson() { | 6681 core.Map<core.String, core.Object> toJson() { |
6682 var _json = new core.Map(); | 6682 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6683 if (items != null) { | 6683 if (items != null) { |
6684 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6684 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6685 } | 6685 } |
6686 if (itemsPerPage != null) { | 6686 if (itemsPerPage != null) { |
6687 _json["itemsPerPage"] = itemsPerPage; | 6687 _json["itemsPerPage"] = itemsPerPage; |
6688 } | 6688 } |
6689 if (kind != null) { | 6689 if (kind != null) { |
6690 _json["kind"] = kind; | 6690 _json["kind"] = kind; |
6691 } | 6691 } |
6692 if (nextLink != null) { | 6692 if (nextLink != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6724 accountRef = new AccountRef.fromJson(_json["accountRef"]); | 6724 accountRef = new AccountRef.fromJson(_json["accountRef"]); |
6725 } | 6725 } |
6726 if (_json.containsKey("profileRef")) { | 6726 if (_json.containsKey("profileRef")) { |
6727 profileRef = new ProfileRef.fromJson(_json["profileRef"]); | 6727 profileRef = new ProfileRef.fromJson(_json["profileRef"]); |
6728 } | 6728 } |
6729 if (_json.containsKey("webPropertyRef")) { | 6729 if (_json.containsKey("webPropertyRef")) { |
6730 webPropertyRef = new WebPropertyRef.fromJson(_json["webPropertyRef"]); | 6730 webPropertyRef = new WebPropertyRef.fromJson(_json["webPropertyRef"]); |
6731 } | 6731 } |
6732 } | 6732 } |
6733 | 6733 |
6734 core.Map toJson() { | 6734 core.Map<core.String, core.Object> toJson() { |
6735 var _json = new core.Map(); | 6735 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6736 if (accountRef != null) { | 6736 if (accountRef != null) { |
6737 _json["accountRef"] = (accountRef).toJson(); | 6737 _json["accountRef"] = (accountRef).toJson(); |
6738 } | 6738 } |
6739 if (profileRef != null) { | 6739 if (profileRef != null) { |
6740 _json["profileRef"] = (profileRef).toJson(); | 6740 _json["profileRef"] = (profileRef).toJson(); |
6741 } | 6741 } |
6742 if (webPropertyRef != null) { | 6742 if (webPropertyRef != null) { |
6743 _json["webPropertyRef"] = (webPropertyRef).toJson(); | 6743 _json["webPropertyRef"] = (webPropertyRef).toJson(); |
6744 } | 6744 } |
6745 return _json; | 6745 return _json; |
(...skipping 20 matching lines...) Expand all Loading... |
6766 | 6766 |
6767 EntityUserLinkPermissions.fromJson(core.Map _json) { | 6767 EntityUserLinkPermissions.fromJson(core.Map _json) { |
6768 if (_json.containsKey("effective")) { | 6768 if (_json.containsKey("effective")) { |
6769 effective = _json["effective"]; | 6769 effective = _json["effective"]; |
6770 } | 6770 } |
6771 if (_json.containsKey("local")) { | 6771 if (_json.containsKey("local")) { |
6772 local = _json["local"]; | 6772 local = _json["local"]; |
6773 } | 6773 } |
6774 } | 6774 } |
6775 | 6775 |
6776 core.Map toJson() { | 6776 core.Map<core.String, core.Object> toJson() { |
6777 var _json = new core.Map(); | 6777 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6778 if (effective != null) { | 6778 if (effective != null) { |
6779 _json["effective"] = effective; | 6779 _json["effective"] = effective; |
6780 } | 6780 } |
6781 if (local != null) { | 6781 if (local != null) { |
6782 _json["local"] = local; | 6782 _json["local"] = local; |
6783 } | 6783 } |
6784 return _json; | 6784 return _json; |
6785 } | 6785 } |
6786 } | 6786 } |
6787 | 6787 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6822 permissions = new EntityUserLinkPermissions.fromJson(_json["permissions"])
; | 6822 permissions = new EntityUserLinkPermissions.fromJson(_json["permissions"])
; |
6823 } | 6823 } |
6824 if (_json.containsKey("selfLink")) { | 6824 if (_json.containsKey("selfLink")) { |
6825 selfLink = _json["selfLink"]; | 6825 selfLink = _json["selfLink"]; |
6826 } | 6826 } |
6827 if (_json.containsKey("userRef")) { | 6827 if (_json.containsKey("userRef")) { |
6828 userRef = new UserRef.fromJson(_json["userRef"]); | 6828 userRef = new UserRef.fromJson(_json["userRef"]); |
6829 } | 6829 } |
6830 } | 6830 } |
6831 | 6831 |
6832 core.Map toJson() { | 6832 core.Map<core.String, core.Object> toJson() { |
6833 var _json = new core.Map(); | 6833 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6834 if (entity != null) { | 6834 if (entity != null) { |
6835 _json["entity"] = (entity).toJson(); | 6835 _json["entity"] = (entity).toJson(); |
6836 } | 6836 } |
6837 if (id != null) { | 6837 if (id != null) { |
6838 _json["id"] = id; | 6838 _json["id"] = id; |
6839 } | 6839 } |
6840 if (kind != null) { | 6840 if (kind != null) { |
6841 _json["kind"] = kind; | 6841 _json["kind"] = kind; |
6842 } | 6842 } |
6843 if (permissions != null) { | 6843 if (permissions != null) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6903 previousLink = _json["previousLink"]; | 6903 previousLink = _json["previousLink"]; |
6904 } | 6904 } |
6905 if (_json.containsKey("startIndex")) { | 6905 if (_json.containsKey("startIndex")) { |
6906 startIndex = _json["startIndex"]; | 6906 startIndex = _json["startIndex"]; |
6907 } | 6907 } |
6908 if (_json.containsKey("totalResults")) { | 6908 if (_json.containsKey("totalResults")) { |
6909 totalResults = _json["totalResults"]; | 6909 totalResults = _json["totalResults"]; |
6910 } | 6910 } |
6911 } | 6911 } |
6912 | 6912 |
6913 core.Map toJson() { | 6913 core.Map<core.String, core.Object> toJson() { |
6914 var _json = new core.Map(); | 6914 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6915 if (items != null) { | 6915 if (items != null) { |
6916 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6916 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6917 } | 6917 } |
6918 if (itemsPerPage != null) { | 6918 if (itemsPerPage != null) { |
6919 _json["itemsPerPage"] = itemsPerPage; | 6919 _json["itemsPerPage"] = itemsPerPage; |
6920 } | 6920 } |
6921 if (kind != null) { | 6921 if (kind != null) { |
6922 _json["kind"] = kind; | 6922 _json["kind"] = kind; |
6923 } | 6923 } |
6924 if (nextLink != null) { | 6924 if (nextLink != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
6954 | 6954 |
6955 ExperimentParentLink.fromJson(core.Map _json) { | 6955 ExperimentParentLink.fromJson(core.Map _json) { |
6956 if (_json.containsKey("href")) { | 6956 if (_json.containsKey("href")) { |
6957 href = _json["href"]; | 6957 href = _json["href"]; |
6958 } | 6958 } |
6959 if (_json.containsKey("type")) { | 6959 if (_json.containsKey("type")) { |
6960 type = _json["type"]; | 6960 type = _json["type"]; |
6961 } | 6961 } |
6962 } | 6962 } |
6963 | 6963 |
6964 core.Map toJson() { | 6964 core.Map<core.String, core.Object> toJson() { |
6965 var _json = new core.Map(); | 6965 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6966 if (href != null) { | 6966 if (href != null) { |
6967 _json["href"] = href; | 6967 _json["href"] = href; |
6968 } | 6968 } |
6969 if (type != null) { | 6969 if (type != null) { |
6970 _json["type"] = type; | 6970 _json["type"] = type; |
6971 } | 6971 } |
6972 return _json; | 6972 return _json; |
6973 } | 6973 } |
6974 } | 6974 } |
6975 | 6975 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7016 url = _json["url"]; | 7016 url = _json["url"]; |
7017 } | 7017 } |
7018 if (_json.containsKey("weight")) { | 7018 if (_json.containsKey("weight")) { |
7019 weight = _json["weight"]; | 7019 weight = _json["weight"]; |
7020 } | 7020 } |
7021 if (_json.containsKey("won")) { | 7021 if (_json.containsKey("won")) { |
7022 won = _json["won"]; | 7022 won = _json["won"]; |
7023 } | 7023 } |
7024 } | 7024 } |
7025 | 7025 |
7026 core.Map toJson() { | 7026 core.Map<core.String, core.Object> toJson() { |
7027 var _json = new core.Map(); | 7027 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7028 if (name != null) { | 7028 if (name != null) { |
7029 _json["name"] = name; | 7029 _json["name"] = name; |
7030 } | 7030 } |
7031 if (status != null) { | 7031 if (status != null) { |
7032 _json["status"] = status; | 7032 _json["status"] = status; |
7033 } | 7033 } |
7034 if (url != null) { | 7034 if (url != null) { |
7035 _json["url"] = url; | 7035 _json["url"] = url; |
7036 } | 7036 } |
7037 if (weight != null) { | 7037 if (weight != null) { |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7278 webPropertyId = _json["webPropertyId"]; | 7278 webPropertyId = _json["webPropertyId"]; |
7279 } | 7279 } |
7280 if (_json.containsKey("winnerConfidenceLevel")) { | 7280 if (_json.containsKey("winnerConfidenceLevel")) { |
7281 winnerConfidenceLevel = _json["winnerConfidenceLevel"]; | 7281 winnerConfidenceLevel = _json["winnerConfidenceLevel"]; |
7282 } | 7282 } |
7283 if (_json.containsKey("winnerFound")) { | 7283 if (_json.containsKey("winnerFound")) { |
7284 winnerFound = _json["winnerFound"]; | 7284 winnerFound = _json["winnerFound"]; |
7285 } | 7285 } |
7286 } | 7286 } |
7287 | 7287 |
7288 core.Map toJson() { | 7288 core.Map<core.String, core.Object> toJson() { |
7289 var _json = new core.Map(); | 7289 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7290 if (accountId != null) { | 7290 if (accountId != null) { |
7291 _json["accountId"] = accountId; | 7291 _json["accountId"] = accountId; |
7292 } | 7292 } |
7293 if (created != null) { | 7293 if (created != null) { |
7294 _json["created"] = (created).toIso8601String(); | 7294 _json["created"] = (created).toIso8601String(); |
7295 } | 7295 } |
7296 if (description != null) { | 7296 if (description != null) { |
7297 _json["description"] = description; | 7297 _json["description"] = description; |
7298 } | 7298 } |
7299 if (editableInGaUi != null) { | 7299 if (editableInGaUi != null) { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7431 startIndex = _json["startIndex"]; | 7431 startIndex = _json["startIndex"]; |
7432 } | 7432 } |
7433 if (_json.containsKey("totalResults")) { | 7433 if (_json.containsKey("totalResults")) { |
7434 totalResults = _json["totalResults"]; | 7434 totalResults = _json["totalResults"]; |
7435 } | 7435 } |
7436 if (_json.containsKey("username")) { | 7436 if (_json.containsKey("username")) { |
7437 username = _json["username"]; | 7437 username = _json["username"]; |
7438 } | 7438 } |
7439 } | 7439 } |
7440 | 7440 |
7441 core.Map toJson() { | 7441 core.Map<core.String, core.Object> toJson() { |
7442 var _json = new core.Map(); | 7442 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7443 if (items != null) { | 7443 if (items != null) { |
7444 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7444 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7445 } | 7445 } |
7446 if (itemsPerPage != null) { | 7446 if (itemsPerPage != null) { |
7447 _json["itemsPerPage"] = itemsPerPage; | 7447 _json["itemsPerPage"] = itemsPerPage; |
7448 } | 7448 } |
7449 if (kind != null) { | 7449 if (kind != null) { |
7450 _json["kind"] = kind; | 7450 _json["kind"] = kind; |
7451 } | 7451 } |
7452 if (nextLink != null) { | 7452 if (nextLink != null) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7543 outputToField = _json["outputToField"]; | 7543 outputToField = _json["outputToField"]; |
7544 } | 7544 } |
7545 if (_json.containsKey("outputToFieldIndex")) { | 7545 if (_json.containsKey("outputToFieldIndex")) { |
7546 outputToFieldIndex = _json["outputToFieldIndex"]; | 7546 outputToFieldIndex = _json["outputToFieldIndex"]; |
7547 } | 7547 } |
7548 if (_json.containsKey("overrideOutputField")) { | 7548 if (_json.containsKey("overrideOutputField")) { |
7549 overrideOutputField = _json["overrideOutputField"]; | 7549 overrideOutputField = _json["overrideOutputField"]; |
7550 } | 7550 } |
7551 } | 7551 } |
7552 | 7552 |
7553 core.Map toJson() { | 7553 core.Map<core.String, core.Object> toJson() { |
7554 var _json = new core.Map(); | 7554 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7555 if (caseSensitive != null) { | 7555 if (caseSensitive != null) { |
7556 _json["caseSensitive"] = caseSensitive; | 7556 _json["caseSensitive"] = caseSensitive; |
7557 } | 7557 } |
7558 if (extractA != null) { | 7558 if (extractA != null) { |
7559 _json["extractA"] = extractA; | 7559 _json["extractA"] = extractA; |
7560 } | 7560 } |
7561 if (extractB != null) { | 7561 if (extractB != null) { |
7562 _json["extractB"] = extractB; | 7562 _json["extractB"] = extractB; |
7563 } | 7563 } |
7564 if (fieldA != null) { | 7564 if (fieldA != null) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7608 | 7608 |
7609 FilterLowercaseDetails.fromJson(core.Map _json) { | 7609 FilterLowercaseDetails.fromJson(core.Map _json) { |
7610 if (_json.containsKey("field")) { | 7610 if (_json.containsKey("field")) { |
7611 field = _json["field"]; | 7611 field = _json["field"]; |
7612 } | 7612 } |
7613 if (_json.containsKey("fieldIndex")) { | 7613 if (_json.containsKey("fieldIndex")) { |
7614 fieldIndex = _json["fieldIndex"]; | 7614 fieldIndex = _json["fieldIndex"]; |
7615 } | 7615 } |
7616 } | 7616 } |
7617 | 7617 |
7618 core.Map toJson() { | 7618 core.Map<core.String, core.Object> toJson() { |
7619 var _json = new core.Map(); | 7619 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7620 if (field != null) { | 7620 if (field != null) { |
7621 _json["field"] = field; | 7621 _json["field"] = field; |
7622 } | 7622 } |
7623 if (fieldIndex != null) { | 7623 if (fieldIndex != null) { |
7624 _json["fieldIndex"] = fieldIndex; | 7624 _json["fieldIndex"] = fieldIndex; |
7625 } | 7625 } |
7626 return _json; | 7626 return _json; |
7627 } | 7627 } |
7628 } | 7628 } |
7629 | 7629 |
(...skipping 11 matching lines...) Expand all Loading... |
7641 | 7641 |
7642 FilterParentLink.fromJson(core.Map _json) { | 7642 FilterParentLink.fromJson(core.Map _json) { |
7643 if (_json.containsKey("href")) { | 7643 if (_json.containsKey("href")) { |
7644 href = _json["href"]; | 7644 href = _json["href"]; |
7645 } | 7645 } |
7646 if (_json.containsKey("type")) { | 7646 if (_json.containsKey("type")) { |
7647 type = _json["type"]; | 7647 type = _json["type"]; |
7648 } | 7648 } |
7649 } | 7649 } |
7650 | 7650 |
7651 core.Map toJson() { | 7651 core.Map<core.String, core.Object> toJson() { |
7652 var _json = new core.Map(); | 7652 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7653 if (href != null) { | 7653 if (href != null) { |
7654 _json["href"] = href; | 7654 _json["href"] = href; |
7655 } | 7655 } |
7656 if (type != null) { | 7656 if (type != null) { |
7657 _json["type"] = type; | 7657 _json["type"] = type; |
7658 } | 7658 } |
7659 return _json; | 7659 return _json; |
7660 } | 7660 } |
7661 } | 7661 } |
7662 | 7662 |
(...skipping 25 matching lines...) Expand all Loading... |
7688 fieldIndex = _json["fieldIndex"]; | 7688 fieldIndex = _json["fieldIndex"]; |
7689 } | 7689 } |
7690 if (_json.containsKey("replaceString")) { | 7690 if (_json.containsKey("replaceString")) { |
7691 replaceString = _json["replaceString"]; | 7691 replaceString = _json["replaceString"]; |
7692 } | 7692 } |
7693 if (_json.containsKey("searchString")) { | 7693 if (_json.containsKey("searchString")) { |
7694 searchString = _json["searchString"]; | 7694 searchString = _json["searchString"]; |
7695 } | 7695 } |
7696 } | 7696 } |
7697 | 7697 |
7698 core.Map toJson() { | 7698 core.Map<core.String, core.Object> toJson() { |
7699 var _json = new core.Map(); | 7699 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7700 if (caseSensitive != null) { | 7700 if (caseSensitive != null) { |
7701 _json["caseSensitive"] = caseSensitive; | 7701 _json["caseSensitive"] = caseSensitive; |
7702 } | 7702 } |
7703 if (field != null) { | 7703 if (field != null) { |
7704 _json["field"] = field; | 7704 _json["field"] = field; |
7705 } | 7705 } |
7706 if (fieldIndex != null) { | 7706 if (fieldIndex != null) { |
7707 _json["fieldIndex"] = fieldIndex; | 7707 _json["fieldIndex"] = fieldIndex; |
7708 } | 7708 } |
7709 if (replaceString != null) { | 7709 if (replaceString != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
7729 | 7729 |
7730 FilterUppercaseDetails.fromJson(core.Map _json) { | 7730 FilterUppercaseDetails.fromJson(core.Map _json) { |
7731 if (_json.containsKey("field")) { | 7731 if (_json.containsKey("field")) { |
7732 field = _json["field"]; | 7732 field = _json["field"]; |
7733 } | 7733 } |
7734 if (_json.containsKey("fieldIndex")) { | 7734 if (_json.containsKey("fieldIndex")) { |
7735 fieldIndex = _json["fieldIndex"]; | 7735 fieldIndex = _json["fieldIndex"]; |
7736 } | 7736 } |
7737 } | 7737 } |
7738 | 7738 |
7739 core.Map toJson() { | 7739 core.Map<core.String, core.Object> toJson() { |
7740 var _json = new core.Map(); | 7740 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7741 if (field != null) { | 7741 if (field != null) { |
7742 _json["field"] = field; | 7742 _json["field"] = field; |
7743 } | 7743 } |
7744 if (fieldIndex != null) { | 7744 if (fieldIndex != null) { |
7745 _json["fieldIndex"] = fieldIndex; | 7745 _json["fieldIndex"] = fieldIndex; |
7746 } | 7746 } |
7747 return _json; | 7747 return _json; |
7748 } | 7748 } |
7749 } | 7749 } |
7750 | 7750 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7830 type = _json["type"]; | 7830 type = _json["type"]; |
7831 } | 7831 } |
7832 if (_json.containsKey("updated")) { | 7832 if (_json.containsKey("updated")) { |
7833 updated = core.DateTime.parse(_json["updated"]); | 7833 updated = core.DateTime.parse(_json["updated"]); |
7834 } | 7834 } |
7835 if (_json.containsKey("uppercaseDetails")) { | 7835 if (_json.containsKey("uppercaseDetails")) { |
7836 uppercaseDetails = new FilterUppercaseDetails.fromJson(_json["uppercaseDet
ails"]); | 7836 uppercaseDetails = new FilterUppercaseDetails.fromJson(_json["uppercaseDet
ails"]); |
7837 } | 7837 } |
7838 } | 7838 } |
7839 | 7839 |
7840 core.Map toJson() { | 7840 core.Map<core.String, core.Object> toJson() { |
7841 var _json = new core.Map(); | 7841 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7842 if (accountId != null) { | 7842 if (accountId != null) { |
7843 _json["accountId"] = accountId; | 7843 _json["accountId"] = accountId; |
7844 } | 7844 } |
7845 if (advancedDetails != null) { | 7845 if (advancedDetails != null) { |
7846 _json["advancedDetails"] = (advancedDetails).toJson(); | 7846 _json["advancedDetails"] = (advancedDetails).toJson(); |
7847 } | 7847 } |
7848 if (created != null) { | 7848 if (created != null) { |
7849 _json["created"] = (created).toIso8601String(); | 7849 _json["created"] = (created).toIso8601String(); |
7850 } | 7850 } |
7851 if (excludeDetails != null) { | 7851 if (excludeDetails != null) { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8015 fieldIndex = _json["fieldIndex"]; | 8015 fieldIndex = _json["fieldIndex"]; |
8016 } | 8016 } |
8017 if (_json.containsKey("kind")) { | 8017 if (_json.containsKey("kind")) { |
8018 kind = _json["kind"]; | 8018 kind = _json["kind"]; |
8019 } | 8019 } |
8020 if (_json.containsKey("matchType")) { | 8020 if (_json.containsKey("matchType")) { |
8021 matchType = _json["matchType"]; | 8021 matchType = _json["matchType"]; |
8022 } | 8022 } |
8023 } | 8023 } |
8024 | 8024 |
8025 core.Map toJson() { | 8025 core.Map<core.String, core.Object> toJson() { |
8026 var _json = new core.Map(); | 8026 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8027 if (caseSensitive != null) { | 8027 if (caseSensitive != null) { |
8028 _json["caseSensitive"] = caseSensitive; | 8028 _json["caseSensitive"] = caseSensitive; |
8029 } | 8029 } |
8030 if (expressionValue != null) { | 8030 if (expressionValue != null) { |
8031 _json["expressionValue"] = expressionValue; | 8031 _json["expressionValue"] = expressionValue; |
8032 } | 8032 } |
8033 if (field != null) { | 8033 if (field != null) { |
8034 _json["field"] = field; | 8034 _json["field"] = field; |
8035 } | 8035 } |
8036 if (fieldIndex != null) { | 8036 if (fieldIndex != null) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8072 id = _json["id"]; | 8072 id = _json["id"]; |
8073 } | 8073 } |
8074 if (_json.containsKey("kind")) { | 8074 if (_json.containsKey("kind")) { |
8075 kind = _json["kind"]; | 8075 kind = _json["kind"]; |
8076 } | 8076 } |
8077 if (_json.containsKey("name")) { | 8077 if (_json.containsKey("name")) { |
8078 name = _json["name"]; | 8078 name = _json["name"]; |
8079 } | 8079 } |
8080 } | 8080 } |
8081 | 8081 |
8082 core.Map toJson() { | 8082 core.Map<core.String, core.Object> toJson() { |
8083 var _json = new core.Map(); | 8083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8084 if (accountId != null) { | 8084 if (accountId != null) { |
8085 _json["accountId"] = accountId; | 8085 _json["accountId"] = accountId; |
8086 } | 8086 } |
8087 if (href != null) { | 8087 if (href != null) { |
8088 _json["href"] = href; | 8088 _json["href"] = href; |
8089 } | 8089 } |
8090 if (id != null) { | 8090 if (id != null) { |
8091 _json["id"] = id; | 8091 _json["id"] = id; |
8092 } | 8092 } |
8093 if (kind != null) { | 8093 if (kind != null) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8155 startIndex = _json["startIndex"]; | 8155 startIndex = _json["startIndex"]; |
8156 } | 8156 } |
8157 if (_json.containsKey("totalResults")) { | 8157 if (_json.containsKey("totalResults")) { |
8158 totalResults = _json["totalResults"]; | 8158 totalResults = _json["totalResults"]; |
8159 } | 8159 } |
8160 if (_json.containsKey("username")) { | 8160 if (_json.containsKey("username")) { |
8161 username = _json["username"]; | 8161 username = _json["username"]; |
8162 } | 8162 } |
8163 } | 8163 } |
8164 | 8164 |
8165 core.Map toJson() { | 8165 core.Map<core.String, core.Object> toJson() { |
8166 var _json = new core.Map(); | 8166 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8167 if (items != null) { | 8167 if (items != null) { |
8168 _json["items"] = items.map((value) => (value).toJson()).toList(); | 8168 _json["items"] = items.map((value) => (value).toJson()).toList(); |
8169 } | 8169 } |
8170 if (itemsPerPage != null) { | 8170 if (itemsPerPage != null) { |
8171 _json["itemsPerPage"] = itemsPerPage; | 8171 _json["itemsPerPage"] = itemsPerPage; |
8172 } | 8172 } |
8173 if (kind != null) { | 8173 if (kind != null) { |
8174 _json["kind"] = kind; | 8174 _json["kind"] = kind; |
8175 } | 8175 } |
8176 if (nextLink != null) { | 8176 if (nextLink != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8211 columnType = _json["columnType"]; | 8211 columnType = _json["columnType"]; |
8212 } | 8212 } |
8213 if (_json.containsKey("dataType")) { | 8213 if (_json.containsKey("dataType")) { |
8214 dataType = _json["dataType"]; | 8214 dataType = _json["dataType"]; |
8215 } | 8215 } |
8216 if (_json.containsKey("name")) { | 8216 if (_json.containsKey("name")) { |
8217 name = _json["name"]; | 8217 name = _json["name"]; |
8218 } | 8218 } |
8219 } | 8219 } |
8220 | 8220 |
8221 core.Map toJson() { | 8221 core.Map<core.String, core.Object> toJson() { |
8222 var _json = new core.Map(); | 8222 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8223 if (columnType != null) { | 8223 if (columnType != null) { |
8224 _json["columnType"] = columnType; | 8224 _json["columnType"] = columnType; |
8225 } | 8225 } |
8226 if (dataType != null) { | 8226 if (dataType != null) { |
8227 _json["dataType"] = dataType; | 8227 _json["dataType"] = dataType; |
8228 } | 8228 } |
8229 if (name != null) { | 8229 if (name != null) { |
8230 _json["name"] = name; | 8230 _json["name"] = name; |
8231 } | 8231 } |
8232 return _json; | 8232 return _json; |
(...skipping 12 matching lines...) Expand all Loading... |
8245 id = _json["id"]; | 8245 id = _json["id"]; |
8246 } | 8246 } |
8247 if (_json.containsKey("label")) { | 8247 if (_json.containsKey("label")) { |
8248 label = _json["label"]; | 8248 label = _json["label"]; |
8249 } | 8249 } |
8250 if (_json.containsKey("type")) { | 8250 if (_json.containsKey("type")) { |
8251 type = _json["type"]; | 8251 type = _json["type"]; |
8252 } | 8252 } |
8253 } | 8253 } |
8254 | 8254 |
8255 core.Map toJson() { | 8255 core.Map<core.String, core.Object> toJson() { |
8256 var _json = new core.Map(); | 8256 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8257 if (id != null) { | 8257 if (id != null) { |
8258 _json["id"] = id; | 8258 _json["id"] = id; |
8259 } | 8259 } |
8260 if (label != null) { | 8260 if (label != null) { |
8261 _json["label"] = label; | 8261 _json["label"] = label; |
8262 } | 8262 } |
8263 if (type != null) { | 8263 if (type != null) { |
8264 _json["type"] = type; | 8264 _json["type"] = type; |
8265 } | 8265 } |
8266 return _json; | 8266 return _json; |
8267 } | 8267 } |
8268 } | 8268 } |
8269 | 8269 |
8270 class GaDataDataTableRowsC { | 8270 class GaDataDataTableRowsC { |
8271 core.String v; | 8271 core.String v; |
8272 | 8272 |
8273 GaDataDataTableRowsC(); | 8273 GaDataDataTableRowsC(); |
8274 | 8274 |
8275 GaDataDataTableRowsC.fromJson(core.Map _json) { | 8275 GaDataDataTableRowsC.fromJson(core.Map _json) { |
8276 if (_json.containsKey("v")) { | 8276 if (_json.containsKey("v")) { |
8277 v = _json["v"]; | 8277 v = _json["v"]; |
8278 } | 8278 } |
8279 } | 8279 } |
8280 | 8280 |
8281 core.Map toJson() { | 8281 core.Map<core.String, core.Object> toJson() { |
8282 var _json = new core.Map(); | 8282 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8283 if (v != null) { | 8283 if (v != null) { |
8284 _json["v"] = v; | 8284 _json["v"] = v; |
8285 } | 8285 } |
8286 return _json; | 8286 return _json; |
8287 } | 8287 } |
8288 } | 8288 } |
8289 | 8289 |
8290 class GaDataDataTableRows { | 8290 class GaDataDataTableRows { |
8291 core.List<GaDataDataTableRowsC> c; | 8291 core.List<GaDataDataTableRowsC> c; |
8292 | 8292 |
8293 GaDataDataTableRows(); | 8293 GaDataDataTableRows(); |
8294 | 8294 |
8295 GaDataDataTableRows.fromJson(core.Map _json) { | 8295 GaDataDataTableRows.fromJson(core.Map _json) { |
8296 if (_json.containsKey("c")) { | 8296 if (_json.containsKey("c")) { |
8297 c = _json["c"].map((value) => new GaDataDataTableRowsC.fromJson(value)).to
List(); | 8297 c = _json["c"].map((value) => new GaDataDataTableRowsC.fromJson(value)).to
List(); |
8298 } | 8298 } |
8299 } | 8299 } |
8300 | 8300 |
8301 core.Map toJson() { | 8301 core.Map<core.String, core.Object> toJson() { |
8302 var _json = new core.Map(); | 8302 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8303 if (c != null) { | 8303 if (c != null) { |
8304 _json["c"] = c.map((value) => (value).toJson()).toList(); | 8304 _json["c"] = c.map((value) => (value).toJson()).toList(); |
8305 } | 8305 } |
8306 return _json; | 8306 return _json; |
8307 } | 8307 } |
8308 } | 8308 } |
8309 | 8309 |
8310 class GaDataDataTable { | 8310 class GaDataDataTable { |
8311 core.List<GaDataDataTableCols> cols; | 8311 core.List<GaDataDataTableCols> cols; |
8312 core.List<GaDataDataTableRows> rows; | 8312 core.List<GaDataDataTableRows> rows; |
8313 | 8313 |
8314 GaDataDataTable(); | 8314 GaDataDataTable(); |
8315 | 8315 |
8316 GaDataDataTable.fromJson(core.Map _json) { | 8316 GaDataDataTable.fromJson(core.Map _json) { |
8317 if (_json.containsKey("cols")) { | 8317 if (_json.containsKey("cols")) { |
8318 cols = _json["cols"].map((value) => new GaDataDataTableCols.fromJson(value
)).toList(); | 8318 cols = _json["cols"].map((value) => new GaDataDataTableCols.fromJson(value
)).toList(); |
8319 } | 8319 } |
8320 if (_json.containsKey("rows")) { | 8320 if (_json.containsKey("rows")) { |
8321 rows = _json["rows"].map((value) => new GaDataDataTableRows.fromJson(value
)).toList(); | 8321 rows = _json["rows"].map((value) => new GaDataDataTableRows.fromJson(value
)).toList(); |
8322 } | 8322 } |
8323 } | 8323 } |
8324 | 8324 |
8325 core.Map toJson() { | 8325 core.Map<core.String, core.Object> toJson() { |
8326 var _json = new core.Map(); | 8326 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8327 if (cols != null) { | 8327 if (cols != null) { |
8328 _json["cols"] = cols.map((value) => (value).toJson()).toList(); | 8328 _json["cols"] = cols.map((value) => (value).toJson()).toList(); |
8329 } | 8329 } |
8330 if (rows != null) { | 8330 if (rows != null) { |
8331 _json["rows"] = rows.map((value) => (value).toJson()).toList(); | 8331 _json["rows"] = rows.map((value) => (value).toJson()).toList(); |
8332 } | 8332 } |
8333 return _json; | 8333 return _json; |
8334 } | 8334 } |
8335 } | 8335 } |
8336 | 8336 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8368 profileName = _json["profileName"]; | 8368 profileName = _json["profileName"]; |
8369 } | 8369 } |
8370 if (_json.containsKey("tableId")) { | 8370 if (_json.containsKey("tableId")) { |
8371 tableId = _json["tableId"]; | 8371 tableId = _json["tableId"]; |
8372 } | 8372 } |
8373 if (_json.containsKey("webPropertyId")) { | 8373 if (_json.containsKey("webPropertyId")) { |
8374 webPropertyId = _json["webPropertyId"]; | 8374 webPropertyId = _json["webPropertyId"]; |
8375 } | 8375 } |
8376 } | 8376 } |
8377 | 8377 |
8378 core.Map toJson() { | 8378 core.Map<core.String, core.Object> toJson() { |
8379 var _json = new core.Map(); | 8379 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8380 if (accountId != null) { | 8380 if (accountId != null) { |
8381 _json["accountId"] = accountId; | 8381 _json["accountId"] = accountId; |
8382 } | 8382 } |
8383 if (internalWebPropertyId != null) { | 8383 if (internalWebPropertyId != null) { |
8384 _json["internalWebPropertyId"] = internalWebPropertyId; | 8384 _json["internalWebPropertyId"] = internalWebPropertyId; |
8385 } | 8385 } |
8386 if (profileId != null) { | 8386 if (profileId != null) { |
8387 _json["profileId"] = profileId; | 8387 _json["profileId"] = profileId; |
8388 } | 8388 } |
8389 if (profileName != null) { | 8389 if (profileName != null) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8455 sort = _json["sort"]; | 8455 sort = _json["sort"]; |
8456 } | 8456 } |
8457 if (_json.containsKey("start-date")) { | 8457 if (_json.containsKey("start-date")) { |
8458 start_date = _json["start-date"]; | 8458 start_date = _json["start-date"]; |
8459 } | 8459 } |
8460 if (_json.containsKey("start-index")) { | 8460 if (_json.containsKey("start-index")) { |
8461 start_index = _json["start-index"]; | 8461 start_index = _json["start-index"]; |
8462 } | 8462 } |
8463 } | 8463 } |
8464 | 8464 |
8465 core.Map toJson() { | 8465 core.Map<core.String, core.Object> toJson() { |
8466 var _json = new core.Map(); | 8466 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8467 if (dimensions != null) { | 8467 if (dimensions != null) { |
8468 _json["dimensions"] = dimensions; | 8468 _json["dimensions"] = dimensions; |
8469 } | 8469 } |
8470 if (end_date != null) { | 8470 if (end_date != null) { |
8471 _json["end-date"] = end_date; | 8471 _json["end-date"] = end_date; |
8472 } | 8472 } |
8473 if (filters != null) { | 8473 if (filters != null) { |
8474 _json["filters"] = filters; | 8474 _json["filters"] = filters; |
8475 } | 8475 } |
8476 if (ids != null) { | 8476 if (ids != null) { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8608 selfLink = _json["selfLink"]; | 8608 selfLink = _json["selfLink"]; |
8609 } | 8609 } |
8610 if (_json.containsKey("totalResults")) { | 8610 if (_json.containsKey("totalResults")) { |
8611 totalResults = _json["totalResults"]; | 8611 totalResults = _json["totalResults"]; |
8612 } | 8612 } |
8613 if (_json.containsKey("totalsForAllResults")) { | 8613 if (_json.containsKey("totalsForAllResults")) { |
8614 totalsForAllResults = _json["totalsForAllResults"]; | 8614 totalsForAllResults = _json["totalsForAllResults"]; |
8615 } | 8615 } |
8616 } | 8616 } |
8617 | 8617 |
8618 core.Map toJson() { | 8618 core.Map<core.String, core.Object> toJson() { |
8619 var _json = new core.Map(); | 8619 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8620 if (columnHeaders != null) { | 8620 if (columnHeaders != null) { |
8621 _json["columnHeaders"] = columnHeaders.map((value) => (value).toJson()).to
List(); | 8621 _json["columnHeaders"] = columnHeaders.map((value) => (value).toJson()).to
List(); |
8622 } | 8622 } |
8623 if (containsSampledData != null) { | 8623 if (containsSampledData != null) { |
8624 _json["containsSampledData"] = containsSampledData; | 8624 _json["containsSampledData"] = containsSampledData; |
8625 } | 8625 } |
8626 if (dataLastRefreshed != null) { | 8626 if (dataLastRefreshed != null) { |
8627 _json["dataLastRefreshed"] = dataLastRefreshed; | 8627 _json["dataLastRefreshed"] = dataLastRefreshed; |
8628 } | 8628 } |
8629 if (dataTable != null) { | 8629 if (dataTable != null) { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8705 expression = _json["expression"]; | 8705 expression = _json["expression"]; |
8706 } | 8706 } |
8707 if (_json.containsKey("matchType")) { | 8707 if (_json.containsKey("matchType")) { |
8708 matchType = _json["matchType"]; | 8708 matchType = _json["matchType"]; |
8709 } | 8709 } |
8710 if (_json.containsKey("type")) { | 8710 if (_json.containsKey("type")) { |
8711 type = _json["type"]; | 8711 type = _json["type"]; |
8712 } | 8712 } |
8713 } | 8713 } |
8714 | 8714 |
8715 core.Map toJson() { | 8715 core.Map<core.String, core.Object> toJson() { |
8716 var _json = new core.Map(); | 8716 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8717 if (comparisonType != null) { | 8717 if (comparisonType != null) { |
8718 _json["comparisonType"] = comparisonType; | 8718 _json["comparisonType"] = comparisonType; |
8719 } | 8719 } |
8720 if (comparisonValue != null) { | 8720 if (comparisonValue != null) { |
8721 _json["comparisonValue"] = comparisonValue; | 8721 _json["comparisonValue"] = comparisonValue; |
8722 } | 8722 } |
8723 if (expression != null) { | 8723 if (expression != null) { |
8724 _json["expression"] = expression; | 8724 _json["expression"] = expression; |
8725 } | 8725 } |
8726 if (matchType != null) { | 8726 if (matchType != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
8746 | 8746 |
8747 GoalEventDetails.fromJson(core.Map _json) { | 8747 GoalEventDetails.fromJson(core.Map _json) { |
8748 if (_json.containsKey("eventConditions")) { | 8748 if (_json.containsKey("eventConditions")) { |
8749 eventConditions = _json["eventConditions"].map((value) => new GoalEventDet
ailsEventConditions.fromJson(value)).toList(); | 8749 eventConditions = _json["eventConditions"].map((value) => new GoalEventDet
ailsEventConditions.fromJson(value)).toList(); |
8750 } | 8750 } |
8751 if (_json.containsKey("useEventValue")) { | 8751 if (_json.containsKey("useEventValue")) { |
8752 useEventValue = _json["useEventValue"]; | 8752 useEventValue = _json["useEventValue"]; |
8753 } | 8753 } |
8754 } | 8754 } |
8755 | 8755 |
8756 core.Map toJson() { | 8756 core.Map<core.String, core.Object> toJson() { |
8757 var _json = new core.Map(); | 8757 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8758 if (eventConditions != null) { | 8758 if (eventConditions != null) { |
8759 _json["eventConditions"] = eventConditions.map((value) => (value).toJson()
).toList(); | 8759 _json["eventConditions"] = eventConditions.map((value) => (value).toJson()
).toList(); |
8760 } | 8760 } |
8761 if (useEventValue != null) { | 8761 if (useEventValue != null) { |
8762 _json["useEventValue"] = useEventValue; | 8762 _json["useEventValue"] = useEventValue; |
8763 } | 8763 } |
8764 return _json; | 8764 return _json; |
8765 } | 8765 } |
8766 } | 8766 } |
8767 | 8767 |
(...skipping 11 matching lines...) Expand all Loading... |
8779 | 8779 |
8780 GoalParentLink.fromJson(core.Map _json) { | 8780 GoalParentLink.fromJson(core.Map _json) { |
8781 if (_json.containsKey("href")) { | 8781 if (_json.containsKey("href")) { |
8782 href = _json["href"]; | 8782 href = _json["href"]; |
8783 } | 8783 } |
8784 if (_json.containsKey("type")) { | 8784 if (_json.containsKey("type")) { |
8785 type = _json["type"]; | 8785 type = _json["type"]; |
8786 } | 8786 } |
8787 } | 8787 } |
8788 | 8788 |
8789 core.Map toJson() { | 8789 core.Map<core.String, core.Object> toJson() { |
8790 var _json = new core.Map(); | 8790 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8791 if (href != null) { | 8791 if (href != null) { |
8792 _json["href"] = href; | 8792 _json["href"] = href; |
8793 } | 8793 } |
8794 if (type != null) { | 8794 if (type != null) { |
8795 _json["type"] = type; | 8795 _json["type"] = type; |
8796 } | 8796 } |
8797 return _json; | 8797 return _json; |
8798 } | 8798 } |
8799 } | 8799 } |
8800 | 8800 |
(...skipping 12 matching lines...) Expand all Loading... |
8813 name = _json["name"]; | 8813 name = _json["name"]; |
8814 } | 8814 } |
8815 if (_json.containsKey("number")) { | 8815 if (_json.containsKey("number")) { |
8816 number = _json["number"]; | 8816 number = _json["number"]; |
8817 } | 8817 } |
8818 if (_json.containsKey("url")) { | 8818 if (_json.containsKey("url")) { |
8819 url = _json["url"]; | 8819 url = _json["url"]; |
8820 } | 8820 } |
8821 } | 8821 } |
8822 | 8822 |
8823 core.Map toJson() { | 8823 core.Map<core.String, core.Object> toJson() { |
8824 var _json = new core.Map(); | 8824 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8825 if (name != null) { | 8825 if (name != null) { |
8826 _json["name"] = name; | 8826 _json["name"] = name; |
8827 } | 8827 } |
8828 if (number != null) { | 8828 if (number != null) { |
8829 _json["number"] = number; | 8829 _json["number"] = number; |
8830 } | 8830 } |
8831 if (url != null) { | 8831 if (url != null) { |
8832 _json["url"] = url; | 8832 _json["url"] = url; |
8833 } | 8833 } |
8834 return _json; | 8834 return _json; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8866 matchType = _json["matchType"]; | 8866 matchType = _json["matchType"]; |
8867 } | 8867 } |
8868 if (_json.containsKey("steps")) { | 8868 if (_json.containsKey("steps")) { |
8869 steps = _json["steps"].map((value) => new GoalUrlDestinationDetailsSteps.f
romJson(value)).toList(); | 8869 steps = _json["steps"].map((value) => new GoalUrlDestinationDetailsSteps.f
romJson(value)).toList(); |
8870 } | 8870 } |
8871 if (_json.containsKey("url")) { | 8871 if (_json.containsKey("url")) { |
8872 url = _json["url"]; | 8872 url = _json["url"]; |
8873 } | 8873 } |
8874 } | 8874 } |
8875 | 8875 |
8876 core.Map toJson() { | 8876 core.Map<core.String, core.Object> toJson() { |
8877 var _json = new core.Map(); | 8877 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8878 if (caseSensitive != null) { | 8878 if (caseSensitive != null) { |
8879 _json["caseSensitive"] = caseSensitive; | 8879 _json["caseSensitive"] = caseSensitive; |
8880 } | 8880 } |
8881 if (firstStepRequired != null) { | 8881 if (firstStepRequired != null) { |
8882 _json["firstStepRequired"] = firstStepRequired; | 8882 _json["firstStepRequired"] = firstStepRequired; |
8883 } | 8883 } |
8884 if (matchType != null) { | 8884 if (matchType != null) { |
8885 _json["matchType"] = matchType; | 8885 _json["matchType"] = matchType; |
8886 } | 8886 } |
8887 if (steps != null) { | 8887 if (steps != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
8907 | 8907 |
8908 GoalVisitNumPagesDetails.fromJson(core.Map _json) { | 8908 GoalVisitNumPagesDetails.fromJson(core.Map _json) { |
8909 if (_json.containsKey("comparisonType")) { | 8909 if (_json.containsKey("comparisonType")) { |
8910 comparisonType = _json["comparisonType"]; | 8910 comparisonType = _json["comparisonType"]; |
8911 } | 8911 } |
8912 if (_json.containsKey("comparisonValue")) { | 8912 if (_json.containsKey("comparisonValue")) { |
8913 comparisonValue = _json["comparisonValue"]; | 8913 comparisonValue = _json["comparisonValue"]; |
8914 } | 8914 } |
8915 } | 8915 } |
8916 | 8916 |
8917 core.Map toJson() { | 8917 core.Map<core.String, core.Object> toJson() { |
8918 var _json = new core.Map(); | 8918 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8919 if (comparisonType != null) { | 8919 if (comparisonType != null) { |
8920 _json["comparisonType"] = comparisonType; | 8920 _json["comparisonType"] = comparisonType; |
8921 } | 8921 } |
8922 if (comparisonValue != null) { | 8922 if (comparisonValue != null) { |
8923 _json["comparisonValue"] = comparisonValue; | 8923 _json["comparisonValue"] = comparisonValue; |
8924 } | 8924 } |
8925 return _json; | 8925 return _json; |
8926 } | 8926 } |
8927 } | 8927 } |
8928 | 8928 |
8929 /** Details for the goal of the type VISIT_TIME_ON_SITE. */ | 8929 /** Details for the goal of the type VISIT_TIME_ON_SITE. */ |
8930 class GoalVisitTimeOnSiteDetails { | 8930 class GoalVisitTimeOnSiteDetails { |
8931 /** Type of comparison. Possible values are LESS_THAN or GREATER_THAN. */ | 8931 /** Type of comparison. Possible values are LESS_THAN or GREATER_THAN. */ |
8932 core.String comparisonType; | 8932 core.String comparisonType; |
8933 /** Value used for this comparison. */ | 8933 /** Value used for this comparison. */ |
8934 core.String comparisonValue; | 8934 core.String comparisonValue; |
8935 | 8935 |
8936 GoalVisitTimeOnSiteDetails(); | 8936 GoalVisitTimeOnSiteDetails(); |
8937 | 8937 |
8938 GoalVisitTimeOnSiteDetails.fromJson(core.Map _json) { | 8938 GoalVisitTimeOnSiteDetails.fromJson(core.Map _json) { |
8939 if (_json.containsKey("comparisonType")) { | 8939 if (_json.containsKey("comparisonType")) { |
8940 comparisonType = _json["comparisonType"]; | 8940 comparisonType = _json["comparisonType"]; |
8941 } | 8941 } |
8942 if (_json.containsKey("comparisonValue")) { | 8942 if (_json.containsKey("comparisonValue")) { |
8943 comparisonValue = _json["comparisonValue"]; | 8943 comparisonValue = _json["comparisonValue"]; |
8944 } | 8944 } |
8945 } | 8945 } |
8946 | 8946 |
8947 core.Map toJson() { | 8947 core.Map<core.String, core.Object> toJson() { |
8948 var _json = new core.Map(); | 8948 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8949 if (comparisonType != null) { | 8949 if (comparisonType != null) { |
8950 _json["comparisonType"] = comparisonType; | 8950 _json["comparisonType"] = comparisonType; |
8951 } | 8951 } |
8952 if (comparisonValue != null) { | 8952 if (comparisonValue != null) { |
8953 _json["comparisonValue"] = comparisonValue; | 8953 _json["comparisonValue"] = comparisonValue; |
8954 } | 8954 } |
8955 return _json; | 8955 return _json; |
8956 } | 8956 } |
8957 } | 8957 } |
8958 | 8958 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9056 visitNumPagesDetails = new GoalVisitNumPagesDetails.fromJson(_json["visitN
umPagesDetails"]); | 9056 visitNumPagesDetails = new GoalVisitNumPagesDetails.fromJson(_json["visitN
umPagesDetails"]); |
9057 } | 9057 } |
9058 if (_json.containsKey("visitTimeOnSiteDetails")) { | 9058 if (_json.containsKey("visitTimeOnSiteDetails")) { |
9059 visitTimeOnSiteDetails = new GoalVisitTimeOnSiteDetails.fromJson(_json["vi
sitTimeOnSiteDetails"]); | 9059 visitTimeOnSiteDetails = new GoalVisitTimeOnSiteDetails.fromJson(_json["vi
sitTimeOnSiteDetails"]); |
9060 } | 9060 } |
9061 if (_json.containsKey("webPropertyId")) { | 9061 if (_json.containsKey("webPropertyId")) { |
9062 webPropertyId = _json["webPropertyId"]; | 9062 webPropertyId = _json["webPropertyId"]; |
9063 } | 9063 } |
9064 } | 9064 } |
9065 | 9065 |
9066 core.Map toJson() { | 9066 core.Map<core.String, core.Object> toJson() { |
9067 var _json = new core.Map(); | 9067 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9068 if (accountId != null) { | 9068 if (accountId != null) { |
9069 _json["accountId"] = accountId; | 9069 _json["accountId"] = accountId; |
9070 } | 9070 } |
9071 if (active != null) { | 9071 if (active != null) { |
9072 _json["active"] = active; | 9072 _json["active"] = active; |
9073 } | 9073 } |
9074 if (created != null) { | 9074 if (created != null) { |
9075 _json["created"] = (created).toIso8601String(); | 9075 _json["created"] = (created).toIso8601String(); |
9076 } | 9076 } |
9077 if (eventDetails != null) { | 9077 if (eventDetails != null) { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9179 startIndex = _json["startIndex"]; | 9179 startIndex = _json["startIndex"]; |
9180 } | 9180 } |
9181 if (_json.containsKey("totalResults")) { | 9181 if (_json.containsKey("totalResults")) { |
9182 totalResults = _json["totalResults"]; | 9182 totalResults = _json["totalResults"]; |
9183 } | 9183 } |
9184 if (_json.containsKey("username")) { | 9184 if (_json.containsKey("username")) { |
9185 username = _json["username"]; | 9185 username = _json["username"]; |
9186 } | 9186 } |
9187 } | 9187 } |
9188 | 9188 |
9189 core.Map toJson() { | 9189 core.Map<core.String, core.Object> toJson() { |
9190 var _json = new core.Map(); | 9190 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9191 if (items != null) { | 9191 if (items != null) { |
9192 _json["items"] = items.map((value) => (value).toJson()).toList(); | 9192 _json["items"] = items.map((value) => (value).toJson()).toList(); |
9193 } | 9193 } |
9194 if (itemsPerPage != null) { | 9194 if (itemsPerPage != null) { |
9195 _json["itemsPerPage"] = itemsPerPage; | 9195 _json["itemsPerPage"] = itemsPerPage; |
9196 } | 9196 } |
9197 if (kind != null) { | 9197 if (kind != null) { |
9198 _json["kind"] = kind; | 9198 _json["kind"] = kind; |
9199 } | 9199 } |
9200 if (nextLink != null) { | 9200 if (nextLink != null) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9254 kind = _json["kind"]; | 9254 kind = _json["kind"]; |
9255 } | 9255 } |
9256 if (_json.containsKey("membershipDurationDays")) { | 9256 if (_json.containsKey("membershipDurationDays")) { |
9257 membershipDurationDays = _json["membershipDurationDays"]; | 9257 membershipDurationDays = _json["membershipDurationDays"]; |
9258 } | 9258 } |
9259 if (_json.containsKey("segment")) { | 9259 if (_json.containsKey("segment")) { |
9260 segment = _json["segment"]; | 9260 segment = _json["segment"]; |
9261 } | 9261 } |
9262 } | 9262 } |
9263 | 9263 |
9264 core.Map toJson() { | 9264 core.Map<core.String, core.Object> toJson() { |
9265 var _json = new core.Map(); | 9265 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9266 if (daysToLookBack != null) { | 9266 if (daysToLookBack != null) { |
9267 _json["daysToLookBack"] = daysToLookBack; | 9267 _json["daysToLookBack"] = daysToLookBack; |
9268 } | 9268 } |
9269 if (isSmartList != null) { | 9269 if (isSmartList != null) { |
9270 _json["isSmartList"] = isSmartList; | 9270 _json["isSmartList"] = isSmartList; |
9271 } | 9271 } |
9272 if (kind != null) { | 9272 if (kind != null) { |
9273 _json["kind"] = kind; | 9273 _json["kind"] = kind; |
9274 } | 9274 } |
9275 if (membershipDurationDays != null) { | 9275 if (membershipDurationDays != null) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9342 status = _json["status"]; | 9342 status = _json["status"]; |
9343 } | 9343 } |
9344 if (_json.containsKey("type")) { | 9344 if (_json.containsKey("type")) { |
9345 type = _json["type"]; | 9345 type = _json["type"]; |
9346 } | 9346 } |
9347 if (_json.containsKey("webPropertyId")) { | 9347 if (_json.containsKey("webPropertyId")) { |
9348 webPropertyId = _json["webPropertyId"]; | 9348 webPropertyId = _json["webPropertyId"]; |
9349 } | 9349 } |
9350 } | 9350 } |
9351 | 9351 |
9352 core.Map toJson() { | 9352 core.Map<core.String, core.Object> toJson() { |
9353 var _json = new core.Map(); | 9353 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9354 if (accountId != null) { | 9354 if (accountId != null) { |
9355 _json["accountId"] = accountId; | 9355 _json["accountId"] = accountId; |
9356 } | 9356 } |
9357 if (eligibleForSearch != null) { | 9357 if (eligibleForSearch != null) { |
9358 _json["eligibleForSearch"] = eligibleForSearch; | 9358 _json["eligibleForSearch"] = eligibleForSearch; |
9359 } | 9359 } |
9360 if (id != null) { | 9360 if (id != null) { |
9361 _json["id"] = id; | 9361 _json["id"] = id; |
9362 } | 9362 } |
9363 if (internalWebPropertyId != null) { | 9363 if (internalWebPropertyId != null) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9403 columnType = _json["columnType"]; | 9403 columnType = _json["columnType"]; |
9404 } | 9404 } |
9405 if (_json.containsKey("dataType")) { | 9405 if (_json.containsKey("dataType")) { |
9406 dataType = _json["dataType"]; | 9406 dataType = _json["dataType"]; |
9407 } | 9407 } |
9408 if (_json.containsKey("name")) { | 9408 if (_json.containsKey("name")) { |
9409 name = _json["name"]; | 9409 name = _json["name"]; |
9410 } | 9410 } |
9411 } | 9411 } |
9412 | 9412 |
9413 core.Map toJson() { | 9413 core.Map<core.String, core.Object> toJson() { |
9414 var _json = new core.Map(); | 9414 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9415 if (columnType != null) { | 9415 if (columnType != null) { |
9416 _json["columnType"] = columnType; | 9416 _json["columnType"] = columnType; |
9417 } | 9417 } |
9418 if (dataType != null) { | 9418 if (dataType != null) { |
9419 _json["dataType"] = dataType; | 9419 _json["dataType"] = dataType; |
9420 } | 9420 } |
9421 if (name != null) { | 9421 if (name != null) { |
9422 _json["name"] = name; | 9422 _json["name"] = name; |
9423 } | 9423 } |
9424 return _json; | 9424 return _json; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9459 profileName = _json["profileName"]; | 9459 profileName = _json["profileName"]; |
9460 } | 9460 } |
9461 if (_json.containsKey("tableId")) { | 9461 if (_json.containsKey("tableId")) { |
9462 tableId = _json["tableId"]; | 9462 tableId = _json["tableId"]; |
9463 } | 9463 } |
9464 if (_json.containsKey("webPropertyId")) { | 9464 if (_json.containsKey("webPropertyId")) { |
9465 webPropertyId = _json["webPropertyId"]; | 9465 webPropertyId = _json["webPropertyId"]; |
9466 } | 9466 } |
9467 } | 9467 } |
9468 | 9468 |
9469 core.Map toJson() { | 9469 core.Map<core.String, core.Object> toJson() { |
9470 var _json = new core.Map(); | 9470 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9471 if (accountId != null) { | 9471 if (accountId != null) { |
9472 _json["accountId"] = accountId; | 9472 _json["accountId"] = accountId; |
9473 } | 9473 } |
9474 if (internalWebPropertyId != null) { | 9474 if (internalWebPropertyId != null) { |
9475 _json["internalWebPropertyId"] = internalWebPropertyId; | 9475 _json["internalWebPropertyId"] = internalWebPropertyId; |
9476 } | 9476 } |
9477 if (profileId != null) { | 9477 if (profileId != null) { |
9478 _json["profileId"] = profileId; | 9478 _json["profileId"] = profileId; |
9479 } | 9479 } |
9480 if (profileName != null) { | 9480 if (profileName != null) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9546 sort = _json["sort"]; | 9546 sort = _json["sort"]; |
9547 } | 9547 } |
9548 if (_json.containsKey("start-date")) { | 9548 if (_json.containsKey("start-date")) { |
9549 start_date = _json["start-date"]; | 9549 start_date = _json["start-date"]; |
9550 } | 9550 } |
9551 if (_json.containsKey("start-index")) { | 9551 if (_json.containsKey("start-index")) { |
9552 start_index = _json["start-index"]; | 9552 start_index = _json["start-index"]; |
9553 } | 9553 } |
9554 } | 9554 } |
9555 | 9555 |
9556 core.Map toJson() { | 9556 core.Map<core.String, core.Object> toJson() { |
9557 var _json = new core.Map(); | 9557 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9558 if (dimensions != null) { | 9558 if (dimensions != null) { |
9559 _json["dimensions"] = dimensions; | 9559 _json["dimensions"] = dimensions; |
9560 } | 9560 } |
9561 if (end_date != null) { | 9561 if (end_date != null) { |
9562 _json["end-date"] = end_date; | 9562 _json["end-date"] = end_date; |
9563 } | 9563 } |
9564 if (filters != null) { | 9564 if (filters != null) { |
9565 _json["filters"] = filters; | 9565 _json["filters"] = filters; |
9566 } | 9566 } |
9567 if (ids != null) { | 9567 if (ids != null) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9607 | 9607 |
9608 McfDataRowsConversionPathValue.fromJson(core.Map _json) { | 9608 McfDataRowsConversionPathValue.fromJson(core.Map _json) { |
9609 if (_json.containsKey("interactionType")) { | 9609 if (_json.containsKey("interactionType")) { |
9610 interactionType = _json["interactionType"]; | 9610 interactionType = _json["interactionType"]; |
9611 } | 9611 } |
9612 if (_json.containsKey("nodeValue")) { | 9612 if (_json.containsKey("nodeValue")) { |
9613 nodeValue = _json["nodeValue"]; | 9613 nodeValue = _json["nodeValue"]; |
9614 } | 9614 } |
9615 } | 9615 } |
9616 | 9616 |
9617 core.Map toJson() { | 9617 core.Map<core.String, core.Object> toJson() { |
9618 var _json = new core.Map(); | 9618 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9619 if (interactionType != null) { | 9619 if (interactionType != null) { |
9620 _json["interactionType"] = interactionType; | 9620 _json["interactionType"] = interactionType; |
9621 } | 9621 } |
9622 if (nodeValue != null) { | 9622 if (nodeValue != null) { |
9623 _json["nodeValue"] = nodeValue; | 9623 _json["nodeValue"] = nodeValue; |
9624 } | 9624 } |
9625 return _json; | 9625 return _json; |
9626 } | 9626 } |
9627 } | 9627 } |
9628 | 9628 |
(...skipping 14 matching lines...) Expand all Loading... |
9643 | 9643 |
9644 McfDataRows.fromJson(core.Map _json) { | 9644 McfDataRows.fromJson(core.Map _json) { |
9645 if (_json.containsKey("conversionPathValue")) { | 9645 if (_json.containsKey("conversionPathValue")) { |
9646 conversionPathValue = _json["conversionPathValue"].map((value) => new McfD
ataRowsConversionPathValue.fromJson(value)).toList(); | 9646 conversionPathValue = _json["conversionPathValue"].map((value) => new McfD
ataRowsConversionPathValue.fromJson(value)).toList(); |
9647 } | 9647 } |
9648 if (_json.containsKey("primitiveValue")) { | 9648 if (_json.containsKey("primitiveValue")) { |
9649 primitiveValue = _json["primitiveValue"]; | 9649 primitiveValue = _json["primitiveValue"]; |
9650 } | 9650 } |
9651 } | 9651 } |
9652 | 9652 |
9653 core.Map toJson() { | 9653 core.Map<core.String, core.Object> toJson() { |
9654 var _json = new core.Map(); | 9654 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9655 if (conversionPathValue != null) { | 9655 if (conversionPathValue != null) { |
9656 _json["conversionPathValue"] = conversionPathValue.map((value) => (value).
toJson()).toList(); | 9656 _json["conversionPathValue"] = conversionPathValue.map((value) => (value).
toJson()).toList(); |
9657 } | 9657 } |
9658 if (primitiveValue != null) { | 9658 if (primitiveValue != null) { |
9659 _json["primitiveValue"] = primitiveValue; | 9659 _json["primitiveValue"] = primitiveValue; |
9660 } | 9660 } |
9661 return _json; | 9661 return _json; |
9662 } | 9662 } |
9663 } | 9663 } |
9664 | 9664 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9760 selfLink = _json["selfLink"]; | 9760 selfLink = _json["selfLink"]; |
9761 } | 9761 } |
9762 if (_json.containsKey("totalResults")) { | 9762 if (_json.containsKey("totalResults")) { |
9763 totalResults = _json["totalResults"]; | 9763 totalResults = _json["totalResults"]; |
9764 } | 9764 } |
9765 if (_json.containsKey("totalsForAllResults")) { | 9765 if (_json.containsKey("totalsForAllResults")) { |
9766 totalsForAllResults = _json["totalsForAllResults"]; | 9766 totalsForAllResults = _json["totalsForAllResults"]; |
9767 } | 9767 } |
9768 } | 9768 } |
9769 | 9769 |
9770 core.Map toJson() { | 9770 core.Map<core.String, core.Object> toJson() { |
9771 var _json = new core.Map(); | 9771 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9772 if (columnHeaders != null) { | 9772 if (columnHeaders != null) { |
9773 _json["columnHeaders"] = columnHeaders.map((value) => (value).toJson()).to
List(); | 9773 _json["columnHeaders"] = columnHeaders.map((value) => (value).toJson()).to
List(); |
9774 } | 9774 } |
9775 if (containsSampledData != null) { | 9775 if (containsSampledData != null) { |
9776 _json["containsSampledData"] = containsSampledData; | 9776 _json["containsSampledData"] = containsSampledData; |
9777 } | 9777 } |
9778 if (id != null) { | 9778 if (id != null) { |
9779 _json["id"] = id; | 9779 _json["id"] = id; |
9780 } | 9780 } |
9781 if (itemsPerPage != null) { | 9781 if (itemsPerPage != null) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9832 | 9832 |
9833 ProfileChildLink.fromJson(core.Map _json) { | 9833 ProfileChildLink.fromJson(core.Map _json) { |
9834 if (_json.containsKey("href")) { | 9834 if (_json.containsKey("href")) { |
9835 href = _json["href"]; | 9835 href = _json["href"]; |
9836 } | 9836 } |
9837 if (_json.containsKey("type")) { | 9837 if (_json.containsKey("type")) { |
9838 type = _json["type"]; | 9838 type = _json["type"]; |
9839 } | 9839 } |
9840 } | 9840 } |
9841 | 9841 |
9842 core.Map toJson() { | 9842 core.Map<core.String, core.Object> toJson() { |
9843 var _json = new core.Map(); | 9843 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9844 if (href != null) { | 9844 if (href != null) { |
9845 _json["href"] = href; | 9845 _json["href"] = href; |
9846 } | 9846 } |
9847 if (type != null) { | 9847 if (type != null) { |
9848 _json["type"] = type; | 9848 _json["type"] = type; |
9849 } | 9849 } |
9850 return _json; | 9850 return _json; |
9851 } | 9851 } |
9852 } | 9852 } |
9853 | 9853 |
(...skipping 11 matching lines...) Expand all Loading... |
9865 | 9865 |
9866 ProfileParentLink.fromJson(core.Map _json) { | 9866 ProfileParentLink.fromJson(core.Map _json) { |
9867 if (_json.containsKey("href")) { | 9867 if (_json.containsKey("href")) { |
9868 href = _json["href"]; | 9868 href = _json["href"]; |
9869 } | 9869 } |
9870 if (_json.containsKey("type")) { | 9870 if (_json.containsKey("type")) { |
9871 type = _json["type"]; | 9871 type = _json["type"]; |
9872 } | 9872 } |
9873 } | 9873 } |
9874 | 9874 |
9875 core.Map toJson() { | 9875 core.Map<core.String, core.Object> toJson() { |
9876 var _json = new core.Map(); | 9876 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9877 if (href != null) { | 9877 if (href != null) { |
9878 _json["href"] = href; | 9878 _json["href"] = href; |
9879 } | 9879 } |
9880 if (type != null) { | 9880 if (type != null) { |
9881 _json["type"] = type; | 9881 _json["type"] = type; |
9882 } | 9882 } |
9883 return _json; | 9883 return _json; |
9884 } | 9884 } |
9885 } | 9885 } |
9886 | 9886 |
9887 /** Permissions the user has for this view (profile). */ | 9887 /** Permissions the user has for this view (profile). */ |
9888 class ProfilePermissions { | 9888 class ProfilePermissions { |
9889 /** | 9889 /** |
9890 * All the permissions that the user has for this view (profile). These | 9890 * All the permissions that the user has for this view (profile). These |
9891 * include any implied permissions (e.g., EDIT implies VIEW) or inherited | 9891 * include any implied permissions (e.g., EDIT implies VIEW) or inherited |
9892 * permissions from the parent web property. | 9892 * permissions from the parent web property. |
9893 */ | 9893 */ |
9894 core.List<core.String> effective; | 9894 core.List<core.String> effective; |
9895 | 9895 |
9896 ProfilePermissions(); | 9896 ProfilePermissions(); |
9897 | 9897 |
9898 ProfilePermissions.fromJson(core.Map _json) { | 9898 ProfilePermissions.fromJson(core.Map _json) { |
9899 if (_json.containsKey("effective")) { | 9899 if (_json.containsKey("effective")) { |
9900 effective = _json["effective"]; | 9900 effective = _json["effective"]; |
9901 } | 9901 } |
9902 } | 9902 } |
9903 | 9903 |
9904 core.Map toJson() { | 9904 core.Map<core.String, core.Object> toJson() { |
9905 var _json = new core.Map(); | 9905 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9906 if (effective != null) { | 9906 if (effective != null) { |
9907 _json["effective"] = effective; | 9907 _json["effective"] = effective; |
9908 } | 9908 } |
9909 return _json; | 9909 return _json; |
9910 } | 9910 } |
9911 } | 9911 } |
9912 | 9912 |
9913 /** JSON template for an Analytics view (profile). */ | 9913 /** JSON template for an Analytics view (profile). */ |
9914 class Profile { | 9914 class Profile { |
9915 /** Account ID to which this view (profile) belongs. */ | 9915 /** Account ID to which this view (profile) belongs. */ |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10072 updated = core.DateTime.parse(_json["updated"]); | 10072 updated = core.DateTime.parse(_json["updated"]); |
10073 } | 10073 } |
10074 if (_json.containsKey("webPropertyId")) { | 10074 if (_json.containsKey("webPropertyId")) { |
10075 webPropertyId = _json["webPropertyId"]; | 10075 webPropertyId = _json["webPropertyId"]; |
10076 } | 10076 } |
10077 if (_json.containsKey("websiteUrl")) { | 10077 if (_json.containsKey("websiteUrl")) { |
10078 websiteUrl = _json["websiteUrl"]; | 10078 websiteUrl = _json["websiteUrl"]; |
10079 } | 10079 } |
10080 } | 10080 } |
10081 | 10081 |
10082 core.Map toJson() { | 10082 core.Map<core.String, core.Object> toJson() { |
10083 var _json = new core.Map(); | 10083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10084 if (accountId != null) { | 10084 if (accountId != null) { |
10085 _json["accountId"] = accountId; | 10085 _json["accountId"] = accountId; |
10086 } | 10086 } |
10087 if (botFilteringEnabled != null) { | 10087 if (botFilteringEnabled != null) { |
10088 _json["botFilteringEnabled"] = botFilteringEnabled; | 10088 _json["botFilteringEnabled"] = botFilteringEnabled; |
10089 } | 10089 } |
10090 if (childLink != null) { | 10090 if (childLink != null) { |
10091 _json["childLink"] = (childLink).toJson(); | 10091 _json["childLink"] = (childLink).toJson(); |
10092 } | 10092 } |
10093 if (created != null) { | 10093 if (created != null) { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10206 profileRef = new ProfileRef.fromJson(_json["profileRef"]); | 10206 profileRef = new ProfileRef.fromJson(_json["profileRef"]); |
10207 } | 10207 } |
10208 if (_json.containsKey("rank")) { | 10208 if (_json.containsKey("rank")) { |
10209 rank = _json["rank"]; | 10209 rank = _json["rank"]; |
10210 } | 10210 } |
10211 if (_json.containsKey("selfLink")) { | 10211 if (_json.containsKey("selfLink")) { |
10212 selfLink = _json["selfLink"]; | 10212 selfLink = _json["selfLink"]; |
10213 } | 10213 } |
10214 } | 10214 } |
10215 | 10215 |
10216 core.Map toJson() { | 10216 core.Map<core.String, core.Object> toJson() { |
10217 var _json = new core.Map(); | 10217 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10218 if (filterRef != null) { | 10218 if (filterRef != null) { |
10219 _json["filterRef"] = (filterRef).toJson(); | 10219 _json["filterRef"] = (filterRef).toJson(); |
10220 } | 10220 } |
10221 if (id != null) { | 10221 if (id != null) { |
10222 _json["id"] = id; | 10222 _json["id"] = id; |
10223 } | 10223 } |
10224 if (kind != null) { | 10224 if (kind != null) { |
10225 _json["kind"] = kind; | 10225 _json["kind"] = kind; |
10226 } | 10226 } |
10227 if (profileRef != null) { | 10227 if (profileRef != null) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10293 startIndex = _json["startIndex"]; | 10293 startIndex = _json["startIndex"]; |
10294 } | 10294 } |
10295 if (_json.containsKey("totalResults")) { | 10295 if (_json.containsKey("totalResults")) { |
10296 totalResults = _json["totalResults"]; | 10296 totalResults = _json["totalResults"]; |
10297 } | 10297 } |
10298 if (_json.containsKey("username")) { | 10298 if (_json.containsKey("username")) { |
10299 username = _json["username"]; | 10299 username = _json["username"]; |
10300 } | 10300 } |
10301 } | 10301 } |
10302 | 10302 |
10303 core.Map toJson() { | 10303 core.Map<core.String, core.Object> toJson() { |
10304 var _json = new core.Map(); | 10304 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10305 if (items != null) { | 10305 if (items != null) { |
10306 _json["items"] = items.map((value) => (value).toJson()).toList(); | 10306 _json["items"] = items.map((value) => (value).toJson()).toList(); |
10307 } | 10307 } |
10308 if (itemsPerPage != null) { | 10308 if (itemsPerPage != null) { |
10309 _json["itemsPerPage"] = itemsPerPage; | 10309 _json["itemsPerPage"] = itemsPerPage; |
10310 } | 10310 } |
10311 if (kind != null) { | 10311 if (kind != null) { |
10312 _json["kind"] = kind; | 10312 _json["kind"] = kind; |
10313 } | 10313 } |
10314 if (nextLink != null) { | 10314 if (nextLink != null) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10369 kind = _json["kind"]; | 10369 kind = _json["kind"]; |
10370 } | 10370 } |
10371 if (_json.containsKey("name")) { | 10371 if (_json.containsKey("name")) { |
10372 name = _json["name"]; | 10372 name = _json["name"]; |
10373 } | 10373 } |
10374 if (_json.containsKey("webPropertyId")) { | 10374 if (_json.containsKey("webPropertyId")) { |
10375 webPropertyId = _json["webPropertyId"]; | 10375 webPropertyId = _json["webPropertyId"]; |
10376 } | 10376 } |
10377 } | 10377 } |
10378 | 10378 |
10379 core.Map toJson() { | 10379 core.Map<core.String, core.Object> toJson() { |
10380 var _json = new core.Map(); | 10380 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10381 if (accountId != null) { | 10381 if (accountId != null) { |
10382 _json["accountId"] = accountId; | 10382 _json["accountId"] = accountId; |
10383 } | 10383 } |
10384 if (href != null) { | 10384 if (href != null) { |
10385 _json["href"] = href; | 10385 _json["href"] = href; |
10386 } | 10386 } |
10387 if (id != null) { | 10387 if (id != null) { |
10388 _json["id"] = id; | 10388 _json["id"] = id; |
10389 } | 10389 } |
10390 if (internalWebPropertyId != null) { | 10390 if (internalWebPropertyId != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10432 name = _json["name"]; | 10432 name = _json["name"]; |
10433 } | 10433 } |
10434 if (_json.containsKey("starred")) { | 10434 if (_json.containsKey("starred")) { |
10435 starred = _json["starred"]; | 10435 starred = _json["starred"]; |
10436 } | 10436 } |
10437 if (_json.containsKey("type")) { | 10437 if (_json.containsKey("type")) { |
10438 type = _json["type"]; | 10438 type = _json["type"]; |
10439 } | 10439 } |
10440 } | 10440 } |
10441 | 10441 |
10442 core.Map toJson() { | 10442 core.Map<core.String, core.Object> toJson() { |
10443 var _json = new core.Map(); | 10443 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10444 if (id != null) { | 10444 if (id != null) { |
10445 _json["id"] = id; | 10445 _json["id"] = id; |
10446 } | 10446 } |
10447 if (kind != null) { | 10447 if (kind != null) { |
10448 _json["kind"] = kind; | 10448 _json["kind"] = kind; |
10449 } | 10449 } |
10450 if (name != null) { | 10450 if (name != null) { |
10451 _json["name"] = name; | 10451 _json["name"] = name; |
10452 } | 10452 } |
10453 if (starred != null) { | 10453 if (starred != null) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10516 startIndex = _json["startIndex"]; | 10516 startIndex = _json["startIndex"]; |
10517 } | 10517 } |
10518 if (_json.containsKey("totalResults")) { | 10518 if (_json.containsKey("totalResults")) { |
10519 totalResults = _json["totalResults"]; | 10519 totalResults = _json["totalResults"]; |
10520 } | 10520 } |
10521 if (_json.containsKey("username")) { | 10521 if (_json.containsKey("username")) { |
10522 username = _json["username"]; | 10522 username = _json["username"]; |
10523 } | 10523 } |
10524 } | 10524 } |
10525 | 10525 |
10526 core.Map toJson() { | 10526 core.Map<core.String, core.Object> toJson() { |
10527 var _json = new core.Map(); | 10527 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10528 if (items != null) { | 10528 if (items != null) { |
10529 _json["items"] = items.map((value) => (value).toJson()).toList(); | 10529 _json["items"] = items.map((value) => (value).toJson()).toList(); |
10530 } | 10530 } |
10531 if (itemsPerPage != null) { | 10531 if (itemsPerPage != null) { |
10532 _json["itemsPerPage"] = itemsPerPage; | 10532 _json["itemsPerPage"] = itemsPerPage; |
10533 } | 10533 } |
10534 if (kind != null) { | 10534 if (kind != null) { |
10535 _json["kind"] = kind; | 10535 _json["kind"] = kind; |
10536 } | 10536 } |
10537 if (nextLink != null) { | 10537 if (nextLink != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10572 columnType = _json["columnType"]; | 10572 columnType = _json["columnType"]; |
10573 } | 10573 } |
10574 if (_json.containsKey("dataType")) { | 10574 if (_json.containsKey("dataType")) { |
10575 dataType = _json["dataType"]; | 10575 dataType = _json["dataType"]; |
10576 } | 10576 } |
10577 if (_json.containsKey("name")) { | 10577 if (_json.containsKey("name")) { |
10578 name = _json["name"]; | 10578 name = _json["name"]; |
10579 } | 10579 } |
10580 } | 10580 } |
10581 | 10581 |
10582 core.Map toJson() { | 10582 core.Map<core.String, core.Object> toJson() { |
10583 var _json = new core.Map(); | 10583 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10584 if (columnType != null) { | 10584 if (columnType != null) { |
10585 _json["columnType"] = columnType; | 10585 _json["columnType"] = columnType; |
10586 } | 10586 } |
10587 if (dataType != null) { | 10587 if (dataType != null) { |
10588 _json["dataType"] = dataType; | 10588 _json["dataType"] = dataType; |
10589 } | 10589 } |
10590 if (name != null) { | 10590 if (name != null) { |
10591 _json["name"] = name; | 10591 _json["name"] = name; |
10592 } | 10592 } |
10593 return _json; | 10593 return _json; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10628 profileName = _json["profileName"]; | 10628 profileName = _json["profileName"]; |
10629 } | 10629 } |
10630 if (_json.containsKey("tableId")) { | 10630 if (_json.containsKey("tableId")) { |
10631 tableId = _json["tableId"]; | 10631 tableId = _json["tableId"]; |
10632 } | 10632 } |
10633 if (_json.containsKey("webPropertyId")) { | 10633 if (_json.containsKey("webPropertyId")) { |
10634 webPropertyId = _json["webPropertyId"]; | 10634 webPropertyId = _json["webPropertyId"]; |
10635 } | 10635 } |
10636 } | 10636 } |
10637 | 10637 |
10638 core.Map toJson() { | 10638 core.Map<core.String, core.Object> toJson() { |
10639 var _json = new core.Map(); | 10639 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10640 if (accountId != null) { | 10640 if (accountId != null) { |
10641 _json["accountId"] = accountId; | 10641 _json["accountId"] = accountId; |
10642 } | 10642 } |
10643 if (internalWebPropertyId != null) { | 10643 if (internalWebPropertyId != null) { |
10644 _json["internalWebPropertyId"] = internalWebPropertyId; | 10644 _json["internalWebPropertyId"] = internalWebPropertyId; |
10645 } | 10645 } |
10646 if (profileId != null) { | 10646 if (profileId != null) { |
10647 _json["profileId"] = profileId; | 10647 _json["profileId"] = profileId; |
10648 } | 10648 } |
10649 if (profileName != null) { | 10649 if (profileName != null) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10690 max_results = _json["max-results"]; | 10690 max_results = _json["max-results"]; |
10691 } | 10691 } |
10692 if (_json.containsKey("metrics")) { | 10692 if (_json.containsKey("metrics")) { |
10693 metrics = _json["metrics"]; | 10693 metrics = _json["metrics"]; |
10694 } | 10694 } |
10695 if (_json.containsKey("sort")) { | 10695 if (_json.containsKey("sort")) { |
10696 sort = _json["sort"]; | 10696 sort = _json["sort"]; |
10697 } | 10697 } |
10698 } | 10698 } |
10699 | 10699 |
10700 core.Map toJson() { | 10700 core.Map<core.String, core.Object> toJson() { |
10701 var _json = new core.Map(); | 10701 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10702 if (dimensions != null) { | 10702 if (dimensions != null) { |
10703 _json["dimensions"] = dimensions; | 10703 _json["dimensions"] = dimensions; |
10704 } | 10704 } |
10705 if (filters != null) { | 10705 if (filters != null) { |
10706 _json["filters"] = filters; | 10706 _json["filters"] = filters; |
10707 } | 10707 } |
10708 if (ids != null) { | 10708 if (ids != null) { |
10709 _json["ids"] = ids; | 10709 _json["ids"] = ids; |
10710 } | 10710 } |
10711 if (max_results != null) { | 10711 if (max_results != null) { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10784 selfLink = _json["selfLink"]; | 10784 selfLink = _json["selfLink"]; |
10785 } | 10785 } |
10786 if (_json.containsKey("totalResults")) { | 10786 if (_json.containsKey("totalResults")) { |
10787 totalResults = _json["totalResults"]; | 10787 totalResults = _json["totalResults"]; |
10788 } | 10788 } |
10789 if (_json.containsKey("totalsForAllResults")) { | 10789 if (_json.containsKey("totalsForAllResults")) { |
10790 totalsForAllResults = _json["totalsForAllResults"]; | 10790 totalsForAllResults = _json["totalsForAllResults"]; |
10791 } | 10791 } |
10792 } | 10792 } |
10793 | 10793 |
10794 core.Map toJson() { | 10794 core.Map<core.String, core.Object> toJson() { |
10795 var _json = new core.Map(); | 10795 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10796 if (columnHeaders != null) { | 10796 if (columnHeaders != null) { |
10797 _json["columnHeaders"] = columnHeaders.map((value) => (value).toJson()).to
List(); | 10797 _json["columnHeaders"] = columnHeaders.map((value) => (value).toJson()).to
List(); |
10798 } | 10798 } |
10799 if (id != null) { | 10799 if (id != null) { |
10800 _json["id"] = id; | 10800 _json["id"] = id; |
10801 } | 10801 } |
10802 if (kind != null) { | 10802 if (kind != null) { |
10803 _json["kind"] = kind; | 10803 _json["kind"] = kind; |
10804 } | 10804 } |
10805 if (profileInfo != null) { | 10805 if (profileInfo != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
10833 IncludeConditions includeConditions; | 10833 IncludeConditions includeConditions; |
10834 | 10834 |
10835 RemarketingAudienceAudienceDefinition(); | 10835 RemarketingAudienceAudienceDefinition(); |
10836 | 10836 |
10837 RemarketingAudienceAudienceDefinition.fromJson(core.Map _json) { | 10837 RemarketingAudienceAudienceDefinition.fromJson(core.Map _json) { |
10838 if (_json.containsKey("includeConditions")) { | 10838 if (_json.containsKey("includeConditions")) { |
10839 includeConditions = new IncludeConditions.fromJson(_json["includeCondition
s"]); | 10839 includeConditions = new IncludeConditions.fromJson(_json["includeCondition
s"]); |
10840 } | 10840 } |
10841 } | 10841 } |
10842 | 10842 |
10843 core.Map toJson() { | 10843 core.Map<core.String, core.Object> toJson() { |
10844 var _json = new core.Map(); | 10844 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10845 if (includeConditions != null) { | 10845 if (includeConditions != null) { |
10846 _json["includeConditions"] = (includeConditions).toJson(); | 10846 _json["includeConditions"] = (includeConditions).toJson(); |
10847 } | 10847 } |
10848 return _json; | 10848 return _json; |
10849 } | 10849 } |
10850 } | 10850 } |
10851 | 10851 |
10852 /** Defines the conditions to exclude users from the audience. */ | 10852 /** Defines the conditions to exclude users from the audience. */ |
10853 class RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions { | 10853 class RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions { |
10854 /** Whether to make the exclusion TEMPORARY or PERMANENT. */ | 10854 /** Whether to make the exclusion TEMPORARY or PERMANENT. */ |
10855 core.String exclusionDuration; | 10855 core.String exclusionDuration; |
10856 /** | 10856 /** |
10857 * The segment condition that will cause a user to be removed from an | 10857 * The segment condition that will cause a user to be removed from an |
10858 * audience. | 10858 * audience. |
10859 */ | 10859 */ |
10860 core.String segment; | 10860 core.String segment; |
10861 | 10861 |
10862 RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions(); | 10862 RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions(); |
10863 | 10863 |
10864 RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.fromJson(core
.Map _json) { | 10864 RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.fromJson(core
.Map _json) { |
10865 if (_json.containsKey("exclusionDuration")) { | 10865 if (_json.containsKey("exclusionDuration")) { |
10866 exclusionDuration = _json["exclusionDuration"]; | 10866 exclusionDuration = _json["exclusionDuration"]; |
10867 } | 10867 } |
10868 if (_json.containsKey("segment")) { | 10868 if (_json.containsKey("segment")) { |
10869 segment = _json["segment"]; | 10869 segment = _json["segment"]; |
10870 } | 10870 } |
10871 } | 10871 } |
10872 | 10872 |
10873 core.Map toJson() { | 10873 core.Map<core.String, core.Object> toJson() { |
10874 var _json = new core.Map(); | 10874 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10875 if (exclusionDuration != null) { | 10875 if (exclusionDuration != null) { |
10876 _json["exclusionDuration"] = exclusionDuration; | 10876 _json["exclusionDuration"] = exclusionDuration; |
10877 } | 10877 } |
10878 if (segment != null) { | 10878 if (segment != null) { |
10879 _json["segment"] = segment; | 10879 _json["segment"] = segment; |
10880 } | 10880 } |
10881 return _json; | 10881 return _json; |
10882 } | 10882 } |
10883 } | 10883 } |
10884 | 10884 |
(...skipping 11 matching lines...) Expand all Loading... |
10896 | 10896 |
10897 RemarketingAudienceStateBasedAudienceDefinition.fromJson(core.Map _json) { | 10897 RemarketingAudienceStateBasedAudienceDefinition.fromJson(core.Map _json) { |
10898 if (_json.containsKey("excludeConditions")) { | 10898 if (_json.containsKey("excludeConditions")) { |
10899 excludeConditions = new RemarketingAudienceStateBasedAudienceDefinitionExc
ludeConditions.fromJson(_json["excludeConditions"]); | 10899 excludeConditions = new RemarketingAudienceStateBasedAudienceDefinitionExc
ludeConditions.fromJson(_json["excludeConditions"]); |
10900 } | 10900 } |
10901 if (_json.containsKey("includeConditions")) { | 10901 if (_json.containsKey("includeConditions")) { |
10902 includeConditions = new IncludeConditions.fromJson(_json["includeCondition
s"]); | 10902 includeConditions = new IncludeConditions.fromJson(_json["includeCondition
s"]); |
10903 } | 10903 } |
10904 } | 10904 } |
10905 | 10905 |
10906 core.Map toJson() { | 10906 core.Map<core.String, core.Object> toJson() { |
10907 var _json = new core.Map(); | 10907 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
10908 if (excludeConditions != null) { | 10908 if (excludeConditions != null) { |
10909 _json["excludeConditions"] = (excludeConditions).toJson(); | 10909 _json["excludeConditions"] = (excludeConditions).toJson(); |
10910 } | 10910 } |
10911 if (includeConditions != null) { | 10911 if (includeConditions != null) { |
10912 _json["includeConditions"] = (includeConditions).toJson(); | 10912 _json["includeConditions"] = (includeConditions).toJson(); |
10913 } | 10913 } |
10914 return _json; | 10914 return _json; |
10915 } | 10915 } |
10916 } | 10916 } |
10917 | 10917 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11001 stateBasedAudienceDefinition = new RemarketingAudienceStateBasedAudienceDe
finition.fromJson(_json["stateBasedAudienceDefinition"]); | 11001 stateBasedAudienceDefinition = new RemarketingAudienceStateBasedAudienceDe
finition.fromJson(_json["stateBasedAudienceDefinition"]); |
11002 } | 11002 } |
11003 if (_json.containsKey("updated")) { | 11003 if (_json.containsKey("updated")) { |
11004 updated = core.DateTime.parse(_json["updated"]); | 11004 updated = core.DateTime.parse(_json["updated"]); |
11005 } | 11005 } |
11006 if (_json.containsKey("webPropertyId")) { | 11006 if (_json.containsKey("webPropertyId")) { |
11007 webPropertyId = _json["webPropertyId"]; | 11007 webPropertyId = _json["webPropertyId"]; |
11008 } | 11008 } |
11009 } | 11009 } |
11010 | 11010 |
11011 core.Map toJson() { | 11011 core.Map<core.String, core.Object> toJson() { |
11012 var _json = new core.Map(); | 11012 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11013 if (accountId != null) { | 11013 if (accountId != null) { |
11014 _json["accountId"] = accountId; | 11014 _json["accountId"] = accountId; |
11015 } | 11015 } |
11016 if (audienceDefinition != null) { | 11016 if (audienceDefinition != null) { |
11017 _json["audienceDefinition"] = (audienceDefinition).toJson(); | 11017 _json["audienceDefinition"] = (audienceDefinition).toJson(); |
11018 } | 11018 } |
11019 if (audienceType != null) { | 11019 if (audienceType != null) { |
11020 _json["audienceType"] = audienceType; | 11020 _json["audienceType"] = audienceType; |
11021 } | 11021 } |
11022 if (created != null) { | 11022 if (created != null) { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11112 startIndex = _json["startIndex"]; | 11112 startIndex = _json["startIndex"]; |
11113 } | 11113 } |
11114 if (_json.containsKey("totalResults")) { | 11114 if (_json.containsKey("totalResults")) { |
11115 totalResults = _json["totalResults"]; | 11115 totalResults = _json["totalResults"]; |
11116 } | 11116 } |
11117 if (_json.containsKey("username")) { | 11117 if (_json.containsKey("username")) { |
11118 username = _json["username"]; | 11118 username = _json["username"]; |
11119 } | 11119 } |
11120 } | 11120 } |
11121 | 11121 |
11122 core.Map toJson() { | 11122 core.Map<core.String, core.Object> toJson() { |
11123 var _json = new core.Map(); | 11123 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11124 if (items != null) { | 11124 if (items != null) { |
11125 _json["items"] = items.map((value) => (value).toJson()).toList(); | 11125 _json["items"] = items.map((value) => (value).toJson()).toList(); |
11126 } | 11126 } |
11127 if (itemsPerPage != null) { | 11127 if (itemsPerPage != null) { |
11128 _json["itemsPerPage"] = itemsPerPage; | 11128 _json["itemsPerPage"] = itemsPerPage; |
11129 } | 11129 } |
11130 if (kind != null) { | 11130 if (kind != null) { |
11131 _json["kind"] = kind; | 11131 _json["kind"] = kind; |
11132 } | 11132 } |
11133 if (nextLink != null) { | 11133 if (nextLink != null) { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11197 selfLink = _json["selfLink"]; | 11197 selfLink = _json["selfLink"]; |
11198 } | 11198 } |
11199 if (_json.containsKey("type")) { | 11199 if (_json.containsKey("type")) { |
11200 type = _json["type"]; | 11200 type = _json["type"]; |
11201 } | 11201 } |
11202 if (_json.containsKey("updated")) { | 11202 if (_json.containsKey("updated")) { |
11203 updated = core.DateTime.parse(_json["updated"]); | 11203 updated = core.DateTime.parse(_json["updated"]); |
11204 } | 11204 } |
11205 } | 11205 } |
11206 | 11206 |
11207 core.Map toJson() { | 11207 core.Map<core.String, core.Object> toJson() { |
11208 var _json = new core.Map(); | 11208 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11209 if (created != null) { | 11209 if (created != null) { |
11210 _json["created"] = (created).toIso8601String(); | 11210 _json["created"] = (created).toIso8601String(); |
11211 } | 11211 } |
11212 if (definition != null) { | 11212 if (definition != null) { |
11213 _json["definition"] = definition; | 11213 _json["definition"] = definition; |
11214 } | 11214 } |
11215 if (id != null) { | 11215 if (id != null) { |
11216 _json["id"] = id; | 11216 _json["id"] = id; |
11217 } | 11217 } |
11218 if (kind != null) { | 11218 if (kind != null) { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11292 startIndex = _json["startIndex"]; | 11292 startIndex = _json["startIndex"]; |
11293 } | 11293 } |
11294 if (_json.containsKey("totalResults")) { | 11294 if (_json.containsKey("totalResults")) { |
11295 totalResults = _json["totalResults"]; | 11295 totalResults = _json["totalResults"]; |
11296 } | 11296 } |
11297 if (_json.containsKey("username")) { | 11297 if (_json.containsKey("username")) { |
11298 username = _json["username"]; | 11298 username = _json["username"]; |
11299 } | 11299 } |
11300 } | 11300 } |
11301 | 11301 |
11302 core.Map toJson() { | 11302 core.Map<core.String, core.Object> toJson() { |
11303 var _json = new core.Map(); | 11303 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11304 if (items != null) { | 11304 if (items != null) { |
11305 _json["items"] = items.map((value) => (value).toJson()).toList(); | 11305 _json["items"] = items.map((value) => (value).toJson()).toList(); |
11306 } | 11306 } |
11307 if (itemsPerPage != null) { | 11307 if (itemsPerPage != null) { |
11308 _json["itemsPerPage"] = itemsPerPage; | 11308 _json["itemsPerPage"] = itemsPerPage; |
11309 } | 11309 } |
11310 if (kind != null) { | 11310 if (kind != null) { |
11311 _json["kind"] = kind; | 11311 _json["kind"] = kind; |
11312 } | 11312 } |
11313 if (nextLink != null) { | 11313 if (nextLink != null) { |
(...skipping 26 matching lines...) Expand all Loading... |
11340 | 11340 |
11341 UnsampledReportCloudStorageDownloadDetails.fromJson(core.Map _json) { | 11341 UnsampledReportCloudStorageDownloadDetails.fromJson(core.Map _json) { |
11342 if (_json.containsKey("bucketId")) { | 11342 if (_json.containsKey("bucketId")) { |
11343 bucketId = _json["bucketId"]; | 11343 bucketId = _json["bucketId"]; |
11344 } | 11344 } |
11345 if (_json.containsKey("objectId")) { | 11345 if (_json.containsKey("objectId")) { |
11346 objectId = _json["objectId"]; | 11346 objectId = _json["objectId"]; |
11347 } | 11347 } |
11348 } | 11348 } |
11349 | 11349 |
11350 core.Map toJson() { | 11350 core.Map<core.String, core.Object> toJson() { |
11351 var _json = new core.Map(); | 11351 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11352 if (bucketId != null) { | 11352 if (bucketId != null) { |
11353 _json["bucketId"] = bucketId; | 11353 _json["bucketId"] = bucketId; |
11354 } | 11354 } |
11355 if (objectId != null) { | 11355 if (objectId != null) { |
11356 _json["objectId"] = objectId; | 11356 _json["objectId"] = objectId; |
11357 } | 11357 } |
11358 return _json; | 11358 return _json; |
11359 } | 11359 } |
11360 } | 11360 } |
11361 | 11361 |
11362 /** Download details for a file stored in Google Drive. */ | 11362 /** Download details for a file stored in Google Drive. */ |
11363 class UnsampledReportDriveDownloadDetails { | 11363 class UnsampledReportDriveDownloadDetails { |
11364 /** Id of the document/file containing the report data. */ | 11364 /** Id of the document/file containing the report data. */ |
11365 core.String documentId; | 11365 core.String documentId; |
11366 | 11366 |
11367 UnsampledReportDriveDownloadDetails(); | 11367 UnsampledReportDriveDownloadDetails(); |
11368 | 11368 |
11369 UnsampledReportDriveDownloadDetails.fromJson(core.Map _json) { | 11369 UnsampledReportDriveDownloadDetails.fromJson(core.Map _json) { |
11370 if (_json.containsKey("documentId")) { | 11370 if (_json.containsKey("documentId")) { |
11371 documentId = _json["documentId"]; | 11371 documentId = _json["documentId"]; |
11372 } | 11372 } |
11373 } | 11373 } |
11374 | 11374 |
11375 core.Map toJson() { | 11375 core.Map<core.String, core.Object> toJson() { |
11376 var _json = new core.Map(); | 11376 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11377 if (documentId != null) { | 11377 if (documentId != null) { |
11378 _json["documentId"] = documentId; | 11378 _json["documentId"] = documentId; |
11379 } | 11379 } |
11380 return _json; | 11380 return _json; |
11381 } | 11381 } |
11382 } | 11382 } |
11383 | 11383 |
11384 /** JSON template for Analytics unsampled report resource. */ | 11384 /** JSON template for Analytics unsampled report resource. */ |
11385 class UnsampledReport { | 11385 class UnsampledReport { |
11386 /** Account ID to which this unsampled report belongs. */ | 11386 /** Account ID to which this unsampled report belongs. */ |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11488 title = _json["title"]; | 11488 title = _json["title"]; |
11489 } | 11489 } |
11490 if (_json.containsKey("updated")) { | 11490 if (_json.containsKey("updated")) { |
11491 updated = core.DateTime.parse(_json["updated"]); | 11491 updated = core.DateTime.parse(_json["updated"]); |
11492 } | 11492 } |
11493 if (_json.containsKey("webPropertyId")) { | 11493 if (_json.containsKey("webPropertyId")) { |
11494 webPropertyId = _json["webPropertyId"]; | 11494 webPropertyId = _json["webPropertyId"]; |
11495 } | 11495 } |
11496 } | 11496 } |
11497 | 11497 |
11498 core.Map toJson() { | 11498 core.Map<core.String, core.Object> toJson() { |
11499 var _json = new core.Map(); | 11499 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11500 if (accountId != null) { | 11500 if (accountId != null) { |
11501 _json["accountId"] = accountId; | 11501 _json["accountId"] = accountId; |
11502 } | 11502 } |
11503 if (cloudStorageDownloadDetails != null) { | 11503 if (cloudStorageDownloadDetails != null) { |
11504 _json["cloudStorageDownloadDetails"] = (cloudStorageDownloadDetails).toJso
n(); | 11504 _json["cloudStorageDownloadDetails"] = (cloudStorageDownloadDetails).toJso
n(); |
11505 } | 11505 } |
11506 if (created != null) { | 11506 if (created != null) { |
11507 _json["created"] = (created).toIso8601String(); | 11507 _json["created"] = (created).toIso8601String(); |
11508 } | 11508 } |
11509 if (dimensions != null) { | 11509 if (dimensions != null) { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11615 startIndex = _json["startIndex"]; | 11615 startIndex = _json["startIndex"]; |
11616 } | 11616 } |
11617 if (_json.containsKey("totalResults")) { | 11617 if (_json.containsKey("totalResults")) { |
11618 totalResults = _json["totalResults"]; | 11618 totalResults = _json["totalResults"]; |
11619 } | 11619 } |
11620 if (_json.containsKey("username")) { | 11620 if (_json.containsKey("username")) { |
11621 username = _json["username"]; | 11621 username = _json["username"]; |
11622 } | 11622 } |
11623 } | 11623 } |
11624 | 11624 |
11625 core.Map toJson() { | 11625 core.Map<core.String, core.Object> toJson() { |
11626 var _json = new core.Map(); | 11626 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11627 if (items != null) { | 11627 if (items != null) { |
11628 _json["items"] = items.map((value) => (value).toJson()).toList(); | 11628 _json["items"] = items.map((value) => (value).toJson()).toList(); |
11629 } | 11629 } |
11630 if (itemsPerPage != null) { | 11630 if (itemsPerPage != null) { |
11631 _json["itemsPerPage"] = itemsPerPage; | 11631 _json["itemsPerPage"] = itemsPerPage; |
11632 } | 11632 } |
11633 if (kind != null) { | 11633 if (kind != null) { |
11634 _json["kind"] = kind; | 11634 _json["kind"] = kind; |
11635 } | 11635 } |
11636 if (nextLink != null) { | 11636 if (nextLink != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11686 id = _json["id"]; | 11686 id = _json["id"]; |
11687 } | 11687 } |
11688 if (_json.containsKey("kind")) { | 11688 if (_json.containsKey("kind")) { |
11689 kind = _json["kind"]; | 11689 kind = _json["kind"]; |
11690 } | 11690 } |
11691 if (_json.containsKey("status")) { | 11691 if (_json.containsKey("status")) { |
11692 status = _json["status"]; | 11692 status = _json["status"]; |
11693 } | 11693 } |
11694 } | 11694 } |
11695 | 11695 |
11696 core.Map toJson() { | 11696 core.Map<core.String, core.Object> toJson() { |
11697 var _json = new core.Map(); | 11697 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11698 if (accountId != null) { | 11698 if (accountId != null) { |
11699 _json["accountId"] = accountId; | 11699 _json["accountId"] = accountId; |
11700 } | 11700 } |
11701 if (customDataSourceId != null) { | 11701 if (customDataSourceId != null) { |
11702 _json["customDataSourceId"] = customDataSourceId; | 11702 _json["customDataSourceId"] = customDataSourceId; |
11703 } | 11703 } |
11704 if (errors != null) { | 11704 if (errors != null) { |
11705 _json["errors"] = errors; | 11705 _json["errors"] = errors; |
11706 } | 11706 } |
11707 if (id != null) { | 11707 if (id != null) { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11768 previousLink = _json["previousLink"]; | 11768 previousLink = _json["previousLink"]; |
11769 } | 11769 } |
11770 if (_json.containsKey("startIndex")) { | 11770 if (_json.containsKey("startIndex")) { |
11771 startIndex = _json["startIndex"]; | 11771 startIndex = _json["startIndex"]; |
11772 } | 11772 } |
11773 if (_json.containsKey("totalResults")) { | 11773 if (_json.containsKey("totalResults")) { |
11774 totalResults = _json["totalResults"]; | 11774 totalResults = _json["totalResults"]; |
11775 } | 11775 } |
11776 } | 11776 } |
11777 | 11777 |
11778 core.Map toJson() { | 11778 core.Map<core.String, core.Object> toJson() { |
11779 var _json = new core.Map(); | 11779 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11780 if (items != null) { | 11780 if (items != null) { |
11781 _json["items"] = items.map((value) => (value).toJson()).toList(); | 11781 _json["items"] = items.map((value) => (value).toJson()).toList(); |
11782 } | 11782 } |
11783 if (itemsPerPage != null) { | 11783 if (itemsPerPage != null) { |
11784 _json["itemsPerPage"] = itemsPerPage; | 11784 _json["itemsPerPage"] = itemsPerPage; |
11785 } | 11785 } |
11786 if (kind != null) { | 11786 if (kind != null) { |
11787 _json["kind"] = kind; | 11787 _json["kind"] = kind; |
11788 } | 11788 } |
11789 if (nextLink != null) { | 11789 if (nextLink != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
11817 email = _json["email"]; | 11817 email = _json["email"]; |
11818 } | 11818 } |
11819 if (_json.containsKey("id")) { | 11819 if (_json.containsKey("id")) { |
11820 id = _json["id"]; | 11820 id = _json["id"]; |
11821 } | 11821 } |
11822 if (_json.containsKey("kind")) { | 11822 if (_json.containsKey("kind")) { |
11823 kind = _json["kind"]; | 11823 kind = _json["kind"]; |
11824 } | 11824 } |
11825 } | 11825 } |
11826 | 11826 |
11827 core.Map toJson() { | 11827 core.Map<core.String, core.Object> toJson() { |
11828 var _json = new core.Map(); | 11828 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11829 if (email != null) { | 11829 if (email != null) { |
11830 _json["email"] = email; | 11830 _json["email"] = email; |
11831 } | 11831 } |
11832 if (id != null) { | 11832 if (id != null) { |
11833 _json["id"] = id; | 11833 _json["id"] = id; |
11834 } | 11834 } |
11835 if (kind != null) { | 11835 if (kind != null) { |
11836 _json["kind"] = kind; | 11836 _json["kind"] = kind; |
11837 } | 11837 } |
11838 return _json; | 11838 return _json; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11870 internalWebPropertyId = _json["internalWebPropertyId"]; | 11870 internalWebPropertyId = _json["internalWebPropertyId"]; |
11871 } | 11871 } |
11872 if (_json.containsKey("kind")) { | 11872 if (_json.containsKey("kind")) { |
11873 kind = _json["kind"]; | 11873 kind = _json["kind"]; |
11874 } | 11874 } |
11875 if (_json.containsKey("name")) { | 11875 if (_json.containsKey("name")) { |
11876 name = _json["name"]; | 11876 name = _json["name"]; |
11877 } | 11877 } |
11878 } | 11878 } |
11879 | 11879 |
11880 core.Map toJson() { | 11880 core.Map<core.String, core.Object> toJson() { |
11881 var _json = new core.Map(); | 11881 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11882 if (accountId != null) { | 11882 if (accountId != null) { |
11883 _json["accountId"] = accountId; | 11883 _json["accountId"] = accountId; |
11884 } | 11884 } |
11885 if (href != null) { | 11885 if (href != null) { |
11886 _json["href"] = href; | 11886 _json["href"] = href; |
11887 } | 11887 } |
11888 if (id != null) { | 11888 if (id != null) { |
11889 _json["id"] = id; | 11889 _json["id"] = id; |
11890 } | 11890 } |
11891 if (internalWebPropertyId != null) { | 11891 if (internalWebPropertyId != null) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11945 profiles = _json["profiles"].map((value) => new ProfileSummary.fromJson(va
lue)).toList(); | 11945 profiles = _json["profiles"].map((value) => new ProfileSummary.fromJson(va
lue)).toList(); |
11946 } | 11946 } |
11947 if (_json.containsKey("starred")) { | 11947 if (_json.containsKey("starred")) { |
11948 starred = _json["starred"]; | 11948 starred = _json["starred"]; |
11949 } | 11949 } |
11950 if (_json.containsKey("websiteUrl")) { | 11950 if (_json.containsKey("websiteUrl")) { |
11951 websiteUrl = _json["websiteUrl"]; | 11951 websiteUrl = _json["websiteUrl"]; |
11952 } | 11952 } |
11953 } | 11953 } |
11954 | 11954 |
11955 core.Map toJson() { | 11955 core.Map<core.String, core.Object> toJson() { |
11956 var _json = new core.Map(); | 11956 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
11957 if (id != null) { | 11957 if (id != null) { |
11958 _json["id"] = id; | 11958 _json["id"] = id; |
11959 } | 11959 } |
11960 if (internalWebPropertyId != null) { | 11960 if (internalWebPropertyId != null) { |
11961 _json["internalWebPropertyId"] = internalWebPropertyId; | 11961 _json["internalWebPropertyId"] = internalWebPropertyId; |
11962 } | 11962 } |
11963 if (kind != null) { | 11963 if (kind != null) { |
11964 _json["kind"] = kind; | 11964 _json["kind"] = kind; |
11965 } | 11965 } |
11966 if (level != null) { | 11966 if (level != null) { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12038 startIndex = _json["startIndex"]; | 12038 startIndex = _json["startIndex"]; |
12039 } | 12039 } |
12040 if (_json.containsKey("totalResults")) { | 12040 if (_json.containsKey("totalResults")) { |
12041 totalResults = _json["totalResults"]; | 12041 totalResults = _json["totalResults"]; |
12042 } | 12042 } |
12043 if (_json.containsKey("username")) { | 12043 if (_json.containsKey("username")) { |
12044 username = _json["username"]; | 12044 username = _json["username"]; |
12045 } | 12045 } |
12046 } | 12046 } |
12047 | 12047 |
12048 core.Map toJson() { | 12048 core.Map<core.String, core.Object> toJson() { |
12049 var _json = new core.Map(); | 12049 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
12050 if (items != null) { | 12050 if (items != null) { |
12051 _json["items"] = items.map((value) => (value).toJson()).toList(); | 12051 _json["items"] = items.map((value) => (value).toJson()).toList(); |
12052 } | 12052 } |
12053 if (itemsPerPage != null) { | 12053 if (itemsPerPage != null) { |
12054 _json["itemsPerPage"] = itemsPerPage; | 12054 _json["itemsPerPage"] = itemsPerPage; |
12055 } | 12055 } |
12056 if (kind != null) { | 12056 if (kind != null) { |
12057 _json["kind"] = kind; | 12057 _json["kind"] = kind; |
12058 } | 12058 } |
12059 if (nextLink != null) { | 12059 if (nextLink != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
12089 | 12089 |
12090 WebpropertyChildLink.fromJson(core.Map _json) { | 12090 WebpropertyChildLink.fromJson(core.Map _json) { |
12091 if (_json.containsKey("href")) { | 12091 if (_json.containsKey("href")) { |
12092 href = _json["href"]; | 12092 href = _json["href"]; |
12093 } | 12093 } |
12094 if (_json.containsKey("type")) { | 12094 if (_json.containsKey("type")) { |
12095 type = _json["type"]; | 12095 type = _json["type"]; |
12096 } | 12096 } |
12097 } | 12097 } |
12098 | 12098 |
12099 core.Map toJson() { | 12099 core.Map<core.String, core.Object> toJson() { |
12100 var _json = new core.Map(); | 12100 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
12101 if (href != null) { | 12101 if (href != null) { |
12102 _json["href"] = href; | 12102 _json["href"] = href; |
12103 } | 12103 } |
12104 if (type != null) { | 12104 if (type != null) { |
12105 _json["type"] = type; | 12105 _json["type"] = type; |
12106 } | 12106 } |
12107 return _json; | 12107 return _json; |
12108 } | 12108 } |
12109 } | 12109 } |
12110 | 12110 |
(...skipping 11 matching lines...) Expand all Loading... |
12122 | 12122 |
12123 WebpropertyParentLink.fromJson(core.Map _json) { | 12123 WebpropertyParentLink.fromJson(core.Map _json) { |
12124 if (_json.containsKey("href")) { | 12124 if (_json.containsKey("href")) { |
12125 href = _json["href"]; | 12125 href = _json["href"]; |
12126 } | 12126 } |
12127 if (_json.containsKey("type")) { | 12127 if (_json.containsKey("type")) { |
12128 type = _json["type"]; | 12128 type = _json["type"]; |
12129 } | 12129 } |
12130 } | 12130 } |
12131 | 12131 |
12132 core.Map toJson() { | 12132 core.Map<core.String, core.Object> toJson() { |
12133 var _json = new core.Map(); | 12133 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
12134 if (href != null) { | 12134 if (href != null) { |
12135 _json["href"] = href; | 12135 _json["href"] = href; |
12136 } | 12136 } |
12137 if (type != null) { | 12137 if (type != null) { |
12138 _json["type"] = type; | 12138 _json["type"] = type; |
12139 } | 12139 } |
12140 return _json; | 12140 return _json; |
12141 } | 12141 } |
12142 } | 12142 } |
12143 | 12143 |
12144 /** Permissions the user has for this web property. */ | 12144 /** Permissions the user has for this web property. */ |
12145 class WebpropertyPermissions { | 12145 class WebpropertyPermissions { |
12146 /** | 12146 /** |
12147 * All the permissions that the user has for this web property. These include | 12147 * All the permissions that the user has for this web property. These include |
12148 * any implied permissions (e.g., EDIT implies VIEW) or inherited permissions | 12148 * any implied permissions (e.g., EDIT implies VIEW) or inherited permissions |
12149 * from the parent account. | 12149 * from the parent account. |
12150 */ | 12150 */ |
12151 core.List<core.String> effective; | 12151 core.List<core.String> effective; |
12152 | 12152 |
12153 WebpropertyPermissions(); | 12153 WebpropertyPermissions(); |
12154 | 12154 |
12155 WebpropertyPermissions.fromJson(core.Map _json) { | 12155 WebpropertyPermissions.fromJson(core.Map _json) { |
12156 if (_json.containsKey("effective")) { | 12156 if (_json.containsKey("effective")) { |
12157 effective = _json["effective"]; | 12157 effective = _json["effective"]; |
12158 } | 12158 } |
12159 } | 12159 } |
12160 | 12160 |
12161 core.Map toJson() { | 12161 core.Map<core.String, core.Object> toJson() { |
12162 var _json = new core.Map(); | 12162 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
12163 if (effective != null) { | 12163 if (effective != null) { |
12164 _json["effective"] = effective; | 12164 _json["effective"] = effective; |
12165 } | 12165 } |
12166 return _json; | 12166 return _json; |
12167 } | 12167 } |
12168 } | 12168 } |
12169 | 12169 |
12170 /** JSON template for an Analytics web property. */ | 12170 /** JSON template for an Analytics web property. */ |
12171 class Webproperty { | 12171 class Webproperty { |
12172 /** Account ID to which this web property belongs. */ | 12172 /** Account ID to which this web property belongs. */ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12259 starred = _json["starred"]; | 12259 starred = _json["starred"]; |
12260 } | 12260 } |
12261 if (_json.containsKey("updated")) { | 12261 if (_json.containsKey("updated")) { |
12262 updated = core.DateTime.parse(_json["updated"]); | 12262 updated = core.DateTime.parse(_json["updated"]); |
12263 } | 12263 } |
12264 if (_json.containsKey("websiteUrl")) { | 12264 if (_json.containsKey("websiteUrl")) { |
12265 websiteUrl = _json["websiteUrl"]; | 12265 websiteUrl = _json["websiteUrl"]; |
12266 } | 12266 } |
12267 } | 12267 } |
12268 | 12268 |
12269 core.Map toJson() { | 12269 core.Map<core.String, core.Object> toJson() { |
12270 var _json = new core.Map(); | 12270 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
12271 if (accountId != null) { | 12271 if (accountId != null) { |
12272 _json["accountId"] = accountId; | 12272 _json["accountId"] = accountId; |
12273 } | 12273 } |
12274 if (childLink != null) { | 12274 if (childLink != null) { |
12275 _json["childLink"] = (childLink).toJson(); | 12275 _json["childLink"] = (childLink).toJson(); |
12276 } | 12276 } |
12277 if (created != null) { | 12277 if (created != null) { |
12278 _json["created"] = (created).toIso8601String(); | 12278 _json["created"] = (created).toIso8601String(); |
12279 } | 12279 } |
12280 if (defaultProfileId != null) { | 12280 if (defaultProfileId != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12315 } | 12315 } |
12316 if (updated != null) { | 12316 if (updated != null) { |
12317 _json["updated"] = (updated).toIso8601String(); | 12317 _json["updated"] = (updated).toIso8601String(); |
12318 } | 12318 } |
12319 if (websiteUrl != null) { | 12319 if (websiteUrl != null) { |
12320 _json["websiteUrl"] = websiteUrl; | 12320 _json["websiteUrl"] = websiteUrl; |
12321 } | 12321 } |
12322 return _json; | 12322 return _json; |
12323 } | 12323 } |
12324 } | 12324 } |
OLD | NEW |