OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.reseller.v1; | 3 library googleapis.reseller.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 * This is a required property. The number and limit of user seat licenses in | 1671 * This is a required property. The number and limit of user seat licenses in |
1672 * the plan. | 1672 * the plan. |
1673 */ | 1673 */ |
1674 Seats seats; | 1674 Seats seats; |
1675 /** | 1675 /** |
1676 * A required property. The skuId is a unique system identifier for a | 1676 * A required property. The skuId is a unique system identifier for a |
1677 * product's SKU assigned to a customer in the subscription. For products and | 1677 * product's SKU assigned to a customer in the subscription. For products and |
1678 * SKUs available in this version of the API, see Product and SKU IDs. | 1678 * SKUs available in this version of the API, see Product and SKU IDs. |
1679 */ | 1679 */ |
1680 core.String skuId; | 1680 core.String skuId; |
| 1681 /** |
| 1682 * Read-only external display name for a product's SKU assigned to a customer |
| 1683 * in the subscription. SKU names are subject to change at Google's |
| 1684 * discretion. For products and SKUs available in this version of the API, see |
| 1685 * Product and SKU IDs. |
| 1686 */ |
| 1687 core.String skuName; |
1681 /** This is an optional property. */ | 1688 /** This is an optional property. */ |
1682 core.String status; | 1689 core.String status; |
1683 /** | 1690 /** |
1684 * The subscriptionId is the subscription identifier and is unique for each | 1691 * The subscriptionId is the subscription identifier and is unique for each |
1685 * customer. This is a required property. Since a subscriptionId changes when | 1692 * customer. This is a required property. Since a subscriptionId changes when |
1686 * a subscription is updated, we recommend not using this ID as a key for | 1693 * a subscription is updated, we recommend not using this ID as a key for |
1687 * persistent data. Use the subscriptionId as described in retrieve all | 1694 * persistent data. Use the subscriptionId as described in retrieve all |
1688 * reseller subscriptions. | 1695 * reseller subscriptions. |
1689 */ | 1696 */ |
1690 core.String subscriptionId; | 1697 core.String subscriptionId; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 } | 1755 } |
1749 if (_json.containsKey("resourceUiUrl")) { | 1756 if (_json.containsKey("resourceUiUrl")) { |
1750 resourceUiUrl = _json["resourceUiUrl"]; | 1757 resourceUiUrl = _json["resourceUiUrl"]; |
1751 } | 1758 } |
1752 if (_json.containsKey("seats")) { | 1759 if (_json.containsKey("seats")) { |
1753 seats = new Seats.fromJson(_json["seats"]); | 1760 seats = new Seats.fromJson(_json["seats"]); |
1754 } | 1761 } |
1755 if (_json.containsKey("skuId")) { | 1762 if (_json.containsKey("skuId")) { |
1756 skuId = _json["skuId"]; | 1763 skuId = _json["skuId"]; |
1757 } | 1764 } |
| 1765 if (_json.containsKey("skuName")) { |
| 1766 skuName = _json["skuName"]; |
| 1767 } |
1758 if (_json.containsKey("status")) { | 1768 if (_json.containsKey("status")) { |
1759 status = _json["status"]; | 1769 status = _json["status"]; |
1760 } | 1770 } |
1761 if (_json.containsKey("subscriptionId")) { | 1771 if (_json.containsKey("subscriptionId")) { |
1762 subscriptionId = _json["subscriptionId"]; | 1772 subscriptionId = _json["subscriptionId"]; |
1763 } | 1773 } |
1764 if (_json.containsKey("suspensionReasons")) { | 1774 if (_json.containsKey("suspensionReasons")) { |
1765 suspensionReasons = _json["suspensionReasons"]; | 1775 suspensionReasons = _json["suspensionReasons"]; |
1766 } | 1776 } |
1767 if (_json.containsKey("transferInfo")) { | 1777 if (_json.containsKey("transferInfo")) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1803 } | 1813 } |
1804 if (resourceUiUrl != null) { | 1814 if (resourceUiUrl != null) { |
1805 _json["resourceUiUrl"] = resourceUiUrl; | 1815 _json["resourceUiUrl"] = resourceUiUrl; |
1806 } | 1816 } |
1807 if (seats != null) { | 1817 if (seats != null) { |
1808 _json["seats"] = (seats).toJson(); | 1818 _json["seats"] = (seats).toJson(); |
1809 } | 1819 } |
1810 if (skuId != null) { | 1820 if (skuId != null) { |
1811 _json["skuId"] = skuId; | 1821 _json["skuId"] = skuId; |
1812 } | 1822 } |
| 1823 if (skuName != null) { |
| 1824 _json["skuName"] = skuName; |
| 1825 } |
1813 if (status != null) { | 1826 if (status != null) { |
1814 _json["status"] = status; | 1827 _json["status"] = status; |
1815 } | 1828 } |
1816 if (subscriptionId != null) { | 1829 if (subscriptionId != null) { |
1817 _json["subscriptionId"] = subscriptionId; | 1830 _json["subscriptionId"] = subscriptionId; |
1818 } | 1831 } |
1819 if (suspensionReasons != null) { | 1832 if (suspensionReasons != null) { |
1820 _json["suspensionReasons"] = suspensionReasons; | 1833 _json["suspensionReasons"] = suspensionReasons; |
1821 } | 1834 } |
1822 if (transferInfo != null) { | 1835 if (transferInfo != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 } | 1878 } |
1866 if (nextPageToken != null) { | 1879 if (nextPageToken != null) { |
1867 _json["nextPageToken"] = nextPageToken; | 1880 _json["nextPageToken"] = nextPageToken; |
1868 } | 1881 } |
1869 if (subscriptions != null) { | 1882 if (subscriptions != null) { |
1870 _json["subscriptions"] = subscriptions.map((value) => (value).toJson()).to
List(); | 1883 _json["subscriptions"] = subscriptions.map((value) => (value).toJson()).to
List(); |
1871 } | 1884 } |
1872 return _json; | 1885 return _json; |
1873 } | 1886 } |
1874 } | 1887 } |
OLD | NEW |