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

Side by Side Diff: generated/googleapis_beta/lib/sqladmin/v1beta3.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_beta.sqladmin.v1beta3; 3 library googleapis_beta.sqladmin.v1beta3;
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 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 id = _json["id"]; 1297 id = _json["id"];
1298 } 1298 }
1299 if (_json.containsKey("kind")) { 1299 if (_json.containsKey("kind")) {
1300 kind = _json["kind"]; 1300 kind = _json["kind"];
1301 } 1301 }
1302 if (_json.containsKey("startTime")) { 1302 if (_json.containsKey("startTime")) {
1303 startTime = _json["startTime"]; 1303 startTime = _json["startTime"];
1304 } 1304 }
1305 } 1305 }
1306 1306
1307 core.Map toJson() { 1307 core.Map<core.String, core.Object> toJson() {
1308 var _json = new core.Map(); 1308 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1309 if (binaryLogEnabled != null) { 1309 if (binaryLogEnabled != null) {
1310 _json["binaryLogEnabled"] = binaryLogEnabled; 1310 _json["binaryLogEnabled"] = binaryLogEnabled;
1311 } 1311 }
1312 if (enabled != null) { 1312 if (enabled != null) {
1313 _json["enabled"] = enabled; 1313 _json["enabled"] = enabled;
1314 } 1314 }
1315 if (id != null) { 1315 if (id != null) {
1316 _json["id"] = id; 1316 _json["id"] = id;
1317 } 1317 }
1318 if (kind != null) { 1318 if (kind != null) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 kind = _json["kind"]; 1386 kind = _json["kind"];
1387 } 1387 }
1388 if (_json.containsKey("startTime")) { 1388 if (_json.containsKey("startTime")) {
1389 startTime = core.DateTime.parse(_json["startTime"]); 1389 startTime = core.DateTime.parse(_json["startTime"]);
1390 } 1390 }
1391 if (_json.containsKey("status")) { 1391 if (_json.containsKey("status")) {
1392 status = _json["status"]; 1392 status = _json["status"];
1393 } 1393 }
1394 } 1394 }
1395 1395
1396 core.Map toJson() { 1396 core.Map<core.String, core.Object> toJson() {
1397 var _json = new core.Map(); 1397 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1398 if (backupConfiguration != null) { 1398 if (backupConfiguration != null) {
1399 _json["backupConfiguration"] = backupConfiguration; 1399 _json["backupConfiguration"] = backupConfiguration;
1400 } 1400 }
1401 if (dueTime != null) { 1401 if (dueTime != null) {
1402 _json["dueTime"] = (dueTime).toIso8601String(); 1402 _json["dueTime"] = (dueTime).toIso8601String();
1403 } 1403 }
1404 if (endTime != null) { 1404 if (endTime != null) {
1405 _json["endTime"] = (endTime).toIso8601String(); 1405 _json["endTime"] = (endTime).toIso8601String();
1406 } 1406 }
1407 if (enqueuedTime != null) { 1407 if (enqueuedTime != null) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 items = _json["items"].map((value) => new BackupRun.fromJson(value)).toLis t(); 1447 items = _json["items"].map((value) => new BackupRun.fromJson(value)).toLis t();
1448 } 1448 }
1449 if (_json.containsKey("kind")) { 1449 if (_json.containsKey("kind")) {
1450 kind = _json["kind"]; 1450 kind = _json["kind"];
1451 } 1451 }
1452 if (_json.containsKey("nextPageToken")) { 1452 if (_json.containsKey("nextPageToken")) {
1453 nextPageToken = _json["nextPageToken"]; 1453 nextPageToken = _json["nextPageToken"];
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 (items != null) { 1459 if (items != null) {
1460 _json["items"] = items.map((value) => (value).toJson()).toList(); 1460 _json["items"] = items.map((value) => (value).toJson()).toList();
1461 } 1461 }
1462 if (kind != null) { 1462 if (kind != null) {
1463 _json["kind"] = kind; 1463 _json["kind"] = kind;
1464 } 1464 }
1465 if (nextPageToken != null) { 1465 if (nextPageToken != null) {
1466 _json["nextPageToken"] = nextPageToken; 1466 _json["nextPageToken"] = nextPageToken;
1467 } 1467 }
1468 return _json; 1468 return _json;
(...skipping 16 matching lines...) Expand all
1485 binLogFileName = _json["binLogFileName"]; 1485 binLogFileName = _json["binLogFileName"];
1486 } 1486 }
1487 if (_json.containsKey("binLogPosition")) { 1487 if (_json.containsKey("binLogPosition")) {
1488 binLogPosition = _json["binLogPosition"]; 1488 binLogPosition = _json["binLogPosition"];
1489 } 1489 }
1490 if (_json.containsKey("kind")) { 1490 if (_json.containsKey("kind")) {
1491 kind = _json["kind"]; 1491 kind = _json["kind"];
1492 } 1492 }
1493 } 1493 }
1494 1494
1495 core.Map toJson() { 1495 core.Map<core.String, core.Object> toJson() {
1496 var _json = new core.Map(); 1496 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1497 if (binLogFileName != null) { 1497 if (binLogFileName != null) {
1498 _json["binLogFileName"] = binLogFileName; 1498 _json["binLogFileName"] = binLogFileName;
1499 } 1499 }
1500 if (binLogPosition != null) { 1500 if (binLogPosition != null) {
1501 _json["binLogPosition"] = binLogPosition; 1501 _json["binLogPosition"] = binLogPosition;
1502 } 1502 }
1503 if (kind != null) { 1503 if (kind != null) {
1504 _json["kind"] = kind; 1504 _json["kind"] = kind;
1505 } 1505 }
1506 return _json; 1506 return _json;
(...skipping 25 matching lines...) Expand all
1532 destinationInstanceName = _json["destinationInstanceName"]; 1532 destinationInstanceName = _json["destinationInstanceName"];
1533 } 1533 }
1534 if (_json.containsKey("kind")) { 1534 if (_json.containsKey("kind")) {
1535 kind = _json["kind"]; 1535 kind = _json["kind"];
1536 } 1536 }
1537 if (_json.containsKey("sourceInstanceName")) { 1537 if (_json.containsKey("sourceInstanceName")) {
1538 sourceInstanceName = _json["sourceInstanceName"]; 1538 sourceInstanceName = _json["sourceInstanceName"];
1539 } 1539 }
1540 } 1540 }
1541 1541
1542 core.Map toJson() { 1542 core.Map<core.String, core.Object> toJson() {
1543 var _json = new core.Map(); 1543 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1544 if (binLogCoordinates != null) { 1544 if (binLogCoordinates != null) {
1545 _json["binLogCoordinates"] = (binLogCoordinates).toJson(); 1545 _json["binLogCoordinates"] = (binLogCoordinates).toJson();
1546 } 1546 }
1547 if (destinationInstanceName != null) { 1547 if (destinationInstanceName != null) {
1548 _json["destinationInstanceName"] = destinationInstanceName; 1548 _json["destinationInstanceName"] = destinationInstanceName;
1549 } 1549 }
1550 if (kind != null) { 1550 if (kind != null) {
1551 _json["kind"] = kind; 1551 _json["kind"] = kind;
1552 } 1552 }
1553 if (sourceInstanceName != null) { 1553 if (sourceInstanceName != null) {
(...skipping 23 matching lines...) Expand all
1577 1577
1578 DatabaseFlags.fromJson(core.Map _json) { 1578 DatabaseFlags.fromJson(core.Map _json) {
1579 if (_json.containsKey("name")) { 1579 if (_json.containsKey("name")) {
1580 name = _json["name"]; 1580 name = _json["name"];
1581 } 1581 }
1582 if (_json.containsKey("value")) { 1582 if (_json.containsKey("value")) {
1583 value = _json["value"]; 1583 value = _json["value"];
1584 } 1584 }
1585 } 1585 }
1586 1586
1587 core.Map toJson() { 1587 core.Map<core.String, core.Object> toJson() {
1588 var _json = new core.Map(); 1588 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1589 if (name != null) { 1589 if (name != null) {
1590 _json["name"] = name; 1590 _json["name"] = name;
1591 } 1591 }
1592 if (value != null) { 1592 if (value != null) {
1593 _json["value"] = value; 1593 _json["value"] = value;
1594 } 1594 }
1595 return _json; 1595 return _json;
1596 } 1596 }
1597 } 1597 }
1598 1598
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1713 serviceAccountEmailAddress = _json["serviceAccountEmailAddress"]; 1713 serviceAccountEmailAddress = _json["serviceAccountEmailAddress"];
1714 } 1714 }
1715 if (_json.containsKey("settings")) { 1715 if (_json.containsKey("settings")) {
1716 settings = new Settings.fromJson(_json["settings"]); 1716 settings = new Settings.fromJson(_json["settings"]);
1717 } 1717 }
1718 if (_json.containsKey("state")) { 1718 if (_json.containsKey("state")) {
1719 state = _json["state"]; 1719 state = _json["state"];
1720 } 1720 }
1721 } 1721 }
1722 1722
1723 core.Map toJson() { 1723 core.Map<core.String, core.Object> toJson() {
1724 var _json = new core.Map(); 1724 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1725 if (connectionName != null) { 1725 if (connectionName != null) {
1726 _json["connectionName"] = connectionName; 1726 _json["connectionName"] = connectionName;
1727 } 1727 }
1728 if (currentDiskSize != null) { 1728 if (currentDiskSize != null) {
1729 _json["currentDiskSize"] = currentDiskSize; 1729 _json["currentDiskSize"] = currentDiskSize;
1730 } 1730 }
1731 if (databaseVersion != null) { 1731 if (databaseVersion != null) {
1732 _json["databaseVersion"] = databaseVersion; 1732 _json["databaseVersion"] = databaseVersion;
1733 } 1733 }
1734 if (etag != null) { 1734 if (etag != null) {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1812 kind = _json["kind"]; 1812 kind = _json["kind"];
1813 } 1813 }
1814 if (_json.containsKey("table")) { 1814 if (_json.containsKey("table")) {
1815 table = _json["table"]; 1815 table = _json["table"];
1816 } 1816 }
1817 if (_json.containsKey("uri")) { 1817 if (_json.containsKey("uri")) {
1818 uri = _json["uri"]; 1818 uri = _json["uri"];
1819 } 1819 }
1820 } 1820 }
1821 1821
1822 core.Map toJson() { 1822 core.Map<core.String, core.Object> toJson() {
1823 var _json = new core.Map(); 1823 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1824 if (database != null) { 1824 if (database != null) {
1825 _json["database"] = database; 1825 _json["database"] = database;
1826 } 1826 }
1827 if (kind != null) { 1827 if (kind != null) {
1828 _json["kind"] = kind; 1828 _json["kind"] = kind;
1829 } 1829 }
1830 if (table != null) { 1830 if (table != null) {
1831 _json["table"] = table; 1831 _json["table"] = table;
1832 } 1832 }
1833 if (uri != null) { 1833 if (uri != null) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 minValue = _json["minValue"]; 1883 minValue = _json["minValue"];
1884 } 1884 }
1885 if (_json.containsKey("name")) { 1885 if (_json.containsKey("name")) {
1886 name = _json["name"]; 1886 name = _json["name"];
1887 } 1887 }
1888 if (_json.containsKey("type")) { 1888 if (_json.containsKey("type")) {
1889 type = _json["type"]; 1889 type = _json["type"];
1890 } 1890 }
1891 } 1891 }
1892 1892
1893 core.Map toJson() { 1893 core.Map<core.String, core.Object> toJson() {
1894 var _json = new core.Map(); 1894 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1895 if (allowedStringValues != null) { 1895 if (allowedStringValues != null) {
1896 _json["allowedStringValues"] = allowedStringValues; 1896 _json["allowedStringValues"] = allowedStringValues;
1897 } 1897 }
1898 if (appliesTo != null) { 1898 if (appliesTo != null) {
1899 _json["appliesTo"] = appliesTo; 1899 _json["appliesTo"] = appliesTo;
1900 } 1900 }
1901 if (kind != null) { 1901 if (kind != null) {
1902 _json["kind"] = kind; 1902 _json["kind"] = kind;
1903 } 1903 }
1904 if (maxValue != null) { 1904 if (maxValue != null) {
(...skipping 23 matching lines...) Expand all
1928 1928
1929 FlagsListResponse.fromJson(core.Map _json) { 1929 FlagsListResponse.fromJson(core.Map _json) {
1930 if (_json.containsKey("items")) { 1930 if (_json.containsKey("items")) {
1931 items = _json["items"].map((value) => new Flag.fromJson(value)).toList(); 1931 items = _json["items"].map((value) => new Flag.fromJson(value)).toList();
1932 } 1932 }
1933 if (_json.containsKey("kind")) { 1933 if (_json.containsKey("kind")) {
1934 kind = _json["kind"]; 1934 kind = _json["kind"];
1935 } 1935 }
1936 } 1936 }
1937 1937
1938 core.Map toJson() { 1938 core.Map<core.String, core.Object> toJson() {
1939 var _json = new core.Map(); 1939 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1940 if (items != null) { 1940 if (items != null) {
1941 _json["items"] = items.map((value) => (value).toJson()).toList(); 1941 _json["items"] = items.map((value) => (value).toJson()).toList();
1942 } 1942 }
1943 if (kind != null) { 1943 if (kind != null) {
1944 _json["kind"] = kind; 1944 _json["kind"] = kind;
1945 } 1945 }
1946 return _json; 1946 return _json;
1947 } 1947 }
1948 } 1948 }
1949 1949
(...skipping 21 matching lines...) Expand all
1971 database = _json["database"]; 1971 database = _json["database"];
1972 } 1972 }
1973 if (_json.containsKey("kind")) { 1973 if (_json.containsKey("kind")) {
1974 kind = _json["kind"]; 1974 kind = _json["kind"];
1975 } 1975 }
1976 if (_json.containsKey("uri")) { 1976 if (_json.containsKey("uri")) {
1977 uri = _json["uri"]; 1977 uri = _json["uri"];
1978 } 1978 }
1979 } 1979 }
1980 1980
1981 core.Map toJson() { 1981 core.Map<core.String, core.Object> toJson() {
1982 var _json = new core.Map(); 1982 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1983 if (database != null) { 1983 if (database != null) {
1984 _json["database"] = database; 1984 _json["database"] = database;
1985 } 1985 }
1986 if (kind != null) { 1986 if (kind != null) {
1987 _json["kind"] = kind; 1987 _json["kind"] = kind;
1988 } 1988 }
1989 if (uri != null) { 1989 if (uri != null) {
1990 _json["uri"] = uri; 1990 _json["uri"] = uri;
1991 } 1991 }
1992 return _json; 1992 return _json;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
2081 startTime = core.DateTime.parse(_json["startTime"]); 2081 startTime = core.DateTime.parse(_json["startTime"]);
2082 } 2082 }
2083 if (_json.containsKey("state")) { 2083 if (_json.containsKey("state")) {
2084 state = _json["state"]; 2084 state = _json["state"];
2085 } 2085 }
2086 if (_json.containsKey("userEmailAddress")) { 2086 if (_json.containsKey("userEmailAddress")) {
2087 userEmailAddress = _json["userEmailAddress"]; 2087 userEmailAddress = _json["userEmailAddress"];
2088 } 2088 }
2089 } 2089 }
2090 2090
2091 core.Map toJson() { 2091 core.Map<core.String, core.Object> toJson() {
2092 var _json = new core.Map(); 2092 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2093 if (endTime != null) { 2093 if (endTime != null) {
2094 _json["endTime"] = (endTime).toIso8601String(); 2094 _json["endTime"] = (endTime).toIso8601String();
2095 } 2095 }
2096 if (enqueuedTime != null) { 2096 if (enqueuedTime != null) {
2097 _json["enqueuedTime"] = (enqueuedTime).toIso8601String(); 2097 _json["enqueuedTime"] = (enqueuedTime).toIso8601String();
2098 } 2098 }
2099 if (error != null) { 2099 if (error != null) {
2100 _json["error"] = error.map((value) => (value).toJson()).toList(); 2100 _json["error"] = error.map((value) => (value).toJson()).toList();
2101 } 2101 }
2102 if (exportContext != null) { 2102 if (exportContext != null) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 SetRootPasswordContext setRootPasswordContext; 2136 SetRootPasswordContext setRootPasswordContext;
2137 2137
2138 InstanceSetRootPasswordRequest(); 2138 InstanceSetRootPasswordRequest();
2139 2139
2140 InstanceSetRootPasswordRequest.fromJson(core.Map _json) { 2140 InstanceSetRootPasswordRequest.fromJson(core.Map _json) {
2141 if (_json.containsKey("setRootPasswordContext")) { 2141 if (_json.containsKey("setRootPasswordContext")) {
2142 setRootPasswordContext = new SetRootPasswordContext.fromJson(_json["setRoo tPasswordContext"]); 2142 setRootPasswordContext = new SetRootPasswordContext.fromJson(_json["setRoo tPasswordContext"]);
2143 } 2143 }
2144 } 2144 }
2145 2145
2146 core.Map toJson() { 2146 core.Map<core.String, core.Object> toJson() {
2147 var _json = new core.Map(); 2147 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2148 if (setRootPasswordContext != null) { 2148 if (setRootPasswordContext != null) {
2149 _json["setRootPasswordContext"] = (setRootPasswordContext).toJson(); 2149 _json["setRootPasswordContext"] = (setRootPasswordContext).toJson();
2150 } 2150 }
2151 return _json; 2151 return _json;
2152 } 2152 }
2153 } 2153 }
2154 2154
2155 /** Database instance clone request. */ 2155 /** Database instance clone request. */
2156 class InstancesCloneRequest { 2156 class InstancesCloneRequest {
2157 /** Contains details about the clone operation. */ 2157 /** Contains details about the clone operation. */
2158 CloneContext cloneContext; 2158 CloneContext cloneContext;
2159 2159
2160 InstancesCloneRequest(); 2160 InstancesCloneRequest();
2161 2161
2162 InstancesCloneRequest.fromJson(core.Map _json) { 2162 InstancesCloneRequest.fromJson(core.Map _json) {
2163 if (_json.containsKey("cloneContext")) { 2163 if (_json.containsKey("cloneContext")) {
2164 cloneContext = new CloneContext.fromJson(_json["cloneContext"]); 2164 cloneContext = new CloneContext.fromJson(_json["cloneContext"]);
2165 } 2165 }
2166 } 2166 }
2167 2167
2168 core.Map toJson() { 2168 core.Map<core.String, core.Object> toJson() {
2169 var _json = new core.Map(); 2169 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2170 if (cloneContext != null) { 2170 if (cloneContext != null) {
2171 _json["cloneContext"] = (cloneContext).toJson(); 2171 _json["cloneContext"] = (cloneContext).toJson();
2172 } 2172 }
2173 return _json; 2173 return _json;
2174 } 2174 }
2175 } 2175 }
2176 2176
2177 /** Database instance clone response. */ 2177 /** Database instance clone response. */
2178 class InstancesCloneResponse { 2178 class InstancesCloneResponse {
2179 /** This is always sql#instancesClone. */ 2179 /** This is always sql#instancesClone. */
2180 core.String kind; 2180 core.String kind;
2181 /** 2181 /**
2182 * An unique identifier for the operation associated with the cloned instance. 2182 * An unique identifier for the operation associated with the cloned instance.
2183 * You can use this identifier to retrieve the Operations resource, which has 2183 * You can use this identifier to retrieve the Operations resource, which has
2184 * information about the operation. 2184 * information about the operation.
2185 */ 2185 */
2186 core.String operation; 2186 core.String operation;
2187 2187
2188 InstancesCloneResponse(); 2188 InstancesCloneResponse();
2189 2189
2190 InstancesCloneResponse.fromJson(core.Map _json) { 2190 InstancesCloneResponse.fromJson(core.Map _json) {
2191 if (_json.containsKey("kind")) { 2191 if (_json.containsKey("kind")) {
2192 kind = _json["kind"]; 2192 kind = _json["kind"];
2193 } 2193 }
2194 if (_json.containsKey("operation")) { 2194 if (_json.containsKey("operation")) {
2195 operation = _json["operation"]; 2195 operation = _json["operation"];
2196 } 2196 }
2197 } 2197 }
2198 2198
2199 core.Map toJson() { 2199 core.Map<core.String, core.Object> toJson() {
2200 var _json = new core.Map(); 2200 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2201 if (kind != null) { 2201 if (kind != null) {
2202 _json["kind"] = kind; 2202 _json["kind"] = kind;
2203 } 2203 }
2204 if (operation != null) { 2204 if (operation != null) {
2205 _json["operation"] = operation; 2205 _json["operation"] = operation;
2206 } 2206 }
2207 return _json; 2207 return _json;
2208 } 2208 }
2209 } 2209 }
2210 2210
(...skipping 12 matching lines...) Expand all
2223 2223
2224 InstancesDeleteResponse.fromJson(core.Map _json) { 2224 InstancesDeleteResponse.fromJson(core.Map _json) {
2225 if (_json.containsKey("kind")) { 2225 if (_json.containsKey("kind")) {
2226 kind = _json["kind"]; 2226 kind = _json["kind"];
2227 } 2227 }
2228 if (_json.containsKey("operation")) { 2228 if (_json.containsKey("operation")) {
2229 operation = _json["operation"]; 2229 operation = _json["operation"];
2230 } 2230 }
2231 } 2231 }
2232 2232
2233 core.Map toJson() { 2233 core.Map<core.String, core.Object> toJson() {
2234 var _json = new core.Map(); 2234 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2235 if (kind != null) { 2235 if (kind != null) {
2236 _json["kind"] = kind; 2236 _json["kind"] = kind;
2237 } 2237 }
2238 if (operation != null) { 2238 if (operation != null) {
2239 _json["operation"] = operation; 2239 _json["operation"] = operation;
2240 } 2240 }
2241 return _json; 2241 return _json;
2242 } 2242 }
2243 } 2243 }
2244 2244
2245 /** Database instance export request. */ 2245 /** Database instance export request. */
2246 class InstancesExportRequest { 2246 class InstancesExportRequest {
2247 /** Contains details about the export operation. */ 2247 /** Contains details about the export operation. */
2248 ExportContext exportContext; 2248 ExportContext exportContext;
2249 2249
2250 InstancesExportRequest(); 2250 InstancesExportRequest();
2251 2251
2252 InstancesExportRequest.fromJson(core.Map _json) { 2252 InstancesExportRequest.fromJson(core.Map _json) {
2253 if (_json.containsKey("exportContext")) { 2253 if (_json.containsKey("exportContext")) {
2254 exportContext = new ExportContext.fromJson(_json["exportContext"]); 2254 exportContext = new ExportContext.fromJson(_json["exportContext"]);
2255 } 2255 }
2256 } 2256 }
2257 2257
2258 core.Map toJson() { 2258 core.Map<core.String, core.Object> toJson() {
2259 var _json = new core.Map(); 2259 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2260 if (exportContext != null) { 2260 if (exportContext != null) {
2261 _json["exportContext"] = (exportContext).toJson(); 2261 _json["exportContext"] = (exportContext).toJson();
2262 } 2262 }
2263 return _json; 2263 return _json;
2264 } 2264 }
2265 } 2265 }
2266 2266
2267 /** Database instance export response. */ 2267 /** Database instance export response. */
2268 class InstancesExportResponse { 2268 class InstancesExportResponse {
2269 /** This is always sql#instancesExport. */ 2269 /** This is always sql#instancesExport. */
2270 core.String kind; 2270 core.String kind;
2271 /** 2271 /**
2272 * An identifier that uniquely identifies the operation. You can use this 2272 * An identifier that uniquely identifies the operation. You can use this
2273 * identifier to retrieve the Operations resource that has information about 2273 * identifier to retrieve the Operations resource that has information about
2274 * the operation. 2274 * the operation.
2275 */ 2275 */
2276 core.String operation; 2276 core.String operation;
2277 2277
2278 InstancesExportResponse(); 2278 InstancesExportResponse();
2279 2279
2280 InstancesExportResponse.fromJson(core.Map _json) { 2280 InstancesExportResponse.fromJson(core.Map _json) {
2281 if (_json.containsKey("kind")) { 2281 if (_json.containsKey("kind")) {
2282 kind = _json["kind"]; 2282 kind = _json["kind"];
2283 } 2283 }
2284 if (_json.containsKey("operation")) { 2284 if (_json.containsKey("operation")) {
2285 operation = _json["operation"]; 2285 operation = _json["operation"];
2286 } 2286 }
2287 } 2287 }
2288 2288
2289 core.Map toJson() { 2289 core.Map<core.String, core.Object> toJson() {
2290 var _json = new core.Map(); 2290 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2291 if (kind != null) { 2291 if (kind != null) {
2292 _json["kind"] = kind; 2292 _json["kind"] = kind;
2293 } 2293 }
2294 if (operation != null) { 2294 if (operation != null) {
2295 _json["operation"] = operation; 2295 _json["operation"] = operation;
2296 } 2296 }
2297 return _json; 2297 return _json;
2298 } 2298 }
2299 } 2299 }
2300 2300
2301 /** Database instance import request. */ 2301 /** Database instance import request. */
2302 class InstancesImportRequest { 2302 class InstancesImportRequest {
2303 /** Contains details about the import operation. */ 2303 /** Contains details about the import operation. */
2304 ImportContext importContext; 2304 ImportContext importContext;
2305 2305
2306 InstancesImportRequest(); 2306 InstancesImportRequest();
2307 2307
2308 InstancesImportRequest.fromJson(core.Map _json) { 2308 InstancesImportRequest.fromJson(core.Map _json) {
2309 if (_json.containsKey("importContext")) { 2309 if (_json.containsKey("importContext")) {
2310 importContext = new ImportContext.fromJson(_json["importContext"]); 2310 importContext = new ImportContext.fromJson(_json["importContext"]);
2311 } 2311 }
2312 } 2312 }
2313 2313
2314 core.Map toJson() { 2314 core.Map<core.String, core.Object> toJson() {
2315 var _json = new core.Map(); 2315 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2316 if (importContext != null) { 2316 if (importContext != null) {
2317 _json["importContext"] = (importContext).toJson(); 2317 _json["importContext"] = (importContext).toJson();
2318 } 2318 }
2319 return _json; 2319 return _json;
2320 } 2320 }
2321 } 2321 }
2322 2322
2323 /** Database instance import response. */ 2323 /** Database instance import response. */
2324 class InstancesImportResponse { 2324 class InstancesImportResponse {
2325 /** This is always sql#instancesImport. */ 2325 /** This is always sql#instancesImport. */
2326 core.String kind; 2326 core.String kind;
2327 /** 2327 /**
2328 * An identifier that uniquely identifies the operation. You can use this 2328 * An identifier that uniquely identifies the operation. You can use this
2329 * identifier to retrieve the Operations resource that has information about 2329 * identifier to retrieve the Operations resource that has information about
2330 * the operation. 2330 * the operation.
2331 */ 2331 */
2332 core.String operation; 2332 core.String operation;
2333 2333
2334 InstancesImportResponse(); 2334 InstancesImportResponse();
2335 2335
2336 InstancesImportResponse.fromJson(core.Map _json) { 2336 InstancesImportResponse.fromJson(core.Map _json) {
2337 if (_json.containsKey("kind")) { 2337 if (_json.containsKey("kind")) {
2338 kind = _json["kind"]; 2338 kind = _json["kind"];
2339 } 2339 }
2340 if (_json.containsKey("operation")) { 2340 if (_json.containsKey("operation")) {
2341 operation = _json["operation"]; 2341 operation = _json["operation"];
2342 } 2342 }
2343 } 2343 }
2344 2344
2345 core.Map toJson() { 2345 core.Map<core.String, core.Object> toJson() {
2346 var _json = new core.Map(); 2346 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2347 if (kind != null) { 2347 if (kind != null) {
2348 _json["kind"] = kind; 2348 _json["kind"] = kind;
2349 } 2349 }
2350 if (operation != null) { 2350 if (operation != null) {
2351 _json["operation"] = operation; 2351 _json["operation"] = operation;
2352 } 2352 }
2353 return _json; 2353 return _json;
2354 } 2354 }
2355 } 2355 }
2356 2356
(...skipping 12 matching lines...) Expand all
2369 2369
2370 InstancesInsertResponse.fromJson(core.Map _json) { 2370 InstancesInsertResponse.fromJson(core.Map _json) {
2371 if (_json.containsKey("kind")) { 2371 if (_json.containsKey("kind")) {
2372 kind = _json["kind"]; 2372 kind = _json["kind"];
2373 } 2373 }
2374 if (_json.containsKey("operation")) { 2374 if (_json.containsKey("operation")) {
2375 operation = _json["operation"]; 2375 operation = _json["operation"];
2376 } 2376 }
2377 } 2377 }
2378 2378
2379 core.Map toJson() { 2379 core.Map<core.String, core.Object> toJson() {
2380 var _json = new core.Map(); 2380 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2381 if (kind != null) { 2381 if (kind != null) {
2382 _json["kind"] = kind; 2382 _json["kind"] = kind;
2383 } 2383 }
2384 if (operation != null) { 2384 if (operation != null) {
2385 _json["operation"] = operation; 2385 _json["operation"] = operation;
2386 } 2386 }
2387 return _json; 2387 return _json;
2388 } 2388 }
2389 } 2389 }
2390 2390
(...skipping 16 matching lines...) Expand all
2407 items = _json["items"].map((value) => new DatabaseInstance.fromJson(value) ).toList(); 2407 items = _json["items"].map((value) => new DatabaseInstance.fromJson(value) ).toList();
2408 } 2408 }
2409 if (_json.containsKey("kind")) { 2409 if (_json.containsKey("kind")) {
2410 kind = _json["kind"]; 2410 kind = _json["kind"];
2411 } 2411 }
2412 if (_json.containsKey("nextPageToken")) { 2412 if (_json.containsKey("nextPageToken")) {
2413 nextPageToken = _json["nextPageToken"]; 2413 nextPageToken = _json["nextPageToken"];
2414 } 2414 }
2415 } 2415 }
2416 2416
2417 core.Map toJson() { 2417 core.Map<core.String, core.Object> toJson() {
2418 var _json = new core.Map(); 2418 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2419 if (items != null) { 2419 if (items != null) {
2420 _json["items"] = items.map((value) => (value).toJson()).toList(); 2420 _json["items"] = items.map((value) => (value).toJson()).toList();
2421 } 2421 }
2422 if (kind != null) { 2422 if (kind != null) {
2423 _json["kind"] = kind; 2423 _json["kind"] = kind;
2424 } 2424 }
2425 if (nextPageToken != null) { 2425 if (nextPageToken != null) {
2426 _json["nextPageToken"] = nextPageToken; 2426 _json["nextPageToken"] = nextPageToken;
2427 } 2427 }
2428 return _json; 2428 return _json;
(...skipping 15 matching lines...) Expand all
2444 2444
2445 InstancesPromoteReplicaResponse.fromJson(core.Map _json) { 2445 InstancesPromoteReplicaResponse.fromJson(core.Map _json) {
2446 if (_json.containsKey("kind")) { 2446 if (_json.containsKey("kind")) {
2447 kind = _json["kind"]; 2447 kind = _json["kind"];
2448 } 2448 }
2449 if (_json.containsKey("operation")) { 2449 if (_json.containsKey("operation")) {
2450 operation = _json["operation"]; 2450 operation = _json["operation"];
2451 } 2451 }
2452 } 2452 }
2453 2453
2454 core.Map toJson() { 2454 core.Map<core.String, core.Object> toJson() {
2455 var _json = new core.Map(); 2455 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2456 if (kind != null) { 2456 if (kind != null) {
2457 _json["kind"] = kind; 2457 _json["kind"] = kind;
2458 } 2458 }
2459 if (operation != null) { 2459 if (operation != null) {
2460 _json["operation"] = operation; 2460 _json["operation"] = operation;
2461 } 2461 }
2462 return _json; 2462 return _json;
2463 } 2463 }
2464 } 2464 }
2465 2465
(...skipping 14 matching lines...) Expand all
2480 2480
2481 InstancesResetSslConfigResponse.fromJson(core.Map _json) { 2481 InstancesResetSslConfigResponse.fromJson(core.Map _json) {
2482 if (_json.containsKey("kind")) { 2482 if (_json.containsKey("kind")) {
2483 kind = _json["kind"]; 2483 kind = _json["kind"];
2484 } 2484 }
2485 if (_json.containsKey("operation")) { 2485 if (_json.containsKey("operation")) {
2486 operation = _json["operation"]; 2486 operation = _json["operation"];
2487 } 2487 }
2488 } 2488 }
2489 2489
2490 core.Map toJson() { 2490 core.Map<core.String, core.Object> toJson() {
2491 var _json = new core.Map(); 2491 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2492 if (kind != null) { 2492 if (kind != null) {
2493 _json["kind"] = kind; 2493 _json["kind"] = kind;
2494 } 2494 }
2495 if (operation != null) { 2495 if (operation != null) {
2496 _json["operation"] = operation; 2496 _json["operation"] = operation;
2497 } 2497 }
2498 return _json; 2498 return _json;
2499 } 2499 }
2500 } 2500 }
2501 2501
(...skipping 12 matching lines...) Expand all
2514 2514
2515 InstancesRestartResponse.fromJson(core.Map _json) { 2515 InstancesRestartResponse.fromJson(core.Map _json) {
2516 if (_json.containsKey("kind")) { 2516 if (_json.containsKey("kind")) {
2517 kind = _json["kind"]; 2517 kind = _json["kind"];
2518 } 2518 }
2519 if (_json.containsKey("operation")) { 2519 if (_json.containsKey("operation")) {
2520 operation = _json["operation"]; 2520 operation = _json["operation"];
2521 } 2521 }
2522 } 2522 }
2523 2523
2524 core.Map toJson() { 2524 core.Map<core.String, core.Object> toJson() {
2525 var _json = new core.Map(); 2525 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2526 if (kind != null) { 2526 if (kind != null) {
2527 _json["kind"] = kind; 2527 _json["kind"] = kind;
2528 } 2528 }
2529 if (operation != null) { 2529 if (operation != null) {
2530 _json["operation"] = operation; 2530 _json["operation"] = operation;
2531 } 2531 }
2532 return _json; 2532 return _json;
2533 } 2533 }
2534 } 2534 }
2535 2535
(...skipping 12 matching lines...) Expand all
2548 2548
2549 InstancesRestoreBackupResponse.fromJson(core.Map _json) { 2549 InstancesRestoreBackupResponse.fromJson(core.Map _json) {
2550 if (_json.containsKey("kind")) { 2550 if (_json.containsKey("kind")) {
2551 kind = _json["kind"]; 2551 kind = _json["kind"];
2552 } 2552 }
2553 if (_json.containsKey("operation")) { 2553 if (_json.containsKey("operation")) {
2554 operation = _json["operation"]; 2554 operation = _json["operation"];
2555 } 2555 }
2556 } 2556 }
2557 2557
2558 core.Map toJson() { 2558 core.Map<core.String, core.Object> toJson() {
2559 var _json = new core.Map(); 2559 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2560 if (kind != null) { 2560 if (kind != null) {
2561 _json["kind"] = kind; 2561 _json["kind"] = kind;
2562 } 2562 }
2563 if (operation != null) { 2563 if (operation != null) {
2564 _json["operation"] = operation; 2564 _json["operation"] = operation;
2565 } 2565 }
2566 return _json; 2566 return _json;
2567 } 2567 }
2568 } 2568 }
2569 2569
(...skipping 12 matching lines...) Expand all
2582 2582
2583 InstancesSetRootPasswordResponse.fromJson(core.Map _json) { 2583 InstancesSetRootPasswordResponse.fromJson(core.Map _json) {
2584 if (_json.containsKey("kind")) { 2584 if (_json.containsKey("kind")) {
2585 kind = _json["kind"]; 2585 kind = _json["kind"];
2586 } 2586 }
2587 if (_json.containsKey("operation")) { 2587 if (_json.containsKey("operation")) {
2588 operation = _json["operation"]; 2588 operation = _json["operation"];
2589 } 2589 }
2590 } 2590 }
2591 2591
2592 core.Map toJson() { 2592 core.Map<core.String, core.Object> toJson() {
2593 var _json = new core.Map(); 2593 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2594 if (kind != null) { 2594 if (kind != null) {
2595 _json["kind"] = kind; 2595 _json["kind"] = kind;
2596 } 2596 }
2597 if (operation != null) { 2597 if (operation != null) {
2598 _json["operation"] = operation; 2598 _json["operation"] = operation;
2599 } 2599 }
2600 return _json; 2600 return _json;
2601 } 2601 }
2602 } 2602 }
2603 2603
(...skipping 11 matching lines...) Expand all
2615 2615
2616 InstancesUpdateResponse.fromJson(core.Map _json) { 2616 InstancesUpdateResponse.fromJson(core.Map _json) {
2617 if (_json.containsKey("kind")) { 2617 if (_json.containsKey("kind")) {
2618 kind = _json["kind"]; 2618 kind = _json["kind"];
2619 } 2619 }
2620 if (_json.containsKey("operation")) { 2620 if (_json.containsKey("operation")) {
2621 operation = _json["operation"]; 2621 operation = _json["operation"];
2622 } 2622 }
2623 } 2623 }
2624 2624
2625 core.Map toJson() { 2625 core.Map<core.String, core.Object> toJson() {
2626 var _json = new core.Map(); 2626 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2627 if (kind != null) { 2627 if (kind != null) {
2628 _json["kind"] = kind; 2628 _json["kind"] = kind;
2629 } 2629 }
2630 if (operation != null) { 2630 if (operation != null) {
2631 _json["operation"] = operation; 2631 _json["operation"] = operation;
2632 } 2632 }
2633 return _json; 2633 return _json;
2634 } 2634 }
2635 } 2635 }
2636 2636
(...skipping 25 matching lines...) Expand all
2662 enabled = _json["enabled"]; 2662 enabled = _json["enabled"];
2663 } 2663 }
2664 if (_json.containsKey("kind")) { 2664 if (_json.containsKey("kind")) {
2665 kind = _json["kind"]; 2665 kind = _json["kind"];
2666 } 2666 }
2667 if (_json.containsKey("requireSsl")) { 2667 if (_json.containsKey("requireSsl")) {
2668 requireSsl = _json["requireSsl"]; 2668 requireSsl = _json["requireSsl"];
2669 } 2669 }
2670 } 2670 }
2671 2671
2672 core.Map toJson() { 2672 core.Map<core.String, core.Object> toJson() {
2673 var _json = new core.Map(); 2673 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2674 if (authorizedNetworks != null) { 2674 if (authorizedNetworks != null) {
2675 _json["authorizedNetworks"] = authorizedNetworks; 2675 _json["authorizedNetworks"] = authorizedNetworks;
2676 } 2676 }
2677 if (enabled != null) { 2677 if (enabled != null) {
2678 _json["enabled"] = enabled; 2678 _json["enabled"] = enabled;
2679 } 2679 }
2680 if (kind != null) { 2680 if (kind != null) {
2681 _json["kind"] = kind; 2681 _json["kind"] = kind;
2682 } 2682 }
2683 if (requireSsl != null) { 2683 if (requireSsl != null) {
(...skipping 18 matching lines...) Expand all
2702 2702
2703 IpMapping.fromJson(core.Map _json) { 2703 IpMapping.fromJson(core.Map _json) {
2704 if (_json.containsKey("ipAddress")) { 2704 if (_json.containsKey("ipAddress")) {
2705 ipAddress = _json["ipAddress"]; 2705 ipAddress = _json["ipAddress"];
2706 } 2706 }
2707 if (_json.containsKey("timeToRetire")) { 2707 if (_json.containsKey("timeToRetire")) {
2708 timeToRetire = core.DateTime.parse(_json["timeToRetire"]); 2708 timeToRetire = core.DateTime.parse(_json["timeToRetire"]);
2709 } 2709 }
2710 } 2710 }
2711 2711
2712 core.Map toJson() { 2712 core.Map<core.String, core.Object> toJson() {
2713 var _json = new core.Map(); 2713 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2714 if (ipAddress != null) { 2714 if (ipAddress != null) {
2715 _json["ipAddress"] = ipAddress; 2715 _json["ipAddress"] = ipAddress;
2716 } 2716 }
2717 if (timeToRetire != null) { 2717 if (timeToRetire != null) {
2718 _json["timeToRetire"] = (timeToRetire).toIso8601String(); 2718 _json["timeToRetire"] = (timeToRetire).toIso8601String();
2719 } 2719 }
2720 return _json; 2720 return _json;
2721 } 2721 }
2722 } 2722 }
2723 2723
(...skipping 24 matching lines...) Expand all
2748 followGaeApplication = _json["followGaeApplication"]; 2748 followGaeApplication = _json["followGaeApplication"];
2749 } 2749 }
2750 if (_json.containsKey("kind")) { 2750 if (_json.containsKey("kind")) {
2751 kind = _json["kind"]; 2751 kind = _json["kind"];
2752 } 2752 }
2753 if (_json.containsKey("zone")) { 2753 if (_json.containsKey("zone")) {
2754 zone = _json["zone"]; 2754 zone = _json["zone"];
2755 } 2755 }
2756 } 2756 }
2757 2757
2758 core.Map toJson() { 2758 core.Map<core.String, core.Object> toJson() {
2759 var _json = new core.Map(); 2759 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2760 if (followGaeApplication != null) { 2760 if (followGaeApplication != null) {
2761 _json["followGaeApplication"] = followGaeApplication; 2761 _json["followGaeApplication"] = followGaeApplication;
2762 } 2762 }
2763 if (kind != null) { 2763 if (kind != null) {
2764 _json["kind"] = kind; 2764 _json["kind"] = kind;
2765 } 2765 }
2766 if (zone != null) { 2766 if (zone != null) {
2767 _json["zone"] = zone; 2767 _json["zone"] = zone;
2768 } 2768 }
2769 return _json; 2769 return _json;
(...skipping 11 matching lines...) Expand all
2781 2781
2782 OperationError.fromJson(core.Map _json) { 2782 OperationError.fromJson(core.Map _json) {
2783 if (_json.containsKey("code")) { 2783 if (_json.containsKey("code")) {
2784 code = _json["code"]; 2784 code = _json["code"];
2785 } 2785 }
2786 if (_json.containsKey("kind")) { 2786 if (_json.containsKey("kind")) {
2787 kind = _json["kind"]; 2787 kind = _json["kind"];
2788 } 2788 }
2789 } 2789 }
2790 2790
2791 core.Map toJson() { 2791 core.Map<core.String, core.Object> toJson() {
2792 var _json = new core.Map(); 2792 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2793 if (code != null) { 2793 if (code != null) {
2794 _json["code"] = code; 2794 _json["code"] = code;
2795 } 2795 }
2796 if (kind != null) { 2796 if (kind != null) {
2797 _json["kind"] = kind; 2797 _json["kind"] = kind;
2798 } 2798 }
2799 return _json; 2799 return _json;
2800 } 2800 }
2801 } 2801 }
2802 2802
(...skipping 16 matching lines...) Expand all
2819 items = _json["items"].map((value) => new InstanceOperation.fromJson(value )).toList(); 2819 items = _json["items"].map((value) => new InstanceOperation.fromJson(value )).toList();
2820 } 2820 }
2821 if (_json.containsKey("kind")) { 2821 if (_json.containsKey("kind")) {
2822 kind = _json["kind"]; 2822 kind = _json["kind"];
2823 } 2823 }
2824 if (_json.containsKey("nextPageToken")) { 2824 if (_json.containsKey("nextPageToken")) {
2825 nextPageToken = _json["nextPageToken"]; 2825 nextPageToken = _json["nextPageToken"];
2826 } 2826 }
2827 } 2827 }
2828 2828
2829 core.Map toJson() { 2829 core.Map<core.String, core.Object> toJson() {
2830 var _json = new core.Map(); 2830 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2831 if (items != null) { 2831 if (items != null) {
2832 _json["items"] = items.map((value) => (value).toJson()).toList(); 2832 _json["items"] = items.map((value) => (value).toJson()).toList();
2833 } 2833 }
2834 if (kind != null) { 2834 if (kind != null) {
2835 _json["kind"] = kind; 2835 _json["kind"] = kind;
2836 } 2836 }
2837 if (nextPageToken != null) { 2837 if (nextPageToken != null) {
2838 _json["nextPageToken"] = nextPageToken; 2838 _json["nextPageToken"] = nextPageToken;
2839 } 2839 }
2840 return _json; 2840 return _json;
(...skipping 11 matching lines...) Expand all
2852 2852
2853 SetRootPasswordContext.fromJson(core.Map _json) { 2853 SetRootPasswordContext.fromJson(core.Map _json) {
2854 if (_json.containsKey("kind")) { 2854 if (_json.containsKey("kind")) {
2855 kind = _json["kind"]; 2855 kind = _json["kind"];
2856 } 2856 }
2857 if (_json.containsKey("password")) { 2857 if (_json.containsKey("password")) {
2858 password = _json["password"]; 2858 password = _json["password"];
2859 } 2859 }
2860 } 2860 }
2861 2861
2862 core.Map toJson() { 2862 core.Map<core.String, core.Object> toJson() {
2863 var _json = new core.Map(); 2863 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2864 if (kind != null) { 2864 if (kind != null) {
2865 _json["kind"] = kind; 2865 _json["kind"] = kind;
2866 } 2866 }
2867 if (password != null) { 2867 if (password != null) {
2868 _json["password"] = password; 2868 _json["password"] = password;
2869 } 2869 }
2870 return _json; 2870 return _json;
2871 } 2871 }
2872 } 2872 }
2873 2873
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
2962 replicationType = _json["replicationType"]; 2962 replicationType = _json["replicationType"];
2963 } 2963 }
2964 if (_json.containsKey("settingsVersion")) { 2964 if (_json.containsKey("settingsVersion")) {
2965 settingsVersion = _json["settingsVersion"]; 2965 settingsVersion = _json["settingsVersion"];
2966 } 2966 }
2967 if (_json.containsKey("tier")) { 2967 if (_json.containsKey("tier")) {
2968 tier = _json["tier"]; 2968 tier = _json["tier"];
2969 } 2969 }
2970 } 2970 }
2971 2971
2972 core.Map toJson() { 2972 core.Map<core.String, core.Object> toJson() {
2973 var _json = new core.Map(); 2973 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2974 if (activationPolicy != null) { 2974 if (activationPolicy != null) {
2975 _json["activationPolicy"] = activationPolicy; 2975 _json["activationPolicy"] = activationPolicy;
2976 } 2976 }
2977 if (authorizedGaeApplications != null) { 2977 if (authorizedGaeApplications != null) {
2978 _json["authorizedGaeApplications"] = authorizedGaeApplications; 2978 _json["authorizedGaeApplications"] = authorizedGaeApplications;
2979 } 2979 }
2980 if (backupConfiguration != null) { 2980 if (backupConfiguration != null) {
2981 _json["backupConfiguration"] = backupConfiguration.map((value) => (value). toJson()).toList(); 2981 _json["backupConfiguration"] = backupConfiguration.map((value) => (value). toJson()).toList();
2982 } 2982 }
2983 if (databaseFlags != null) { 2983 if (databaseFlags != null) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 instance = _json["instance"]; 3052 instance = _json["instance"];
3053 } 3053 }
3054 if (_json.containsKey("kind")) { 3054 if (_json.containsKey("kind")) {
3055 kind = _json["kind"]; 3055 kind = _json["kind"];
3056 } 3056 }
3057 if (_json.containsKey("sha1Fingerprint")) { 3057 if (_json.containsKey("sha1Fingerprint")) {
3058 sha1Fingerprint = _json["sha1Fingerprint"]; 3058 sha1Fingerprint = _json["sha1Fingerprint"];
3059 } 3059 }
3060 } 3060 }
3061 3061
3062 core.Map toJson() { 3062 core.Map<core.String, core.Object> toJson() {
3063 var _json = new core.Map(); 3063 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3064 if (cert != null) { 3064 if (cert != null) {
3065 _json["cert"] = cert; 3065 _json["cert"] = cert;
3066 } 3066 }
3067 if (certSerialNumber != null) { 3067 if (certSerialNumber != null) {
3068 _json["certSerialNumber"] = certSerialNumber; 3068 _json["certSerialNumber"] = certSerialNumber;
3069 } 3069 }
3070 if (commonName != null) { 3070 if (commonName != null) {
3071 _json["commonName"] = commonName; 3071 _json["commonName"] = commonName;
3072 } 3072 }
3073 if (createTime != null) { 3073 if (createTime != null) {
(...skipping 29 matching lines...) Expand all
3103 3103
3104 SslCertDetail.fromJson(core.Map _json) { 3104 SslCertDetail.fromJson(core.Map _json) {
3105 if (_json.containsKey("certInfo")) { 3105 if (_json.containsKey("certInfo")) {
3106 certInfo = new SslCert.fromJson(_json["certInfo"]); 3106 certInfo = new SslCert.fromJson(_json["certInfo"]);
3107 } 3107 }
3108 if (_json.containsKey("certPrivateKey")) { 3108 if (_json.containsKey("certPrivateKey")) {
3109 certPrivateKey = _json["certPrivateKey"]; 3109 certPrivateKey = _json["certPrivateKey"];
3110 } 3110 }
3111 } 3111 }
3112 3112
3113 core.Map toJson() { 3113 core.Map<core.String, core.Object> toJson() {
3114 var _json = new core.Map(); 3114 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3115 if (certInfo != null) { 3115 if (certInfo != null) {
3116 _json["certInfo"] = (certInfo).toJson(); 3116 _json["certInfo"] = (certInfo).toJson();
3117 } 3117 }
3118 if (certPrivateKey != null) { 3118 if (certPrivateKey != null) {
3119 _json["certPrivateKey"] = certPrivateKey; 3119 _json["certPrivateKey"] = certPrivateKey;
3120 } 3120 }
3121 return _json; 3121 return _json;
3122 } 3122 }
3123 } 3123 }
3124 3124
(...skipping 12 matching lines...) Expand all
3137 3137
3138 SslCertsDeleteResponse.fromJson(core.Map _json) { 3138 SslCertsDeleteResponse.fromJson(core.Map _json) {
3139 if (_json.containsKey("kind")) { 3139 if (_json.containsKey("kind")) {
3140 kind = _json["kind"]; 3140 kind = _json["kind"];
3141 } 3141 }
3142 if (_json.containsKey("operation")) { 3142 if (_json.containsKey("operation")) {
3143 operation = _json["operation"]; 3143 operation = _json["operation"];
3144 } 3144 }
3145 } 3145 }
3146 3146
3147 core.Map toJson() { 3147 core.Map<core.String, core.Object> toJson() {
3148 var _json = new core.Map(); 3148 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3149 if (kind != null) { 3149 if (kind != null) {
3150 _json["kind"] = kind; 3150 _json["kind"] = kind;
3151 } 3151 }
3152 if (operation != null) { 3152 if (operation != null) {
3153 _json["operation"] = operation; 3153 _json["operation"] = operation;
3154 } 3154 }
3155 return _json; 3155 return _json;
3156 } 3156 }
3157 } 3157 }
3158 3158
3159 /** SslCerts insert request. */ 3159 /** SslCerts insert request. */
3160 class SslCertsInsertRequest { 3160 class SslCertsInsertRequest {
3161 /** 3161 /**
3162 * User supplied name. Must be a distinct name from the other certificates for 3162 * User supplied name. Must be a distinct name from the other certificates for
3163 * this instance. New certificates will not be usable until the instance is 3163 * this instance. New certificates will not be usable until the instance is
3164 * restarted. 3164 * restarted.
3165 */ 3165 */
3166 core.String commonName; 3166 core.String commonName;
3167 3167
3168 SslCertsInsertRequest(); 3168 SslCertsInsertRequest();
3169 3169
3170 SslCertsInsertRequest.fromJson(core.Map _json) { 3170 SslCertsInsertRequest.fromJson(core.Map _json) {
3171 if (_json.containsKey("commonName")) { 3171 if (_json.containsKey("commonName")) {
3172 commonName = _json["commonName"]; 3172 commonName = _json["commonName"];
3173 } 3173 }
3174 } 3174 }
3175 3175
3176 core.Map toJson() { 3176 core.Map<core.String, core.Object> toJson() {
3177 var _json = new core.Map(); 3177 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3178 if (commonName != null) { 3178 if (commonName != null) {
3179 _json["commonName"] = commonName; 3179 _json["commonName"] = commonName;
3180 } 3180 }
3181 return _json; 3181 return _json;
3182 } 3182 }
3183 } 3183 }
3184 3184
3185 /** SslCert insert response. */ 3185 /** SslCert insert response. */
3186 class SslCertsInsertResponse { 3186 class SslCertsInsertResponse {
3187 /** 3187 /**
(...skipping 17 matching lines...) Expand all
3205 clientCert = new SslCertDetail.fromJson(_json["clientCert"]); 3205 clientCert = new SslCertDetail.fromJson(_json["clientCert"]);
3206 } 3206 }
3207 if (_json.containsKey("kind")) { 3207 if (_json.containsKey("kind")) {
3208 kind = _json["kind"]; 3208 kind = _json["kind"];
3209 } 3209 }
3210 if (_json.containsKey("serverCaCert")) { 3210 if (_json.containsKey("serverCaCert")) {
3211 serverCaCert = new SslCert.fromJson(_json["serverCaCert"]); 3211 serverCaCert = new SslCert.fromJson(_json["serverCaCert"]);
3212 } 3212 }
3213 } 3213 }
3214 3214
3215 core.Map toJson() { 3215 core.Map<core.String, core.Object> toJson() {
3216 var _json = new core.Map(); 3216 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3217 if (clientCert != null) { 3217 if (clientCert != null) {
3218 _json["clientCert"] = (clientCert).toJson(); 3218 _json["clientCert"] = (clientCert).toJson();
3219 } 3219 }
3220 if (kind != null) { 3220 if (kind != null) {
3221 _json["kind"] = kind; 3221 _json["kind"] = kind;
3222 } 3222 }
3223 if (serverCaCert != null) { 3223 if (serverCaCert != null) {
3224 _json["serverCaCert"] = (serverCaCert).toJson(); 3224 _json["serverCaCert"] = (serverCaCert).toJson();
3225 } 3225 }
3226 return _json; 3226 return _json;
(...skipping 11 matching lines...) Expand all
3238 3238
3239 SslCertsListResponse.fromJson(core.Map _json) { 3239 SslCertsListResponse.fromJson(core.Map _json) {
3240 if (_json.containsKey("items")) { 3240 if (_json.containsKey("items")) {
3241 items = _json["items"].map((value) => new SslCert.fromJson(value)).toList( ); 3241 items = _json["items"].map((value) => new SslCert.fromJson(value)).toList( );
3242 } 3242 }
3243 if (_json.containsKey("kind")) { 3243 if (_json.containsKey("kind")) {
3244 kind = _json["kind"]; 3244 kind = _json["kind"];
3245 } 3245 }
3246 } 3246 }
3247 3247
3248 core.Map toJson() { 3248 core.Map<core.String, core.Object> toJson() {
3249 var _json = new core.Map(); 3249 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3250 if (items != null) { 3250 if (items != null) {
3251 _json["items"] = items.map((value) => (value).toJson()).toList(); 3251 _json["items"] = items.map((value) => (value).toJson()).toList();
3252 } 3252 }
3253 if (kind != null) { 3253 if (kind != null) {
3254 _json["kind"] = kind; 3254 _json["kind"] = kind;
3255 } 3255 }
3256 return _json; 3256 return _json;
3257 } 3257 }
3258 } 3258 }
3259 3259
(...skipping 26 matching lines...) Expand all
3286 kind = _json["kind"]; 3286 kind = _json["kind"];
3287 } 3287 }
3288 if (_json.containsKey("region")) { 3288 if (_json.containsKey("region")) {
3289 region = _json["region"]; 3289 region = _json["region"];
3290 } 3290 }
3291 if (_json.containsKey("tier")) { 3291 if (_json.containsKey("tier")) {
3292 tier = _json["tier"]; 3292 tier = _json["tier"];
3293 } 3293 }
3294 } 3294 }
3295 3295
3296 core.Map toJson() { 3296 core.Map<core.String, core.Object> toJson() {
3297 var _json = new core.Map(); 3297 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3298 if (DiskQuota != null) { 3298 if (DiskQuota != null) {
3299 _json["DiskQuota"] = DiskQuota; 3299 _json["DiskQuota"] = DiskQuota;
3300 } 3300 }
3301 if (RAM != null) { 3301 if (RAM != null) {
3302 _json["RAM"] = RAM; 3302 _json["RAM"] = RAM;
3303 } 3303 }
3304 if (kind != null) { 3304 if (kind != null) {
3305 _json["kind"] = kind; 3305 _json["kind"] = kind;
3306 } 3306 }
3307 if (region != null) { 3307 if (region != null) {
(...skipping 17 matching lines...) Expand all
3325 3325
3326 TiersListResponse.fromJson(core.Map _json) { 3326 TiersListResponse.fromJson(core.Map _json) {
3327 if (_json.containsKey("items")) { 3327 if (_json.containsKey("items")) {
3328 items = _json["items"].map((value) => new Tier.fromJson(value)).toList(); 3328 items = _json["items"].map((value) => new Tier.fromJson(value)).toList();
3329 } 3329 }
3330 if (_json.containsKey("kind")) { 3330 if (_json.containsKey("kind")) {
3331 kind = _json["kind"]; 3331 kind = _json["kind"];
3332 } 3332 }
3333 } 3333 }
3334 3334
3335 core.Map toJson() { 3335 core.Map<core.String, core.Object> toJson() {
3336 var _json = new core.Map(); 3336 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3337 if (items != null) { 3337 if (items != null) {
3338 _json["items"] = items.map((value) => (value).toJson()).toList(); 3338 _json["items"] = items.map((value) => (value).toJson()).toList();
3339 } 3339 }
3340 if (kind != null) { 3340 if (kind != null) {
3341 _json["kind"] = kind; 3341 _json["kind"] = kind;
3342 } 3342 }
3343 return _json; 3343 return _json;
3344 } 3344 }
3345 } 3345 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/speech/v1beta1.dart ('k') | generated/googleapis_beta/lib/sqladmin/v1beta4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698