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.webmasters.v3; | 3 library googleapis.webmasters.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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 impressions = _json["impressions"]; | 783 impressions = _json["impressions"]; |
784 } | 784 } |
785 if (_json.containsKey("keys")) { | 785 if (_json.containsKey("keys")) { |
786 keys = _json["keys"]; | 786 keys = _json["keys"]; |
787 } | 787 } |
788 if (_json.containsKey("position")) { | 788 if (_json.containsKey("position")) { |
789 position = _json["position"]; | 789 position = _json["position"]; |
790 } | 790 } |
791 } | 791 } |
792 | 792 |
793 core.Map toJson() { | 793 core.Map<core.String, core.Object> toJson() { |
794 var _json = new core.Map(); | 794 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
795 if (clicks != null) { | 795 if (clicks != null) { |
796 _json["clicks"] = clicks; | 796 _json["clicks"] = clicks; |
797 } | 797 } |
798 if (ctr != null) { | 798 if (ctr != null) { |
799 _json["ctr"] = ctr; | 799 _json["ctr"] = ctr; |
800 } | 800 } |
801 if (impressions != null) { | 801 if (impressions != null) { |
802 _json["impressions"] = impressions; | 802 _json["impressions"] = impressions; |
803 } | 803 } |
804 if (keys != null) { | 804 if (keys != null) { |
(...skipping 18 matching lines...) Expand all Loading... |
823 dimension = _json["dimension"]; | 823 dimension = _json["dimension"]; |
824 } | 824 } |
825 if (_json.containsKey("expression")) { | 825 if (_json.containsKey("expression")) { |
826 expression = _json["expression"]; | 826 expression = _json["expression"]; |
827 } | 827 } |
828 if (_json.containsKey("operator")) { | 828 if (_json.containsKey("operator")) { |
829 operator = _json["operator"]; | 829 operator = _json["operator"]; |
830 } | 830 } |
831 } | 831 } |
832 | 832 |
833 core.Map toJson() { | 833 core.Map<core.String, core.Object> toJson() { |
834 var _json = new core.Map(); | 834 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
835 if (dimension != null) { | 835 if (dimension != null) { |
836 _json["dimension"] = dimension; | 836 _json["dimension"] = dimension; |
837 } | 837 } |
838 if (expression != null) { | 838 if (expression != null) { |
839 _json["expression"] = expression; | 839 _json["expression"] = expression; |
840 } | 840 } |
841 if (operator != null) { | 841 if (operator != null) { |
842 _json["operator"] = operator; | 842 _json["operator"] = operator; |
843 } | 843 } |
844 return _json; | 844 return _json; |
845 } | 845 } |
846 } | 846 } |
847 | 847 |
848 class ApiDimensionFilterGroup { | 848 class ApiDimensionFilterGroup { |
849 core.List<ApiDimensionFilter> filters; | 849 core.List<ApiDimensionFilter> filters; |
850 core.String groupType; | 850 core.String groupType; |
851 | 851 |
852 ApiDimensionFilterGroup(); | 852 ApiDimensionFilterGroup(); |
853 | 853 |
854 ApiDimensionFilterGroup.fromJson(core.Map _json) { | 854 ApiDimensionFilterGroup.fromJson(core.Map _json) { |
855 if (_json.containsKey("filters")) { | 855 if (_json.containsKey("filters")) { |
856 filters = _json["filters"].map((value) => new ApiDimensionFilter.fromJson(
value)).toList(); | 856 filters = _json["filters"].map((value) => new ApiDimensionFilter.fromJson(
value)).toList(); |
857 } | 857 } |
858 if (_json.containsKey("groupType")) { | 858 if (_json.containsKey("groupType")) { |
859 groupType = _json["groupType"]; | 859 groupType = _json["groupType"]; |
860 } | 860 } |
861 } | 861 } |
862 | 862 |
863 core.Map toJson() { | 863 core.Map<core.String, core.Object> toJson() { |
864 var _json = new core.Map(); | 864 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
865 if (filters != null) { | 865 if (filters != null) { |
866 _json["filters"] = filters.map((value) => (value).toJson()).toList(); | 866 _json["filters"] = filters.map((value) => (value).toJson()).toList(); |
867 } | 867 } |
868 if (groupType != null) { | 868 if (groupType != null) { |
869 _json["groupType"] = groupType; | 869 _json["groupType"] = groupType; |
870 } | 870 } |
871 return _json; | 871 return _json; |
872 } | 872 } |
873 } | 873 } |
874 | 874 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 searchType = _json["searchType"]; | 951 searchType = _json["searchType"]; |
952 } | 952 } |
953 if (_json.containsKey("startDate")) { | 953 if (_json.containsKey("startDate")) { |
954 startDate = _json["startDate"]; | 954 startDate = _json["startDate"]; |
955 } | 955 } |
956 if (_json.containsKey("startRow")) { | 956 if (_json.containsKey("startRow")) { |
957 startRow = _json["startRow"]; | 957 startRow = _json["startRow"]; |
958 } | 958 } |
959 } | 959 } |
960 | 960 |
961 core.Map toJson() { | 961 core.Map<core.String, core.Object> toJson() { |
962 var _json = new core.Map(); | 962 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
963 if (aggregationType != null) { | 963 if (aggregationType != null) { |
964 _json["aggregationType"] = aggregationType; | 964 _json["aggregationType"] = aggregationType; |
965 } | 965 } |
966 if (dimensionFilterGroups != null) { | 966 if (dimensionFilterGroups != null) { |
967 _json["dimensionFilterGroups"] = dimensionFilterGroups.map((value) => (val
ue).toJson()).toList(); | 967 _json["dimensionFilterGroups"] = dimensionFilterGroups.map((value) => (val
ue).toJson()).toList(); |
968 } | 968 } |
969 if (dimensions != null) { | 969 if (dimensions != null) { |
970 _json["dimensions"] = dimensions; | 970 _json["dimensions"] = dimensions; |
971 } | 971 } |
972 if (endDate != null) { | 972 if (endDate != null) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 | 1005 |
1006 SearchAnalyticsQueryResponse.fromJson(core.Map _json) { | 1006 SearchAnalyticsQueryResponse.fromJson(core.Map _json) { |
1007 if (_json.containsKey("responseAggregationType")) { | 1007 if (_json.containsKey("responseAggregationType")) { |
1008 responseAggregationType = _json["responseAggregationType"]; | 1008 responseAggregationType = _json["responseAggregationType"]; |
1009 } | 1009 } |
1010 if (_json.containsKey("rows")) { | 1010 if (_json.containsKey("rows")) { |
1011 rows = _json["rows"].map((value) => new ApiDataRow.fromJson(value)).toList
(); | 1011 rows = _json["rows"].map((value) => new ApiDataRow.fromJson(value)).toList
(); |
1012 } | 1012 } |
1013 } | 1013 } |
1014 | 1014 |
1015 core.Map toJson() { | 1015 core.Map<core.String, core.Object> toJson() { |
1016 var _json = new core.Map(); | 1016 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1017 if (responseAggregationType != null) { | 1017 if (responseAggregationType != null) { |
1018 _json["responseAggregationType"] = responseAggregationType; | 1018 _json["responseAggregationType"] = responseAggregationType; |
1019 } | 1019 } |
1020 if (rows != null) { | 1020 if (rows != null) { |
1021 _json["rows"] = rows.map((value) => (value).toJson()).toList(); | 1021 _json["rows"] = rows.map((value) => (value).toJson()).toList(); |
1022 } | 1022 } |
1023 return _json; | 1023 return _json; |
1024 } | 1024 } |
1025 } | 1025 } |
1026 | 1026 |
1027 /** List of sitemaps. */ | 1027 /** List of sitemaps. */ |
1028 class SitemapsListResponse { | 1028 class SitemapsListResponse { |
1029 /** | 1029 /** |
1030 * Contains detailed information about a specific URL submitted as a sitemap. | 1030 * Contains detailed information about a specific URL submitted as a sitemap. |
1031 */ | 1031 */ |
1032 core.List<WmxSitemap> sitemap; | 1032 core.List<WmxSitemap> sitemap; |
1033 | 1033 |
1034 SitemapsListResponse(); | 1034 SitemapsListResponse(); |
1035 | 1035 |
1036 SitemapsListResponse.fromJson(core.Map _json) { | 1036 SitemapsListResponse.fromJson(core.Map _json) { |
1037 if (_json.containsKey("sitemap")) { | 1037 if (_json.containsKey("sitemap")) { |
1038 sitemap = _json["sitemap"].map((value) => new WmxSitemap.fromJson(value)).
toList(); | 1038 sitemap = _json["sitemap"].map((value) => new WmxSitemap.fromJson(value)).
toList(); |
1039 } | 1039 } |
1040 } | 1040 } |
1041 | 1041 |
1042 core.Map toJson() { | 1042 core.Map<core.String, core.Object> toJson() { |
1043 var _json = new core.Map(); | 1043 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1044 if (sitemap != null) { | 1044 if (sitemap != null) { |
1045 _json["sitemap"] = sitemap.map((value) => (value).toJson()).toList(); | 1045 _json["sitemap"] = sitemap.map((value) => (value).toJson()).toList(); |
1046 } | 1046 } |
1047 return _json; | 1047 return _json; |
1048 } | 1048 } |
1049 } | 1049 } |
1050 | 1050 |
1051 /** List of sites with access level information. */ | 1051 /** List of sites with access level information. */ |
1052 class SitesListResponse { | 1052 class SitesListResponse { |
1053 /** | 1053 /** |
1054 * Contains permission level information about a Search Console site. For more | 1054 * Contains permission level information about a Search Console site. For more |
1055 * information, see Permissions in Search Console. | 1055 * information, see Permissions in Search Console. |
1056 */ | 1056 */ |
1057 core.List<WmxSite> siteEntry; | 1057 core.List<WmxSite> siteEntry; |
1058 | 1058 |
1059 SitesListResponse(); | 1059 SitesListResponse(); |
1060 | 1060 |
1061 SitesListResponse.fromJson(core.Map _json) { | 1061 SitesListResponse.fromJson(core.Map _json) { |
1062 if (_json.containsKey("siteEntry")) { | 1062 if (_json.containsKey("siteEntry")) { |
1063 siteEntry = _json["siteEntry"].map((value) => new WmxSite.fromJson(value))
.toList(); | 1063 siteEntry = _json["siteEntry"].map((value) => new WmxSite.fromJson(value))
.toList(); |
1064 } | 1064 } |
1065 } | 1065 } |
1066 | 1066 |
1067 core.Map toJson() { | 1067 core.Map<core.String, core.Object> toJson() { |
1068 var _json = new core.Map(); | 1068 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1069 if (siteEntry != null) { | 1069 if (siteEntry != null) { |
1070 _json["siteEntry"] = siteEntry.map((value) => (value).toJson()).toList(); | 1070 _json["siteEntry"] = siteEntry.map((value) => (value).toJson()).toList(); |
1071 } | 1071 } |
1072 return _json; | 1072 return _json; |
1073 } | 1073 } |
1074 } | 1074 } |
1075 | 1075 |
1076 /** An entry in a URL crawl errors time series. */ | 1076 /** An entry in a URL crawl errors time series. */ |
1077 class UrlCrawlErrorCount { | 1077 class UrlCrawlErrorCount { |
1078 /** The error count at the given timestamp. */ | 1078 /** The error count at the given timestamp. */ |
1079 core.String count; | 1079 core.String count; |
1080 /** | 1080 /** |
1081 * The date and time when the crawl attempt took place, in RFC 3339 format. | 1081 * The date and time when the crawl attempt took place, in RFC 3339 format. |
1082 */ | 1082 */ |
1083 core.DateTime timestamp; | 1083 core.DateTime timestamp; |
1084 | 1084 |
1085 UrlCrawlErrorCount(); | 1085 UrlCrawlErrorCount(); |
1086 | 1086 |
1087 UrlCrawlErrorCount.fromJson(core.Map _json) { | 1087 UrlCrawlErrorCount.fromJson(core.Map _json) { |
1088 if (_json.containsKey("count")) { | 1088 if (_json.containsKey("count")) { |
1089 count = _json["count"]; | 1089 count = _json["count"]; |
1090 } | 1090 } |
1091 if (_json.containsKey("timestamp")) { | 1091 if (_json.containsKey("timestamp")) { |
1092 timestamp = core.DateTime.parse(_json["timestamp"]); | 1092 timestamp = core.DateTime.parse(_json["timestamp"]); |
1093 } | 1093 } |
1094 } | 1094 } |
1095 | 1095 |
1096 core.Map toJson() { | 1096 core.Map<core.String, core.Object> toJson() { |
1097 var _json = new core.Map(); | 1097 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1098 if (count != null) { | 1098 if (count != null) { |
1099 _json["count"] = count; | 1099 _json["count"] = count; |
1100 } | 1100 } |
1101 if (timestamp != null) { | 1101 if (timestamp != null) { |
1102 _json["timestamp"] = (timestamp).toIso8601String(); | 1102 _json["timestamp"] = (timestamp).toIso8601String(); |
1103 } | 1103 } |
1104 return _json; | 1104 return _json; |
1105 } | 1105 } |
1106 } | 1106 } |
1107 | 1107 |
(...skipping 19 matching lines...) Expand all Loading... |
1127 category = _json["category"]; | 1127 category = _json["category"]; |
1128 } | 1128 } |
1129 if (_json.containsKey("entries")) { | 1129 if (_json.containsKey("entries")) { |
1130 entries = _json["entries"].map((value) => new UrlCrawlErrorCount.fromJson(
value)).toList(); | 1130 entries = _json["entries"].map((value) => new UrlCrawlErrorCount.fromJson(
value)).toList(); |
1131 } | 1131 } |
1132 if (_json.containsKey("platform")) { | 1132 if (_json.containsKey("platform")) { |
1133 platform = _json["platform"]; | 1133 platform = _json["platform"]; |
1134 } | 1134 } |
1135 } | 1135 } |
1136 | 1136 |
1137 core.Map toJson() { | 1137 core.Map<core.String, core.Object> toJson() { |
1138 var _json = new core.Map(); | 1138 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1139 if (category != null) { | 1139 if (category != null) { |
1140 _json["category"] = category; | 1140 _json["category"] = category; |
1141 } | 1141 } |
1142 if (entries != null) { | 1142 if (entries != null) { |
1143 _json["entries"] = entries.map((value) => (value).toJson()).toList(); | 1143 _json["entries"] = entries.map((value) => (value).toJson()).toList(); |
1144 } | 1144 } |
1145 if (platform != null) { | 1145 if (platform != null) { |
1146 _json["platform"] = platform; | 1146 _json["platform"] = platform; |
1147 } | 1147 } |
1148 return _json; | 1148 return _json; |
(...skipping 12 matching lines...) Expand all Loading... |
1161 core.List<UrlCrawlErrorCountsPerType> countPerTypes; | 1161 core.List<UrlCrawlErrorCountsPerType> countPerTypes; |
1162 | 1162 |
1163 UrlCrawlErrorsCountsQueryResponse(); | 1163 UrlCrawlErrorsCountsQueryResponse(); |
1164 | 1164 |
1165 UrlCrawlErrorsCountsQueryResponse.fromJson(core.Map _json) { | 1165 UrlCrawlErrorsCountsQueryResponse.fromJson(core.Map _json) { |
1166 if (_json.containsKey("countPerTypes")) { | 1166 if (_json.containsKey("countPerTypes")) { |
1167 countPerTypes = _json["countPerTypes"].map((value) => new UrlCrawlErrorCou
ntsPerType.fromJson(value)).toList(); | 1167 countPerTypes = _json["countPerTypes"].map((value) => new UrlCrawlErrorCou
ntsPerType.fromJson(value)).toList(); |
1168 } | 1168 } |
1169 } | 1169 } |
1170 | 1170 |
1171 core.Map toJson() { | 1171 core.Map<core.String, core.Object> toJson() { |
1172 var _json = new core.Map(); | 1172 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1173 if (countPerTypes != null) { | 1173 if (countPerTypes != null) { |
1174 _json["countPerTypes"] = countPerTypes.map((value) => (value).toJson()).to
List(); | 1174 _json["countPerTypes"] = countPerTypes.map((value) => (value).toJson()).to
List(); |
1175 } | 1175 } |
1176 return _json; | 1176 return _json; |
1177 } | 1177 } |
1178 } | 1178 } |
1179 | 1179 |
1180 /** Contains information about specific crawl errors. */ | 1180 /** Contains information about specific crawl errors. */ |
1181 class UrlCrawlErrorsSample { | 1181 class UrlCrawlErrorsSample { |
1182 /** The time the error was first detected, in RFC 3339 format. */ | 1182 /** The time the error was first detected, in RFC 3339 format. */ |
(...skipping 20 matching lines...) Expand all Loading... |
1203 pageUrl = _json["pageUrl"]; | 1203 pageUrl = _json["pageUrl"]; |
1204 } | 1204 } |
1205 if (_json.containsKey("responseCode")) { | 1205 if (_json.containsKey("responseCode")) { |
1206 responseCode = _json["responseCode"]; | 1206 responseCode = _json["responseCode"]; |
1207 } | 1207 } |
1208 if (_json.containsKey("urlDetails")) { | 1208 if (_json.containsKey("urlDetails")) { |
1209 urlDetails = new UrlSampleDetails.fromJson(_json["urlDetails"]); | 1209 urlDetails = new UrlSampleDetails.fromJson(_json["urlDetails"]); |
1210 } | 1210 } |
1211 } | 1211 } |
1212 | 1212 |
1213 core.Map toJson() { | 1213 core.Map<core.String, core.Object> toJson() { |
1214 var _json = new core.Map(); | 1214 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1215 if (firstDetected != null) { | 1215 if (firstDetected != null) { |
1216 _json["first_detected"] = (firstDetected).toIso8601String(); | 1216 _json["first_detected"] = (firstDetected).toIso8601String(); |
1217 } | 1217 } |
1218 if (lastCrawled != null) { | 1218 if (lastCrawled != null) { |
1219 _json["last_crawled"] = (lastCrawled).toIso8601String(); | 1219 _json["last_crawled"] = (lastCrawled).toIso8601String(); |
1220 } | 1220 } |
1221 if (pageUrl != null) { | 1221 if (pageUrl != null) { |
1222 _json["pageUrl"] = pageUrl; | 1222 _json["pageUrl"] = pageUrl; |
1223 } | 1223 } |
1224 if (responseCode != null) { | 1224 if (responseCode != null) { |
(...skipping 12 matching lines...) Expand all Loading... |
1237 core.List<UrlCrawlErrorsSample> urlCrawlErrorSample; | 1237 core.List<UrlCrawlErrorsSample> urlCrawlErrorSample; |
1238 | 1238 |
1239 UrlCrawlErrorsSamplesListResponse(); | 1239 UrlCrawlErrorsSamplesListResponse(); |
1240 | 1240 |
1241 UrlCrawlErrorsSamplesListResponse.fromJson(core.Map _json) { | 1241 UrlCrawlErrorsSamplesListResponse.fromJson(core.Map _json) { |
1242 if (_json.containsKey("urlCrawlErrorSample")) { | 1242 if (_json.containsKey("urlCrawlErrorSample")) { |
1243 urlCrawlErrorSample = _json["urlCrawlErrorSample"].map((value) => new UrlC
rawlErrorsSample.fromJson(value)).toList(); | 1243 urlCrawlErrorSample = _json["urlCrawlErrorSample"].map((value) => new UrlC
rawlErrorsSample.fromJson(value)).toList(); |
1244 } | 1244 } |
1245 } | 1245 } |
1246 | 1246 |
1247 core.Map toJson() { | 1247 core.Map<core.String, core.Object> toJson() { |
1248 var _json = new core.Map(); | 1248 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1249 if (urlCrawlErrorSample != null) { | 1249 if (urlCrawlErrorSample != null) { |
1250 _json["urlCrawlErrorSample"] = urlCrawlErrorSample.map((value) => (value).
toJson()).toList(); | 1250 _json["urlCrawlErrorSample"] = urlCrawlErrorSample.map((value) => (value).
toJson()).toList(); |
1251 } | 1251 } |
1252 return _json; | 1252 return _json; |
1253 } | 1253 } |
1254 } | 1254 } |
1255 | 1255 |
1256 /** Additional details about the URL, set only when calling get(). */ | 1256 /** Additional details about the URL, set only when calling get(). */ |
1257 class UrlSampleDetails { | 1257 class UrlSampleDetails { |
1258 /** List of sitemaps pointing at this URL. */ | 1258 /** List of sitemaps pointing at this URL. */ |
1259 core.List<core.String> containingSitemaps; | 1259 core.List<core.String> containingSitemaps; |
1260 /** A sample set of URLs linking to this URL. */ | 1260 /** A sample set of URLs linking to this URL. */ |
1261 core.List<core.String> linkedFromUrls; | 1261 core.List<core.String> linkedFromUrls; |
1262 | 1262 |
1263 UrlSampleDetails(); | 1263 UrlSampleDetails(); |
1264 | 1264 |
1265 UrlSampleDetails.fromJson(core.Map _json) { | 1265 UrlSampleDetails.fromJson(core.Map _json) { |
1266 if (_json.containsKey("containingSitemaps")) { | 1266 if (_json.containsKey("containingSitemaps")) { |
1267 containingSitemaps = _json["containingSitemaps"]; | 1267 containingSitemaps = _json["containingSitemaps"]; |
1268 } | 1268 } |
1269 if (_json.containsKey("linkedFromUrls")) { | 1269 if (_json.containsKey("linkedFromUrls")) { |
1270 linkedFromUrls = _json["linkedFromUrls"]; | 1270 linkedFromUrls = _json["linkedFromUrls"]; |
1271 } | 1271 } |
1272 } | 1272 } |
1273 | 1273 |
1274 core.Map toJson() { | 1274 core.Map<core.String, core.Object> toJson() { |
1275 var _json = new core.Map(); | 1275 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1276 if (containingSitemaps != null) { | 1276 if (containingSitemaps != null) { |
1277 _json["containingSitemaps"] = containingSitemaps; | 1277 _json["containingSitemaps"] = containingSitemaps; |
1278 } | 1278 } |
1279 if (linkedFromUrls != null) { | 1279 if (linkedFromUrls != null) { |
1280 _json["linkedFromUrls"] = linkedFromUrls; | 1280 _json["linkedFromUrls"] = linkedFromUrls; |
1281 } | 1281 } |
1282 return _json; | 1282 return _json; |
1283 } | 1283 } |
1284 } | 1284 } |
1285 | 1285 |
(...skipping 11 matching lines...) Expand all Loading... |
1297 | 1297 |
1298 WmxSite.fromJson(core.Map _json) { | 1298 WmxSite.fromJson(core.Map _json) { |
1299 if (_json.containsKey("permissionLevel")) { | 1299 if (_json.containsKey("permissionLevel")) { |
1300 permissionLevel = _json["permissionLevel"]; | 1300 permissionLevel = _json["permissionLevel"]; |
1301 } | 1301 } |
1302 if (_json.containsKey("siteUrl")) { | 1302 if (_json.containsKey("siteUrl")) { |
1303 siteUrl = _json["siteUrl"]; | 1303 siteUrl = _json["siteUrl"]; |
1304 } | 1304 } |
1305 } | 1305 } |
1306 | 1306 |
1307 core.Map toJson() { | 1307 core.Map<core.String, core.Object> toJson() { |
1308 var _json = new core.Map(); | 1308 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1309 if (permissionLevel != null) { | 1309 if (permissionLevel != null) { |
1310 _json["permissionLevel"] = permissionLevel; | 1310 _json["permissionLevel"] = permissionLevel; |
1311 } | 1311 } |
1312 if (siteUrl != null) { | 1312 if (siteUrl != null) { |
1313 _json["siteUrl"] = siteUrl; | 1313 _json["siteUrl"] = siteUrl; |
1314 } | 1314 } |
1315 return _json; | 1315 return _json; |
1316 } | 1316 } |
1317 } | 1317 } |
1318 | 1318 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1376 path = _json["path"]; | 1376 path = _json["path"]; |
1377 } | 1377 } |
1378 if (_json.containsKey("type")) { | 1378 if (_json.containsKey("type")) { |
1379 type = _json["type"]; | 1379 type = _json["type"]; |
1380 } | 1380 } |
1381 if (_json.containsKey("warnings")) { | 1381 if (_json.containsKey("warnings")) { |
1382 warnings = _json["warnings"]; | 1382 warnings = _json["warnings"]; |
1383 } | 1383 } |
1384 } | 1384 } |
1385 | 1385 |
1386 core.Map toJson() { | 1386 core.Map<core.String, core.Object> toJson() { |
1387 var _json = new core.Map(); | 1387 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1388 if (contents != null) { | 1388 if (contents != null) { |
1389 _json["contents"] = contents.map((value) => (value).toJson()).toList(); | 1389 _json["contents"] = contents.map((value) => (value).toJson()).toList(); |
1390 } | 1390 } |
1391 if (errors != null) { | 1391 if (errors != null) { |
1392 _json["errors"] = errors; | 1392 _json["errors"] = errors; |
1393 } | 1393 } |
1394 if (isPending != null) { | 1394 if (isPending != null) { |
1395 _json["isPending"] = isPending; | 1395 _json["isPending"] = isPending; |
1396 } | 1396 } |
1397 if (isSitemapsIndex != null) { | 1397 if (isSitemapsIndex != null) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 indexed = _json["indexed"]; | 1435 indexed = _json["indexed"]; |
1436 } | 1436 } |
1437 if (_json.containsKey("submitted")) { | 1437 if (_json.containsKey("submitted")) { |
1438 submitted = _json["submitted"]; | 1438 submitted = _json["submitted"]; |
1439 } | 1439 } |
1440 if (_json.containsKey("type")) { | 1440 if (_json.containsKey("type")) { |
1441 type = _json["type"]; | 1441 type = _json["type"]; |
1442 } | 1442 } |
1443 } | 1443 } |
1444 | 1444 |
1445 core.Map toJson() { | 1445 core.Map<core.String, core.Object> toJson() { |
1446 var _json = new core.Map(); | 1446 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1447 if (indexed != null) { | 1447 if (indexed != null) { |
1448 _json["indexed"] = indexed; | 1448 _json["indexed"] = indexed; |
1449 } | 1449 } |
1450 if (submitted != null) { | 1450 if (submitted != null) { |
1451 _json["submitted"] = submitted; | 1451 _json["submitted"] = submitted; |
1452 } | 1452 } |
1453 if (type != null) { | 1453 if (type != null) { |
1454 _json["type"] = type; | 1454 _json["type"] = type; |
1455 } | 1455 } |
1456 return _json; | 1456 return _json; |
1457 } | 1457 } |
1458 } | 1458 } |
OLD | NEW |