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

Side by Side Diff: generated/googleapis/lib/plusdomains/v1.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/plus/v1.dart ('k') | generated/googleapis/lib/prediction/v1_6.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.plusDomains.v1; 3 library googleapis.plusDomains.v1;
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 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 domainRestricted = _json["domainRestricted"]; 1167 domainRestricted = _json["domainRestricted"];
1168 } 1168 }
1169 if (_json.containsKey("items")) { 1169 if (_json.containsKey("items")) {
1170 items = _json["items"].map((value) => new PlusDomainsAclentryResource.from Json(value)).toList(); 1170 items = _json["items"].map((value) => new PlusDomainsAclentryResource.from Json(value)).toList();
1171 } 1171 }
1172 if (_json.containsKey("kind")) { 1172 if (_json.containsKey("kind")) {
1173 kind = _json["kind"]; 1173 kind = _json["kind"];
1174 } 1174 }
1175 } 1175 }
1176 1176
1177 core.Map toJson() { 1177 core.Map<core.String, core.Object> toJson() {
1178 var _json = new core.Map(); 1178 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1179 if (description != null) { 1179 if (description != null) {
1180 _json["description"] = description; 1180 _json["description"] = description;
1181 } 1181 }
1182 if (domainRestricted != null) { 1182 if (domainRestricted != null) {
1183 _json["domainRestricted"] = domainRestricted; 1183 _json["domainRestricted"] = domainRestricted;
1184 } 1184 }
1185 if (items != null) { 1185 if (items != null) {
1186 _json["items"] = items.map((value) => (value).toJson()).toList(); 1186 _json["items"] = items.map((value) => (value).toJson()).toList();
1187 } 1187 }
1188 if (kind != null) { 1188 if (kind != null) {
1189 _json["kind"] = kind; 1189 _json["kind"] = kind;
1190 } 1190 }
1191 return _json; 1191 return _json;
1192 } 1192 }
1193 } 1193 }
1194 1194
1195 /** Actor info specific to YouTube clients. */ 1195 /** Actor info specific to YouTube clients. */
1196 class ActivityActorClientSpecificActorInfoYoutubeActorInfo { 1196 class ActivityActorClientSpecificActorInfoYoutubeActorInfo {
1197 /** ID of the YouTube channel owned by the Actor. */ 1197 /** ID of the YouTube channel owned by the Actor. */
1198 core.String channelId; 1198 core.String channelId;
1199 1199
1200 ActivityActorClientSpecificActorInfoYoutubeActorInfo(); 1200 ActivityActorClientSpecificActorInfoYoutubeActorInfo();
1201 1201
1202 ActivityActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _json) { 1202 ActivityActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _json) {
1203 if (_json.containsKey("channelId")) { 1203 if (_json.containsKey("channelId")) {
1204 channelId = _json["channelId"]; 1204 channelId = _json["channelId"];
1205 } 1205 }
1206 } 1206 }
1207 1207
1208 core.Map toJson() { 1208 core.Map<core.String, core.Object> toJson() {
1209 var _json = new core.Map(); 1209 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1210 if (channelId != null) { 1210 if (channelId != null) {
1211 _json["channelId"] = channelId; 1211 _json["channelId"] = channelId;
1212 } 1212 }
1213 return _json; 1213 return _json;
1214 } 1214 }
1215 } 1215 }
1216 1216
1217 /** Actor info specific to particular clients. */ 1217 /** Actor info specific to particular clients. */
1218 class ActivityActorClientSpecificActorInfo { 1218 class ActivityActorClientSpecificActorInfo {
1219 /** Actor info specific to YouTube clients. */ 1219 /** Actor info specific to YouTube clients. */
1220 ActivityActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo; 1220 ActivityActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo;
1221 1221
1222 ActivityActorClientSpecificActorInfo(); 1222 ActivityActorClientSpecificActorInfo();
1223 1223
1224 ActivityActorClientSpecificActorInfo.fromJson(core.Map _json) { 1224 ActivityActorClientSpecificActorInfo.fromJson(core.Map _json) {
1225 if (_json.containsKey("youtubeActorInfo")) { 1225 if (_json.containsKey("youtubeActorInfo")) {
1226 youtubeActorInfo = new ActivityActorClientSpecificActorInfoYoutubeActorInf o.fromJson(_json["youtubeActorInfo"]); 1226 youtubeActorInfo = new ActivityActorClientSpecificActorInfoYoutubeActorInf o.fromJson(_json["youtubeActorInfo"]);
1227 } 1227 }
1228 } 1228 }
1229 1229
1230 core.Map toJson() { 1230 core.Map<core.String, core.Object> toJson() {
1231 var _json = new core.Map(); 1231 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1232 if (youtubeActorInfo != null) { 1232 if (youtubeActorInfo != null) {
1233 _json["youtubeActorInfo"] = (youtubeActorInfo).toJson(); 1233 _json["youtubeActorInfo"] = (youtubeActorInfo).toJson();
1234 } 1234 }
1235 return _json; 1235 return _json;
1236 } 1236 }
1237 } 1237 }
1238 1238
1239 /** The image representation of the actor. */ 1239 /** The image representation of the actor. */
1240 class ActivityActorImage { 1240 class ActivityActorImage {
1241 /** 1241 /**
1242 * The URL of the actor's profile photo. To resize the image and crop it to a 1242 * The URL of the actor's profile photo. To resize the image and crop it to a
1243 * square, append the query string ?sz=x, where x is the dimension in pixels 1243 * square, append the query string ?sz=x, where x is the dimension in pixels
1244 * of each side. 1244 * of each side.
1245 */ 1245 */
1246 core.String url; 1246 core.String url;
1247 1247
1248 ActivityActorImage(); 1248 ActivityActorImage();
1249 1249
1250 ActivityActorImage.fromJson(core.Map _json) { 1250 ActivityActorImage.fromJson(core.Map _json) {
1251 if (_json.containsKey("url")) { 1251 if (_json.containsKey("url")) {
1252 url = _json["url"]; 1252 url = _json["url"];
1253 } 1253 }
1254 } 1254 }
1255 1255
1256 core.Map toJson() { 1256 core.Map<core.String, core.Object> toJson() {
1257 var _json = new core.Map(); 1257 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1258 if (url != null) { 1258 if (url != null) {
1259 _json["url"] = url; 1259 _json["url"] = url;
1260 } 1260 }
1261 return _json; 1261 return _json;
1262 } 1262 }
1263 } 1263 }
1264 1264
1265 /** An object representation of the individual components of name. */ 1265 /** An object representation of the individual components of name. */
1266 class ActivityActorName { 1266 class ActivityActorName {
1267 /** The family name ("last name") of the actor. */ 1267 /** The family name ("last name") of the actor. */
1268 core.String familyName; 1268 core.String familyName;
1269 /** The given name ("first name") of the actor. */ 1269 /** The given name ("first name") of the actor. */
1270 core.String givenName; 1270 core.String givenName;
1271 1271
1272 ActivityActorName(); 1272 ActivityActorName();
1273 1273
1274 ActivityActorName.fromJson(core.Map _json) { 1274 ActivityActorName.fromJson(core.Map _json) {
1275 if (_json.containsKey("familyName")) { 1275 if (_json.containsKey("familyName")) {
1276 familyName = _json["familyName"]; 1276 familyName = _json["familyName"];
1277 } 1277 }
1278 if (_json.containsKey("givenName")) { 1278 if (_json.containsKey("givenName")) {
1279 givenName = _json["givenName"]; 1279 givenName = _json["givenName"];
1280 } 1280 }
1281 } 1281 }
1282 1282
1283 core.Map toJson() { 1283 core.Map<core.String, core.Object> toJson() {
1284 var _json = new core.Map(); 1284 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1285 if (familyName != null) { 1285 if (familyName != null) {
1286 _json["familyName"] = familyName; 1286 _json["familyName"] = familyName;
1287 } 1287 }
1288 if (givenName != null) { 1288 if (givenName != null) {
1289 _json["givenName"] = givenName; 1289 _json["givenName"] = givenName;
1290 } 1290 }
1291 return _json; 1291 return _json;
1292 } 1292 }
1293 } 1293 }
1294 1294
1295 /** Verification status of actor. */ 1295 /** Verification status of actor. */
1296 class ActivityActorVerification { 1296 class ActivityActorVerification {
1297 /** Verification for one-time or manual processes. */ 1297 /** Verification for one-time or manual processes. */
1298 core.String adHocVerified; 1298 core.String adHocVerified;
1299 1299
1300 ActivityActorVerification(); 1300 ActivityActorVerification();
1301 1301
1302 ActivityActorVerification.fromJson(core.Map _json) { 1302 ActivityActorVerification.fromJson(core.Map _json) {
1303 if (_json.containsKey("adHocVerified")) { 1303 if (_json.containsKey("adHocVerified")) {
1304 adHocVerified = _json["adHocVerified"]; 1304 adHocVerified = _json["adHocVerified"];
1305 } 1305 }
1306 } 1306 }
1307 1307
1308 core.Map toJson() { 1308 core.Map<core.String, core.Object> toJson() {
1309 var _json = new core.Map(); 1309 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1310 if (adHocVerified != null) { 1310 if (adHocVerified != null) {
1311 _json["adHocVerified"] = adHocVerified; 1311 _json["adHocVerified"] = adHocVerified;
1312 } 1312 }
1313 return _json; 1313 return _json;
1314 } 1314 }
1315 } 1315 }
1316 1316
1317 /** The person who performed this activity. */ 1317 /** The person who performed this activity. */
1318 class ActivityActor { 1318 class ActivityActor {
1319 /** Actor info specific to particular clients. */ 1319 /** Actor info specific to particular clients. */
(...skipping 30 matching lines...) Expand all
1350 name = new ActivityActorName.fromJson(_json["name"]); 1350 name = new ActivityActorName.fromJson(_json["name"]);
1351 } 1351 }
1352 if (_json.containsKey("url")) { 1352 if (_json.containsKey("url")) {
1353 url = _json["url"]; 1353 url = _json["url"];
1354 } 1354 }
1355 if (_json.containsKey("verification")) { 1355 if (_json.containsKey("verification")) {
1356 verification = new ActivityActorVerification.fromJson(_json["verification" ]); 1356 verification = new ActivityActorVerification.fromJson(_json["verification" ]);
1357 } 1357 }
1358 } 1358 }
1359 1359
1360 core.Map toJson() { 1360 core.Map<core.String, core.Object> toJson() {
1361 var _json = new core.Map(); 1361 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1362 if (clientSpecificActorInfo != null) { 1362 if (clientSpecificActorInfo != null) {
1363 _json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson(); 1363 _json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson();
1364 } 1364 }
1365 if (displayName != null) { 1365 if (displayName != null) {
1366 _json["displayName"] = displayName; 1366 _json["displayName"] = displayName;
1367 } 1367 }
1368 if (id != null) { 1368 if (id != null) {
1369 _json["id"] = id; 1369 _json["id"] = id;
1370 } 1370 }
1371 if (image != null) { 1371 if (image != null) {
(...skipping 18 matching lines...) Expand all
1390 core.String channelId; 1390 core.String channelId;
1391 1391
1392 ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo(); 1392 ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo();
1393 1393
1394 ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _ json) { 1394 ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _ json) {
1395 if (_json.containsKey("channelId")) { 1395 if (_json.containsKey("channelId")) {
1396 channelId = _json["channelId"]; 1396 channelId = _json["channelId"];
1397 } 1397 }
1398 } 1398 }
1399 1399
1400 core.Map toJson() { 1400 core.Map<core.String, core.Object> toJson() {
1401 var _json = new core.Map(); 1401 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1402 if (channelId != null) { 1402 if (channelId != null) {
1403 _json["channelId"] = channelId; 1403 _json["channelId"] = channelId;
1404 } 1404 }
1405 return _json; 1405 return _json;
1406 } 1406 }
1407 } 1407 }
1408 1408
1409 /** Actor info specific to particular clients. */ 1409 /** Actor info specific to particular clients. */
1410 class ActivityObjectActorClientSpecificActorInfo { 1410 class ActivityObjectActorClientSpecificActorInfo {
1411 /** Actor info specific to YouTube clients. */ 1411 /** Actor info specific to YouTube clients. */
1412 ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo; 1412 ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo;
1413 1413
1414 ActivityObjectActorClientSpecificActorInfo(); 1414 ActivityObjectActorClientSpecificActorInfo();
1415 1415
1416 ActivityObjectActorClientSpecificActorInfo.fromJson(core.Map _json) { 1416 ActivityObjectActorClientSpecificActorInfo.fromJson(core.Map _json) {
1417 if (_json.containsKey("youtubeActorInfo")) { 1417 if (_json.containsKey("youtubeActorInfo")) {
1418 youtubeActorInfo = new ActivityObjectActorClientSpecificActorInfoYoutubeAc torInfo.fromJson(_json["youtubeActorInfo"]); 1418 youtubeActorInfo = new ActivityObjectActorClientSpecificActorInfoYoutubeAc torInfo.fromJson(_json["youtubeActorInfo"]);
1419 } 1419 }
1420 } 1420 }
1421 1421
1422 core.Map toJson() { 1422 core.Map<core.String, core.Object> toJson() {
1423 var _json = new core.Map(); 1423 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1424 if (youtubeActorInfo != null) { 1424 if (youtubeActorInfo != null) {
1425 _json["youtubeActorInfo"] = (youtubeActorInfo).toJson(); 1425 _json["youtubeActorInfo"] = (youtubeActorInfo).toJson();
1426 } 1426 }
1427 return _json; 1427 return _json;
1428 } 1428 }
1429 } 1429 }
1430 1430
1431 /** The image representation of the original actor. */ 1431 /** The image representation of the original actor. */
1432 class ActivityObjectActorImage { 1432 class ActivityObjectActorImage {
1433 /** A URL that points to a thumbnail photo of the original actor. */ 1433 /** A URL that points to a thumbnail photo of the original actor. */
1434 core.String url; 1434 core.String url;
1435 1435
1436 ActivityObjectActorImage(); 1436 ActivityObjectActorImage();
1437 1437
1438 ActivityObjectActorImage.fromJson(core.Map _json) { 1438 ActivityObjectActorImage.fromJson(core.Map _json) {
1439 if (_json.containsKey("url")) { 1439 if (_json.containsKey("url")) {
1440 url = _json["url"]; 1440 url = _json["url"];
1441 } 1441 }
1442 } 1442 }
1443 1443
1444 core.Map toJson() { 1444 core.Map<core.String, core.Object> toJson() {
1445 var _json = new core.Map(); 1445 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1446 if (url != null) { 1446 if (url != null) {
1447 _json["url"] = url; 1447 _json["url"] = url;
1448 } 1448 }
1449 return _json; 1449 return _json;
1450 } 1450 }
1451 } 1451 }
1452 1452
1453 /** Verification status of actor. */ 1453 /** Verification status of actor. */
1454 class ActivityObjectActorVerification { 1454 class ActivityObjectActorVerification {
1455 /** Verification for one-time or manual processes. */ 1455 /** Verification for one-time or manual processes. */
1456 core.String adHocVerified; 1456 core.String adHocVerified;
1457 1457
1458 ActivityObjectActorVerification(); 1458 ActivityObjectActorVerification();
1459 1459
1460 ActivityObjectActorVerification.fromJson(core.Map _json) { 1460 ActivityObjectActorVerification.fromJson(core.Map _json) {
1461 if (_json.containsKey("adHocVerified")) { 1461 if (_json.containsKey("adHocVerified")) {
1462 adHocVerified = _json["adHocVerified"]; 1462 adHocVerified = _json["adHocVerified"];
1463 } 1463 }
1464 } 1464 }
1465 1465
1466 core.Map toJson() { 1466 core.Map<core.String, core.Object> toJson() {
1467 var _json = new core.Map(); 1467 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1468 if (adHocVerified != null) { 1468 if (adHocVerified != null) {
1469 _json["adHocVerified"] = adHocVerified; 1469 _json["adHocVerified"] = adHocVerified;
1470 } 1470 }
1471 return _json; 1471 return _json;
1472 } 1472 }
1473 } 1473 }
1474 1474
1475 /** 1475 /**
1476 * If this activity's object is itself another activity, such as when a person 1476 * If this activity's object is itself another activity, such as when a person
1477 * reshares an activity, this property specifies the original activity's actor. 1477 * reshares an activity, this property specifies the original activity's actor.
(...skipping 28 matching lines...) Expand all
1506 image = new ActivityObjectActorImage.fromJson(_json["image"]); 1506 image = new ActivityObjectActorImage.fromJson(_json["image"]);
1507 } 1507 }
1508 if (_json.containsKey("url")) { 1508 if (_json.containsKey("url")) {
1509 url = _json["url"]; 1509 url = _json["url"];
1510 } 1510 }
1511 if (_json.containsKey("verification")) { 1511 if (_json.containsKey("verification")) {
1512 verification = new ActivityObjectActorVerification.fromJson(_json["verific ation"]); 1512 verification = new ActivityObjectActorVerification.fromJson(_json["verific ation"]);
1513 } 1513 }
1514 } 1514 }
1515 1515
1516 core.Map toJson() { 1516 core.Map<core.String, core.Object> toJson() {
1517 var _json = new core.Map(); 1517 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1518 if (clientSpecificActorInfo != null) { 1518 if (clientSpecificActorInfo != null) {
1519 _json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson(); 1519 _json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson();
1520 } 1520 }
1521 if (displayName != null) { 1521 if (displayName != null) {
1522 _json["displayName"] = displayName; 1522 _json["displayName"] = displayName;
1523 } 1523 }
1524 if (id != null) { 1524 if (id != null) {
1525 _json["id"] = id; 1525 _json["id"] = id;
1526 } 1526 }
1527 if (image != null) { 1527 if (image != null) {
(...skipping 20 matching lines...) Expand all
1548 1548
1549 ActivityObjectAttachmentsEmbed.fromJson(core.Map _json) { 1549 ActivityObjectAttachmentsEmbed.fromJson(core.Map _json) {
1550 if (_json.containsKey("type")) { 1550 if (_json.containsKey("type")) {
1551 type = _json["type"]; 1551 type = _json["type"];
1552 } 1552 }
1553 if (_json.containsKey("url")) { 1553 if (_json.containsKey("url")) {
1554 url = _json["url"]; 1554 url = _json["url"];
1555 } 1555 }
1556 } 1556 }
1557 1557
1558 core.Map toJson() { 1558 core.Map<core.String, core.Object> toJson() {
1559 var _json = new core.Map(); 1559 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1560 if (type != null) { 1560 if (type != null) {
1561 _json["type"] = type; 1561 _json["type"] = type;
1562 } 1562 }
1563 if (url != null) { 1563 if (url != null) {
1564 _json["url"] = url; 1564 _json["url"] = url;
1565 } 1565 }
1566 return _json; 1566 return _json;
1567 } 1567 }
1568 } 1568 }
1569 1569
(...skipping 18 matching lines...) Expand all
1588 type = _json["type"]; 1588 type = _json["type"];
1589 } 1589 }
1590 if (_json.containsKey("url")) { 1590 if (_json.containsKey("url")) {
1591 url = _json["url"]; 1591 url = _json["url"];
1592 } 1592 }
1593 if (_json.containsKey("width")) { 1593 if (_json.containsKey("width")) {
1594 width = _json["width"]; 1594 width = _json["width"];
1595 } 1595 }
1596 } 1596 }
1597 1597
1598 core.Map toJson() { 1598 core.Map<core.String, core.Object> toJson() {
1599 var _json = new core.Map(); 1599 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1600 if (height != null) { 1600 if (height != null) {
1601 _json["height"] = height; 1601 _json["height"] = height;
1602 } 1602 }
1603 if (type != null) { 1603 if (type != null) {
1604 _json["type"] = type; 1604 _json["type"] = type;
1605 } 1605 }
1606 if (url != null) { 1606 if (url != null) {
1607 _json["url"] = url; 1607 _json["url"] = url;
1608 } 1608 }
1609 if (width != null) { 1609 if (width != null) {
(...skipping 24 matching lines...) Expand all
1634 type = _json["type"]; 1634 type = _json["type"];
1635 } 1635 }
1636 if (_json.containsKey("url")) { 1636 if (_json.containsKey("url")) {
1637 url = _json["url"]; 1637 url = _json["url"];
1638 } 1638 }
1639 if (_json.containsKey("width")) { 1639 if (_json.containsKey("width")) {
1640 width = _json["width"]; 1640 width = _json["width"];
1641 } 1641 }
1642 } 1642 }
1643 1643
1644 core.Map toJson() { 1644 core.Map<core.String, core.Object> toJson() {
1645 var _json = new core.Map(); 1645 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1646 if (height != null) { 1646 if (height != null) {
1647 _json["height"] = height; 1647 _json["height"] = height;
1648 } 1648 }
1649 if (type != null) { 1649 if (type != null) {
1650 _json["type"] = type; 1650 _json["type"] = type;
1651 } 1651 }
1652 if (url != null) { 1652 if (url != null) {
1653 _json["url"] = url; 1653 _json["url"] = url;
1654 } 1654 }
1655 if (width != null) { 1655 if (width != null) {
1656 _json["width"] = width; 1656 _json["width"] = width;
1657 } 1657 }
1658 return _json; 1658 return _json;
1659 } 1659 }
1660 } 1660 }
1661 1661
1662 class ActivityObjectAttachmentsPreviewThumbnails { 1662 class ActivityObjectAttachmentsPreviewThumbnails {
1663 /** URL of the thumbnail image. */ 1663 /** URL of the thumbnail image. */
1664 core.String url; 1664 core.String url;
1665 1665
1666 ActivityObjectAttachmentsPreviewThumbnails(); 1666 ActivityObjectAttachmentsPreviewThumbnails();
1667 1667
1668 ActivityObjectAttachmentsPreviewThumbnails.fromJson(core.Map _json) { 1668 ActivityObjectAttachmentsPreviewThumbnails.fromJson(core.Map _json) {
1669 if (_json.containsKey("url")) { 1669 if (_json.containsKey("url")) {
1670 url = _json["url"]; 1670 url = _json["url"];
1671 } 1671 }
1672 } 1672 }
1673 1673
1674 core.Map toJson() { 1674 core.Map<core.String, core.Object> toJson() {
1675 var _json = new core.Map(); 1675 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1676 if (url != null) { 1676 if (url != null) {
1677 _json["url"] = url; 1677 _json["url"] = url;
1678 } 1678 }
1679 return _json; 1679 return _json;
1680 } 1680 }
1681 } 1681 }
1682 1682
1683 /** Image resource. */ 1683 /** Image resource. */
1684 class ActivityObjectAttachmentsThumbnailsImage { 1684 class ActivityObjectAttachmentsThumbnailsImage {
1685 /** The height, in pixels, of the linked resource. */ 1685 /** The height, in pixels, of the linked resource. */
(...skipping 15 matching lines...) Expand all
1701 type = _json["type"]; 1701 type = _json["type"];
1702 } 1702 }
1703 if (_json.containsKey("url")) { 1703 if (_json.containsKey("url")) {
1704 url = _json["url"]; 1704 url = _json["url"];
1705 } 1705 }
1706 if (_json.containsKey("width")) { 1706 if (_json.containsKey("width")) {
1707 width = _json["width"]; 1707 width = _json["width"];
1708 } 1708 }
1709 } 1709 }
1710 1710
1711 core.Map toJson() { 1711 core.Map<core.String, core.Object> toJson() {
1712 var _json = new core.Map(); 1712 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1713 if (height != null) { 1713 if (height != null) {
1714 _json["height"] = height; 1714 _json["height"] = height;
1715 } 1715 }
1716 if (type != null) { 1716 if (type != null) {
1717 _json["type"] = type; 1717 _json["type"] = type;
1718 } 1718 }
1719 if (url != null) { 1719 if (url != null) {
1720 _json["url"] = url; 1720 _json["url"] = url;
1721 } 1721 }
1722 if (width != null) { 1722 if (width != null) {
(...skipping 18 matching lines...) Expand all
1741 description = _json["description"]; 1741 description = _json["description"];
1742 } 1742 }
1743 if (_json.containsKey("image")) { 1743 if (_json.containsKey("image")) {
1744 image = new ActivityObjectAttachmentsThumbnailsImage.fromJson(_json["image "]); 1744 image = new ActivityObjectAttachmentsThumbnailsImage.fromJson(_json["image "]);
1745 } 1745 }
1746 if (_json.containsKey("url")) { 1746 if (_json.containsKey("url")) {
1747 url = _json["url"]; 1747 url = _json["url"];
1748 } 1748 }
1749 } 1749 }
1750 1750
1751 core.Map toJson() { 1751 core.Map<core.String, core.Object> toJson() {
1752 var _json = new core.Map(); 1752 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1753 if (description != null) { 1753 if (description != null) {
1754 _json["description"] = description; 1754 _json["description"] = description;
1755 } 1755 }
1756 if (image != null) { 1756 if (image != null) {
1757 _json["image"] = (image).toJson(); 1757 _json["image"] = (image).toJson();
1758 } 1758 }
1759 if (url != null) { 1759 if (url != null) {
1760 _json["url"] = url; 1760 _json["url"] = url;
1761 } 1761 }
1762 return _json; 1762 return _json;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1832 previewThumbnails = _json["previewThumbnails"].map((value) => new Activity ObjectAttachmentsPreviewThumbnails.fromJson(value)).toList(); 1832 previewThumbnails = _json["previewThumbnails"].map((value) => new Activity ObjectAttachmentsPreviewThumbnails.fromJson(value)).toList();
1833 } 1833 }
1834 if (_json.containsKey("thumbnails")) { 1834 if (_json.containsKey("thumbnails")) {
1835 thumbnails = _json["thumbnails"].map((value) => new ActivityObjectAttachme ntsThumbnails.fromJson(value)).toList(); 1835 thumbnails = _json["thumbnails"].map((value) => new ActivityObjectAttachme ntsThumbnails.fromJson(value)).toList();
1836 } 1836 }
1837 if (_json.containsKey("url")) { 1837 if (_json.containsKey("url")) {
1838 url = _json["url"]; 1838 url = _json["url"];
1839 } 1839 }
1840 } 1840 }
1841 1841
1842 core.Map toJson() { 1842 core.Map<core.String, core.Object> toJson() {
1843 var _json = new core.Map(); 1843 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1844 if (content != null) { 1844 if (content != null) {
1845 _json["content"] = content; 1845 _json["content"] = content;
1846 } 1846 }
1847 if (displayName != null) { 1847 if (displayName != null) {
1848 _json["displayName"] = displayName; 1848 _json["displayName"] = displayName;
1849 } 1849 }
1850 if (embed != null) { 1850 if (embed != null) {
1851 _json["embed"] = (embed).toJson(); 1851 _json["embed"] = (embed).toJson();
1852 } 1852 }
1853 if (fullImage != null) { 1853 if (fullImage != null) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1886 1886
1887 ActivityObjectPlusoners.fromJson(core.Map _json) { 1887 ActivityObjectPlusoners.fromJson(core.Map _json) {
1888 if (_json.containsKey("selfLink")) { 1888 if (_json.containsKey("selfLink")) {
1889 selfLink = _json["selfLink"]; 1889 selfLink = _json["selfLink"];
1890 } 1890 }
1891 if (_json.containsKey("totalItems")) { 1891 if (_json.containsKey("totalItems")) {
1892 totalItems = _json["totalItems"]; 1892 totalItems = _json["totalItems"];
1893 } 1893 }
1894 } 1894 }
1895 1895
1896 core.Map toJson() { 1896 core.Map<core.String, core.Object> toJson() {
1897 var _json = new core.Map(); 1897 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1898 if (selfLink != null) { 1898 if (selfLink != null) {
1899 _json["selfLink"] = selfLink; 1899 _json["selfLink"] = selfLink;
1900 } 1900 }
1901 if (totalItems != null) { 1901 if (totalItems != null) {
1902 _json["totalItems"] = totalItems; 1902 _json["totalItems"] = totalItems;
1903 } 1903 }
1904 return _json; 1904 return _json;
1905 } 1905 }
1906 } 1906 }
1907 1907
1908 /** Comments in reply to this activity. */ 1908 /** Comments in reply to this activity. */
1909 class ActivityObjectReplies { 1909 class ActivityObjectReplies {
1910 /** The URL for the collection of comments in reply to this activity. */ 1910 /** The URL for the collection of comments in reply to this activity. */
1911 core.String selfLink; 1911 core.String selfLink;
1912 /** Total number of comments on this activity. */ 1912 /** Total number of comments on this activity. */
1913 core.int totalItems; 1913 core.int totalItems;
1914 1914
1915 ActivityObjectReplies(); 1915 ActivityObjectReplies();
1916 1916
1917 ActivityObjectReplies.fromJson(core.Map _json) { 1917 ActivityObjectReplies.fromJson(core.Map _json) {
1918 if (_json.containsKey("selfLink")) { 1918 if (_json.containsKey("selfLink")) {
1919 selfLink = _json["selfLink"]; 1919 selfLink = _json["selfLink"];
1920 } 1920 }
1921 if (_json.containsKey("totalItems")) { 1921 if (_json.containsKey("totalItems")) {
1922 totalItems = _json["totalItems"]; 1922 totalItems = _json["totalItems"];
1923 } 1923 }
1924 } 1924 }
1925 1925
1926 core.Map toJson() { 1926 core.Map<core.String, core.Object> toJson() {
1927 var _json = new core.Map(); 1927 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1928 if (selfLink != null) { 1928 if (selfLink != null) {
1929 _json["selfLink"] = selfLink; 1929 _json["selfLink"] = selfLink;
1930 } 1930 }
1931 if (totalItems != null) { 1931 if (totalItems != null) {
1932 _json["totalItems"] = totalItems; 1932 _json["totalItems"] = totalItems;
1933 } 1933 }
1934 return _json; 1934 return _json;
1935 } 1935 }
1936 } 1936 }
1937 1937
1938 /** People who reshared this activity. */ 1938 /** People who reshared this activity. */
1939 class ActivityObjectResharers { 1939 class ActivityObjectResharers {
1940 /** The URL for the collection of resharers. */ 1940 /** The URL for the collection of resharers. */
1941 core.String selfLink; 1941 core.String selfLink;
1942 /** Total number of people who reshared this activity. */ 1942 /** Total number of people who reshared this activity. */
1943 core.int totalItems; 1943 core.int totalItems;
1944 1944
1945 ActivityObjectResharers(); 1945 ActivityObjectResharers();
1946 1946
1947 ActivityObjectResharers.fromJson(core.Map _json) { 1947 ActivityObjectResharers.fromJson(core.Map _json) {
1948 if (_json.containsKey("selfLink")) { 1948 if (_json.containsKey("selfLink")) {
1949 selfLink = _json["selfLink"]; 1949 selfLink = _json["selfLink"];
1950 } 1950 }
1951 if (_json.containsKey("totalItems")) { 1951 if (_json.containsKey("totalItems")) {
1952 totalItems = _json["totalItems"]; 1952 totalItems = _json["totalItems"];
1953 } 1953 }
1954 } 1954 }
1955 1955
1956 core.Map toJson() { 1956 core.Map<core.String, core.Object> toJson() {
1957 var _json = new core.Map(); 1957 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1958 if (selfLink != null) { 1958 if (selfLink != null) {
1959 _json["selfLink"] = selfLink; 1959 _json["selfLink"] = selfLink;
1960 } 1960 }
1961 if (totalItems != null) { 1961 if (totalItems != null) {
1962 _json["totalItems"] = totalItems; 1962 _json["totalItems"] = totalItems;
1963 } 1963 }
1964 return _json; 1964 return _json;
1965 } 1965 }
1966 } 1966 }
1967 1967
(...skipping 23 matching lines...) Expand all
1991 canUpdate = _json["canUpdate"]; 1991 canUpdate = _json["canUpdate"];
1992 } 1992 }
1993 if (_json.containsKey("isPlusOned")) { 1993 if (_json.containsKey("isPlusOned")) {
1994 isPlusOned = _json["isPlusOned"]; 1994 isPlusOned = _json["isPlusOned"];
1995 } 1995 }
1996 if (_json.containsKey("resharingDisabled")) { 1996 if (_json.containsKey("resharingDisabled")) {
1997 resharingDisabled = _json["resharingDisabled"]; 1997 resharingDisabled = _json["resharingDisabled"];
1998 } 1998 }
1999 } 1999 }
2000 2000
2001 core.Map toJson() { 2001 core.Map<core.String, core.Object> toJson() {
2002 var _json = new core.Map(); 2002 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2003 if (canComment != null) { 2003 if (canComment != null) {
2004 _json["canComment"] = canComment; 2004 _json["canComment"] = canComment;
2005 } 2005 }
2006 if (canPlusone != null) { 2006 if (canPlusone != null) {
2007 _json["canPlusone"] = canPlusone; 2007 _json["canPlusone"] = canPlusone;
2008 } 2008 }
2009 if (canUpdate != null) { 2009 if (canUpdate != null) {
2010 _json["canUpdate"] = canUpdate; 2010 _json["canUpdate"] = canUpdate;
2011 } 2011 }
2012 if (isPlusOned != null) { 2012 if (isPlusOned != null) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
2091 resharers = new ActivityObjectResharers.fromJson(_json["resharers"]); 2091 resharers = new ActivityObjectResharers.fromJson(_json["resharers"]);
2092 } 2092 }
2093 if (_json.containsKey("statusForViewer")) { 2093 if (_json.containsKey("statusForViewer")) {
2094 statusForViewer = new ActivityObjectStatusForViewer.fromJson(_json["status ForViewer"]); 2094 statusForViewer = new ActivityObjectStatusForViewer.fromJson(_json["status ForViewer"]);
2095 } 2095 }
2096 if (_json.containsKey("url")) { 2096 if (_json.containsKey("url")) {
2097 url = _json["url"]; 2097 url = _json["url"];
2098 } 2098 }
2099 } 2099 }
2100 2100
2101 core.Map toJson() { 2101 core.Map<core.String, core.Object> toJson() {
2102 var _json = new core.Map(); 2102 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2103 if (actor != null) { 2103 if (actor != null) {
2104 _json["actor"] = (actor).toJson(); 2104 _json["actor"] = (actor).toJson();
2105 } 2105 }
2106 if (attachments != null) { 2106 if (attachments != null) {
2107 _json["attachments"] = attachments.map((value) => (value).toJson()).toList (); 2107 _json["attachments"] = attachments.map((value) => (value).toJson()).toList ();
2108 } 2108 }
2109 if (content != null) { 2109 if (content != null) {
2110 _json["content"] = content; 2110 _json["content"] = content;
2111 } 2111 }
2112 if (id != null) { 2112 if (id != null) {
(...skipping 30 matching lines...) Expand all
2143 core.String title; 2143 core.String title;
2144 2144
2145 ActivityProvider(); 2145 ActivityProvider();
2146 2146
2147 ActivityProvider.fromJson(core.Map _json) { 2147 ActivityProvider.fromJson(core.Map _json) {
2148 if (_json.containsKey("title")) { 2148 if (_json.containsKey("title")) {
2149 title = _json["title"]; 2149 title = _json["title"];
2150 } 2150 }
2151 } 2151 }
2152 2152
2153 core.Map toJson() { 2153 core.Map<core.String, core.Object> toJson() {
2154 var _json = new core.Map(); 2154 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2155 if (title != null) { 2155 if (title != null) {
2156 _json["title"] = title; 2156 _json["title"] = title;
2157 } 2157 }
2158 return _json; 2158 return _json;
2159 } 2159 }
2160 } 2160 }
2161 2161
2162 class Activity { 2162 class Activity {
2163 /** Identifies who has access to see this activity. */ 2163 /** Identifies who has access to see this activity. */
2164 Acl access; 2164 Acl access;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
2282 updated = core.DateTime.parse(_json["updated"]); 2282 updated = core.DateTime.parse(_json["updated"]);
2283 } 2283 }
2284 if (_json.containsKey("url")) { 2284 if (_json.containsKey("url")) {
2285 url = _json["url"]; 2285 url = _json["url"];
2286 } 2286 }
2287 if (_json.containsKey("verb")) { 2287 if (_json.containsKey("verb")) {
2288 verb = _json["verb"]; 2288 verb = _json["verb"];
2289 } 2289 }
2290 } 2290 }
2291 2291
2292 core.Map toJson() { 2292 core.Map<core.String, core.Object> toJson() {
2293 var _json = new core.Map(); 2293 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2294 if (access != null) { 2294 if (access != null) {
2295 _json["access"] = (access).toJson(); 2295 _json["access"] = (access).toJson();
2296 } 2296 }
2297 if (actor != null) { 2297 if (actor != null) {
2298 _json["actor"] = (actor).toJson(); 2298 _json["actor"] = (actor).toJson();
2299 } 2299 }
2300 if (address != null) { 2300 if (address != null) {
2301 _json["address"] = address; 2301 _json["address"] = address;
2302 } 2302 }
2303 if (annotation != null) { 2303 if (annotation != null) {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
2413 selfLink = _json["selfLink"]; 2413 selfLink = _json["selfLink"];
2414 } 2414 }
2415 if (_json.containsKey("title")) { 2415 if (_json.containsKey("title")) {
2416 title = _json["title"]; 2416 title = _json["title"];
2417 } 2417 }
2418 if (_json.containsKey("updated")) { 2418 if (_json.containsKey("updated")) {
2419 updated = core.DateTime.parse(_json["updated"]); 2419 updated = core.DateTime.parse(_json["updated"]);
2420 } 2420 }
2421 } 2421 }
2422 2422
2423 core.Map toJson() { 2423 core.Map<core.String, core.Object> toJson() {
2424 var _json = new core.Map(); 2424 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2425 if (etag != null) { 2425 if (etag != null) {
2426 _json["etag"] = etag; 2426 _json["etag"] = etag;
2427 } 2427 }
2428 if (id != null) { 2428 if (id != null) {
2429 _json["id"] = id; 2429 _json["id"] = id;
2430 } 2430 }
2431 if (items != null) { 2431 if (items != null) {
2432 _json["items"] = items.map((value) => (value).toJson()).toList(); 2432 _json["items"] = items.map((value) => (value).toJson()).toList();
2433 } 2433 }
2434 if (kind != null) { 2434 if (kind != null) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2488 kind = _json["kind"]; 2488 kind = _json["kind"];
2489 } 2489 }
2490 if (_json.containsKey("memberCount")) { 2490 if (_json.containsKey("memberCount")) {
2491 memberCount = _json["memberCount"]; 2491 memberCount = _json["memberCount"];
2492 } 2492 }
2493 if (_json.containsKey("visibility")) { 2493 if (_json.containsKey("visibility")) {
2494 visibility = _json["visibility"]; 2494 visibility = _json["visibility"];
2495 } 2495 }
2496 } 2496 }
2497 2497
2498 core.Map toJson() { 2498 core.Map<core.String, core.Object> toJson() {
2499 var _json = new core.Map(); 2499 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2500 if (etag != null) { 2500 if (etag != null) {
2501 _json["etag"] = etag; 2501 _json["etag"] = etag;
2502 } 2502 }
2503 if (item != null) { 2503 if (item != null) {
2504 _json["item"] = (item).toJson(); 2504 _json["item"] = (item).toJson();
2505 } 2505 }
2506 if (kind != null) { 2506 if (kind != null) {
2507 _json["kind"] = kind; 2507 _json["kind"] = kind;
2508 } 2508 }
2509 if (memberCount != null) { 2509 if (memberCount != null) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2551 kind = _json["kind"]; 2551 kind = _json["kind"];
2552 } 2552 }
2553 if (_json.containsKey("nextPageToken")) { 2553 if (_json.containsKey("nextPageToken")) {
2554 nextPageToken = _json["nextPageToken"]; 2554 nextPageToken = _json["nextPageToken"];
2555 } 2555 }
2556 if (_json.containsKey("totalItems")) { 2556 if (_json.containsKey("totalItems")) {
2557 totalItems = _json["totalItems"]; 2557 totalItems = _json["totalItems"];
2558 } 2558 }
2559 } 2559 }
2560 2560
2561 core.Map toJson() { 2561 core.Map<core.String, core.Object> toJson() {
2562 var _json = new core.Map(); 2562 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2563 if (etag != null) { 2563 if (etag != null) {
2564 _json["etag"] = etag; 2564 _json["etag"] = etag;
2565 } 2565 }
2566 if (items != null) { 2566 if (items != null) {
2567 _json["items"] = items.map((value) => (value).toJson()).toList(); 2567 _json["items"] = items.map((value) => (value).toJson()).toList();
2568 } 2568 }
2569 if (kind != null) { 2569 if (kind != null) {
2570 _json["kind"] = kind; 2570 _json["kind"] = kind;
2571 } 2571 }
2572 if (nextPageToken != null) { 2572 if (nextPageToken != null) {
(...skipping 12 matching lines...) Expand all
2585 core.int totalItems; 2585 core.int totalItems;
2586 2586
2587 CirclePeople(); 2587 CirclePeople();
2588 2588
2589 CirclePeople.fromJson(core.Map _json) { 2589 CirclePeople.fromJson(core.Map _json) {
2590 if (_json.containsKey("totalItems")) { 2590 if (_json.containsKey("totalItems")) {
2591 totalItems = _json["totalItems"]; 2591 totalItems = _json["totalItems"];
2592 } 2592 }
2593 } 2593 }
2594 2594
2595 core.Map toJson() { 2595 core.Map<core.String, core.Object> toJson() {
2596 var _json = new core.Map(); 2596 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2597 if (totalItems != null) { 2597 if (totalItems != null) {
2598 _json["totalItems"] = totalItems; 2598 _json["totalItems"] = totalItems;
2599 } 2599 }
2600 return _json; 2600 return _json;
2601 } 2601 }
2602 } 2602 }
2603 2603
2604 class Circle { 2604 class Circle {
2605 /** The description of this circle. */ 2605 /** The description of this circle. */
2606 core.String description; 2606 core.String description;
(...skipping 29 matching lines...) Expand all
2636 kind = _json["kind"]; 2636 kind = _json["kind"];
2637 } 2637 }
2638 if (_json.containsKey("people")) { 2638 if (_json.containsKey("people")) {
2639 people = new CirclePeople.fromJson(_json["people"]); 2639 people = new CirclePeople.fromJson(_json["people"]);
2640 } 2640 }
2641 if (_json.containsKey("selfLink")) { 2641 if (_json.containsKey("selfLink")) {
2642 selfLink = _json["selfLink"]; 2642 selfLink = _json["selfLink"];
2643 } 2643 }
2644 } 2644 }
2645 2645
2646 core.Map toJson() { 2646 core.Map<core.String, core.Object> toJson() {
2647 var _json = new core.Map(); 2647 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2648 if (description != null) { 2648 if (description != null) {
2649 _json["description"] = description; 2649 _json["description"] = description;
2650 } 2650 }
2651 if (displayName != null) { 2651 if (displayName != null) {
2652 _json["displayName"] = displayName; 2652 _json["displayName"] = displayName;
2653 } 2653 }
2654 if (etag != null) { 2654 if (etag != null) {
2655 _json["etag"] = etag; 2655 _json["etag"] = etag;
2656 } 2656 }
2657 if (id != null) { 2657 if (id != null) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
2720 selfLink = _json["selfLink"]; 2720 selfLink = _json["selfLink"];
2721 } 2721 }
2722 if (_json.containsKey("title")) { 2722 if (_json.containsKey("title")) {
2723 title = _json["title"]; 2723 title = _json["title"];
2724 } 2724 }
2725 if (_json.containsKey("totalItems")) { 2725 if (_json.containsKey("totalItems")) {
2726 totalItems = _json["totalItems"]; 2726 totalItems = _json["totalItems"];
2727 } 2727 }
2728 } 2728 }
2729 2729
2730 core.Map toJson() { 2730 core.Map<core.String, core.Object> toJson() {
2731 var _json = new core.Map(); 2731 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2732 if (etag != null) { 2732 if (etag != null) {
2733 _json["etag"] = etag; 2733 _json["etag"] = etag;
2734 } 2734 }
2735 if (items != null) { 2735 if (items != null) {
2736 _json["items"] = items.map((value) => (value).toJson()).toList(); 2736 _json["items"] = items.map((value) => (value).toJson()).toList();
2737 } 2737 }
2738 if (kind != null) { 2738 if (kind != null) {
2739 _json["kind"] = kind; 2739 _json["kind"] = kind;
2740 } 2740 }
2741 if (nextLink != null) { 2741 if (nextLink != null) {
(...skipping 21 matching lines...) Expand all
2763 core.String channelId; 2763 core.String channelId;
2764 2764
2765 CommentActorClientSpecificActorInfoYoutubeActorInfo(); 2765 CommentActorClientSpecificActorInfoYoutubeActorInfo();
2766 2766
2767 CommentActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _json) { 2767 CommentActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _json) {
2768 if (_json.containsKey("channelId")) { 2768 if (_json.containsKey("channelId")) {
2769 channelId = _json["channelId"]; 2769 channelId = _json["channelId"];
2770 } 2770 }
2771 } 2771 }
2772 2772
2773 core.Map toJson() { 2773 core.Map<core.String, core.Object> toJson() {
2774 var _json = new core.Map(); 2774 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2775 if (channelId != null) { 2775 if (channelId != null) {
2776 _json["channelId"] = channelId; 2776 _json["channelId"] = channelId;
2777 } 2777 }
2778 return _json; 2778 return _json;
2779 } 2779 }
2780 } 2780 }
2781 2781
2782 /** Actor info specific to particular clients. */ 2782 /** Actor info specific to particular clients. */
2783 class CommentActorClientSpecificActorInfo { 2783 class CommentActorClientSpecificActorInfo {
2784 /** Actor info specific to YouTube clients. */ 2784 /** Actor info specific to YouTube clients. */
2785 CommentActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo; 2785 CommentActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo;
2786 2786
2787 CommentActorClientSpecificActorInfo(); 2787 CommentActorClientSpecificActorInfo();
2788 2788
2789 CommentActorClientSpecificActorInfo.fromJson(core.Map _json) { 2789 CommentActorClientSpecificActorInfo.fromJson(core.Map _json) {
2790 if (_json.containsKey("youtubeActorInfo")) { 2790 if (_json.containsKey("youtubeActorInfo")) {
2791 youtubeActorInfo = new CommentActorClientSpecificActorInfoYoutubeActorInfo .fromJson(_json["youtubeActorInfo"]); 2791 youtubeActorInfo = new CommentActorClientSpecificActorInfoYoutubeActorInfo .fromJson(_json["youtubeActorInfo"]);
2792 } 2792 }
2793 } 2793 }
2794 2794
2795 core.Map toJson() { 2795 core.Map<core.String, core.Object> toJson() {
2796 var _json = new core.Map(); 2796 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2797 if (youtubeActorInfo != null) { 2797 if (youtubeActorInfo != null) {
2798 _json["youtubeActorInfo"] = (youtubeActorInfo).toJson(); 2798 _json["youtubeActorInfo"] = (youtubeActorInfo).toJson();
2799 } 2799 }
2800 return _json; 2800 return _json;
2801 } 2801 }
2802 } 2802 }
2803 2803
2804 /** The image representation of this actor. */ 2804 /** The image representation of this actor. */
2805 class CommentActorImage { 2805 class CommentActorImage {
2806 /** 2806 /**
2807 * The URL of the actor's profile photo. To resize the image and crop it to a 2807 * The URL of the actor's profile photo. To resize the image and crop it to a
2808 * square, append the query string ?sz=x, where x is the dimension in pixels 2808 * square, append the query string ?sz=x, where x is the dimension in pixels
2809 * of each side. 2809 * of each side.
2810 */ 2810 */
2811 core.String url; 2811 core.String url;
2812 2812
2813 CommentActorImage(); 2813 CommentActorImage();
2814 2814
2815 CommentActorImage.fromJson(core.Map _json) { 2815 CommentActorImage.fromJson(core.Map _json) {
2816 if (_json.containsKey("url")) { 2816 if (_json.containsKey("url")) {
2817 url = _json["url"]; 2817 url = _json["url"];
2818 } 2818 }
2819 } 2819 }
2820 2820
2821 core.Map toJson() { 2821 core.Map<core.String, core.Object> toJson() {
2822 var _json = new core.Map(); 2822 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2823 if (url != null) { 2823 if (url != null) {
2824 _json["url"] = url; 2824 _json["url"] = url;
2825 } 2825 }
2826 return _json; 2826 return _json;
2827 } 2827 }
2828 } 2828 }
2829 2829
2830 /** Verification status of actor. */ 2830 /** Verification status of actor. */
2831 class CommentActorVerification { 2831 class CommentActorVerification {
2832 /** Verification for one-time or manual processes. */ 2832 /** Verification for one-time or manual processes. */
2833 core.String adHocVerified; 2833 core.String adHocVerified;
2834 2834
2835 CommentActorVerification(); 2835 CommentActorVerification();
2836 2836
2837 CommentActorVerification.fromJson(core.Map _json) { 2837 CommentActorVerification.fromJson(core.Map _json) {
2838 if (_json.containsKey("adHocVerified")) { 2838 if (_json.containsKey("adHocVerified")) {
2839 adHocVerified = _json["adHocVerified"]; 2839 adHocVerified = _json["adHocVerified"];
2840 } 2840 }
2841 } 2841 }
2842 2842
2843 core.Map toJson() { 2843 core.Map<core.String, core.Object> toJson() {
2844 var _json = new core.Map(); 2844 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2845 if (adHocVerified != null) { 2845 if (adHocVerified != null) {
2846 _json["adHocVerified"] = adHocVerified; 2846 _json["adHocVerified"] = adHocVerified;
2847 } 2847 }
2848 return _json; 2848 return _json;
2849 } 2849 }
2850 } 2850 }
2851 2851
2852 /** The person who posted this comment. */ 2852 /** The person who posted this comment. */
2853 class CommentActor { 2853 class CommentActor {
2854 /** Actor info specific to particular clients. */ 2854 /** Actor info specific to particular clients. */
(...skipping 25 matching lines...) Expand all
2880 image = new CommentActorImage.fromJson(_json["image"]); 2880 image = new CommentActorImage.fromJson(_json["image"]);
2881 } 2881 }
2882 if (_json.containsKey("url")) { 2882 if (_json.containsKey("url")) {
2883 url = _json["url"]; 2883 url = _json["url"];
2884 } 2884 }
2885 if (_json.containsKey("verification")) { 2885 if (_json.containsKey("verification")) {
2886 verification = new CommentActorVerification.fromJson(_json["verification"] ); 2886 verification = new CommentActorVerification.fromJson(_json["verification"] );
2887 } 2887 }
2888 } 2888 }
2889 2889
2890 core.Map toJson() { 2890 core.Map<core.String, core.Object> toJson() {
2891 var _json = new core.Map(); 2891 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2892 if (clientSpecificActorInfo != null) { 2892 if (clientSpecificActorInfo != null) {
2893 _json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson(); 2893 _json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson();
2894 } 2894 }
2895 if (displayName != null) { 2895 if (displayName != null) {
2896 _json["displayName"] = displayName; 2896 _json["displayName"] = displayName;
2897 } 2897 }
2898 if (id != null) { 2898 if (id != null) {
2899 _json["id"] = id; 2899 _json["id"] = id;
2900 } 2900 }
2901 if (image != null) { 2901 if (image != null) {
(...skipping 19 matching lines...) Expand all
2921 2921
2922 CommentInReplyTo.fromJson(core.Map _json) { 2922 CommentInReplyTo.fromJson(core.Map _json) {
2923 if (_json.containsKey("id")) { 2923 if (_json.containsKey("id")) {
2924 id = _json["id"]; 2924 id = _json["id"];
2925 } 2925 }
2926 if (_json.containsKey("url")) { 2926 if (_json.containsKey("url")) {
2927 url = _json["url"]; 2927 url = _json["url"];
2928 } 2928 }
2929 } 2929 }
2930 2930
2931 core.Map toJson() { 2931 core.Map<core.String, core.Object> toJson() {
2932 var _json = new core.Map(); 2932 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2933 if (id != null) { 2933 if (id != null) {
2934 _json["id"] = id; 2934 _json["id"] = id;
2935 } 2935 }
2936 if (url != null) { 2936 if (url != null) {
2937 _json["url"] = url; 2937 _json["url"] = url;
2938 } 2938 }
2939 return _json; 2939 return _json;
2940 } 2940 }
2941 } 2941 }
2942 2942
(...skipping 20 matching lines...) Expand all
2963 content = _json["content"]; 2963 content = _json["content"];
2964 } 2964 }
2965 if (_json.containsKey("objectType")) { 2965 if (_json.containsKey("objectType")) {
2966 objectType = _json["objectType"]; 2966 objectType = _json["objectType"];
2967 } 2967 }
2968 if (_json.containsKey("originalContent")) { 2968 if (_json.containsKey("originalContent")) {
2969 originalContent = _json["originalContent"]; 2969 originalContent = _json["originalContent"];
2970 } 2970 }
2971 } 2971 }
2972 2972
2973 core.Map toJson() { 2973 core.Map<core.String, core.Object> toJson() {
2974 var _json = new core.Map(); 2974 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2975 if (content != null) { 2975 if (content != null) {
2976 _json["content"] = content; 2976 _json["content"] = content;
2977 } 2977 }
2978 if (objectType != null) { 2978 if (objectType != null) {
2979 _json["objectType"] = objectType; 2979 _json["objectType"] = objectType;
2980 } 2980 }
2981 if (originalContent != null) { 2981 if (originalContent != null) {
2982 _json["originalContent"] = originalContent; 2982 _json["originalContent"] = originalContent;
2983 } 2983 }
2984 return _json; 2984 return _json;
2985 } 2985 }
2986 } 2986 }
2987 2987
2988 /** People who +1'd this comment. */ 2988 /** People who +1'd this comment. */
2989 class CommentPlusoners { 2989 class CommentPlusoners {
2990 /** Total number of people who +1'd this comment. */ 2990 /** Total number of people who +1'd this comment. */
2991 core.int totalItems; 2991 core.int totalItems;
2992 2992
2993 CommentPlusoners(); 2993 CommentPlusoners();
2994 2994
2995 CommentPlusoners.fromJson(core.Map _json) { 2995 CommentPlusoners.fromJson(core.Map _json) {
2996 if (_json.containsKey("totalItems")) { 2996 if (_json.containsKey("totalItems")) {
2997 totalItems = _json["totalItems"]; 2997 totalItems = _json["totalItems"];
2998 } 2998 }
2999 } 2999 }
3000 3000
3001 core.Map toJson() { 3001 core.Map<core.String, core.Object> toJson() {
3002 var _json = new core.Map(); 3002 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3003 if (totalItems != null) { 3003 if (totalItems != null) {
3004 _json["totalItems"] = totalItems; 3004 _json["totalItems"] = totalItems;
3005 } 3005 }
3006 return _json; 3006 return _json;
3007 } 3007 }
3008 } 3008 }
3009 3009
3010 class Comment { 3010 class Comment {
3011 /** The person who posted this comment. */ 3011 /** The person who posted this comment. */
3012 CommentActor actor; 3012 CommentActor actor;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
3072 selfLink = _json["selfLink"]; 3072 selfLink = _json["selfLink"];
3073 } 3073 }
3074 if (_json.containsKey("updated")) { 3074 if (_json.containsKey("updated")) {
3075 updated = core.DateTime.parse(_json["updated"]); 3075 updated = core.DateTime.parse(_json["updated"]);
3076 } 3076 }
3077 if (_json.containsKey("verb")) { 3077 if (_json.containsKey("verb")) {
3078 verb = _json["verb"]; 3078 verb = _json["verb"];
3079 } 3079 }
3080 } 3080 }
3081 3081
3082 core.Map toJson() { 3082 core.Map<core.String, core.Object> toJson() {
3083 var _json = new core.Map(); 3083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3084 if (actor != null) { 3084 if (actor != null) {
3085 _json["actor"] = (actor).toJson(); 3085 _json["actor"] = (actor).toJson();
3086 } 3086 }
3087 if (etag != null) { 3087 if (etag != null) {
3088 _json["etag"] = etag; 3088 _json["etag"] = etag;
3089 } 3089 }
3090 if (id != null) { 3090 if (id != null) {
3091 _json["id"] = id; 3091 _json["id"] = id;
3092 } 3092 }
3093 if (inReplyTo != null) { 3093 if (inReplyTo != null) {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
3168 nextPageToken = _json["nextPageToken"]; 3168 nextPageToken = _json["nextPageToken"];
3169 } 3169 }
3170 if (_json.containsKey("title")) { 3170 if (_json.containsKey("title")) {
3171 title = _json["title"]; 3171 title = _json["title"];
3172 } 3172 }
3173 if (_json.containsKey("updated")) { 3173 if (_json.containsKey("updated")) {
3174 updated = core.DateTime.parse(_json["updated"]); 3174 updated = core.DateTime.parse(_json["updated"]);
3175 } 3175 }
3176 } 3176 }
3177 3177
3178 core.Map toJson() { 3178 core.Map<core.String, core.Object> toJson() {
3179 var _json = new core.Map(); 3179 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3180 if (etag != null) { 3180 if (etag != null) {
3181 _json["etag"] = etag; 3181 _json["etag"] = etag;
3182 } 3182 }
3183 if (id != null) { 3183 if (id != null) {
3184 _json["id"] = id; 3184 _json["id"] = id;
3185 } 3185 }
3186 if (items != null) { 3186 if (items != null) {
3187 _json["items"] = items.map((value) => (value).toJson()).toList(); 3187 _json["items"] = items.map((value) => (value).toJson()).toList();
3188 } 3188 }
3189 if (kind != null) { 3189 if (kind != null) {
(...skipping 25 matching lines...) Expand all
3215 core.String url; 3215 core.String url;
3216 3216
3217 MediaAuthorImage(); 3217 MediaAuthorImage();
3218 3218
3219 MediaAuthorImage.fromJson(core.Map _json) { 3219 MediaAuthorImage.fromJson(core.Map _json) {
3220 if (_json.containsKey("url")) { 3220 if (_json.containsKey("url")) {
3221 url = _json["url"]; 3221 url = _json["url"];
3222 } 3222 }
3223 } 3223 }
3224 3224
3225 core.Map toJson() { 3225 core.Map<core.String, core.Object> toJson() {
3226 var _json = new core.Map(); 3226 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3227 if (url != null) { 3227 if (url != null) {
3228 _json["url"] = url; 3228 _json["url"] = url;
3229 } 3229 }
3230 return _json; 3230 return _json;
3231 } 3231 }
3232 } 3232 }
3233 3233
3234 /** The person who uploaded this media. */ 3234 /** The person who uploaded this media. */
3235 class MediaAuthor { 3235 class MediaAuthor {
3236 /** The author's name. */ 3236 /** The author's name. */
(...skipping 15 matching lines...) Expand all
3252 id = _json["id"]; 3252 id = _json["id"];
3253 } 3253 }
3254 if (_json.containsKey("image")) { 3254 if (_json.containsKey("image")) {
3255 image = new MediaAuthorImage.fromJson(_json["image"]); 3255 image = new MediaAuthorImage.fromJson(_json["image"]);
3256 } 3256 }
3257 if (_json.containsKey("url")) { 3257 if (_json.containsKey("url")) {
3258 url = _json["url"]; 3258 url = _json["url"];
3259 } 3259 }
3260 } 3260 }
3261 3261
3262 core.Map toJson() { 3262 core.Map<core.String, core.Object> toJson() {
3263 var _json = new core.Map(); 3263 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3264 if (displayName != null) { 3264 if (displayName != null) {
3265 _json["displayName"] = displayName; 3265 _json["displayName"] = displayName;
3266 } 3266 }
3267 if (id != null) { 3267 if (id != null) {
3268 _json["id"] = id; 3268 _json["id"] = id;
3269 } 3269 }
3270 if (image != null) { 3270 if (image != null) {
3271 _json["image"] = (image).toJson(); 3271 _json["image"] = (image).toJson();
3272 } 3272 }
3273 if (url != null) { 3273 if (url != null) {
3274 _json["url"] = url; 3274 _json["url"] = url;
3275 } 3275 }
3276 return _json; 3276 return _json;
3277 } 3277 }
3278 } 3278 }
3279 3279
3280 /** Exif information of the media item. */ 3280 /** Exif information of the media item. */
3281 class MediaExif { 3281 class MediaExif {
3282 /** The time the media was captured. Formatted as an RFC 3339 timestamp. */ 3282 /** The time the media was captured. Formatted as an RFC 3339 timestamp. */
3283 core.DateTime time; 3283 core.DateTime time;
3284 3284
3285 MediaExif(); 3285 MediaExif();
3286 3286
3287 MediaExif.fromJson(core.Map _json) { 3287 MediaExif.fromJson(core.Map _json) {
3288 if (_json.containsKey("time")) { 3288 if (_json.containsKey("time")) {
3289 time = core.DateTime.parse(_json["time"]); 3289 time = core.DateTime.parse(_json["time"]);
3290 } 3290 }
3291 } 3291 }
3292 3292
3293 core.Map toJson() { 3293 core.Map<core.String, core.Object> toJson() {
3294 var _json = new core.Map(); 3294 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3295 if (time != null) { 3295 if (time != null) {
3296 _json["time"] = (time).toIso8601String(); 3296 _json["time"] = (time).toIso8601String();
3297 } 3297 }
3298 return _json; 3298 return _json;
3299 } 3299 }
3300 } 3300 }
3301 3301
3302 class Media { 3302 class Media {
3303 /** The person who uploaded this media. */ 3303 /** The person who uploaded this media. */
3304 MediaAuthor author; 3304 MediaAuthor author;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
3409 videoDuration = _json["videoDuration"]; 3409 videoDuration = _json["videoDuration"];
3410 } 3410 }
3411 if (_json.containsKey("videoStatus")) { 3411 if (_json.containsKey("videoStatus")) {
3412 videoStatus = _json["videoStatus"]; 3412 videoStatus = _json["videoStatus"];
3413 } 3413 }
3414 if (_json.containsKey("width")) { 3414 if (_json.containsKey("width")) {
3415 width = _json["width"]; 3415 width = _json["width"];
3416 } 3416 }
3417 } 3417 }
3418 3418
3419 core.Map toJson() { 3419 core.Map<core.String, core.Object> toJson() {
3420 var _json = new core.Map(); 3420 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3421 if (author != null) { 3421 if (author != null) {
3422 _json["author"] = (author).toJson(); 3422 _json["author"] = (author).toJson();
3423 } 3423 }
3424 if (displayName != null) { 3424 if (displayName != null) {
3425 _json["displayName"] = displayName; 3425 _json["displayName"] = displayName;
3426 } 3426 }
3427 if (etag != null) { 3427 if (etag != null) {
3428 _json["etag"] = etag; 3428 _json["etag"] = etag;
3429 } 3429 }
3430 if (exif != null) { 3430 if (exif != null) {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
3526 selfLink = _json["selfLink"]; 3526 selfLink = _json["selfLink"];
3527 } 3527 }
3528 if (_json.containsKey("title")) { 3528 if (_json.containsKey("title")) {
3529 title = _json["title"]; 3529 title = _json["title"];
3530 } 3530 }
3531 if (_json.containsKey("totalItems")) { 3531 if (_json.containsKey("totalItems")) {
3532 totalItems = _json["totalItems"]; 3532 totalItems = _json["totalItems"];
3533 } 3533 }
3534 } 3534 }
3535 3535
3536 core.Map toJson() { 3536 core.Map<core.String, core.Object> toJson() {
3537 var _json = new core.Map(); 3537 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3538 if (etag != null) { 3538 if (etag != null) {
3539 _json["etag"] = etag; 3539 _json["etag"] = etag;
3540 } 3540 }
3541 if (items != null) { 3541 if (items != null) {
3542 _json["items"] = items.map((value) => (value).toJson()).toList(); 3542 _json["items"] = items.map((value) => (value).toJson()).toList();
3543 } 3543 }
3544 if (kind != null) { 3544 if (kind != null) {
3545 _json["kind"] = kind; 3545 _json["kind"] = kind;
3546 } 3546 }
3547 if (nextPageToken != null) { 3547 if (nextPageToken != null) {
(...skipping 29 matching lines...) Expand all
3577 3577
3578 PersonCoverCoverInfo.fromJson(core.Map _json) { 3578 PersonCoverCoverInfo.fromJson(core.Map _json) {
3579 if (_json.containsKey("leftImageOffset")) { 3579 if (_json.containsKey("leftImageOffset")) {
3580 leftImageOffset = _json["leftImageOffset"]; 3580 leftImageOffset = _json["leftImageOffset"];
3581 } 3581 }
3582 if (_json.containsKey("topImageOffset")) { 3582 if (_json.containsKey("topImageOffset")) {
3583 topImageOffset = _json["topImageOffset"]; 3583 topImageOffset = _json["topImageOffset"];
3584 } 3584 }
3585 } 3585 }
3586 3586
3587 core.Map toJson() { 3587 core.Map<core.String, core.Object> toJson() {
3588 var _json = new core.Map(); 3588 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3589 if (leftImageOffset != null) { 3589 if (leftImageOffset != null) {
3590 _json["leftImageOffset"] = leftImageOffset; 3590 _json["leftImageOffset"] = leftImageOffset;
3591 } 3591 }
3592 if (topImageOffset != null) { 3592 if (topImageOffset != null) {
3593 _json["topImageOffset"] = topImageOffset; 3593 _json["topImageOffset"] = topImageOffset;
3594 } 3594 }
3595 return _json; 3595 return _json;
3596 } 3596 }
3597 } 3597 }
3598 3598
(...skipping 13 matching lines...) Expand all
3612 height = _json["height"]; 3612 height = _json["height"];
3613 } 3613 }
3614 if (_json.containsKey("url")) { 3614 if (_json.containsKey("url")) {
3615 url = _json["url"]; 3615 url = _json["url"];
3616 } 3616 }
3617 if (_json.containsKey("width")) { 3617 if (_json.containsKey("width")) {
3618 width = _json["width"]; 3618 width = _json["width"];
3619 } 3619 }
3620 } 3620 }
3621 3621
3622 core.Map toJson() { 3622 core.Map<core.String, core.Object> toJson() {
3623 var _json = new core.Map(); 3623 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3624 if (height != null) { 3624 if (height != null) {
3625 _json["height"] = height; 3625 _json["height"] = height;
3626 } 3626 }
3627 if (url != null) { 3627 if (url != null) {
3628 _json["url"] = url; 3628 _json["url"] = url;
3629 } 3629 }
3630 if (width != null) { 3630 if (width != null) {
3631 _json["width"] = width; 3631 _json["width"] = width;
3632 } 3632 }
3633 return _json; 3633 return _json;
(...skipping 20 matching lines...) Expand all
3654 coverInfo = new PersonCoverCoverInfo.fromJson(_json["coverInfo"]); 3654 coverInfo = new PersonCoverCoverInfo.fromJson(_json["coverInfo"]);
3655 } 3655 }
3656 if (_json.containsKey("coverPhoto")) { 3656 if (_json.containsKey("coverPhoto")) {
3657 coverPhoto = new PersonCoverCoverPhoto.fromJson(_json["coverPhoto"]); 3657 coverPhoto = new PersonCoverCoverPhoto.fromJson(_json["coverPhoto"]);
3658 } 3658 }
3659 if (_json.containsKey("layout")) { 3659 if (_json.containsKey("layout")) {
3660 layout = _json["layout"]; 3660 layout = _json["layout"];
3661 } 3661 }
3662 } 3662 }
3663 3663
3664 core.Map toJson() { 3664 core.Map<core.String, core.Object> toJson() {
3665 var _json = new core.Map(); 3665 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3666 if (coverInfo != null) { 3666 if (coverInfo != null) {
3667 _json["coverInfo"] = (coverInfo).toJson(); 3667 _json["coverInfo"] = (coverInfo).toJson();
3668 } 3668 }
3669 if (coverPhoto != null) { 3669 if (coverPhoto != null) {
3670 _json["coverPhoto"] = (coverPhoto).toJson(); 3670 _json["coverPhoto"] = (coverPhoto).toJson();
3671 } 3671 }
3672 if (layout != null) { 3672 if (layout != null) {
3673 _json["layout"] = layout; 3673 _json["layout"] = layout;
3674 } 3674 }
3675 return _json; 3675 return _json;
(...skipping 17 matching lines...) Expand all
3693 3693
3694 PersonEmails.fromJson(core.Map _json) { 3694 PersonEmails.fromJson(core.Map _json) {
3695 if (_json.containsKey("type")) { 3695 if (_json.containsKey("type")) {
3696 type = _json["type"]; 3696 type = _json["type"];
3697 } 3697 }
3698 if (_json.containsKey("value")) { 3698 if (_json.containsKey("value")) {
3699 value = _json["value"]; 3699 value = _json["value"];
3700 } 3700 }
3701 } 3701 }
3702 3702
3703 core.Map toJson() { 3703 core.Map<core.String, core.Object> toJson() {
3704 var _json = new core.Map(); 3704 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3705 if (type != null) { 3705 if (type != null) {
3706 _json["type"] = type; 3706 _json["type"] = type;
3707 } 3707 }
3708 if (value != null) { 3708 if (value != null) {
3709 _json["value"] = value; 3709 _json["value"] = value;
3710 } 3710 }
3711 return _json; 3711 return _json;
3712 } 3712 }
3713 } 3713 }
3714 3714
(...skipping 12 matching lines...) Expand all
3727 3727
3728 PersonImage.fromJson(core.Map _json) { 3728 PersonImage.fromJson(core.Map _json) {
3729 if (_json.containsKey("isDefault")) { 3729 if (_json.containsKey("isDefault")) {
3730 isDefault = _json["isDefault"]; 3730 isDefault = _json["isDefault"];
3731 } 3731 }
3732 if (_json.containsKey("url")) { 3732 if (_json.containsKey("url")) {
3733 url = _json["url"]; 3733 url = _json["url"];
3734 } 3734 }
3735 } 3735 }
3736 3736
3737 core.Map toJson() { 3737 core.Map<core.String, core.Object> toJson() {
3738 var _json = new core.Map(); 3738 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3739 if (isDefault != null) { 3739 if (isDefault != null) {
3740 _json["isDefault"] = isDefault; 3740 _json["isDefault"] = isDefault;
3741 } 3741 }
3742 if (url != null) { 3742 if (url != null) {
3743 _json["url"] = url; 3743 _json["url"] = url;
3744 } 3744 }
3745 return _json; 3745 return _json;
3746 } 3746 }
3747 } 3747 }
3748 3748
(...skipping 30 matching lines...) Expand all
3779 honorificPrefix = _json["honorificPrefix"]; 3779 honorificPrefix = _json["honorificPrefix"];
3780 } 3780 }
3781 if (_json.containsKey("honorificSuffix")) { 3781 if (_json.containsKey("honorificSuffix")) {
3782 honorificSuffix = _json["honorificSuffix"]; 3782 honorificSuffix = _json["honorificSuffix"];
3783 } 3783 }
3784 if (_json.containsKey("middleName")) { 3784 if (_json.containsKey("middleName")) {
3785 middleName = _json["middleName"]; 3785 middleName = _json["middleName"];
3786 } 3786 }
3787 } 3787 }
3788 3788
3789 core.Map toJson() { 3789 core.Map<core.String, core.Object> toJson() {
3790 var _json = new core.Map(); 3790 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3791 if (familyName != null) { 3791 if (familyName != null) {
3792 _json["familyName"] = familyName; 3792 _json["familyName"] = familyName;
3793 } 3793 }
3794 if (formatted != null) { 3794 if (formatted != null) {
3795 _json["formatted"] = formatted; 3795 _json["formatted"] = formatted;
3796 } 3796 }
3797 if (givenName != null) { 3797 if (givenName != null) {
3798 _json["givenName"] = givenName; 3798 _json["givenName"] = givenName;
3799 } 3799 }
3800 if (honorificPrefix != null) { 3800 if (honorificPrefix != null) {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
3865 startDate = _json["startDate"]; 3865 startDate = _json["startDate"];
3866 } 3866 }
3867 if (_json.containsKey("title")) { 3867 if (_json.containsKey("title")) {
3868 title = _json["title"]; 3868 title = _json["title"];
3869 } 3869 }
3870 if (_json.containsKey("type")) { 3870 if (_json.containsKey("type")) {
3871 type = _json["type"]; 3871 type = _json["type"];
3872 } 3872 }
3873 } 3873 }
3874 3874
3875 core.Map toJson() { 3875 core.Map<core.String, core.Object> toJson() {
3876 var _json = new core.Map(); 3876 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3877 if (department != null) { 3877 if (department != null) {
3878 _json["department"] = department; 3878 _json["department"] = department;
3879 } 3879 }
3880 if (description != null) { 3880 if (description != null) {
3881 _json["description"] = description; 3881 _json["description"] = description;
3882 } 3882 }
3883 if (endDate != null) { 3883 if (endDate != null) {
3884 _json["endDate"] = endDate; 3884 _json["endDate"] = endDate;
3885 } 3885 }
3886 if (location != null) { 3886 if (location != null) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3918 3918
3919 PersonPlacesLived.fromJson(core.Map _json) { 3919 PersonPlacesLived.fromJson(core.Map _json) {
3920 if (_json.containsKey("primary")) { 3920 if (_json.containsKey("primary")) {
3921 primary = _json["primary"]; 3921 primary = _json["primary"];
3922 } 3922 }
3923 if (_json.containsKey("value")) { 3923 if (_json.containsKey("value")) {
3924 value = _json["value"]; 3924 value = _json["value"];
3925 } 3925 }
3926 } 3926 }
3927 3927
3928 core.Map toJson() { 3928 core.Map<core.String, core.Object> toJson() {
3929 var _json = new core.Map(); 3929 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3930 if (primary != null) { 3930 if (primary != null) {
3931 _json["primary"] = primary; 3931 _json["primary"] = primary;
3932 } 3932 }
3933 if (value != null) { 3933 if (value != null) {
3934 _json["value"] = value; 3934 _json["value"] = value;
3935 } 3935 }
3936 return _json; 3936 return _json;
3937 } 3937 }
3938 } 3938 }
3939 3939
(...skipping 19 matching lines...) Expand all
3959 label = _json["label"]; 3959 label = _json["label"];
3960 } 3960 }
3961 if (_json.containsKey("type")) { 3961 if (_json.containsKey("type")) {
3962 type = _json["type"]; 3962 type = _json["type"];
3963 } 3963 }
3964 if (_json.containsKey("value")) { 3964 if (_json.containsKey("value")) {
3965 value = _json["value"]; 3965 value = _json["value"];
3966 } 3966 }
3967 } 3967 }
3968 3968
3969 core.Map toJson() { 3969 core.Map<core.String, core.Object> toJson() {
3970 var _json = new core.Map(); 3970 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3971 if (label != null) { 3971 if (label != null) {
3972 _json["label"] = label; 3972 _json["label"] = label;
3973 } 3973 }
3974 if (type != null) { 3974 if (type != null) {
3975 _json["type"] = type; 3975 _json["type"] = type;
3976 } 3976 }
3977 if (value != null) { 3977 if (value != null) {
3978 _json["value"] = value; 3978 _json["value"] = value;
3979 } 3979 }
3980 return _json; 3980 return _json;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
4162 url = _json["url"]; 4162 url = _json["url"];
4163 } 4163 }
4164 if (_json.containsKey("urls")) { 4164 if (_json.containsKey("urls")) {
4165 urls = _json["urls"].map((value) => new PersonUrls.fromJson(value)).toList (); 4165 urls = _json["urls"].map((value) => new PersonUrls.fromJson(value)).toList ();
4166 } 4166 }
4167 if (_json.containsKey("verified")) { 4167 if (_json.containsKey("verified")) {
4168 verified = _json["verified"]; 4168 verified = _json["verified"];
4169 } 4169 }
4170 } 4170 }
4171 4171
4172 core.Map toJson() { 4172 core.Map<core.String, core.Object> toJson() {
4173 var _json = new core.Map(); 4173 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4174 if (aboutMe != null) { 4174 if (aboutMe != null) {
4175 _json["aboutMe"] = aboutMe; 4175 _json["aboutMe"] = aboutMe;
4176 } 4176 }
4177 if (birthday != null) { 4177 if (birthday != null) {
4178 _json["birthday"] = birthday; 4178 _json["birthday"] = birthday;
4179 } 4179 }
4180 if (braggingRights != null) { 4180 if (braggingRights != null) {
4181 _json["braggingRights"] = braggingRights; 4181 _json["braggingRights"] = braggingRights;
4182 } 4182 }
4183 if (circledByCount != null) { 4183 if (circledByCount != null) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
4265 core.String formatted; 4265 core.String formatted;
4266 4266
4267 PlaceAddress(); 4267 PlaceAddress();
4268 4268
4269 PlaceAddress.fromJson(core.Map _json) { 4269 PlaceAddress.fromJson(core.Map _json) {
4270 if (_json.containsKey("formatted")) { 4270 if (_json.containsKey("formatted")) {
4271 formatted = _json["formatted"]; 4271 formatted = _json["formatted"];
4272 } 4272 }
4273 } 4273 }
4274 4274
4275 core.Map toJson() { 4275 core.Map<core.String, core.Object> toJson() {
4276 var _json = new core.Map(); 4276 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4277 if (formatted != null) { 4277 if (formatted != null) {
4278 _json["formatted"] = formatted; 4278 _json["formatted"] = formatted;
4279 } 4279 }
4280 return _json; 4280 return _json;
4281 } 4281 }
4282 } 4282 }
4283 4283
4284 /** The position of the place. */ 4284 /** The position of the place. */
4285 class PlacePosition { 4285 class PlacePosition {
4286 /** The latitude of this position. */ 4286 /** The latitude of this position. */
4287 core.double latitude; 4287 core.double latitude;
4288 /** The longitude of this position. */ 4288 /** The longitude of this position. */
4289 core.double longitude; 4289 core.double longitude;
4290 4290
4291 PlacePosition(); 4291 PlacePosition();
4292 4292
4293 PlacePosition.fromJson(core.Map _json) { 4293 PlacePosition.fromJson(core.Map _json) {
4294 if (_json.containsKey("latitude")) { 4294 if (_json.containsKey("latitude")) {
4295 latitude = _json["latitude"]; 4295 latitude = _json["latitude"];
4296 } 4296 }
4297 if (_json.containsKey("longitude")) { 4297 if (_json.containsKey("longitude")) {
4298 longitude = _json["longitude"]; 4298 longitude = _json["longitude"];
4299 } 4299 }
4300 } 4300 }
4301 4301
4302 core.Map toJson() { 4302 core.Map<core.String, core.Object> toJson() {
4303 var _json = new core.Map(); 4303 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4304 if (latitude != null) { 4304 if (latitude != null) {
4305 _json["latitude"] = latitude; 4305 _json["latitude"] = latitude;
4306 } 4306 }
4307 if (longitude != null) { 4307 if (longitude != null) {
4308 _json["longitude"] = longitude; 4308 _json["longitude"] = longitude;
4309 } 4309 }
4310 return _json; 4310 return _json;
4311 } 4311 }
4312 } 4312 }
4313 4313
(...skipping 22 matching lines...) Expand all
4336 id = _json["id"]; 4336 id = _json["id"];
4337 } 4337 }
4338 if (_json.containsKey("kind")) { 4338 if (_json.containsKey("kind")) {
4339 kind = _json["kind"]; 4339 kind = _json["kind"];
4340 } 4340 }
4341 if (_json.containsKey("position")) { 4341 if (_json.containsKey("position")) {
4342 position = new PlacePosition.fromJson(_json["position"]); 4342 position = new PlacePosition.fromJson(_json["position"]);
4343 } 4343 }
4344 } 4344 }
4345 4345
4346 core.Map toJson() { 4346 core.Map<core.String, core.Object> toJson() {
4347 var _json = new core.Map(); 4347 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4348 if (address != null) { 4348 if (address != null) {
4349 _json["address"] = (address).toJson(); 4349 _json["address"] = (address).toJson();
4350 } 4350 }
4351 if (displayName != null) { 4351 if (displayName != null) {
4352 _json["displayName"] = displayName; 4352 _json["displayName"] = displayName;
4353 } 4353 }
4354 if (id != null) { 4354 if (id != null) {
4355 _json["id"] = id; 4355 _json["id"] = id;
4356 } 4356 }
4357 if (kind != null) { 4357 if (kind != null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4392 displayName = _json["displayName"]; 4392 displayName = _json["displayName"];
4393 } 4393 }
4394 if (_json.containsKey("id")) { 4394 if (_json.containsKey("id")) {
4395 id = _json["id"]; 4395 id = _json["id"];
4396 } 4396 }
4397 if (_json.containsKey("type")) { 4397 if (_json.containsKey("type")) {
4398 type = _json["type"]; 4398 type = _json["type"];
4399 } 4399 }
4400 } 4400 }
4401 4401
4402 core.Map toJson() { 4402 core.Map<core.String, core.Object> toJson() {
4403 var _json = new core.Map(); 4403 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4404 if (displayName != null) { 4404 if (displayName != null) {
4405 _json["displayName"] = displayName; 4405 _json["displayName"] = displayName;
4406 } 4406 }
4407 if (id != null) { 4407 if (id != null) {
4408 _json["id"] = id; 4408 _json["id"] = id;
4409 } 4409 }
4410 if (type != null) { 4410 if (type != null) {
4411 _json["type"] = type; 4411 _json["type"] = type;
4412 } 4412 }
4413 return _json; 4413 return _json;
(...skipping 20 matching lines...) Expand all
4434 type = _json["type"]; 4434 type = _json["type"];
4435 } 4435 }
4436 if (_json.containsKey("url")) { 4436 if (_json.containsKey("url")) {
4437 url = _json["url"]; 4437 url = _json["url"];
4438 } 4438 }
4439 if (_json.containsKey("width")) { 4439 if (_json.containsKey("width")) {
4440 width = _json["width"]; 4440 width = _json["width"];
4441 } 4441 }
4442 } 4442 }
4443 4443
4444 core.Map toJson() { 4444 core.Map<core.String, core.Object> toJson() {
4445 var _json = new core.Map(); 4445 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4446 if (height != null) { 4446 if (height != null) {
4447 _json["height"] = height; 4447 _json["height"] = height;
4448 } 4448 }
4449 if (type != null) { 4449 if (type != null) {
4450 _json["type"] = type; 4450 _json["type"] = type;
4451 } 4451 }
4452 if (url != null) { 4452 if (url != null) {
4453 _json["url"] = url; 4453 _json["url"] = url;
4454 } 4454 }
4455 if (width != null) { 4455 if (width != null) {
4456 _json["width"] = width; 4456 _json["width"] = width;
4457 } 4457 }
4458 return _json; 4458 return _json;
4459 } 4459 }
4460 } 4460 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/plus/v1.dart ('k') | generated/googleapis/lib/prediction/v1_6.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698