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

Side by Side Diff: generated/googleapis/lib/reseller/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
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.reseller.v1; 3 library googleapis.reseller.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 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 organizationName = _json["organizationName"]; 1024 organizationName = _json["organizationName"];
1025 } 1025 }
1026 if (_json.containsKey("postalCode")) { 1026 if (_json.containsKey("postalCode")) {
1027 postalCode = _json["postalCode"]; 1027 postalCode = _json["postalCode"];
1028 } 1028 }
1029 if (_json.containsKey("region")) { 1029 if (_json.containsKey("region")) {
1030 region = _json["region"]; 1030 region = _json["region"];
1031 } 1031 }
1032 } 1032 }
1033 1033
1034 core.Map toJson() { 1034 core.Map<core.String, core.Object> toJson() {
1035 var _json = new core.Map(); 1035 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1036 if (addressLine1 != null) { 1036 if (addressLine1 != null) {
1037 _json["addressLine1"] = addressLine1; 1037 _json["addressLine1"] = addressLine1;
1038 } 1038 }
1039 if (addressLine2 != null) { 1039 if (addressLine2 != null) {
1040 _json["addressLine2"] = addressLine2; 1040 _json["addressLine2"] = addressLine2;
1041 } 1041 }
1042 if (addressLine3 != null) { 1042 if (addressLine3 != null) {
1043 _json["addressLine3"] = addressLine3; 1043 _json["addressLine3"] = addressLine3;
1044 } 1044 }
1045 if (contactName != null) { 1045 if (contactName != null) {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 planName = _json["planName"]; 1123 planName = _json["planName"];
1124 } 1124 }
1125 if (_json.containsKey("purchaseOrderId")) { 1125 if (_json.containsKey("purchaseOrderId")) {
1126 purchaseOrderId = _json["purchaseOrderId"]; 1126 purchaseOrderId = _json["purchaseOrderId"];
1127 } 1127 }
1128 if (_json.containsKey("seats")) { 1128 if (_json.containsKey("seats")) {
1129 seats = new Seats.fromJson(_json["seats"]); 1129 seats = new Seats.fromJson(_json["seats"]);
1130 } 1130 }
1131 } 1131 }
1132 1132
1133 core.Map toJson() { 1133 core.Map<core.String, core.Object> toJson() {
1134 var _json = new core.Map(); 1134 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1135 if (dealCode != null) { 1135 if (dealCode != null) {
1136 _json["dealCode"] = dealCode; 1136 _json["dealCode"] = dealCode;
1137 } 1137 }
1138 if (kind != null) { 1138 if (kind != null) {
1139 _json["kind"] = kind; 1139 _json["kind"] = kind;
1140 } 1140 }
1141 if (planName != null) { 1141 if (planName != null) {
1142 _json["planName"] = planName; 1142 _json["planName"] = planName;
1143 } 1143 }
1144 if (purchaseOrderId != null) { 1144 if (purchaseOrderId != null) {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 phoneNumber = _json["phoneNumber"]; 1216 phoneNumber = _json["phoneNumber"];
1217 } 1217 }
1218 if (_json.containsKey("postalAddress")) { 1218 if (_json.containsKey("postalAddress")) {
1219 postalAddress = new Address.fromJson(_json["postalAddress"]); 1219 postalAddress = new Address.fromJson(_json["postalAddress"]);
1220 } 1220 }
1221 if (_json.containsKey("resourceUiUrl")) { 1221 if (_json.containsKey("resourceUiUrl")) {
1222 resourceUiUrl = _json["resourceUiUrl"]; 1222 resourceUiUrl = _json["resourceUiUrl"];
1223 } 1223 }
1224 } 1224 }
1225 1225
1226 core.Map toJson() { 1226 core.Map<core.String, core.Object> toJson() {
1227 var _json = new core.Map(); 1227 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1228 if (alternateEmail != null) { 1228 if (alternateEmail != null) {
1229 _json["alternateEmail"] = alternateEmail; 1229 _json["alternateEmail"] = alternateEmail;
1230 } 1230 }
1231 if (customerDomain != null) { 1231 if (customerDomain != null) {
1232 _json["customerDomain"] = customerDomain; 1232 _json["customerDomain"] = customerDomain;
1233 } 1233 }
1234 if (customerDomainVerified != null) { 1234 if (customerDomainVerified != null) {
1235 _json["customerDomainVerified"] = customerDomainVerified; 1235 _json["customerDomainVerified"] = customerDomainVerified;
1236 } 1236 }
1237 if (customerId != null) { 1237 if (customerId != null) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 1271
1272 RenewalSettings.fromJson(core.Map _json) { 1272 RenewalSettings.fromJson(core.Map _json) {
1273 if (_json.containsKey("kind")) { 1273 if (_json.containsKey("kind")) {
1274 kind = _json["kind"]; 1274 kind = _json["kind"];
1275 } 1275 }
1276 if (_json.containsKey("renewalType")) { 1276 if (_json.containsKey("renewalType")) {
1277 renewalType = _json["renewalType"]; 1277 renewalType = _json["renewalType"];
1278 } 1278 }
1279 } 1279 }
1280 1280
1281 core.Map toJson() { 1281 core.Map<core.String, core.Object> toJson() {
1282 var _json = new core.Map(); 1282 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1283 if (kind != null) { 1283 if (kind != null) {
1284 _json["kind"] = kind; 1284 _json["kind"] = kind;
1285 } 1285 }
1286 if (renewalType != null) { 1286 if (renewalType != null) {
1287 _json["renewalType"] = renewalType; 1287 _json["renewalType"] = renewalType;
1288 } 1288 }
1289 return _json; 1289 return _json;
1290 } 1290 }
1291 } 1291 }
1292 1292
1293 /** JSON template for resellernotify getwatchdetails response. */ 1293 /** JSON template for resellernotify getwatchdetails response. */
1294 class ResellernotifyGetwatchdetailsResponse { 1294 class ResellernotifyGetwatchdetailsResponse {
1295 /** List of registered service accounts. */ 1295 /** List of registered service accounts. */
1296 core.List<core.String> serviceAccountEmailAddresses; 1296 core.List<core.String> serviceAccountEmailAddresses;
1297 /** Topic name of the PubSub */ 1297 /** Topic name of the PubSub */
1298 core.String topicName; 1298 core.String topicName;
1299 1299
1300 ResellernotifyGetwatchdetailsResponse(); 1300 ResellernotifyGetwatchdetailsResponse();
1301 1301
1302 ResellernotifyGetwatchdetailsResponse.fromJson(core.Map _json) { 1302 ResellernotifyGetwatchdetailsResponse.fromJson(core.Map _json) {
1303 if (_json.containsKey("serviceAccountEmailAddresses")) { 1303 if (_json.containsKey("serviceAccountEmailAddresses")) {
1304 serviceAccountEmailAddresses = _json["serviceAccountEmailAddresses"]; 1304 serviceAccountEmailAddresses = _json["serviceAccountEmailAddresses"];
1305 } 1305 }
1306 if (_json.containsKey("topicName")) { 1306 if (_json.containsKey("topicName")) {
1307 topicName = _json["topicName"]; 1307 topicName = _json["topicName"];
1308 } 1308 }
1309 } 1309 }
1310 1310
1311 core.Map toJson() { 1311 core.Map<core.String, core.Object> toJson() {
1312 var _json = new core.Map(); 1312 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1313 if (serviceAccountEmailAddresses != null) { 1313 if (serviceAccountEmailAddresses != null) {
1314 _json["serviceAccountEmailAddresses"] = serviceAccountEmailAddresses; 1314 _json["serviceAccountEmailAddresses"] = serviceAccountEmailAddresses;
1315 } 1315 }
1316 if (topicName != null) { 1316 if (topicName != null) {
1317 _json["topicName"] = topicName; 1317 _json["topicName"] = topicName;
1318 } 1318 }
1319 return _json; 1319 return _json;
1320 } 1320 }
1321 } 1321 }
1322 1322
1323 /** JSON template for resellernotify response. */ 1323 /** JSON template for resellernotify response. */
1324 class ResellernotifyResource { 1324 class ResellernotifyResource {
1325 /** Topic name of the PubSub */ 1325 /** Topic name of the PubSub */
1326 core.String topicName; 1326 core.String topicName;
1327 1327
1328 ResellernotifyResource(); 1328 ResellernotifyResource();
1329 1329
1330 ResellernotifyResource.fromJson(core.Map _json) { 1330 ResellernotifyResource.fromJson(core.Map _json) {
1331 if (_json.containsKey("topicName")) { 1331 if (_json.containsKey("topicName")) {
1332 topicName = _json["topicName"]; 1332 topicName = _json["topicName"];
1333 } 1333 }
1334 } 1334 }
1335 1335
1336 core.Map toJson() { 1336 core.Map<core.String, core.Object> toJson() {
1337 var _json = new core.Map(); 1337 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1338 if (topicName != null) { 1338 if (topicName != null) {
1339 _json["topicName"] = topicName; 1339 _json["topicName"] = topicName;
1340 } 1340 }
1341 return _json; 1341 return _json;
1342 } 1342 }
1343 } 1343 }
1344 1344
1345 /** JSON template for subscription seats. */ 1345 /** JSON template for subscription seats. */
1346 class Seats { 1346 class Seats {
1347 /** 1347 /**
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 licensedNumberOfSeats = _json["licensedNumberOfSeats"]; 1403 licensedNumberOfSeats = _json["licensedNumberOfSeats"];
1404 } 1404 }
1405 if (_json.containsKey("maximumNumberOfSeats")) { 1405 if (_json.containsKey("maximumNumberOfSeats")) {
1406 maximumNumberOfSeats = _json["maximumNumberOfSeats"]; 1406 maximumNumberOfSeats = _json["maximumNumberOfSeats"];
1407 } 1407 }
1408 if (_json.containsKey("numberOfSeats")) { 1408 if (_json.containsKey("numberOfSeats")) {
1409 numberOfSeats = _json["numberOfSeats"]; 1409 numberOfSeats = _json["numberOfSeats"];
1410 } 1410 }
1411 } 1411 }
1412 1412
1413 core.Map toJson() { 1413 core.Map<core.String, core.Object> toJson() {
1414 var _json = new core.Map(); 1414 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1415 if (kind != null) { 1415 if (kind != null) {
1416 _json["kind"] = kind; 1416 _json["kind"] = kind;
1417 } 1417 }
1418 if (licensedNumberOfSeats != null) { 1418 if (licensedNumberOfSeats != null) {
1419 _json["licensedNumberOfSeats"] = licensedNumberOfSeats; 1419 _json["licensedNumberOfSeats"] = licensedNumberOfSeats;
1420 } 1420 }
1421 if (maximumNumberOfSeats != null) { 1421 if (maximumNumberOfSeats != null) {
1422 _json["maximumNumberOfSeats"] = maximumNumberOfSeats; 1422 _json["maximumNumberOfSeats"] = maximumNumberOfSeats;
1423 } 1423 }
1424 if (numberOfSeats != null) { 1424 if (numberOfSeats != null) {
(...skipping 22 matching lines...) Expand all
1447 1447
1448 SubscriptionPlanCommitmentInterval.fromJson(core.Map _json) { 1448 SubscriptionPlanCommitmentInterval.fromJson(core.Map _json) {
1449 if (_json.containsKey("endTime")) { 1449 if (_json.containsKey("endTime")) {
1450 endTime = _json["endTime"]; 1450 endTime = _json["endTime"];
1451 } 1451 }
1452 if (_json.containsKey("startTime")) { 1452 if (_json.containsKey("startTime")) {
1453 startTime = _json["startTime"]; 1453 startTime = _json["startTime"];
1454 } 1454 }
1455 } 1455 }
1456 1456
1457 core.Map toJson() { 1457 core.Map<core.String, core.Object> toJson() {
1458 var _json = new core.Map(); 1458 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1459 if (endTime != null) { 1459 if (endTime != null) {
1460 _json["endTime"] = endTime; 1460 _json["endTime"] = endTime;
1461 } 1461 }
1462 if (startTime != null) { 1462 if (startTime != null) {
1463 _json["startTime"] = startTime; 1463 _json["startTime"] = startTime;
1464 } 1464 }
1465 return _json; 1465 return _json;
1466 } 1466 }
1467 } 1467 }
1468 1468
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1508 commitmentInterval = new SubscriptionPlanCommitmentInterval.fromJson(_json ["commitmentInterval"]); 1508 commitmentInterval = new SubscriptionPlanCommitmentInterval.fromJson(_json ["commitmentInterval"]);
1509 } 1509 }
1510 if (_json.containsKey("isCommitmentPlan")) { 1510 if (_json.containsKey("isCommitmentPlan")) {
1511 isCommitmentPlan = _json["isCommitmentPlan"]; 1511 isCommitmentPlan = _json["isCommitmentPlan"];
1512 } 1512 }
1513 if (_json.containsKey("planName")) { 1513 if (_json.containsKey("planName")) {
1514 planName = _json["planName"]; 1514 planName = _json["planName"];
1515 } 1515 }
1516 } 1516 }
1517 1517
1518 core.Map toJson() { 1518 core.Map<core.String, core.Object> toJson() {
1519 var _json = new core.Map(); 1519 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1520 if (commitmentInterval != null) { 1520 if (commitmentInterval != null) {
1521 _json["commitmentInterval"] = (commitmentInterval).toJson(); 1521 _json["commitmentInterval"] = (commitmentInterval).toJson();
1522 } 1522 }
1523 if (isCommitmentPlan != null) { 1523 if (isCommitmentPlan != null) {
1524 _json["isCommitmentPlan"] = isCommitmentPlan; 1524 _json["isCommitmentPlan"] = isCommitmentPlan;
1525 } 1525 }
1526 if (planName != null) { 1526 if (planName != null) {
1527 _json["planName"] = planName; 1527 _json["planName"] = planName;
1528 } 1528 }
1529 return _json; 1529 return _json;
(...skipping 22 matching lines...) Expand all
1552 1552
1553 SubscriptionTransferInfo.fromJson(core.Map _json) { 1553 SubscriptionTransferInfo.fromJson(core.Map _json) {
1554 if (_json.containsKey("minimumTransferableSeats")) { 1554 if (_json.containsKey("minimumTransferableSeats")) {
1555 minimumTransferableSeats = _json["minimumTransferableSeats"]; 1555 minimumTransferableSeats = _json["minimumTransferableSeats"];
1556 } 1556 }
1557 if (_json.containsKey("transferabilityExpirationTime")) { 1557 if (_json.containsKey("transferabilityExpirationTime")) {
1558 transferabilityExpirationTime = _json["transferabilityExpirationTime"]; 1558 transferabilityExpirationTime = _json["transferabilityExpirationTime"];
1559 } 1559 }
1560 } 1560 }
1561 1561
1562 core.Map toJson() { 1562 core.Map<core.String, core.Object> toJson() {
1563 var _json = new core.Map(); 1563 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1564 if (minimumTransferableSeats != null) { 1564 if (minimumTransferableSeats != null) {
1565 _json["minimumTransferableSeats"] = minimumTransferableSeats; 1565 _json["minimumTransferableSeats"] = minimumTransferableSeats;
1566 } 1566 }
1567 if (transferabilityExpirationTime != null) { 1567 if (transferabilityExpirationTime != null) {
1568 _json["transferabilityExpirationTime"] = transferabilityExpirationTime; 1568 _json["transferabilityExpirationTime"] = transferabilityExpirationTime;
1569 } 1569 }
1570 return _json; 1570 return _json;
1571 } 1571 }
1572 } 1572 }
1573 1573
(...skipping 18 matching lines...) Expand all
1592 1592
1593 SubscriptionTrialSettings.fromJson(core.Map _json) { 1593 SubscriptionTrialSettings.fromJson(core.Map _json) {
1594 if (_json.containsKey("isInTrial")) { 1594 if (_json.containsKey("isInTrial")) {
1595 isInTrial = _json["isInTrial"]; 1595 isInTrial = _json["isInTrial"];
1596 } 1596 }
1597 if (_json.containsKey("trialEndTime")) { 1597 if (_json.containsKey("trialEndTime")) {
1598 trialEndTime = _json["trialEndTime"]; 1598 trialEndTime = _json["trialEndTime"];
1599 } 1599 }
1600 } 1600 }
1601 1601
1602 core.Map toJson() { 1602 core.Map<core.String, core.Object> toJson() {
1603 var _json = new core.Map(); 1603 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1604 if (isInTrial != null) { 1604 if (isInTrial != null) {
1605 _json["isInTrial"] = isInTrial; 1605 _json["isInTrial"] = isInTrial;
1606 } 1606 }
1607 if (trialEndTime != null) { 1607 if (trialEndTime != null) {
1608 _json["trialEndTime"] = trialEndTime; 1608 _json["trialEndTime"] = trialEndTime;
1609 } 1609 }
1610 return _json; 1610 return _json;
1611 } 1611 }
1612 } 1612 }
1613 1613
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 suspensionReasons = _json["suspensionReasons"]; 1775 suspensionReasons = _json["suspensionReasons"];
1776 } 1776 }
1777 if (_json.containsKey("transferInfo")) { 1777 if (_json.containsKey("transferInfo")) {
1778 transferInfo = new SubscriptionTransferInfo.fromJson(_json["transferInfo"] ); 1778 transferInfo = new SubscriptionTransferInfo.fromJson(_json["transferInfo"] );
1779 } 1779 }
1780 if (_json.containsKey("trialSettings")) { 1780 if (_json.containsKey("trialSettings")) {
1781 trialSettings = new SubscriptionTrialSettings.fromJson(_json["trialSetting s"]); 1781 trialSettings = new SubscriptionTrialSettings.fromJson(_json["trialSetting s"]);
1782 } 1782 }
1783 } 1783 }
1784 1784
1785 core.Map toJson() { 1785 core.Map<core.String, core.Object> toJson() {
1786 var _json = new core.Map(); 1786 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1787 if (billingMethod != null) { 1787 if (billingMethod != null) {
1788 _json["billingMethod"] = billingMethod; 1788 _json["billingMethod"] = billingMethod;
1789 } 1789 }
1790 if (creationTime != null) { 1790 if (creationTime != null) {
1791 _json["creationTime"] = creationTime; 1791 _json["creationTime"] = creationTime;
1792 } 1792 }
1793 if (customerDomain != null) { 1793 if (customerDomain != null) {
1794 _json["customerDomain"] = customerDomain; 1794 _json["customerDomain"] = customerDomain;
1795 } 1795 }
1796 if (customerId != null) { 1796 if (customerId != null) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1864 kind = _json["kind"]; 1864 kind = _json["kind"];
1865 } 1865 }
1866 if (_json.containsKey("nextPageToken")) { 1866 if (_json.containsKey("nextPageToken")) {
1867 nextPageToken = _json["nextPageToken"]; 1867 nextPageToken = _json["nextPageToken"];
1868 } 1868 }
1869 if (_json.containsKey("subscriptions")) { 1869 if (_json.containsKey("subscriptions")) {
1870 subscriptions = _json["subscriptions"].map((value) => new Subscription.fro mJson(value)).toList(); 1870 subscriptions = _json["subscriptions"].map((value) => new Subscription.fro mJson(value)).toList();
1871 } 1871 }
1872 } 1872 }
1873 1873
1874 core.Map toJson() { 1874 core.Map<core.String, core.Object> toJson() {
1875 var _json = new core.Map(); 1875 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1876 if (kind != null) { 1876 if (kind != null) {
1877 _json["kind"] = kind; 1877 _json["kind"] = kind;
1878 } 1878 }
1879 if (nextPageToken != null) { 1879 if (nextPageToken != null) {
1880 _json["nextPageToken"] = nextPageToken; 1880 _json["nextPageToken"] = nextPageToken;
1881 } 1881 }
1882 if (subscriptions != null) { 1882 if (subscriptions != null) {
1883 _json["subscriptions"] = subscriptions.map((value) => (value).toJson()).to List(); 1883 _json["subscriptions"] = subscriptions.map((value) => (value).toJson()).to List();
1884 } 1884 }
1885 return _json; 1885 return _json;
1886 } 1886 }
1887 } 1887 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/qpxexpress/v1.dart ('k') | generated/googleapis/lib/runtimeconfig/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698