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.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 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 if (familyName != null) { | 1243 if (familyName != null) { |
1244 _json["familyName"] = familyName; | 1244 _json["familyName"] = familyName; |
1245 } | 1245 } |
1246 if (givenName != null) { | 1246 if (givenName != null) { |
1247 _json["givenName"] = givenName; | 1247 _json["givenName"] = givenName; |
1248 } | 1248 } |
1249 return _json; | 1249 return _json; |
1250 } | 1250 } |
1251 } | 1251 } |
1252 | 1252 |
| 1253 /** Verification status of actor. */ |
| 1254 class ActivityActorVerification { |
| 1255 /** Verification for one-time or manual processes. */ |
| 1256 core.String adHocVerified; |
| 1257 |
| 1258 ActivityActorVerification(); |
| 1259 |
| 1260 ActivityActorVerification.fromJson(core.Map _json) { |
| 1261 if (_json.containsKey("adHocVerified")) { |
| 1262 adHocVerified = _json["adHocVerified"]; |
| 1263 } |
| 1264 } |
| 1265 |
| 1266 core.Map toJson() { |
| 1267 var _json = new core.Map(); |
| 1268 if (adHocVerified != null) { |
| 1269 _json["adHocVerified"] = adHocVerified; |
| 1270 } |
| 1271 return _json; |
| 1272 } |
| 1273 } |
| 1274 |
1253 /** The person who performed this activity. */ | 1275 /** The person who performed this activity. */ |
1254 class ActivityActor { | 1276 class ActivityActor { |
1255 /** The name of the actor, suitable for display. */ | 1277 /** The name of the actor, suitable for display. */ |
1256 core.String displayName; | 1278 core.String displayName; |
1257 /** The ID of the actor's Person resource. */ | 1279 /** The ID of the actor's Person resource. */ |
1258 core.String id; | 1280 core.String id; |
1259 /** The image representation of the actor. */ | 1281 /** The image representation of the actor. */ |
1260 ActivityActorImage image; | 1282 ActivityActorImage image; |
1261 /** An object representation of the individual components of name. */ | 1283 /** An object representation of the individual components of name. */ |
1262 ActivityActorName name; | 1284 ActivityActorName name; |
1263 /** The link to the actor's Google profile. */ | 1285 /** The link to the actor's Google profile. */ |
1264 core.String url; | 1286 core.String url; |
| 1287 /** Verification status of actor. */ |
| 1288 ActivityActorVerification verification; |
1265 | 1289 |
1266 ActivityActor(); | 1290 ActivityActor(); |
1267 | 1291 |
1268 ActivityActor.fromJson(core.Map _json) { | 1292 ActivityActor.fromJson(core.Map _json) { |
1269 if (_json.containsKey("displayName")) { | 1293 if (_json.containsKey("displayName")) { |
1270 displayName = _json["displayName"]; | 1294 displayName = _json["displayName"]; |
1271 } | 1295 } |
1272 if (_json.containsKey("id")) { | 1296 if (_json.containsKey("id")) { |
1273 id = _json["id"]; | 1297 id = _json["id"]; |
1274 } | 1298 } |
1275 if (_json.containsKey("image")) { | 1299 if (_json.containsKey("image")) { |
1276 image = new ActivityActorImage.fromJson(_json["image"]); | 1300 image = new ActivityActorImage.fromJson(_json["image"]); |
1277 } | 1301 } |
1278 if (_json.containsKey("name")) { | 1302 if (_json.containsKey("name")) { |
1279 name = new ActivityActorName.fromJson(_json["name"]); | 1303 name = new ActivityActorName.fromJson(_json["name"]); |
1280 } | 1304 } |
1281 if (_json.containsKey("url")) { | 1305 if (_json.containsKey("url")) { |
1282 url = _json["url"]; | 1306 url = _json["url"]; |
1283 } | 1307 } |
| 1308 if (_json.containsKey("verification")) { |
| 1309 verification = new ActivityActorVerification.fromJson(_json["verification"
]); |
| 1310 } |
1284 } | 1311 } |
1285 | 1312 |
1286 core.Map toJson() { | 1313 core.Map toJson() { |
1287 var _json = new core.Map(); | 1314 var _json = new core.Map(); |
1288 if (displayName != null) { | 1315 if (displayName != null) { |
1289 _json["displayName"] = displayName; | 1316 _json["displayName"] = displayName; |
1290 } | 1317 } |
1291 if (id != null) { | 1318 if (id != null) { |
1292 _json["id"] = id; | 1319 _json["id"] = id; |
1293 } | 1320 } |
1294 if (image != null) { | 1321 if (image != null) { |
1295 _json["image"] = (image).toJson(); | 1322 _json["image"] = (image).toJson(); |
1296 } | 1323 } |
1297 if (name != null) { | 1324 if (name != null) { |
1298 _json["name"] = (name).toJson(); | 1325 _json["name"] = (name).toJson(); |
1299 } | 1326 } |
1300 if (url != null) { | 1327 if (url != null) { |
1301 _json["url"] = url; | 1328 _json["url"] = url; |
1302 } | 1329 } |
| 1330 if (verification != null) { |
| 1331 _json["verification"] = (verification).toJson(); |
| 1332 } |
1303 return _json; | 1333 return _json; |
1304 } | 1334 } |
1305 } | 1335 } |
1306 | 1336 |
1307 /** The image representation of the original actor. */ | 1337 /** The image representation of the original actor. */ |
1308 class ActivityObjectActorImage { | 1338 class ActivityObjectActorImage { |
1309 /** A URL that points to a thumbnail photo of the original actor. */ | 1339 /** A URL that points to a thumbnail photo of the original actor. */ |
1310 core.String url; | 1340 core.String url; |
1311 | 1341 |
1312 ActivityObjectActorImage(); | 1342 ActivityObjectActorImage(); |
1313 | 1343 |
1314 ActivityObjectActorImage.fromJson(core.Map _json) { | 1344 ActivityObjectActorImage.fromJson(core.Map _json) { |
1315 if (_json.containsKey("url")) { | 1345 if (_json.containsKey("url")) { |
1316 url = _json["url"]; | 1346 url = _json["url"]; |
1317 } | 1347 } |
1318 } | 1348 } |
1319 | 1349 |
1320 core.Map toJson() { | 1350 core.Map toJson() { |
1321 var _json = new core.Map(); | 1351 var _json = new core.Map(); |
1322 if (url != null) { | 1352 if (url != null) { |
1323 _json["url"] = url; | 1353 _json["url"] = url; |
1324 } | 1354 } |
1325 return _json; | 1355 return _json; |
1326 } | 1356 } |
1327 } | 1357 } |
1328 | 1358 |
| 1359 /** Verification status of actor. */ |
| 1360 class ActivityObjectActorVerification { |
| 1361 /** Verification for one-time or manual processes. */ |
| 1362 core.String adHocVerified; |
| 1363 |
| 1364 ActivityObjectActorVerification(); |
| 1365 |
| 1366 ActivityObjectActorVerification.fromJson(core.Map _json) { |
| 1367 if (_json.containsKey("adHocVerified")) { |
| 1368 adHocVerified = _json["adHocVerified"]; |
| 1369 } |
| 1370 } |
| 1371 |
| 1372 core.Map toJson() { |
| 1373 var _json = new core.Map(); |
| 1374 if (adHocVerified != null) { |
| 1375 _json["adHocVerified"] = adHocVerified; |
| 1376 } |
| 1377 return _json; |
| 1378 } |
| 1379 } |
| 1380 |
1329 /** | 1381 /** |
1330 * If this activity's object is itself another activity, such as when a person | 1382 * If this activity's object is itself another activity, such as when a person |
1331 * reshares an activity, this property specifies the original activity's actor. | 1383 * reshares an activity, this property specifies the original activity's actor. |
1332 */ | 1384 */ |
1333 class ActivityObjectActor { | 1385 class ActivityObjectActor { |
1334 /** The original actor's name, which is suitable for display. */ | 1386 /** The original actor's name, which is suitable for display. */ |
1335 core.String displayName; | 1387 core.String displayName; |
1336 /** ID of the original actor. */ | 1388 /** ID of the original actor. */ |
1337 core.String id; | 1389 core.String id; |
1338 /** The image representation of the original actor. */ | 1390 /** The image representation of the original actor. */ |
1339 ActivityObjectActorImage image; | 1391 ActivityObjectActorImage image; |
1340 /** A link to the original actor's Google profile. */ | 1392 /** A link to the original actor's Google profile. */ |
1341 core.String url; | 1393 core.String url; |
| 1394 /** Verification status of actor. */ |
| 1395 ActivityObjectActorVerification verification; |
1342 | 1396 |
1343 ActivityObjectActor(); | 1397 ActivityObjectActor(); |
1344 | 1398 |
1345 ActivityObjectActor.fromJson(core.Map _json) { | 1399 ActivityObjectActor.fromJson(core.Map _json) { |
1346 if (_json.containsKey("displayName")) { | 1400 if (_json.containsKey("displayName")) { |
1347 displayName = _json["displayName"]; | 1401 displayName = _json["displayName"]; |
1348 } | 1402 } |
1349 if (_json.containsKey("id")) { | 1403 if (_json.containsKey("id")) { |
1350 id = _json["id"]; | 1404 id = _json["id"]; |
1351 } | 1405 } |
1352 if (_json.containsKey("image")) { | 1406 if (_json.containsKey("image")) { |
1353 image = new ActivityObjectActorImage.fromJson(_json["image"]); | 1407 image = new ActivityObjectActorImage.fromJson(_json["image"]); |
1354 } | 1408 } |
1355 if (_json.containsKey("url")) { | 1409 if (_json.containsKey("url")) { |
1356 url = _json["url"]; | 1410 url = _json["url"]; |
1357 } | 1411 } |
| 1412 if (_json.containsKey("verification")) { |
| 1413 verification = new ActivityObjectActorVerification.fromJson(_json["verific
ation"]); |
| 1414 } |
1358 } | 1415 } |
1359 | 1416 |
1360 core.Map toJson() { | 1417 core.Map toJson() { |
1361 var _json = new core.Map(); | 1418 var _json = new core.Map(); |
1362 if (displayName != null) { | 1419 if (displayName != null) { |
1363 _json["displayName"] = displayName; | 1420 _json["displayName"] = displayName; |
1364 } | 1421 } |
1365 if (id != null) { | 1422 if (id != null) { |
1366 _json["id"] = id; | 1423 _json["id"] = id; |
1367 } | 1424 } |
1368 if (image != null) { | 1425 if (image != null) { |
1369 _json["image"] = (image).toJson(); | 1426 _json["image"] = (image).toJson(); |
1370 } | 1427 } |
1371 if (url != null) { | 1428 if (url != null) { |
1372 _json["url"] = url; | 1429 _json["url"] = url; |
1373 } | 1430 } |
| 1431 if (verification != null) { |
| 1432 _json["verification"] = (verification).toJson(); |
| 1433 } |
1374 return _json; | 1434 return _json; |
1375 } | 1435 } |
1376 } | 1436 } |
1377 | 1437 |
1378 /** If the attachment is a video, the embeddable link. */ | 1438 /** If the attachment is a video, the embeddable link. */ |
1379 class ActivityObjectAttachmentsEmbed { | 1439 class ActivityObjectAttachmentsEmbed { |
1380 /** Media type of the link. */ | 1440 /** Media type of the link. */ |
1381 core.String type; | 1441 core.String type; |
1382 /** URL of the link. */ | 1442 /** URL of the link. */ |
1383 core.String url; | 1443 core.String url; |
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2614 | 2674 |
2615 core.Map toJson() { | 2675 core.Map toJson() { |
2616 var _json = new core.Map(); | 2676 var _json = new core.Map(); |
2617 if (url != null) { | 2677 if (url != null) { |
2618 _json["url"] = url; | 2678 _json["url"] = url; |
2619 } | 2679 } |
2620 return _json; | 2680 return _json; |
2621 } | 2681 } |
2622 } | 2682 } |
2623 | 2683 |
| 2684 /** Verification status of actor. */ |
| 2685 class CommentActorVerification { |
| 2686 /** Verification for one-time or manual processes. */ |
| 2687 core.String adHocVerified; |
| 2688 |
| 2689 CommentActorVerification(); |
| 2690 |
| 2691 CommentActorVerification.fromJson(core.Map _json) { |
| 2692 if (_json.containsKey("adHocVerified")) { |
| 2693 adHocVerified = _json["adHocVerified"]; |
| 2694 } |
| 2695 } |
| 2696 |
| 2697 core.Map toJson() { |
| 2698 var _json = new core.Map(); |
| 2699 if (adHocVerified != null) { |
| 2700 _json["adHocVerified"] = adHocVerified; |
| 2701 } |
| 2702 return _json; |
| 2703 } |
| 2704 } |
| 2705 |
2624 /** The person who posted this comment. */ | 2706 /** The person who posted this comment. */ |
2625 class CommentActor { | 2707 class CommentActor { |
2626 /** The name of this actor, suitable for display. */ | 2708 /** The name of this actor, suitable for display. */ |
2627 core.String displayName; | 2709 core.String displayName; |
2628 /** The ID of the actor. */ | 2710 /** The ID of the actor. */ |
2629 core.String id; | 2711 core.String id; |
2630 /** The image representation of this actor. */ | 2712 /** The image representation of this actor. */ |
2631 CommentActorImage image; | 2713 CommentActorImage image; |
2632 /** A link to the Person resource for this actor. */ | 2714 /** A link to the Person resource for this actor. */ |
2633 core.String url; | 2715 core.String url; |
| 2716 /** Verification status of actor. */ |
| 2717 CommentActorVerification verification; |
2634 | 2718 |
2635 CommentActor(); | 2719 CommentActor(); |
2636 | 2720 |
2637 CommentActor.fromJson(core.Map _json) { | 2721 CommentActor.fromJson(core.Map _json) { |
2638 if (_json.containsKey("displayName")) { | 2722 if (_json.containsKey("displayName")) { |
2639 displayName = _json["displayName"]; | 2723 displayName = _json["displayName"]; |
2640 } | 2724 } |
2641 if (_json.containsKey("id")) { | 2725 if (_json.containsKey("id")) { |
2642 id = _json["id"]; | 2726 id = _json["id"]; |
2643 } | 2727 } |
2644 if (_json.containsKey("image")) { | 2728 if (_json.containsKey("image")) { |
2645 image = new CommentActorImage.fromJson(_json["image"]); | 2729 image = new CommentActorImage.fromJson(_json["image"]); |
2646 } | 2730 } |
2647 if (_json.containsKey("url")) { | 2731 if (_json.containsKey("url")) { |
2648 url = _json["url"]; | 2732 url = _json["url"]; |
2649 } | 2733 } |
| 2734 if (_json.containsKey("verification")) { |
| 2735 verification = new CommentActorVerification.fromJson(_json["verification"]
); |
| 2736 } |
2650 } | 2737 } |
2651 | 2738 |
2652 core.Map toJson() { | 2739 core.Map toJson() { |
2653 var _json = new core.Map(); | 2740 var _json = new core.Map(); |
2654 if (displayName != null) { | 2741 if (displayName != null) { |
2655 _json["displayName"] = displayName; | 2742 _json["displayName"] = displayName; |
2656 } | 2743 } |
2657 if (id != null) { | 2744 if (id != null) { |
2658 _json["id"] = id; | 2745 _json["id"] = id; |
2659 } | 2746 } |
2660 if (image != null) { | 2747 if (image != null) { |
2661 _json["image"] = (image).toJson(); | 2748 _json["image"] = (image).toJson(); |
2662 } | 2749 } |
2663 if (url != null) { | 2750 if (url != null) { |
2664 _json["url"] = url; | 2751 _json["url"] = url; |
2665 } | 2752 } |
| 2753 if (verification != null) { |
| 2754 _json["verification"] = (verification).toJson(); |
| 2755 } |
2666 return _json; | 2756 return _json; |
2667 } | 2757 } |
2668 } | 2758 } |
2669 | 2759 |
2670 class CommentInReplyTo { | 2760 class CommentInReplyTo { |
2671 /** The ID of the activity. */ | 2761 /** The ID of the activity. */ |
2672 core.String id; | 2762 core.String id; |
2673 /** The URL of the activity. */ | 2763 /** The URL of the activity. */ |
2674 core.String url; | 2764 core.String url; |
2675 | 2765 |
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4207 } | 4297 } |
4208 if (url != null) { | 4298 if (url != null) { |
4209 _json["url"] = url; | 4299 _json["url"] = url; |
4210 } | 4300 } |
4211 if (width != null) { | 4301 if (width != null) { |
4212 _json["width"] = width; | 4302 _json["width"] = width; |
4213 } | 4303 } |
4214 return _json; | 4304 return _json; |
4215 } | 4305 } |
4216 } | 4306 } |
OLD | NEW |