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

Side by Side Diff: generated/googleapis/lib/deploymentmanager/v2.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.deploymentmanager.v2; 3 library googleapis.deploymentmanager.v2;
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 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 auditLogConfigs = _json["auditLogConfigs"].map((value) => new AuditLogConf ig.fromJson(value)).toList(); 1380 auditLogConfigs = _json["auditLogConfigs"].map((value) => new AuditLogConf ig.fromJson(value)).toList();
1381 } 1381 }
1382 if (_json.containsKey("exemptedMembers")) { 1382 if (_json.containsKey("exemptedMembers")) {
1383 exemptedMembers = _json["exemptedMembers"]; 1383 exemptedMembers = _json["exemptedMembers"];
1384 } 1384 }
1385 if (_json.containsKey("service")) { 1385 if (_json.containsKey("service")) {
1386 service = _json["service"]; 1386 service = _json["service"];
1387 } 1387 }
1388 } 1388 }
1389 1389
1390 core.Map toJson() { 1390 core.Map<core.String, core.Object> toJson() {
1391 var _json = new core.Map(); 1391 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1392 if (auditLogConfigs != null) { 1392 if (auditLogConfigs != null) {
1393 _json["auditLogConfigs"] = auditLogConfigs.map((value) => (value).toJson() ).toList(); 1393 _json["auditLogConfigs"] = auditLogConfigs.map((value) => (value).toJson() ).toList();
1394 } 1394 }
1395 if (exemptedMembers != null) { 1395 if (exemptedMembers != null) {
1396 _json["exemptedMembers"] = exemptedMembers; 1396 _json["exemptedMembers"] = exemptedMembers;
1397 } 1397 }
1398 if (service != null) { 1398 if (service != null) {
1399 _json["service"] = service; 1399 _json["service"] = service;
1400 } 1400 }
1401 return _json; 1401 return _json;
(...skipping 22 matching lines...) Expand all
1424 1424
1425 AuditLogConfig.fromJson(core.Map _json) { 1425 AuditLogConfig.fromJson(core.Map _json) {
1426 if (_json.containsKey("exemptedMembers")) { 1426 if (_json.containsKey("exemptedMembers")) {
1427 exemptedMembers = _json["exemptedMembers"]; 1427 exemptedMembers = _json["exemptedMembers"];
1428 } 1428 }
1429 if (_json.containsKey("logType")) { 1429 if (_json.containsKey("logType")) {
1430 logType = _json["logType"]; 1430 logType = _json["logType"];
1431 } 1431 }
1432 } 1432 }
1433 1433
1434 core.Map toJson() { 1434 core.Map<core.String, core.Object> toJson() {
1435 var _json = new core.Map(); 1435 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1436 if (exemptedMembers != null) { 1436 if (exemptedMembers != null) {
1437 _json["exemptedMembers"] = exemptedMembers; 1437 _json["exemptedMembers"] = exemptedMembers;
1438 } 1438 }
1439 if (logType != null) { 1439 if (logType != null) {
1440 _json["logType"] = logType; 1440 _json["logType"] = logType;
1441 } 1441 }
1442 return _json; 1442 return _json;
1443 } 1443 }
1444 } 1444 }
1445 1445
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 1480
1481 Binding.fromJson(core.Map _json) { 1481 Binding.fromJson(core.Map _json) {
1482 if (_json.containsKey("members")) { 1482 if (_json.containsKey("members")) {
1483 members = _json["members"]; 1483 members = _json["members"];
1484 } 1484 }
1485 if (_json.containsKey("role")) { 1485 if (_json.containsKey("role")) {
1486 role = _json["role"]; 1486 role = _json["role"];
1487 } 1487 }
1488 } 1488 }
1489 1489
1490 core.Map toJson() { 1490 core.Map<core.String, core.Object> toJson() {
1491 var _json = new core.Map(); 1491 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1492 if (members != null) { 1492 if (members != null) {
1493 _json["members"] = members; 1493 _json["members"] = members;
1494 } 1494 }
1495 if (role != null) { 1495 if (role != null) {
1496 _json["role"] = role; 1496 _json["role"] = role;
1497 } 1497 }
1498 return _json; 1498 return _json;
1499 } 1499 }
1500 } 1500 }
1501 1501
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 sys = _json["sys"]; 1533 sys = _json["sys"];
1534 } 1534 }
1535 if (_json.containsKey("value")) { 1535 if (_json.containsKey("value")) {
1536 value = _json["value"]; 1536 value = _json["value"];
1537 } 1537 }
1538 if (_json.containsKey("values")) { 1538 if (_json.containsKey("values")) {
1539 values = _json["values"]; 1539 values = _json["values"];
1540 } 1540 }
1541 } 1541 }
1542 1542
1543 core.Map toJson() { 1543 core.Map<core.String, core.Object> toJson() {
1544 var _json = new core.Map(); 1544 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1545 if (iam != null) { 1545 if (iam != null) {
1546 _json["iam"] = iam; 1546 _json["iam"] = iam;
1547 } 1547 }
1548 if (op != null) { 1548 if (op != null) {
1549 _json["op"] = op; 1549 _json["op"] = op;
1550 } 1550 }
1551 if (svc != null) { 1551 if (svc != null) {
1552 _json["svc"] = svc; 1552 _json["svc"] = svc;
1553 } 1553 }
1554 if (sys != null) { 1554 if (sys != null) {
(...skipping 14 matching lines...) Expand all
1569 core.String content; 1569 core.String content;
1570 1570
1571 ConfigFile(); 1571 ConfigFile();
1572 1572
1573 ConfigFile.fromJson(core.Map _json) { 1573 ConfigFile.fromJson(core.Map _json) {
1574 if (_json.containsKey("content")) { 1574 if (_json.containsKey("content")) {
1575 content = _json["content"]; 1575 content = _json["content"];
1576 } 1576 }
1577 } 1577 }
1578 1578
1579 core.Map toJson() { 1579 core.Map<core.String, core.Object> toJson() {
1580 var _json = new core.Map(); 1580 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1581 if (content != null) { 1581 if (content != null) {
1582 _json["content"] = content; 1582 _json["content"] = content;
1583 } 1583 }
1584 return _json; 1584 return _json;
1585 } 1585 }
1586 } 1586 }
1587 1587
1588 class Deployment { 1588 class Deployment {
1589 /** An optional user-provided description of the deployment. */ 1589 /** An optional user-provided description of the deployment. */
1590 core.String description; 1590 core.String description;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 selfLink = _json["selfLink"]; 1689 selfLink = _json["selfLink"];
1690 } 1690 }
1691 if (_json.containsKey("target")) { 1691 if (_json.containsKey("target")) {
1692 target = new TargetConfiguration.fromJson(_json["target"]); 1692 target = new TargetConfiguration.fromJson(_json["target"]);
1693 } 1693 }
1694 if (_json.containsKey("update")) { 1694 if (_json.containsKey("update")) {
1695 update = new DeploymentUpdate.fromJson(_json["update"]); 1695 update = new DeploymentUpdate.fromJson(_json["update"]);
1696 } 1696 }
1697 } 1697 }
1698 1698
1699 core.Map toJson() { 1699 core.Map<core.String, core.Object> toJson() {
1700 var _json = new core.Map(); 1700 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1701 if (description != null) { 1701 if (description != null) {
1702 _json["description"] = description; 1702 _json["description"] = description;
1703 } 1703 }
1704 if (fingerprint != null) { 1704 if (fingerprint != null) {
1705 _json["fingerprint"] = fingerprint; 1705 _json["fingerprint"] = fingerprint;
1706 } 1706 }
1707 if (id != null) { 1707 if (id != null) {
1708 _json["id"] = id; 1708 _json["id"] = id;
1709 } 1709 }
1710 if (insertTime != null) { 1710 if (insertTime != null) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1743 1743
1744 DeploymentLabelEntry.fromJson(core.Map _json) { 1744 DeploymentLabelEntry.fromJson(core.Map _json) {
1745 if (_json.containsKey("key")) { 1745 if (_json.containsKey("key")) {
1746 key = _json["key"]; 1746 key = _json["key"];
1747 } 1747 }
1748 if (_json.containsKey("value")) { 1748 if (_json.containsKey("value")) {
1749 value = _json["value"]; 1749 value = _json["value"];
1750 } 1750 }
1751 } 1751 }
1752 1752
1753 core.Map toJson() { 1753 core.Map<core.String, core.Object> toJson() {
1754 var _json = new core.Map(); 1754 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1755 if (key != null) { 1755 if (key != null) {
1756 _json["key"] = key; 1756 _json["key"] = key;
1757 } 1757 }
1758 if (value != null) { 1758 if (value != null) {
1759 _json["value"] = value; 1759 _json["value"] = value;
1760 } 1760 }
1761 return _json; 1761 return _json;
1762 } 1762 }
1763 } 1763 }
1764 1764
(...skipping 25 matching lines...) Expand all
1790 description = _json["description"]; 1790 description = _json["description"];
1791 } 1791 }
1792 if (_json.containsKey("labels")) { 1792 if (_json.containsKey("labels")) {
1793 labels = _json["labels"].map((value) => new DeploymentUpdateLabelEntry.fro mJson(value)).toList(); 1793 labels = _json["labels"].map((value) => new DeploymentUpdateLabelEntry.fro mJson(value)).toList();
1794 } 1794 }
1795 if (_json.containsKey("manifest")) { 1795 if (_json.containsKey("manifest")) {
1796 manifest = _json["manifest"]; 1796 manifest = _json["manifest"];
1797 } 1797 }
1798 } 1798 }
1799 1799
1800 core.Map toJson() { 1800 core.Map<core.String, core.Object> toJson() {
1801 var _json = new core.Map(); 1801 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1802 if (description != null) { 1802 if (description != null) {
1803 _json["description"] = description; 1803 _json["description"] = description;
1804 } 1804 }
1805 if (labels != null) { 1805 if (labels != null) {
1806 _json["labels"] = labels.map((value) => (value).toJson()).toList(); 1806 _json["labels"] = labels.map((value) => (value).toJson()).toList();
1807 } 1807 }
1808 if (manifest != null) { 1808 if (manifest != null) {
1809 _json["manifest"] = manifest; 1809 _json["manifest"] = manifest;
1810 } 1810 }
1811 return _json; 1811 return _json;
1812 } 1812 }
1813 } 1813 }
1814 1814
1815 class DeploymentUpdateLabelEntry { 1815 class DeploymentUpdateLabelEntry {
1816 core.String key; 1816 core.String key;
1817 core.String value; 1817 core.String value;
1818 1818
1819 DeploymentUpdateLabelEntry(); 1819 DeploymentUpdateLabelEntry();
1820 1820
1821 DeploymentUpdateLabelEntry.fromJson(core.Map _json) { 1821 DeploymentUpdateLabelEntry.fromJson(core.Map _json) {
1822 if (_json.containsKey("key")) { 1822 if (_json.containsKey("key")) {
1823 key = _json["key"]; 1823 key = _json["key"];
1824 } 1824 }
1825 if (_json.containsKey("value")) { 1825 if (_json.containsKey("value")) {
1826 value = _json["value"]; 1826 value = _json["value"];
1827 } 1827 }
1828 } 1828 }
1829 1829
1830 core.Map toJson() { 1830 core.Map<core.String, core.Object> toJson() {
1831 var _json = new core.Map(); 1831 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1832 if (key != null) { 1832 if (key != null) {
1833 _json["key"] = key; 1833 _json["key"] = key;
1834 } 1834 }
1835 if (value != null) { 1835 if (value != null) {
1836 _json["value"] = value; 1836 _json["value"] = value;
1837 } 1837 }
1838 return _json; 1838 return _json;
1839 } 1839 }
1840 } 1840 }
1841 1841
(...skipping 20 matching lines...) Expand all
1862 } 1862 }
1863 1863
1864 DeploymentsCancelPreviewRequest(); 1864 DeploymentsCancelPreviewRequest();
1865 1865
1866 DeploymentsCancelPreviewRequest.fromJson(core.Map _json) { 1866 DeploymentsCancelPreviewRequest.fromJson(core.Map _json) {
1867 if (_json.containsKey("fingerprint")) { 1867 if (_json.containsKey("fingerprint")) {
1868 fingerprint = _json["fingerprint"]; 1868 fingerprint = _json["fingerprint"];
1869 } 1869 }
1870 } 1870 }
1871 1871
1872 core.Map toJson() { 1872 core.Map<core.String, core.Object> toJson() {
1873 var _json = new core.Map(); 1873 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1874 if (fingerprint != null) { 1874 if (fingerprint != null) {
1875 _json["fingerprint"] = fingerprint; 1875 _json["fingerprint"] = fingerprint;
1876 } 1876 }
1877 return _json; 1877 return _json;
1878 } 1878 }
1879 } 1879 }
1880 1880
1881 /** 1881 /**
1882 * A response containing a partial list of deployments and a page token used to 1882 * A response containing a partial list of deployments and a page token used to
1883 * build the next request if the request has been truncated. 1883 * build the next request if the request has been truncated.
1884 */ 1884 */
1885 class DeploymentsListResponse { 1885 class DeploymentsListResponse {
1886 /** [Output Only] The deployments contained in this response. */ 1886 /** [Output Only] The deployments contained in this response. */
1887 core.List<Deployment> deployments; 1887 core.List<Deployment> deployments;
1888 /** [Output Only] A token used to continue a truncated list request. */ 1888 /** [Output Only] A token used to continue a truncated list request. */
1889 core.String nextPageToken; 1889 core.String nextPageToken;
1890 1890
1891 DeploymentsListResponse(); 1891 DeploymentsListResponse();
1892 1892
1893 DeploymentsListResponse.fromJson(core.Map _json) { 1893 DeploymentsListResponse.fromJson(core.Map _json) {
1894 if (_json.containsKey("deployments")) { 1894 if (_json.containsKey("deployments")) {
1895 deployments = _json["deployments"].map((value) => new Deployment.fromJson( value)).toList(); 1895 deployments = _json["deployments"].map((value) => new Deployment.fromJson( value)).toList();
1896 } 1896 }
1897 if (_json.containsKey("nextPageToken")) { 1897 if (_json.containsKey("nextPageToken")) {
1898 nextPageToken = _json["nextPageToken"]; 1898 nextPageToken = _json["nextPageToken"];
1899 } 1899 }
1900 } 1900 }
1901 1901
1902 core.Map toJson() { 1902 core.Map<core.String, core.Object> toJson() {
1903 var _json = new core.Map(); 1903 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1904 if (deployments != null) { 1904 if (deployments != null) {
1905 _json["deployments"] = deployments.map((value) => (value).toJson()).toList (); 1905 _json["deployments"] = deployments.map((value) => (value).toJson()).toList ();
1906 } 1906 }
1907 if (nextPageToken != null) { 1907 if (nextPageToken != null) {
1908 _json["nextPageToken"] = nextPageToken; 1908 _json["nextPageToken"] = nextPageToken;
1909 } 1909 }
1910 return _json; 1910 return _json;
1911 } 1911 }
1912 } 1912 }
1913 1913
(...skipping 20 matching lines...) Expand all
1934 } 1934 }
1935 1935
1936 DeploymentsStopRequest(); 1936 DeploymentsStopRequest();
1937 1937
1938 DeploymentsStopRequest.fromJson(core.Map _json) { 1938 DeploymentsStopRequest.fromJson(core.Map _json) {
1939 if (_json.containsKey("fingerprint")) { 1939 if (_json.containsKey("fingerprint")) {
1940 fingerprint = _json["fingerprint"]; 1940 fingerprint = _json["fingerprint"];
1941 } 1941 }
1942 } 1942 }
1943 1943
1944 core.Map toJson() { 1944 core.Map<core.String, core.Object> toJson() {
1945 var _json = new core.Map(); 1945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1946 if (fingerprint != null) { 1946 if (fingerprint != null) {
1947 _json["fingerprint"] = fingerprint; 1947 _json["fingerprint"] = fingerprint;
1948 } 1948 }
1949 return _json; 1949 return _json;
1950 } 1950 }
1951 } 1951 }
1952 1952
1953 class ImportFile { 1953 class ImportFile {
1954 /** The contents of the file. */ 1954 /** The contents of the file. */
1955 core.String content; 1955 core.String content;
1956 /** The name of the file. */ 1956 /** The name of the file. */
1957 core.String name; 1957 core.String name;
1958 1958
1959 ImportFile(); 1959 ImportFile();
1960 1960
1961 ImportFile.fromJson(core.Map _json) { 1961 ImportFile.fromJson(core.Map _json) {
1962 if (_json.containsKey("content")) { 1962 if (_json.containsKey("content")) {
1963 content = _json["content"]; 1963 content = _json["content"];
1964 } 1964 }
1965 if (_json.containsKey("name")) { 1965 if (_json.containsKey("name")) {
1966 name = _json["name"]; 1966 name = _json["name"];
1967 } 1967 }
1968 } 1968 }
1969 1969
1970 core.Map toJson() { 1970 core.Map<core.String, core.Object> toJson() {
1971 var _json = new core.Map(); 1971 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1972 if (content != null) { 1972 if (content != null) {
1973 _json["content"] = content; 1973 _json["content"] = content;
1974 } 1974 }
1975 if (name != null) { 1975 if (name != null) {
1976 _json["name"] = name; 1976 _json["name"] = name;
1977 } 1977 }
1978 return _json; 1978 return _json;
1979 } 1979 }
1980 } 1980 }
1981 1981
1982 /** Specifies what kind of log the caller must write */ 1982 /** Specifies what kind of log the caller must write */
1983 class LogConfig { 1983 class LogConfig {
1984 /** Counter options. */ 1984 /** Counter options. */
1985 LogConfigCounterOptions counter; 1985 LogConfigCounterOptions counter;
1986 1986
1987 LogConfig(); 1987 LogConfig();
1988 1988
1989 LogConfig.fromJson(core.Map _json) { 1989 LogConfig.fromJson(core.Map _json) {
1990 if (_json.containsKey("counter")) { 1990 if (_json.containsKey("counter")) {
1991 counter = new LogConfigCounterOptions.fromJson(_json["counter"]); 1991 counter = new LogConfigCounterOptions.fromJson(_json["counter"]);
1992 } 1992 }
1993 } 1993 }
1994 1994
1995 core.Map toJson() { 1995 core.Map<core.String, core.Object> toJson() {
1996 var _json = new core.Map(); 1996 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1997 if (counter != null) { 1997 if (counter != null) {
1998 _json["counter"] = (counter).toJson(); 1998 _json["counter"] = (counter).toJson();
1999 } 1999 }
2000 return _json; 2000 return _json;
2001 } 2001 }
2002 } 2002 }
2003 2003
2004 /** Options for counters */ 2004 /** Options for counters */
2005 class LogConfigCounterOptions { 2005 class LogConfigCounterOptions {
2006 /** The field value to attribute. */ 2006 /** The field value to attribute. */
2007 core.String field; 2007 core.String field;
2008 /** The metric to update. */ 2008 /** The metric to update. */
2009 core.String metric; 2009 core.String metric;
2010 2010
2011 LogConfigCounterOptions(); 2011 LogConfigCounterOptions();
2012 2012
2013 LogConfigCounterOptions.fromJson(core.Map _json) { 2013 LogConfigCounterOptions.fromJson(core.Map _json) {
2014 if (_json.containsKey("field")) { 2014 if (_json.containsKey("field")) {
2015 field = _json["field"]; 2015 field = _json["field"];
2016 } 2016 }
2017 if (_json.containsKey("metric")) { 2017 if (_json.containsKey("metric")) {
2018 metric = _json["metric"]; 2018 metric = _json["metric"];
2019 } 2019 }
2020 } 2020 }
2021 2021
2022 core.Map toJson() { 2022 core.Map<core.String, core.Object> toJson() {
2023 var _json = new core.Map(); 2023 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2024 if (field != null) { 2024 if (field != null) {
2025 _json["field"] = field; 2025 _json["field"] = field;
2026 } 2026 }
2027 if (metric != null) { 2027 if (metric != null) {
2028 _json["metric"] = metric; 2028 _json["metric"] = metric;
2029 } 2029 }
2030 return _json; 2030 return _json;
2031 } 2031 }
2032 } 2032 }
2033 2033
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2079 layout = _json["layout"]; 2079 layout = _json["layout"];
2080 } 2080 }
2081 if (_json.containsKey("name")) { 2081 if (_json.containsKey("name")) {
2082 name = _json["name"]; 2082 name = _json["name"];
2083 } 2083 }
2084 if (_json.containsKey("selfLink")) { 2084 if (_json.containsKey("selfLink")) {
2085 selfLink = _json["selfLink"]; 2085 selfLink = _json["selfLink"];
2086 } 2086 }
2087 } 2087 }
2088 2088
2089 core.Map toJson() { 2089 core.Map<core.String, core.Object> toJson() {
2090 var _json = new core.Map(); 2090 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2091 if (config != null) { 2091 if (config != null) {
2092 _json["config"] = (config).toJson(); 2092 _json["config"] = (config).toJson();
2093 } 2093 }
2094 if (expandedConfig != null) { 2094 if (expandedConfig != null) {
2095 _json["expandedConfig"] = expandedConfig; 2095 _json["expandedConfig"] = expandedConfig;
2096 } 2096 }
2097 if (id != null) { 2097 if (id != null) {
2098 _json["id"] = id; 2098 _json["id"] = id;
2099 } 2099 }
2100 if (imports != null) { 2100 if (imports != null) {
(...skipping 29 matching lines...) Expand all
2130 2130
2131 ManifestsListResponse.fromJson(core.Map _json) { 2131 ManifestsListResponse.fromJson(core.Map _json) {
2132 if (_json.containsKey("manifests")) { 2132 if (_json.containsKey("manifests")) {
2133 manifests = _json["manifests"].map((value) => new Manifest.fromJson(value) ).toList(); 2133 manifests = _json["manifests"].map((value) => new Manifest.fromJson(value) ).toList();
2134 } 2134 }
2135 if (_json.containsKey("nextPageToken")) { 2135 if (_json.containsKey("nextPageToken")) {
2136 nextPageToken = _json["nextPageToken"]; 2136 nextPageToken = _json["nextPageToken"];
2137 } 2137 }
2138 } 2138 }
2139 2139
2140 core.Map toJson() { 2140 core.Map<core.String, core.Object> toJson() {
2141 var _json = new core.Map(); 2141 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2142 if (manifests != null) { 2142 if (manifests != null) {
2143 _json["manifests"] = manifests.map((value) => (value).toJson()).toList(); 2143 _json["manifests"] = manifests.map((value) => (value).toJson()).toList();
2144 } 2144 }
2145 if (nextPageToken != null) { 2145 if (nextPageToken != null) {
2146 _json["nextPageToken"] = nextPageToken; 2146 _json["nextPageToken"] = nextPageToken;
2147 } 2147 }
2148 return _json; 2148 return _json;
2149 } 2149 }
2150 } 2150 }
2151 2151
(...skipping 15 matching lines...) Expand all
2167 code = _json["code"]; 2167 code = _json["code"];
2168 } 2168 }
2169 if (_json.containsKey("location")) { 2169 if (_json.containsKey("location")) {
2170 location = _json["location"]; 2170 location = _json["location"];
2171 } 2171 }
2172 if (_json.containsKey("message")) { 2172 if (_json.containsKey("message")) {
2173 message = _json["message"]; 2173 message = _json["message"];
2174 } 2174 }
2175 } 2175 }
2176 2176
2177 core.Map toJson() { 2177 core.Map<core.String, core.Object> toJson() {
2178 var _json = new core.Map(); 2178 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2179 if (code != null) { 2179 if (code != null) {
2180 _json["code"] = code; 2180 _json["code"] = code;
2181 } 2181 }
2182 if (location != null) { 2182 if (location != null) {
2183 _json["location"] = location; 2183 _json["location"] = location;
2184 } 2184 }
2185 if (message != null) { 2185 if (message != null) {
2186 _json["message"] = message; 2186 _json["message"] = message;
2187 } 2187 }
2188 return _json; 2188 return _json;
(...skipping 12 matching lines...) Expand all
2201 core.List<OperationErrorErrors> errors; 2201 core.List<OperationErrorErrors> errors;
2202 2202
2203 OperationError(); 2203 OperationError();
2204 2204
2205 OperationError.fromJson(core.Map _json) { 2205 OperationError.fromJson(core.Map _json) {
2206 if (_json.containsKey("errors")) { 2206 if (_json.containsKey("errors")) {
2207 errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson( value)).toList(); 2207 errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson( value)).toList();
2208 } 2208 }
2209 } 2209 }
2210 2210
2211 core.Map toJson() { 2211 core.Map<core.String, core.Object> toJson() {
2212 var _json = new core.Map(); 2212 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2213 if (errors != null) { 2213 if (errors != null) {
2214 _json["errors"] = errors.map((value) => (value).toJson()).toList(); 2214 _json["errors"] = errors.map((value) => (value).toJson()).toList();
2215 } 2215 }
2216 return _json; 2216 return _json;
2217 } 2217 }
2218 } 2218 }
2219 2219
2220 class OperationWarningsData { 2220 class OperationWarningsData {
2221 /** 2221 /**
2222 * [Output Only] A key that provides more detail on the warning being 2222 * [Output Only] A key that provides more detail on the warning being
(...skipping 12 matching lines...) Expand all
2235 2235
2236 OperationWarningsData.fromJson(core.Map _json) { 2236 OperationWarningsData.fromJson(core.Map _json) {
2237 if (_json.containsKey("key")) { 2237 if (_json.containsKey("key")) {
2238 key = _json["key"]; 2238 key = _json["key"];
2239 } 2239 }
2240 if (_json.containsKey("value")) { 2240 if (_json.containsKey("value")) {
2241 value = _json["value"]; 2241 value = _json["value"];
2242 } 2242 }
2243 } 2243 }
2244 2244
2245 core.Map toJson() { 2245 core.Map<core.String, core.Object> toJson() {
2246 var _json = new core.Map(); 2246 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2247 if (key != null) { 2247 if (key != null) {
2248 _json["key"] = key; 2248 _json["key"] = key;
2249 } 2249 }
2250 if (value != null) { 2250 if (value != null) {
2251 _json["value"] = value; 2251 _json["value"] = value;
2252 } 2252 }
2253 return _json; 2253 return _json;
2254 } 2254 }
2255 } 2255 }
2256 2256
(...skipping 19 matching lines...) Expand all
2276 code = _json["code"]; 2276 code = _json["code"];
2277 } 2277 }
2278 if (_json.containsKey("data")) { 2278 if (_json.containsKey("data")) {
2279 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val ue)).toList(); 2279 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val ue)).toList();
2280 } 2280 }
2281 if (_json.containsKey("message")) { 2281 if (_json.containsKey("message")) {
2282 message = _json["message"]; 2282 message = _json["message"];
2283 } 2283 }
2284 } 2284 }
2285 2285
2286 core.Map toJson() { 2286 core.Map<core.String, core.Object> toJson() {
2287 var _json = new core.Map(); 2287 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2288 if (code != null) { 2288 if (code != null) {
2289 _json["code"] = code; 2289 _json["code"] = code;
2290 } 2290 }
2291 if (data != null) { 2291 if (data != null) {
2292 _json["data"] = data.map((value) => (value).toJson()).toList(); 2292 _json["data"] = data.map((value) => (value).toJson()).toList();
2293 } 2293 }
2294 if (message != null) { 2294 if (message != null) {
2295 _json["message"] = message; 2295 _json["message"] = message;
2296 } 2296 }
2297 return _json; 2297 return _json;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
2476 user = _json["user"]; 2476 user = _json["user"];
2477 } 2477 }
2478 if (_json.containsKey("warnings")) { 2478 if (_json.containsKey("warnings")) {
2479 warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson (value)).toList(); 2479 warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson (value)).toList();
2480 } 2480 }
2481 if (_json.containsKey("zone")) { 2481 if (_json.containsKey("zone")) {
2482 zone = _json["zone"]; 2482 zone = _json["zone"];
2483 } 2483 }
2484 } 2484 }
2485 2485
2486 core.Map toJson() { 2486 core.Map<core.String, core.Object> toJson() {
2487 var _json = new core.Map(); 2487 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2488 if (clientOperationId != null) { 2488 if (clientOperationId != null) {
2489 _json["clientOperationId"] = clientOperationId; 2489 _json["clientOperationId"] = clientOperationId;
2490 } 2490 }
2491 if (creationTimestamp != null) { 2491 if (creationTimestamp != null) {
2492 _json["creationTimestamp"] = creationTimestamp; 2492 _json["creationTimestamp"] = creationTimestamp;
2493 } 2493 }
2494 if (description != null) { 2494 if (description != null) {
2495 _json["description"] = description; 2495 _json["description"] = description;
2496 } 2496 }
2497 if (endTime != null) { 2497 if (endTime != null) {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
2572 2572
2573 OperationsListResponse.fromJson(core.Map _json) { 2573 OperationsListResponse.fromJson(core.Map _json) {
2574 if (_json.containsKey("nextPageToken")) { 2574 if (_json.containsKey("nextPageToken")) {
2575 nextPageToken = _json["nextPageToken"]; 2575 nextPageToken = _json["nextPageToken"];
2576 } 2576 }
2577 if (_json.containsKey("operations")) { 2577 if (_json.containsKey("operations")) {
2578 operations = _json["operations"].map((value) => new Operation.fromJson(val ue)).toList(); 2578 operations = _json["operations"].map((value) => new Operation.fromJson(val ue)).toList();
2579 } 2579 }
2580 } 2580 }
2581 2581
2582 core.Map toJson() { 2582 core.Map<core.String, core.Object> toJson() {
2583 var _json = new core.Map(); 2583 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2584 if (nextPageToken != null) { 2584 if (nextPageToken != null) {
2585 _json["nextPageToken"] = nextPageToken; 2585 _json["nextPageToken"] = nextPageToken;
2586 } 2586 }
2587 if (operations != null) { 2587 if (operations != null) {
2588 _json["operations"] = operations.map((value) => (value).toJson()).toList() ; 2588 _json["operations"] = operations.map((value) => (value).toJson()).toList() ;
2589 } 2589 }
2590 return _json; 2590 return _json;
2591 } 2591 }
2592 } 2592 }
2593 2593
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
2671 iamOwned = _json["iamOwned"]; 2671 iamOwned = _json["iamOwned"];
2672 } 2672 }
2673 if (_json.containsKey("rules")) { 2673 if (_json.containsKey("rules")) {
2674 rules = _json["rules"].map((value) => new Rule.fromJson(value)).toList(); 2674 rules = _json["rules"].map((value) => new Rule.fromJson(value)).toList();
2675 } 2675 }
2676 if (_json.containsKey("version")) { 2676 if (_json.containsKey("version")) {
2677 version = _json["version"]; 2677 version = _json["version"];
2678 } 2678 }
2679 } 2679 }
2680 2680
2681 core.Map toJson() { 2681 core.Map<core.String, core.Object> toJson() {
2682 var _json = new core.Map(); 2682 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2683 if (auditConfigs != null) { 2683 if (auditConfigs != null) {
2684 _json["auditConfigs"] = auditConfigs.map((value) => (value).toJson()).toLi st(); 2684 _json["auditConfigs"] = auditConfigs.map((value) => (value).toJson()).toLi st();
2685 } 2685 }
2686 if (bindings != null) { 2686 if (bindings != null) {
2687 _json["bindings"] = bindings.map((value) => (value).toJson()).toList(); 2687 _json["bindings"] = bindings.map((value) => (value).toJson()).toList();
2688 } 2688 }
2689 if (etag != null) { 2689 if (etag != null) {
2690 _json["etag"] = etag; 2690 _json["etag"] = etag;
2691 } 2691 }
2692 if (iamOwned != null) { 2692 if (iamOwned != null) {
(...skipping 27 matching lines...) Expand all
2720 2720
2721 ResourceWarningsData.fromJson(core.Map _json) { 2721 ResourceWarningsData.fromJson(core.Map _json) {
2722 if (_json.containsKey("key")) { 2722 if (_json.containsKey("key")) {
2723 key = _json["key"]; 2723 key = _json["key"];
2724 } 2724 }
2725 if (_json.containsKey("value")) { 2725 if (_json.containsKey("value")) {
2726 value = _json["value"]; 2726 value = _json["value"];
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 (key != null) { 2732 if (key != null) {
2733 _json["key"] = key; 2733 _json["key"] = key;
2734 } 2734 }
2735 if (value != null) { 2735 if (value != null) {
2736 _json["value"] = value; 2736 _json["value"] = value;
2737 } 2737 }
2738 return _json; 2738 return _json;
2739 } 2739 }
2740 } 2740 }
2741 2741
(...skipping 19 matching lines...) Expand all
2761 code = _json["code"]; 2761 code = _json["code"];
2762 } 2762 }
2763 if (_json.containsKey("data")) { 2763 if (_json.containsKey("data")) {
2764 data = _json["data"].map((value) => new ResourceWarningsData.fromJson(valu e)).toList(); 2764 data = _json["data"].map((value) => new ResourceWarningsData.fromJson(valu e)).toList();
2765 } 2765 }
2766 if (_json.containsKey("message")) { 2766 if (_json.containsKey("message")) {
2767 message = _json["message"]; 2767 message = _json["message"];
2768 } 2768 }
2769 } 2769 }
2770 2770
2771 core.Map toJson() { 2771 core.Map<core.String, core.Object> toJson() {
2772 var _json = new core.Map(); 2772 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2773 if (code != null) { 2773 if (code != null) {
2774 _json["code"] = code; 2774 _json["code"] = code;
2775 } 2775 }
2776 if (data != null) { 2776 if (data != null) {
2777 _json["data"] = data.map((value) => (value).toJson()).toList(); 2777 _json["data"] = data.map((value) => (value).toJson()).toList();
2778 } 2778 }
2779 if (message != null) { 2779 if (message != null) {
2780 _json["message"] = message; 2780 _json["message"] = message;
2781 } 2781 }
2782 return _json; 2782 return _json;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
2871 updateTime = _json["updateTime"]; 2871 updateTime = _json["updateTime"];
2872 } 2872 }
2873 if (_json.containsKey("url")) { 2873 if (_json.containsKey("url")) {
2874 url = _json["url"]; 2874 url = _json["url"];
2875 } 2875 }
2876 if (_json.containsKey("warnings")) { 2876 if (_json.containsKey("warnings")) {
2877 warnings = _json["warnings"].map((value) => new ResourceWarnings.fromJson( value)).toList(); 2877 warnings = _json["warnings"].map((value) => new ResourceWarnings.fromJson( value)).toList();
2878 } 2878 }
2879 } 2879 }
2880 2880
2881 core.Map toJson() { 2881 core.Map<core.String, core.Object> toJson() {
2882 var _json = new core.Map(); 2882 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2883 if (accessControl != null) { 2883 if (accessControl != null) {
2884 _json["accessControl"] = (accessControl).toJson(); 2884 _json["accessControl"] = (accessControl).toJson();
2885 } 2885 }
2886 if (finalProperties != null) { 2886 if (finalProperties != null) {
2887 _json["finalProperties"] = finalProperties; 2887 _json["finalProperties"] = finalProperties;
2888 } 2888 }
2889 if (id != null) { 2889 if (id != null) {
2890 _json["id"] = id; 2890 _json["id"] = id;
2891 } 2891 }
2892 if (insertTime != null) { 2892 if (insertTime != null) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2926 core.String gcpIamPolicy; 2926 core.String gcpIamPolicy;
2927 2927
2928 ResourceAccessControl(); 2928 ResourceAccessControl();
2929 2929
2930 ResourceAccessControl.fromJson(core.Map _json) { 2930 ResourceAccessControl.fromJson(core.Map _json) {
2931 if (_json.containsKey("gcpIamPolicy")) { 2931 if (_json.containsKey("gcpIamPolicy")) {
2932 gcpIamPolicy = _json["gcpIamPolicy"]; 2932 gcpIamPolicy = _json["gcpIamPolicy"];
2933 } 2933 }
2934 } 2934 }
2935 2935
2936 core.Map toJson() { 2936 core.Map<core.String, core.Object> toJson() {
2937 var _json = new core.Map(); 2937 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2938 if (gcpIamPolicy != null) { 2938 if (gcpIamPolicy != null) {
2939 _json["gcpIamPolicy"] = gcpIamPolicy; 2939 _json["gcpIamPolicy"] = gcpIamPolicy;
2940 } 2940 }
2941 return _json; 2941 return _json;
2942 } 2942 }
2943 } 2943 }
2944 2944
2945 class ResourceUpdateErrorErrors { 2945 class ResourceUpdateErrorErrors {
2946 /** [Output Only] The error type identifier for this error. */ 2946 /** [Output Only] The error type identifier for this error. */
2947 core.String code; 2947 core.String code;
(...skipping 12 matching lines...) Expand all
2960 code = _json["code"]; 2960 code = _json["code"];
2961 } 2961 }
2962 if (_json.containsKey("location")) { 2962 if (_json.containsKey("location")) {
2963 location = _json["location"]; 2963 location = _json["location"];
2964 } 2964 }
2965 if (_json.containsKey("message")) { 2965 if (_json.containsKey("message")) {
2966 message = _json["message"]; 2966 message = _json["message"];
2967 } 2967 }
2968 } 2968 }
2969 2969
2970 core.Map toJson() { 2970 core.Map<core.String, core.Object> toJson() {
2971 var _json = new core.Map(); 2971 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2972 if (code != null) { 2972 if (code != null) {
2973 _json["code"] = code; 2973 _json["code"] = code;
2974 } 2974 }
2975 if (location != null) { 2975 if (location != null) {
2976 _json["location"] = location; 2976 _json["location"] = location;
2977 } 2977 }
2978 if (message != null) { 2978 if (message != null) {
2979 _json["message"] = message; 2979 _json["message"] = message;
2980 } 2980 }
2981 return _json; 2981 return _json;
(...skipping 12 matching lines...) Expand all
2994 core.List<ResourceUpdateErrorErrors> errors; 2994 core.List<ResourceUpdateErrorErrors> errors;
2995 2995
2996 ResourceUpdateError(); 2996 ResourceUpdateError();
2997 2997
2998 ResourceUpdateError.fromJson(core.Map _json) { 2998 ResourceUpdateError.fromJson(core.Map _json) {
2999 if (_json.containsKey("errors")) { 2999 if (_json.containsKey("errors")) {
3000 errors = _json["errors"].map((value) => new ResourceUpdateErrorErrors.from Json(value)).toList(); 3000 errors = _json["errors"].map((value) => new ResourceUpdateErrorErrors.from Json(value)).toList();
3001 } 3001 }
3002 } 3002 }
3003 3003
3004 core.Map toJson() { 3004 core.Map<core.String, core.Object> toJson() {
3005 var _json = new core.Map(); 3005 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3006 if (errors != null) { 3006 if (errors != null) {
3007 _json["errors"] = errors.map((value) => (value).toJson()).toList(); 3007 _json["errors"] = errors.map((value) => (value).toJson()).toList();
3008 } 3008 }
3009 return _json; 3009 return _json;
3010 } 3010 }
3011 } 3011 }
3012 3012
3013 class ResourceUpdateWarningsData { 3013 class ResourceUpdateWarningsData {
3014 /** 3014 /**
3015 * [Output Only] A key that provides more detail on the warning being 3015 * [Output Only] A key that provides more detail on the warning being
(...skipping 12 matching lines...) Expand all
3028 3028
3029 ResourceUpdateWarningsData.fromJson(core.Map _json) { 3029 ResourceUpdateWarningsData.fromJson(core.Map _json) {
3030 if (_json.containsKey("key")) { 3030 if (_json.containsKey("key")) {
3031 key = _json["key"]; 3031 key = _json["key"];
3032 } 3032 }
3033 if (_json.containsKey("value")) { 3033 if (_json.containsKey("value")) {
3034 value = _json["value"]; 3034 value = _json["value"];
3035 } 3035 }
3036 } 3036 }
3037 3037
3038 core.Map toJson() { 3038 core.Map<core.String, core.Object> toJson() {
3039 var _json = new core.Map(); 3039 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3040 if (key != null) { 3040 if (key != null) {
3041 _json["key"] = key; 3041 _json["key"] = key;
3042 } 3042 }
3043 if (value != null) { 3043 if (value != null) {
3044 _json["value"] = value; 3044 _json["value"] = value;
3045 } 3045 }
3046 return _json; 3046 return _json;
3047 } 3047 }
3048 } 3048 }
3049 3049
(...skipping 19 matching lines...) Expand all
3069 code = _json["code"]; 3069 code = _json["code"];
3070 } 3070 }
3071 if (_json.containsKey("data")) { 3071 if (_json.containsKey("data")) {
3072 data = _json["data"].map((value) => new ResourceUpdateWarningsData.fromJso n(value)).toList(); 3072 data = _json["data"].map((value) => new ResourceUpdateWarningsData.fromJso n(value)).toList();
3073 } 3073 }
3074 if (_json.containsKey("message")) { 3074 if (_json.containsKey("message")) {
3075 message = _json["message"]; 3075 message = _json["message"];
3076 } 3076 }
3077 } 3077 }
3078 3078
3079 core.Map toJson() { 3079 core.Map<core.String, core.Object> toJson() {
3080 var _json = new core.Map(); 3080 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3081 if (code != null) { 3081 if (code != null) {
3082 _json["code"] = code; 3082 _json["code"] = code;
3083 } 3083 }
3084 if (data != null) { 3084 if (data != null) {
3085 _json["data"] = data.map((value) => (value).toJson()).toList(); 3085 _json["data"] = data.map((value) => (value).toJson()).toList();
3086 } 3086 }
3087 if (message != null) { 3087 if (message != null) {
3088 _json["message"] = message; 3088 _json["message"] = message;
3089 } 3089 }
3090 return _json; 3090 return _json;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3149 properties = _json["properties"]; 3149 properties = _json["properties"];
3150 } 3150 }
3151 if (_json.containsKey("state")) { 3151 if (_json.containsKey("state")) {
3152 state = _json["state"]; 3152 state = _json["state"];
3153 } 3153 }
3154 if (_json.containsKey("warnings")) { 3154 if (_json.containsKey("warnings")) {
3155 warnings = _json["warnings"].map((value) => new ResourceUpdateWarnings.fro mJson(value)).toList(); 3155 warnings = _json["warnings"].map((value) => new ResourceUpdateWarnings.fro mJson(value)).toList();
3156 } 3156 }
3157 } 3157 }
3158 3158
3159 core.Map toJson() { 3159 core.Map<core.String, core.Object> toJson() {
3160 var _json = new core.Map(); 3160 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3161 if (accessControl != null) { 3161 if (accessControl != null) {
3162 _json["accessControl"] = (accessControl).toJson(); 3162 _json["accessControl"] = (accessControl).toJson();
3163 } 3163 }
3164 if (error != null) { 3164 if (error != null) {
3165 _json["error"] = (error).toJson(); 3165 _json["error"] = (error).toJson();
3166 } 3166 }
3167 if (finalProperties != null) { 3167 if (finalProperties != null) {
3168 _json["finalProperties"] = finalProperties; 3168 _json["finalProperties"] = finalProperties;
3169 } 3169 }
3170 if (intent != null) { 3170 if (intent != null) {
(...skipping 29 matching lines...) Expand all
3200 3200
3201 ResourcesListResponse.fromJson(core.Map _json) { 3201 ResourcesListResponse.fromJson(core.Map _json) {
3202 if (_json.containsKey("nextPageToken")) { 3202 if (_json.containsKey("nextPageToken")) {
3203 nextPageToken = _json["nextPageToken"]; 3203 nextPageToken = _json["nextPageToken"];
3204 } 3204 }
3205 if (_json.containsKey("resources")) { 3205 if (_json.containsKey("resources")) {
3206 resources = _json["resources"].map((value) => new Resource.fromJson(value) ).toList(); 3206 resources = _json["resources"].map((value) => new Resource.fromJson(value) ).toList();
3207 } 3207 }
3208 } 3208 }
3209 3209
3210 core.Map toJson() { 3210 core.Map<core.String, core.Object> toJson() {
3211 var _json = new core.Map(); 3211 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3212 if (nextPageToken != null) { 3212 if (nextPageToken != null) {
3213 _json["nextPageToken"] = nextPageToken; 3213 _json["nextPageToken"] = nextPageToken;
3214 } 3214 }
3215 if (resources != null) { 3215 if (resources != null) {
3216 _json["resources"] = resources.map((value) => (value).toJson()).toList(); 3216 _json["resources"] = resources.map((value) => (value).toJson()).toList();
3217 } 3217 }
3218 return _json; 3218 return _json;
3219 } 3219 }
3220 } 3220 }
3221 3221
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
3268 logConfigs = _json["logConfigs"].map((value) => new LogConfig.fromJson(val ue)).toList(); 3268 logConfigs = _json["logConfigs"].map((value) => new LogConfig.fromJson(val ue)).toList();
3269 } 3269 }
3270 if (_json.containsKey("notIns")) { 3270 if (_json.containsKey("notIns")) {
3271 notIns = _json["notIns"]; 3271 notIns = _json["notIns"];
3272 } 3272 }
3273 if (_json.containsKey("permissions")) { 3273 if (_json.containsKey("permissions")) {
3274 permissions = _json["permissions"]; 3274 permissions = _json["permissions"];
3275 } 3275 }
3276 } 3276 }
3277 3277
3278 core.Map toJson() { 3278 core.Map<core.String, core.Object> toJson() {
3279 var _json = new core.Map(); 3279 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3280 if (action != null) { 3280 if (action != null) {
3281 _json["action"] = action; 3281 _json["action"] = action;
3282 } 3282 }
3283 if (conditions != null) { 3283 if (conditions != null) {
3284 _json["conditions"] = conditions.map((value) => (value).toJson()).toList() ; 3284 _json["conditions"] = conditions.map((value) => (value).toJson()).toList() ;
3285 } 3285 }
3286 if (description != null) { 3286 if (description != null) {
3287 _json["description"] = description; 3287 _json["description"] = description;
3288 } 3288 }
3289 if (ins != null) { 3289 if (ins != null) {
(...skipping 26 matching lines...) Expand all
3316 3316
3317 TargetConfiguration.fromJson(core.Map _json) { 3317 TargetConfiguration.fromJson(core.Map _json) {
3318 if (_json.containsKey("config")) { 3318 if (_json.containsKey("config")) {
3319 config = new ConfigFile.fromJson(_json["config"]); 3319 config = new ConfigFile.fromJson(_json["config"]);
3320 } 3320 }
3321 if (_json.containsKey("imports")) { 3321 if (_json.containsKey("imports")) {
3322 imports = _json["imports"].map((value) => new ImportFile.fromJson(value)). toList(); 3322 imports = _json["imports"].map((value) => new ImportFile.fromJson(value)). toList();
3323 } 3323 }
3324 } 3324 }
3325 3325
3326 core.Map toJson() { 3326 core.Map<core.String, core.Object> toJson() {
3327 var _json = new core.Map(); 3327 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3328 if (config != null) { 3328 if (config != null) {
3329 _json["config"] = (config).toJson(); 3329 _json["config"] = (config).toJson();
3330 } 3330 }
3331 if (imports != null) { 3331 if (imports != null) {
3332 _json["imports"] = imports.map((value) => (value).toJson()).toList(); 3332 _json["imports"] = imports.map((value) => (value).toJson()).toList();
3333 } 3333 }
3334 return _json; 3334 return _json;
3335 } 3335 }
3336 } 3336 }
3337 3337
3338 class TestPermissionsRequest { 3338 class TestPermissionsRequest {
3339 /** 3339 /**
3340 * The set of permissions to check for the 'resource'. Permissions with 3340 * The set of permissions to check for the 'resource'. Permissions with
3341 * wildcards (such as '*' or 'storage.*') are not allowed. 3341 * wildcards (such as '*' or 'storage.*') are not allowed.
3342 */ 3342 */
3343 core.List<core.String> permissions; 3343 core.List<core.String> permissions;
3344 3344
3345 TestPermissionsRequest(); 3345 TestPermissionsRequest();
3346 3346
3347 TestPermissionsRequest.fromJson(core.Map _json) { 3347 TestPermissionsRequest.fromJson(core.Map _json) {
3348 if (_json.containsKey("permissions")) { 3348 if (_json.containsKey("permissions")) {
3349 permissions = _json["permissions"]; 3349 permissions = _json["permissions"];
3350 } 3350 }
3351 } 3351 }
3352 3352
3353 core.Map toJson() { 3353 core.Map<core.String, core.Object> toJson() {
3354 var _json = new core.Map(); 3354 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3355 if (permissions != null) { 3355 if (permissions != null) {
3356 _json["permissions"] = permissions; 3356 _json["permissions"] = permissions;
3357 } 3357 }
3358 return _json; 3358 return _json;
3359 } 3359 }
3360 } 3360 }
3361 3361
3362 class TestPermissionsResponse { 3362 class TestPermissionsResponse {
3363 /** 3363 /**
3364 * A subset of `TestPermissionsRequest.permissions` that the caller is 3364 * A subset of `TestPermissionsRequest.permissions` that the caller is
3365 * allowed. 3365 * allowed.
3366 */ 3366 */
3367 core.List<core.String> permissions; 3367 core.List<core.String> permissions;
3368 3368
3369 TestPermissionsResponse(); 3369 TestPermissionsResponse();
3370 3370
3371 TestPermissionsResponse.fromJson(core.Map _json) { 3371 TestPermissionsResponse.fromJson(core.Map _json) {
3372 if (_json.containsKey("permissions")) { 3372 if (_json.containsKey("permissions")) {
3373 permissions = _json["permissions"]; 3373 permissions = _json["permissions"];
3374 } 3374 }
3375 } 3375 }
3376 3376
3377 core.Map toJson() { 3377 core.Map<core.String, core.Object> toJson() {
3378 var _json = new core.Map(); 3378 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3379 if (permissions != null) { 3379 if (permissions != null) {
3380 _json["permissions"] = permissions; 3380 _json["permissions"] = permissions;
3381 } 3381 }
3382 return _json; 3382 return _json;
3383 } 3383 }
3384 } 3384 }
3385 3385
3386 /** A resource type supported by Deployment Manager. */ 3386 /** A resource type supported by Deployment Manager. */
3387 class Type { 3387 class Type {
3388 /** 3388 /**
(...skipping 27 matching lines...) Expand all
3416 name = _json["name"]; 3416 name = _json["name"];
3417 } 3417 }
3418 if (_json.containsKey("operation")) { 3418 if (_json.containsKey("operation")) {
3419 operation = new Operation.fromJson(_json["operation"]); 3419 operation = new Operation.fromJson(_json["operation"]);
3420 } 3420 }
3421 if (_json.containsKey("selfLink")) { 3421 if (_json.containsKey("selfLink")) {
3422 selfLink = _json["selfLink"]; 3422 selfLink = _json["selfLink"];
3423 } 3423 }
3424 } 3424 }
3425 3425
3426 core.Map toJson() { 3426 core.Map<core.String, core.Object> toJson() {
3427 var _json = new core.Map(); 3427 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3428 if (id != null) { 3428 if (id != null) {
3429 _json["id"] = id; 3429 _json["id"] = id;
3430 } 3430 }
3431 if (insertTime != null) { 3431 if (insertTime != null) {
3432 _json["insertTime"] = insertTime; 3432 _json["insertTime"] = insertTime;
3433 } 3433 }
3434 if (name != null) { 3434 if (name != null) {
3435 _json["name"] = name; 3435 _json["name"] = name;
3436 } 3436 }
3437 if (operation != null) { 3437 if (operation != null) {
(...skipping 19 matching lines...) Expand all
3457 3457
3458 TypesListResponse.fromJson(core.Map _json) { 3458 TypesListResponse.fromJson(core.Map _json) {
3459 if (_json.containsKey("nextPageToken")) { 3459 if (_json.containsKey("nextPageToken")) {
3460 nextPageToken = _json["nextPageToken"]; 3460 nextPageToken = _json["nextPageToken"];
3461 } 3461 }
3462 if (_json.containsKey("types")) { 3462 if (_json.containsKey("types")) {
3463 types = _json["types"].map((value) => new Type.fromJson(value)).toList(); 3463 types = _json["types"].map((value) => new Type.fromJson(value)).toList();
3464 } 3464 }
3465 } 3465 }
3466 3466
3467 core.Map toJson() { 3467 core.Map<core.String, core.Object> toJson() {
3468 var _json = new core.Map(); 3468 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3469 if (nextPageToken != null) { 3469 if (nextPageToken != null) {
3470 _json["nextPageToken"] = nextPageToken; 3470 _json["nextPageToken"] = nextPageToken;
3471 } 3471 }
3472 if (types != null) { 3472 if (types != null) {
3473 _json["types"] = types.map((value) => (value).toJson()).toList(); 3473 _json["types"] = types.map((value) => (value).toJson()).toList();
3474 } 3474 }
3475 return _json; 3475 return _json;
3476 } 3476 }
3477 } 3477 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/datastore/v1.dart ('k') | generated/googleapis/lib/dfareporting/v2_8.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698