| 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 5792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5803 core.String kind; | 5803 core.String kind; |
| 5804 /** Name of this custom data source. */ | 5804 /** Name of this custom data source. */ |
| 5805 core.String name; | 5805 core.String name; |
| 5806 /** | 5806 /** |
| 5807 * Parent link for this custom data source. Points to the web property to | 5807 * Parent link for this custom data source. Points to the web property to |
| 5808 * which this custom data source belongs. | 5808 * which this custom data source belongs. |
| 5809 */ | 5809 */ |
| 5810 CustomDataSourceParentLink parentLink; | 5810 CustomDataSourceParentLink parentLink; |
| 5811 /** IDs of views (profiles) linked to the custom data source. */ | 5811 /** IDs of views (profiles) linked to the custom data source. */ |
| 5812 core.List<core.String> profilesLinked; | 5812 core.List<core.String> profilesLinked; |
| 5813 /** Collection of schema headers of the custom data source. */ |
| 5814 core.List<core.String> schema; |
| 5813 /** Link for this Analytics custom data source. */ | 5815 /** Link for this Analytics custom data source. */ |
| 5814 core.String selfLink; | 5816 core.String selfLink; |
| 5815 /** Type of the custom data source. */ | 5817 /** Type of the custom data source. */ |
| 5816 core.String type; | 5818 core.String type; |
| 5817 /** Time this custom data source was last modified. */ | 5819 /** Time this custom data source was last modified. */ |
| 5818 core.DateTime updated; | 5820 core.DateTime updated; |
| 5821 /** Upload type of the custom data source. */ |
| 5819 core.String uploadType; | 5822 core.String uploadType; |
| 5820 /** | 5823 /** |
| 5821 * Web property ID of the form UA-XXXXX-YY to which this custom data source | 5824 * Web property ID of the form UA-XXXXX-YY to which this custom data source |
| 5822 * belongs. | 5825 * belongs. |
| 5823 */ | 5826 */ |
| 5824 core.String webPropertyId; | 5827 core.String webPropertyId; |
| 5825 | 5828 |
| 5826 CustomDataSource(); | 5829 CustomDataSource(); |
| 5827 | 5830 |
| 5828 CustomDataSource.fromJson(core.Map _json) { | 5831 CustomDataSource.fromJson(core.Map _json) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5849 } | 5852 } |
| 5850 if (_json.containsKey("name")) { | 5853 if (_json.containsKey("name")) { |
| 5851 name = _json["name"]; | 5854 name = _json["name"]; |
| 5852 } | 5855 } |
| 5853 if (_json.containsKey("parentLink")) { | 5856 if (_json.containsKey("parentLink")) { |
| 5854 parentLink = new CustomDataSourceParentLink.fromJson(_json["parentLink"]); | 5857 parentLink = new CustomDataSourceParentLink.fromJson(_json["parentLink"]); |
| 5855 } | 5858 } |
| 5856 if (_json.containsKey("profilesLinked")) { | 5859 if (_json.containsKey("profilesLinked")) { |
| 5857 profilesLinked = _json["profilesLinked"]; | 5860 profilesLinked = _json["profilesLinked"]; |
| 5858 } | 5861 } |
| 5862 if (_json.containsKey("schema")) { |
| 5863 schema = _json["schema"]; |
| 5864 } |
| 5859 if (_json.containsKey("selfLink")) { | 5865 if (_json.containsKey("selfLink")) { |
| 5860 selfLink = _json["selfLink"]; | 5866 selfLink = _json["selfLink"]; |
| 5861 } | 5867 } |
| 5862 if (_json.containsKey("type")) { | 5868 if (_json.containsKey("type")) { |
| 5863 type = _json["type"]; | 5869 type = _json["type"]; |
| 5864 } | 5870 } |
| 5865 if (_json.containsKey("updated")) { | 5871 if (_json.containsKey("updated")) { |
| 5866 updated = core.DateTime.parse(_json["updated"]); | 5872 updated = core.DateTime.parse(_json["updated"]); |
| 5867 } | 5873 } |
| 5868 if (_json.containsKey("uploadType")) { | 5874 if (_json.containsKey("uploadType")) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 5898 } | 5904 } |
| 5899 if (name != null) { | 5905 if (name != null) { |
| 5900 _json["name"] = name; | 5906 _json["name"] = name; |
| 5901 } | 5907 } |
| 5902 if (parentLink != null) { | 5908 if (parentLink != null) { |
| 5903 _json["parentLink"] = (parentLink).toJson(); | 5909 _json["parentLink"] = (parentLink).toJson(); |
| 5904 } | 5910 } |
| 5905 if (profilesLinked != null) { | 5911 if (profilesLinked != null) { |
| 5906 _json["profilesLinked"] = profilesLinked; | 5912 _json["profilesLinked"] = profilesLinked; |
| 5907 } | 5913 } |
| 5914 if (schema != null) { |
| 5915 _json["schema"] = schema; |
| 5916 } |
| 5908 if (selfLink != null) { | 5917 if (selfLink != null) { |
| 5909 _json["selfLink"] = selfLink; | 5918 _json["selfLink"] = selfLink; |
| 5910 } | 5919 } |
| 5911 if (type != null) { | 5920 if (type != null) { |
| 5912 _json["type"] = type; | 5921 _json["type"] = type; |
| 5913 } | 5922 } |
| 5914 if (updated != null) { | 5923 if (updated != null) { |
| 5915 _json["updated"] = (updated).toIso8601String(); | 5924 _json["updated"] = (updated).toIso8601String(); |
| 5916 } | 5925 } |
| 5917 if (uploadType != null) { | 5926 if (uploadType != null) { |
| (...skipping 5747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11665 core.List<core.String> errors; | 11674 core.List<core.String> errors; |
| 11666 /** A unique ID for this upload. */ | 11675 /** A unique ID for this upload. */ |
| 11667 core.String id; | 11676 core.String id; |
| 11668 /** Resource type for Analytics upload. */ | 11677 /** Resource type for Analytics upload. */ |
| 11669 core.String kind; | 11678 core.String kind; |
| 11670 /** | 11679 /** |
| 11671 * Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, | 11680 * Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, |
| 11672 * DELETED. | 11681 * DELETED. |
| 11673 */ | 11682 */ |
| 11674 core.String status; | 11683 core.String status; |
| 11684 /** Time this file is uploaded. */ |
| 11685 core.DateTime uploadTime; |
| 11675 | 11686 |
| 11676 Upload(); | 11687 Upload(); |
| 11677 | 11688 |
| 11678 Upload.fromJson(core.Map _json) { | 11689 Upload.fromJson(core.Map _json) { |
| 11679 if (_json.containsKey("accountId")) { | 11690 if (_json.containsKey("accountId")) { |
| 11680 accountId = _json["accountId"]; | 11691 accountId = _json["accountId"]; |
| 11681 } | 11692 } |
| 11682 if (_json.containsKey("customDataSourceId")) { | 11693 if (_json.containsKey("customDataSourceId")) { |
| 11683 customDataSourceId = _json["customDataSourceId"]; | 11694 customDataSourceId = _json["customDataSourceId"]; |
| 11684 } | 11695 } |
| 11685 if (_json.containsKey("errors")) { | 11696 if (_json.containsKey("errors")) { |
| 11686 errors = _json["errors"]; | 11697 errors = _json["errors"]; |
| 11687 } | 11698 } |
| 11688 if (_json.containsKey("id")) { | 11699 if (_json.containsKey("id")) { |
| 11689 id = _json["id"]; | 11700 id = _json["id"]; |
| 11690 } | 11701 } |
| 11691 if (_json.containsKey("kind")) { | 11702 if (_json.containsKey("kind")) { |
| 11692 kind = _json["kind"]; | 11703 kind = _json["kind"]; |
| 11693 } | 11704 } |
| 11694 if (_json.containsKey("status")) { | 11705 if (_json.containsKey("status")) { |
| 11695 status = _json["status"]; | 11706 status = _json["status"]; |
| 11696 } | 11707 } |
| 11708 if (_json.containsKey("uploadTime")) { |
| 11709 uploadTime = core.DateTime.parse(_json["uploadTime"]); |
| 11710 } |
| 11697 } | 11711 } |
| 11698 | 11712 |
| 11699 core.Map<core.String, core.Object> toJson() { | 11713 core.Map<core.String, core.Object> toJson() { |
| 11700 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 11714 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 11701 if (accountId != null) { | 11715 if (accountId != null) { |
| 11702 _json["accountId"] = accountId; | 11716 _json["accountId"] = accountId; |
| 11703 } | 11717 } |
| 11704 if (customDataSourceId != null) { | 11718 if (customDataSourceId != null) { |
| 11705 _json["customDataSourceId"] = customDataSourceId; | 11719 _json["customDataSourceId"] = customDataSourceId; |
| 11706 } | 11720 } |
| 11707 if (errors != null) { | 11721 if (errors != null) { |
| 11708 _json["errors"] = errors; | 11722 _json["errors"] = errors; |
| 11709 } | 11723 } |
| 11710 if (id != null) { | 11724 if (id != null) { |
| 11711 _json["id"] = id; | 11725 _json["id"] = id; |
| 11712 } | 11726 } |
| 11713 if (kind != null) { | 11727 if (kind != null) { |
| 11714 _json["kind"] = kind; | 11728 _json["kind"] = kind; |
| 11715 } | 11729 } |
| 11716 if (status != null) { | 11730 if (status != null) { |
| 11717 _json["status"] = status; | 11731 _json["status"] = status; |
| 11718 } | 11732 } |
| 11733 if (uploadTime != null) { |
| 11734 _json["uploadTime"] = (uploadTime).toIso8601String(); |
| 11735 } |
| 11719 return _json; | 11736 return _json; |
| 11720 } | 11737 } |
| 11721 } | 11738 } |
| 11722 | 11739 |
| 11723 /** | 11740 /** |
| 11724 * Upload collection lists Analytics uploads to which the user has access. Each | 11741 * Upload collection lists Analytics uploads to which the user has access. Each |
| 11725 * custom data source can have a set of uploads. Each resource in the upload | 11742 * custom data source can have a set of uploads. Each resource in the upload |
| 11726 * collection corresponds to a single Analytics data upload. | 11743 * collection corresponds to a single Analytics data upload. |
| 11727 */ | 11744 */ |
| 11728 class Uploads { | 11745 class Uploads { |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12318 } | 12335 } |
| 12319 if (updated != null) { | 12336 if (updated != null) { |
| 12320 _json["updated"] = (updated).toIso8601String(); | 12337 _json["updated"] = (updated).toIso8601String(); |
| 12321 } | 12338 } |
| 12322 if (websiteUrl != null) { | 12339 if (websiteUrl != null) { |
| 12323 _json["websiteUrl"] = websiteUrl; | 12340 _json["websiteUrl"] = websiteUrl; |
| 12324 } | 12341 } |
| 12325 return _json; | 12342 return _json; |
| 12326 } | 12343 } |
| 12327 } | 12344 } |
| OLD | NEW |