oci-apigateway 2.27.0 → 2.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/index.d.ts +6 -0
  2. package/index.js +7 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +287 -61
  5. package/lib/client.js +1302 -222
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/api-specification-request-policies.d.ts +1 -0
  8. package/lib/model/api-specification-request-policies.js +5 -1
  9. package/lib/model/api-specification-request-policies.js.map +1 -1
  10. package/lib/model/change-subscriber-compartment-details.d.ts +30 -0
  11. package/lib/model/change-subscriber-compartment-details.js +32 -0
  12. package/lib/model/change-subscriber-compartment-details.js.map +1 -0
  13. package/lib/model/change-usage-plan-compartment-details.d.ts +30 -0
  14. package/lib/model/change-usage-plan-compartment-details.js +32 -0
  15. package/lib/model/change-usage-plan-compartment-details.js.map +1 -0
  16. package/lib/model/client-summary.d.ts +28 -0
  17. package/lib/model/client-summary.js +32 -0
  18. package/lib/model/client-summary.js.map +1 -0
  19. package/lib/model/client.d.ts +32 -0
  20. package/lib/model/client.js +32 -0
  21. package/lib/model/client.js.map +1 -0
  22. package/lib/model/create-deployment-details.d.ts +1 -1
  23. package/lib/model/create-subscriber-details.d.ts +73 -0
  24. package/lib/model/create-subscriber-details.js +64 -0
  25. package/lib/model/create-subscriber-details.js.map +1 -0
  26. package/lib/model/create-usage-plan-details.d.ts +68 -0
  27. package/lib/model/create-usage-plan-details.js +64 -0
  28. package/lib/model/create-usage-plan-details.js.map +1 -0
  29. package/lib/model/deployment.d.ts +1 -1
  30. package/lib/model/entitlement-summary.d.ts +39 -0
  31. package/lib/model/entitlement-summary.js +60 -0
  32. package/lib/model/entitlement-summary.js.map +1 -0
  33. package/lib/model/entitlement-target.d.ts +31 -0
  34. package/lib/model/entitlement-target.js +32 -0
  35. package/lib/model/entitlement-target.js.map +1 -0
  36. package/lib/model/entitlement.d.ts +44 -0
  37. package/lib/model/entitlement.js +70 -0
  38. package/lib/model/entitlement.js.map +1 -0
  39. package/lib/model/index.d.ts +40 -0
  40. package/lib/model/index.js +43 -3
  41. package/lib/model/index.js.map +1 -1
  42. package/lib/model/quota.d.ts +78 -0
  43. package/lib/model/quota.js +64 -0
  44. package/lib/model/quota.js.map +1 -0
  45. package/lib/model/rate-limit.d.ts +44 -0
  46. package/lib/model/rate-limit.js +41 -0
  47. package/lib/model/rate-limit.js.map +1 -0
  48. package/lib/model/subscriber-collection.d.ts +29 -0
  49. package/lib/model/subscriber-collection.js +64 -0
  50. package/lib/model/subscriber-collection.js.map +1 -0
  51. package/lib/model/subscriber-summary.d.ts +97 -0
  52. package/lib/model/subscriber-summary.js +64 -0
  53. package/lib/model/subscriber-summary.js.map +1 -0
  54. package/lib/model/subscriber.d.ts +111 -0
  55. package/lib/model/subscriber.js +78 -0
  56. package/lib/model/subscriber.js.map +1 -0
  57. package/lib/model/update-subscriber-details.d.ts +67 -0
  58. package/lib/model/update-subscriber-details.js +64 -0
  59. package/lib/model/update-subscriber-details.js.map +1 -0
  60. package/lib/model/update-usage-plan-details.d.ts +62 -0
  61. package/lib/model/update-usage-plan-details.js +64 -0
  62. package/lib/model/update-usage-plan-details.js.map +1 -0
  63. package/lib/model/usage-plan-collection.d.ts +29 -0
  64. package/lib/model/usage-plan-collection.js +64 -0
  65. package/lib/model/usage-plan-collection.js.map +1 -0
  66. package/lib/model/usage-plan-summary.d.ts +92 -0
  67. package/lib/model/usage-plan-summary.js +64 -0
  68. package/lib/model/usage-plan-summary.js.map +1 -0
  69. package/lib/model/usage-plan.d.ts +106 -0
  70. package/lib/model/usage-plan.js +78 -0
  71. package/lib/model/usage-plan.js.map +1 -0
  72. package/lib/model/usage-plans-policy.d.ts +34 -0
  73. package/lib/model/usage-plans-policy.js +32 -0
  74. package/lib/model/usage-plans-policy.js.map +1 -0
  75. package/lib/model/work-request.d.ts +6 -0
  76. package/lib/model/work-request.js +6 -0
  77. package/lib/model/work-request.js.map +1 -1
  78. package/lib/request/cancel-work-request-request.d.ts +1 -1
  79. package/lib/request/change-api-compartment-request.d.ts +1 -1
  80. package/lib/request/change-certificate-compartment-request.d.ts +1 -1
  81. package/lib/request/change-deployment-compartment-request.d.ts +1 -1
  82. package/lib/request/change-gateway-compartment-request.d.ts +1 -1
  83. package/lib/request/change-subscriber-compartment-request.d.ts +49 -0
  84. package/lib/request/change-subscriber-compartment-request.js +15 -0
  85. package/lib/request/change-subscriber-compartment-request.js.map +1 -0
  86. package/lib/request/change-usage-plan-compartment-request.d.ts +49 -0
  87. package/lib/request/change-usage-plan-compartment-request.js +15 -0
  88. package/lib/request/change-usage-plan-compartment-request.js.map +1 -0
  89. package/lib/request/create-api-request.d.ts +1 -1
  90. package/lib/request/create-certificate-request.d.ts +1 -1
  91. package/lib/request/create-deployment-request.d.ts +1 -1
  92. package/lib/request/create-gateway-request.d.ts +1 -1
  93. package/lib/request/create-sdk-request.d.ts +1 -1
  94. package/lib/request/create-subscriber-request.d.ts +36 -0
  95. package/lib/request/create-subscriber-request.js +15 -0
  96. package/lib/request/create-subscriber-request.js.map +1 -0
  97. package/lib/request/create-usage-plan-request.d.ts +36 -0
  98. package/lib/request/create-usage-plan-request.js +15 -0
  99. package/lib/request/create-usage-plan-request.js.map +1 -0
  100. package/lib/request/delete-api-request.d.ts +1 -1
  101. package/lib/request/delete-certificate-request.d.ts +1 -1
  102. package/lib/request/delete-deployment-request.d.ts +1 -1
  103. package/lib/request/delete-gateway-request.d.ts +1 -1
  104. package/lib/request/delete-sdk-request.d.ts +1 -1
  105. package/lib/request/delete-subscriber-request.d.ts +35 -0
  106. package/lib/request/delete-subscriber-request.js +15 -0
  107. package/lib/request/delete-subscriber-request.js.map +1 -0
  108. package/lib/request/delete-usage-plan-request.d.ts +35 -0
  109. package/lib/request/delete-usage-plan-request.js +15 -0
  110. package/lib/request/delete-usage-plan-request.js.map +1 -0
  111. package/lib/request/get-api-content-request.d.ts +1 -1
  112. package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
  113. package/lib/request/get-api-request.d.ts +1 -1
  114. package/lib/request/get-api-validations-request.d.ts +1 -1
  115. package/lib/request/get-certificate-request.d.ts +1 -1
  116. package/lib/request/get-deployment-request.d.ts +1 -1
  117. package/lib/request/get-gateway-request.d.ts +1 -1
  118. package/lib/request/get-sdk-request.d.ts +1 -1
  119. package/lib/request/get-subscriber-request.d.ts +26 -0
  120. package/lib/request/get-subscriber-request.js +15 -0
  121. package/lib/request/get-subscriber-request.js.map +1 -0
  122. package/lib/request/get-usage-plan-request.d.ts +26 -0
  123. package/lib/request/get-usage-plan-request.js +15 -0
  124. package/lib/request/get-usage-plan-request.js.map +1 -0
  125. package/lib/request/get-work-request-request.d.ts +1 -1
  126. package/lib/request/index.d.ts +24 -0
  127. package/lib/request/index.js +5 -1
  128. package/lib/request/index.js.map +1 -1
  129. package/lib/request/list-apis-request.d.ts +1 -1
  130. package/lib/request/list-certificates-request.d.ts +1 -1
  131. package/lib/request/list-deployments-request.d.ts +1 -1
  132. package/lib/request/list-gateways-request.d.ts +1 -1
  133. package/lib/request/list-sdk-language-types-request.d.ts +1 -1
  134. package/lib/request/list-sdks-request.d.ts +1 -1
  135. package/lib/request/list-subscribers-request.d.ts +69 -0
  136. package/lib/request/list-subscribers-request.js +29 -0
  137. package/lib/request/list-subscribers-request.js.map +1 -0
  138. package/lib/request/list-usage-plans-request.d.ts +69 -0
  139. package/lib/request/list-usage-plans-request.js +29 -0
  140. package/lib/request/list-usage-plans-request.js.map +1 -0
  141. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  142. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  143. package/lib/request/list-work-requests-request.d.ts +1 -1
  144. package/lib/request/update-api-request.d.ts +1 -1
  145. package/lib/request/update-certificate-request.d.ts +1 -1
  146. package/lib/request/update-deployment-request.d.ts +1 -1
  147. package/lib/request/update-gateway-request.d.ts +1 -1
  148. package/lib/request/update-sdk-request.d.ts +1 -1
  149. package/lib/request/update-subscriber-request.d.ts +40 -0
  150. package/lib/request/update-subscriber-request.js +15 -0
  151. package/lib/request/update-subscriber-request.js.map +1 -0
  152. package/lib/request/update-usage-plan-request.d.ts +40 -0
  153. package/lib/request/update-usage-plan-request.js +15 -0
  154. package/lib/request/update-usage-plan-request.js.map +1 -0
  155. package/lib/response/change-subscriber-compartment-response.d.ts +29 -0
  156. package/lib/response/change-subscriber-compartment-response.js +15 -0
  157. package/lib/response/change-subscriber-compartment-response.js.map +1 -0
  158. package/lib/response/change-usage-plan-compartment-response.d.ts +29 -0
  159. package/lib/response/change-usage-plan-compartment-response.js +15 -0
  160. package/lib/response/change-usage-plan-compartment-response.js.map +1 -0
  161. package/lib/response/create-subscriber-response.d.ts +44 -0
  162. package/lib/response/create-subscriber-response.js +15 -0
  163. package/lib/response/create-subscriber-response.js.map +1 -0
  164. package/lib/response/create-usage-plan-response.d.ts +44 -0
  165. package/lib/response/create-usage-plan-response.js +15 -0
  166. package/lib/response/create-usage-plan-response.js.map +1 -0
  167. package/lib/response/delete-subscriber-response.d.ts +29 -0
  168. package/lib/response/delete-subscriber-response.js +15 -0
  169. package/lib/response/delete-subscriber-response.js.map +1 -0
  170. package/lib/response/delete-usage-plan-response.d.ts +29 -0
  171. package/lib/response/delete-usage-plan-response.js +15 -0
  172. package/lib/response/delete-usage-plan-response.js.map +1 -0
  173. package/lib/response/get-subscriber-response.d.ts +31 -0
  174. package/lib/response/get-subscriber-response.js +15 -0
  175. package/lib/response/get-subscriber-response.js.map +1 -0
  176. package/lib/response/get-usage-plan-response.d.ts +31 -0
  177. package/lib/response/get-usage-plan-response.js +15 -0
  178. package/lib/response/get-usage-plan-response.js.map +1 -0
  179. package/lib/response/index.d.ts +24 -0
  180. package/lib/response/list-subscribers-response.d.ts +42 -0
  181. package/lib/response/list-subscribers-response.js +15 -0
  182. package/lib/response/list-subscribers-response.js.map +1 -0
  183. package/lib/response/list-usage-plans-response.d.ts +42 -0
  184. package/lib/response/list-usage-plans-response.js +15 -0
  185. package/lib/response/list-usage-plans-response.js.map +1 -0
  186. package/lib/response/update-subscriber-response.d.ts +29 -0
  187. package/lib/response/update-subscriber-response.js +15 -0
  188. package/lib/response/update-subscriber-response.js.map +1 -0
  189. package/lib/response/update-usage-plan-response.d.ts +29 -0
  190. package/lib/response/update-usage-plan-response.js +15 -0
  191. package/lib/response/update-usage-plan-response.js.map +1 -0
  192. package/lib/subscribers-waiter.d.ts +32 -0
  193. package/lib/subscribers-waiter.js +68 -0
  194. package/lib/subscribers-waiter.js.map +1 -0
  195. package/lib/usageplans-waiter.d.ts +32 -0
  196. package/lib/usageplans-waiter.js +68 -0
  197. package/lib/usageplans-waiter.js.map +1 -0
  198. package/package.json +3 -3
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ClientSummary = void 0;
19
+ var ClientSummary;
20
+ (function (ClientSummary) {
21
+ function getJsonObj(obj) {
22
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
23
+ return jsonObj;
24
+ }
25
+ ClientSummary.getJsonObj = getJsonObj;
26
+ function getDeserializedJsonObj(obj) {
27
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
28
+ return jsonObj;
29
+ }
30
+ ClientSummary.getDeserializedJsonObj = getDeserializedJsonObj;
31
+ })(ClientSummary = exports.ClientSummary || (exports.ClientSummary = {}));
32
+ //# sourceMappingURL=client-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/client-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAeH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ /**
17
+ * A Client.
18
+ */
19
+ export interface Client {
20
+ /**
21
+ * The name of the client. Must be unique within a subscriber.
22
+ */
23
+ "name": string;
24
+ /**
25
+ * The token for the client. Must be unique within a tenancy.
26
+ */
27
+ "token": string;
28
+ }
29
+ export declare namespace Client {
30
+ function getJsonObj(obj: Client): object;
31
+ function getDeserializedJsonObj(obj: Client): object;
32
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Client = void 0;
19
+ var Client;
20
+ (function (Client) {
21
+ function getJsonObj(obj) {
22
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
23
+ return jsonObj;
24
+ }
25
+ Client.getJsonObj = getJsonObj;
26
+ function getDeserializedJsonObj(obj) {
27
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
28
+ return jsonObj;
29
+ }
30
+ Client.getDeserializedJsonObj = getDeserializedJsonObj;
31
+ })(Client = exports.Client || (exports.Client = {}));
32
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAmBH,IAAiB,MAAM,CAWtB;AAXD,WAAiB,MAAM;IACrB,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAWtB"}
@@ -45,7 +45,7 @@ export interface CreateDeploymentDetails {
45
45
  *
46
46
  */
47
47
  "pathPrefix": string;
48
- "specification"?: model.ApiSpecification;
48
+ "specification": model.ApiSpecification;
49
49
  /**
50
50
  * Free-form tags for this resource. Each tag is a simple key-value pair
51
51
  * with no predefined name, type, or namespace. For more information, see
@@ -0,0 +1,73 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ import * as model from "../model";
17
+ /**
18
+ * Information about a new subscriber.
19
+ */
20
+ export interface CreateSubscriberDetails {
21
+ /**
22
+ * A user-friendly name. Does not have to be unique, and it's changeable.
23
+ * Avoid entering confidential information.
24
+ * <p>
25
+ Example: `My new resource`
26
+ *
27
+ */
28
+ "displayName"?: string;
29
+ /**
30
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
31
+ * resource is created.
32
+ *
33
+ */
34
+ "compartmentId": string;
35
+ /**
36
+ * The clients belonging to this subscriber.
37
+ */
38
+ "clients": Array<model.Client>;
39
+ /**
40
+ * An array of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s of usage
41
+ * plan resources.
42
+ *
43
+ */
44
+ "usagePlans": Array<string>;
45
+ /**
46
+ * Free-form tags for this resource. Each tag is a simple key-value pair
47
+ * with no predefined name, type, or namespace. For more information, see
48
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
49
+ * <p>
50
+ Example: `{\"Department\": \"Finance\"}`
51
+ *
52
+ */
53
+ "freeformTags"?: {
54
+ [key: string]: string;
55
+ };
56
+ /**
57
+ * Defined tags for this resource. Each key is predefined and scoped to a
58
+ * namespace. For more information, see
59
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
60
+ * <p>
61
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
62
+ *
63
+ */
64
+ "definedTags"?: {
65
+ [key: string]: {
66
+ [key: string]: any;
67
+ };
68
+ };
69
+ }
70
+ export declare namespace CreateSubscriberDetails {
71
+ function getJsonObj(obj: CreateSubscriberDetails): object;
72
+ function getDeserializedJsonObj(obj: CreateSubscriberDetails): object;
73
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateSubscriberDetails = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var CreateSubscriberDetails;
40
+ (function (CreateSubscriberDetails) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "clients": obj.clients
44
+ ? obj.clients.map(item => {
45
+ return model.Client.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ CreateSubscriberDetails.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "clients": obj.clients
55
+ ? obj.clients.map(item => {
56
+ return model.Client.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ CreateSubscriberDetails.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(CreateSubscriberDetails = exports.CreateSubscriberDetails || (exports.CreateSubscriberDetails = {}));
64
+ //# sourceMappingURL=create-subscriber-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-subscriber-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-subscriber-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmDlC,IAAiB,uBAAuB,CA6BvC;AA7BD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QA6BvC"}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ import * as model from "../model";
17
+ /**
18
+ * Information about a new usage plan.
19
+ */
20
+ export interface CreateUsagePlanDetails {
21
+ /**
22
+ * A user-friendly name. Does not have to be unique, and it's changeable.
23
+ * Avoid entering confidential information.
24
+ * <p>
25
+ Example: `My new resource`
26
+ *
27
+ */
28
+ "displayName"?: string;
29
+ /**
30
+ * A collection of entitlements to assign to the newly created usage plan.
31
+ *
32
+ */
33
+ "entitlements": Array<model.Entitlement>;
34
+ /**
35
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
36
+ * resource is created.
37
+ *
38
+ */
39
+ "compartmentId": string;
40
+ /**
41
+ * Free-form tags for this resource. Each tag is a simple key-value pair
42
+ * with no predefined name, type, or namespace. For more information, see
43
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
44
+ * <p>
45
+ Example: `{\"Department\": \"Finance\"}`
46
+ *
47
+ */
48
+ "freeformTags"?: {
49
+ [key: string]: string;
50
+ };
51
+ /**
52
+ * Defined tags for this resource. Each key is predefined and scoped to a
53
+ * namespace. For more information, see
54
+ * [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
55
+ * <p>
56
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
57
+ *
58
+ */
59
+ "definedTags"?: {
60
+ [key: string]: {
61
+ [key: string]: any;
62
+ };
63
+ };
64
+ }
65
+ export declare namespace CreateUsagePlanDetails {
66
+ function getJsonObj(obj: CreateUsagePlanDetails): object;
67
+ function getDeserializedJsonObj(obj: CreateUsagePlanDetails): object;
68
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateUsagePlanDetails = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var CreateUsagePlanDetails;
40
+ (function (CreateUsagePlanDetails) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "entitlements": obj.entitlements
44
+ ? obj.entitlements.map(item => {
45
+ return model.Entitlement.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ CreateUsagePlanDetails.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "entitlements": obj.entitlements
55
+ ? obj.entitlements.map(item => {
56
+ return model.Entitlement.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ CreateUsagePlanDetails.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(CreateUsagePlanDetails = exports.CreateUsagePlanDetails || (exports.CreateUsagePlanDetails = {}));
64
+ //# sourceMappingURL=create-usage-plan-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-usage-plan-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-usage-plan-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ClC,IAAiB,sBAAsB,CA6BtC;AA7BD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6BtC"}
@@ -57,7 +57,7 @@ export interface Deployment {
57
57
  * The endpoint to access this deployment on the gateway.
58
58
  */
59
59
  "endpoint": string;
60
- "specification"?: model.ApiSpecification;
60
+ "specification": model.ApiSpecification;
61
61
  /**
62
62
  * The time this resource was created. An RFC3339 formatted datetime string.
63
63
  */
@@ -0,0 +1,39 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ import * as model from "../model";
17
+ /**
18
+ * A summary of an entitlement included in a usage plan.
19
+ *
20
+ */
21
+ export interface EntitlementSummary {
22
+ /**
23
+ * An entitlement name, unique within a usage plan.
24
+ *
25
+ */
26
+ "name": string;
27
+ /**
28
+ * A user-friendly description. To provide some insight about the resource.
29
+ * Avoid entering confidential information.
30
+ *
31
+ */
32
+ "description"?: string;
33
+ "rateLimit"?: model.RateLimit;
34
+ "quota"?: model.Quota;
35
+ }
36
+ export declare namespace EntitlementSummary {
37
+ function getJsonObj(obj: EntitlementSummary): object;
38
+ function getDeserializedJsonObj(obj: EntitlementSummary): object;
39
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.EntitlementSummary = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var EntitlementSummary;
40
+ (function (EntitlementSummary) {
41
+ function getJsonObj(obj) {
42
+ const jsonObj = Object.assign(Object.assign({}, obj), {
43
+ "rateLimit": obj.rateLimit ? model.RateLimit.getJsonObj(obj.rateLimit) : undefined,
44
+ "quota": obj.quota ? model.Quota.getJsonObj(obj.quota) : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ EntitlementSummary.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "rateLimit": obj.rateLimit
52
+ ? model.RateLimit.getDeserializedJsonObj(obj.rateLimit)
53
+ : undefined,
54
+ "quota": obj.quota ? model.Quota.getDeserializedJsonObj(obj.quota) : undefined
55
+ });
56
+ return jsonObj;
57
+ }
58
+ EntitlementSummary.getDeserializedJsonObj = getDeserializedJsonObj;
59
+ })(EntitlementSummary = exports.EntitlementSummary || (exports.EntitlementSummary = {}));
60
+ //# sourceMappingURL=entitlement-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entitlement-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/entitlement-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,kBAAkB,CAyBlC;AAzBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;YAClF,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;SACnE,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,6BAAU,aAUzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;SAC/E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yCAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAyBlC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ /**
17
+ * An entitlement target, describing which deployment the entitlement should be applied to.
18
+ *
19
+ */
20
+ export interface EntitlementTarget {
21
+ /**
22
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a deployment
23
+ * resource.
24
+ *
25
+ */
26
+ "deploymentId": string;
27
+ }
28
+ export declare namespace EntitlementTarget {
29
+ function getJsonObj(obj: EntitlementTarget): object;
30
+ function getDeserializedJsonObj(obj: EntitlementTarget): object;
31
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * API Gateway API
4
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
5
+ For more information, see
6
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
7
+
8
+ * OpenAPI spec version: 20190501
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.EntitlementTarget = void 0;
19
+ var EntitlementTarget;
20
+ (function (EntitlementTarget) {
21
+ function getJsonObj(obj) {
22
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
23
+ return jsonObj;
24
+ }
25
+ EntitlementTarget.getJsonObj = getJsonObj;
26
+ function getDeserializedJsonObj(obj) {
27
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
28
+ return jsonObj;
29
+ }
30
+ EntitlementTarget.getDeserializedJsonObj = getDeserializedJsonObj;
31
+ })(EntitlementTarget = exports.EntitlementTarget || (exports.EntitlementTarget = {}));
32
+ //# sourceMappingURL=entitlement-target.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entitlement-target.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/entitlement-target.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAkBH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * API Gateway API
3
+ * API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4
+ For more information, see
5
+ [Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6
+
7
+ * OpenAPI spec version: 20190501
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
14
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15
+ */
16
+ import * as model from "../model";
17
+ /**
18
+ * A usage plan entitlement, comprising of rate limits, quotas and the deployments they are applied to.
19
+ *
20
+ */
21
+ export interface Entitlement {
22
+ /**
23
+ * An entitlement name, unique within a usage plan.
24
+ *
25
+ */
26
+ "name": string;
27
+ /**
28
+ * A user-friendly description. To provide some insight about the resource.
29
+ * Avoid entering confidential information.
30
+ *
31
+ */
32
+ "description"?: string;
33
+ "rateLimit"?: model.RateLimit;
34
+ "quota"?: model.Quota;
35
+ /**
36
+ * A collection of targeted deployments that the entitlement will be applied to.
37
+ *
38
+ */
39
+ "targets"?: Array<model.EntitlementTarget>;
40
+ }
41
+ export declare namespace Entitlement {
42
+ function getJsonObj(obj: Entitlement): object;
43
+ function getDeserializedJsonObj(obj: Entitlement): object;
44
+ }