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.
- package/index.d.ts +6 -0
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +287 -61
- package/lib/client.js +1302 -222
- package/lib/client.js.map +1 -1
- package/lib/model/api-specification-request-policies.d.ts +1 -0
- package/lib/model/api-specification-request-policies.js +5 -1
- package/lib/model/api-specification-request-policies.js.map +1 -1
- package/lib/model/change-subscriber-compartment-details.d.ts +30 -0
- package/lib/model/change-subscriber-compartment-details.js +32 -0
- package/lib/model/change-subscriber-compartment-details.js.map +1 -0
- package/lib/model/change-usage-plan-compartment-details.d.ts +30 -0
- package/lib/model/change-usage-plan-compartment-details.js +32 -0
- package/lib/model/change-usage-plan-compartment-details.js.map +1 -0
- package/lib/model/client-summary.d.ts +28 -0
- package/lib/model/client-summary.js +32 -0
- package/lib/model/client-summary.js.map +1 -0
- package/lib/model/client.d.ts +32 -0
- package/lib/model/client.js +32 -0
- package/lib/model/client.js.map +1 -0
- package/lib/model/create-deployment-details.d.ts +1 -1
- package/lib/model/create-subscriber-details.d.ts +73 -0
- package/lib/model/create-subscriber-details.js +64 -0
- package/lib/model/create-subscriber-details.js.map +1 -0
- package/lib/model/create-usage-plan-details.d.ts +68 -0
- package/lib/model/create-usage-plan-details.js +64 -0
- package/lib/model/create-usage-plan-details.js.map +1 -0
- package/lib/model/deployment.d.ts +1 -1
- package/lib/model/entitlement-summary.d.ts +39 -0
- package/lib/model/entitlement-summary.js +60 -0
- package/lib/model/entitlement-summary.js.map +1 -0
- package/lib/model/entitlement-target.d.ts +31 -0
- package/lib/model/entitlement-target.js +32 -0
- package/lib/model/entitlement-target.js.map +1 -0
- package/lib/model/entitlement.d.ts +44 -0
- package/lib/model/entitlement.js +70 -0
- package/lib/model/entitlement.js.map +1 -0
- package/lib/model/index.d.ts +40 -0
- package/lib/model/index.js +43 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/quota.d.ts +78 -0
- package/lib/model/quota.js +64 -0
- package/lib/model/quota.js.map +1 -0
- package/lib/model/rate-limit.d.ts +44 -0
- package/lib/model/rate-limit.js +41 -0
- package/lib/model/rate-limit.js.map +1 -0
- package/lib/model/subscriber-collection.d.ts +29 -0
- package/lib/model/subscriber-collection.js +64 -0
- package/lib/model/subscriber-collection.js.map +1 -0
- package/lib/model/subscriber-summary.d.ts +97 -0
- package/lib/model/subscriber-summary.js +64 -0
- package/lib/model/subscriber-summary.js.map +1 -0
- package/lib/model/subscriber.d.ts +111 -0
- package/lib/model/subscriber.js +78 -0
- package/lib/model/subscriber.js.map +1 -0
- package/lib/model/update-subscriber-details.d.ts +67 -0
- package/lib/model/update-subscriber-details.js +64 -0
- package/lib/model/update-subscriber-details.js.map +1 -0
- package/lib/model/update-usage-plan-details.d.ts +62 -0
- package/lib/model/update-usage-plan-details.js +64 -0
- package/lib/model/update-usage-plan-details.js.map +1 -0
- package/lib/model/usage-plan-collection.d.ts +29 -0
- package/lib/model/usage-plan-collection.js +64 -0
- package/lib/model/usage-plan-collection.js.map +1 -0
- package/lib/model/usage-plan-summary.d.ts +92 -0
- package/lib/model/usage-plan-summary.js +64 -0
- package/lib/model/usage-plan-summary.js.map +1 -0
- package/lib/model/usage-plan.d.ts +106 -0
- package/lib/model/usage-plan.js +78 -0
- package/lib/model/usage-plan.js.map +1 -0
- package/lib/model/usage-plans-policy.d.ts +34 -0
- package/lib/model/usage-plans-policy.js +32 -0
- package/lib/model/usage-plans-policy.js.map +1 -0
- package/lib/model/work-request.d.ts +6 -0
- package/lib/model/work-request.js +6 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-api-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-compartment-request.d.ts +1 -1
- package/lib/request/change-gateway-compartment-request.d.ts +1 -1
- package/lib/request/change-subscriber-compartment-request.d.ts +49 -0
- package/lib/request/change-subscriber-compartment-request.js +15 -0
- package/lib/request/change-subscriber-compartment-request.js.map +1 -0
- package/lib/request/change-usage-plan-compartment-request.d.ts +49 -0
- package/lib/request/change-usage-plan-compartment-request.js +15 -0
- package/lib/request/change-usage-plan-compartment-request.js.map +1 -0
- package/lib/request/create-api-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/create-gateway-request.d.ts +1 -1
- package/lib/request/create-sdk-request.d.ts +1 -1
- package/lib/request/create-subscriber-request.d.ts +36 -0
- package/lib/request/create-subscriber-request.js +15 -0
- package/lib/request/create-subscriber-request.js.map +1 -0
- package/lib/request/create-usage-plan-request.d.ts +36 -0
- package/lib/request/create-usage-plan-request.js +15 -0
- package/lib/request/create-usage-plan-request.js.map +1 -0
- package/lib/request/delete-api-request.d.ts +1 -1
- package/lib/request/delete-certificate-request.d.ts +1 -1
- package/lib/request/delete-deployment-request.d.ts +1 -1
- package/lib/request/delete-gateway-request.d.ts +1 -1
- package/lib/request/delete-sdk-request.d.ts +1 -1
- package/lib/request/delete-subscriber-request.d.ts +35 -0
- package/lib/request/delete-subscriber-request.js +15 -0
- package/lib/request/delete-subscriber-request.js.map +1 -0
- package/lib/request/delete-usage-plan-request.d.ts +35 -0
- package/lib/request/delete-usage-plan-request.js +15 -0
- package/lib/request/delete-usage-plan-request.js.map +1 -0
- package/lib/request/get-api-content-request.d.ts +1 -1
- package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
- package/lib/request/get-api-request.d.ts +1 -1
- package/lib/request/get-api-validations-request.d.ts +1 -1
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-gateway-request.d.ts +1 -1
- package/lib/request/get-sdk-request.d.ts +1 -1
- package/lib/request/get-subscriber-request.d.ts +26 -0
- package/lib/request/get-subscriber-request.js +15 -0
- package/lib/request/get-subscriber-request.js.map +1 -0
- package/lib/request/get-usage-plan-request.d.ts +26 -0
- package/lib/request/get-usage-plan-request.js +15 -0
- package/lib/request/get-usage-plan-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +24 -0
- package/lib/request/index.js +5 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-apis-request.d.ts +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/list-deployments-request.d.ts +1 -1
- package/lib/request/list-gateways-request.d.ts +1 -1
- package/lib/request/list-sdk-language-types-request.d.ts +1 -1
- package/lib/request/list-sdks-request.d.ts +1 -1
- package/lib/request/list-subscribers-request.d.ts +69 -0
- package/lib/request/list-subscribers-request.js +29 -0
- package/lib/request/list-subscribers-request.js.map +1 -0
- package/lib/request/list-usage-plans-request.d.ts +69 -0
- package/lib/request/list-usage-plans-request.js +29 -0
- package/lib/request/list-usage-plans-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-api-request.d.ts +1 -1
- package/lib/request/update-certificate-request.d.ts +1 -1
- package/lib/request/update-deployment-request.d.ts +1 -1
- package/lib/request/update-gateway-request.d.ts +1 -1
- package/lib/request/update-sdk-request.d.ts +1 -1
- package/lib/request/update-subscriber-request.d.ts +40 -0
- package/lib/request/update-subscriber-request.js +15 -0
- package/lib/request/update-subscriber-request.js.map +1 -0
- package/lib/request/update-usage-plan-request.d.ts +40 -0
- package/lib/request/update-usage-plan-request.js +15 -0
- package/lib/request/update-usage-plan-request.js.map +1 -0
- package/lib/response/change-subscriber-compartment-response.d.ts +29 -0
- package/lib/response/change-subscriber-compartment-response.js +15 -0
- package/lib/response/change-subscriber-compartment-response.js.map +1 -0
- package/lib/response/change-usage-plan-compartment-response.d.ts +29 -0
- package/lib/response/change-usage-plan-compartment-response.js +15 -0
- package/lib/response/change-usage-plan-compartment-response.js.map +1 -0
- package/lib/response/create-subscriber-response.d.ts +44 -0
- package/lib/response/create-subscriber-response.js +15 -0
- package/lib/response/create-subscriber-response.js.map +1 -0
- package/lib/response/create-usage-plan-response.d.ts +44 -0
- package/lib/response/create-usage-plan-response.js +15 -0
- package/lib/response/create-usage-plan-response.js.map +1 -0
- package/lib/response/delete-subscriber-response.d.ts +29 -0
- package/lib/response/delete-subscriber-response.js +15 -0
- package/lib/response/delete-subscriber-response.js.map +1 -0
- package/lib/response/delete-usage-plan-response.d.ts +29 -0
- package/lib/response/delete-usage-plan-response.js +15 -0
- package/lib/response/delete-usage-plan-response.js.map +1 -0
- package/lib/response/get-subscriber-response.d.ts +31 -0
- package/lib/response/get-subscriber-response.js +15 -0
- package/lib/response/get-subscriber-response.js.map +1 -0
- package/lib/response/get-usage-plan-response.d.ts +31 -0
- package/lib/response/get-usage-plan-response.js +15 -0
- package/lib/response/get-usage-plan-response.js.map +1 -0
- package/lib/response/index.d.ts +24 -0
- package/lib/response/list-subscribers-response.d.ts +42 -0
- package/lib/response/list-subscribers-response.js +15 -0
- package/lib/response/list-subscribers-response.js.map +1 -0
- package/lib/response/list-usage-plans-response.d.ts +42 -0
- package/lib/response/list-usage-plans-response.js +15 -0
- package/lib/response/list-usage-plans-response.js.map +1 -0
- package/lib/response/update-subscriber-response.d.ts +29 -0
- package/lib/response/update-subscriber-response.js +15 -0
- package/lib/response/update-subscriber-response.js.map +1 -0
- package/lib/response/update-usage-plan-response.d.ts +29 -0
- package/lib/response/update-usage-plan-response.js +15 -0
- package/lib/response/update-usage-plan-response.js.map +1 -0
- package/lib/subscribers-waiter.d.ts +32 -0
- package/lib/subscribers-waiter.js +68 -0
- package/lib/subscribers-waiter.js.map +1 -0
- package/lib/usageplans-waiter.d.ts +32 -0
- package/lib/usageplans-waiter.js +68 -0
- package/lib/usageplans-waiter.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,97 @@
|
|
|
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 a subscriber.
|
|
19
|
+
*/
|
|
20
|
+
export interface SubscriberSummary {
|
|
21
|
+
/**
|
|
22
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"id": string;
|
|
26
|
+
/**
|
|
27
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
|
|
28
|
+
* resource is created.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"compartmentId": string;
|
|
32
|
+
/**
|
|
33
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
34
|
+
* Avoid entering confidential information.
|
|
35
|
+
* <p>
|
|
36
|
+
Example: `My new resource`
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"displayName"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The clients belonging to this subscriber.
|
|
42
|
+
*/
|
|
43
|
+
"clients": Array<model.ClientSummary>;
|
|
44
|
+
/**
|
|
45
|
+
* An array of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s of usage
|
|
46
|
+
* plan resources.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"usagePlans": Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The time this resource was created. An RFC3339 formatted datetime string.
|
|
52
|
+
*/
|
|
53
|
+
"timeCreated": Date;
|
|
54
|
+
/**
|
|
55
|
+
* The time this resource was last updated. An RFC3339 formatted datetime string.
|
|
56
|
+
*/
|
|
57
|
+
"timeUpdated": Date;
|
|
58
|
+
/**
|
|
59
|
+
* The current state of the subscriber.
|
|
60
|
+
*/
|
|
61
|
+
"lifecycleState": string;
|
|
62
|
+
/**
|
|
63
|
+
* A message describing the current state in more detail.
|
|
64
|
+
* For example, can be used to provide actionable information for a
|
|
65
|
+
* resource in a Failed state.
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"lifecycleDetails"?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair
|
|
71
|
+
* with no predefined name, type, or namespace. For more information, see
|
|
72
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
73
|
+
* <p>
|
|
74
|
+
Example: `{\"Department\": \"Finance\"}`
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"freeformTags"?: {
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
82
|
+
* namespace. For more information, see
|
|
83
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
84
|
+
* <p>
|
|
85
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
"definedTags"?: {
|
|
89
|
+
[key: string]: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export declare namespace SubscriberSummary {
|
|
95
|
+
function getJsonObj(obj: SubscriberSummary): object;
|
|
96
|
+
function getDeserializedJsonObj(obj: SubscriberSummary): object;
|
|
97
|
+
}
|
|
@@ -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.SubscriberSummary = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var SubscriberSummary;
|
|
40
|
+
(function (SubscriberSummary) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"clients": obj.clients
|
|
44
|
+
? obj.clients.map(item => {
|
|
45
|
+
return model.ClientSummary.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
SubscriberSummary.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.ClientSummary.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
SubscriberSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(SubscriberSummary = exports.SubscriberSummary || (exports.SubscriberSummary = {}));
|
|
64
|
+
//# sourceMappingURL=subscriber-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriber-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/subscriber-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2ElC,IAAiB,iBAAiB,CA6BjC;AA7BD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,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,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,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,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6BjC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 subscriber, which encapsulates a number of clients and usage plans that they are subscribed to.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface Subscriber {
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"id": string;
|
|
27
|
+
/**
|
|
28
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the
|
|
29
|
+
* resource is created.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"compartmentId": string;
|
|
33
|
+
/**
|
|
34
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
35
|
+
* Avoid entering confidential information.
|
|
36
|
+
* <p>
|
|
37
|
+
Example: `My new resource`
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"displayName"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The clients belonging to this subscriber.
|
|
43
|
+
*/
|
|
44
|
+
"clients": Array<model.Client>;
|
|
45
|
+
/**
|
|
46
|
+
* An array of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s of usage
|
|
47
|
+
* plan resources.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"usagePlans": Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The time this resource was created. An RFC3339 formatted datetime string.
|
|
53
|
+
*/
|
|
54
|
+
"timeCreated": Date;
|
|
55
|
+
/**
|
|
56
|
+
* The time this resource was last updated. An RFC3339 formatted datetime string.
|
|
57
|
+
*/
|
|
58
|
+
"timeUpdated": Date;
|
|
59
|
+
/**
|
|
60
|
+
* The current state of the subscriber.
|
|
61
|
+
*/
|
|
62
|
+
"lifecycleState": Subscriber.LifecycleState;
|
|
63
|
+
/**
|
|
64
|
+
* A message describing the current state in more detail.
|
|
65
|
+
* For example, can be used to provide actionable information for a
|
|
66
|
+
* resource in a Failed state.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"lifecycleDetails"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair
|
|
72
|
+
* with no predefined name, type, or namespace. For more information, see
|
|
73
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
74
|
+
* <p>
|
|
75
|
+
Example: `{\"Department\": \"Finance\"}`
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"freeformTags"?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
83
|
+
* namespace. For more information, see
|
|
84
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
85
|
+
* <p>
|
|
86
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
"definedTags"?: {
|
|
90
|
+
[key: string]: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export declare namespace Subscriber {
|
|
96
|
+
enum LifecycleState {
|
|
97
|
+
Creating = "CREATING",
|
|
98
|
+
Active = "ACTIVE",
|
|
99
|
+
Updating = "UPDATING",
|
|
100
|
+
Deleting = "DELETING",
|
|
101
|
+
Deleted = "DELETED",
|
|
102
|
+
Failed = "FAILED",
|
|
103
|
+
/**
|
|
104
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
105
|
+
* version of the SDK.
|
|
106
|
+
*/
|
|
107
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
108
|
+
}
|
|
109
|
+
function getJsonObj(obj: Subscriber): object;
|
|
110
|
+
function getDeserializedJsonObj(obj: Subscriber): object;
|
|
111
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.Subscriber = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var Subscriber;
|
|
40
|
+
(function (Subscriber) {
|
|
41
|
+
let LifecycleState;
|
|
42
|
+
(function (LifecycleState) {
|
|
43
|
+
LifecycleState["Creating"] = "CREATING";
|
|
44
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
45
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
46
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
47
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
48
|
+
LifecycleState["Failed"] = "FAILED";
|
|
49
|
+
/**
|
|
50
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
51
|
+
* version of the SDK.
|
|
52
|
+
*/
|
|
53
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
54
|
+
})(LifecycleState = Subscriber.LifecycleState || (Subscriber.LifecycleState = {}));
|
|
55
|
+
function getJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"clients": obj.clients
|
|
58
|
+
? obj.clients.map(item => {
|
|
59
|
+
return model.Client.getJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
Subscriber.getJsonObj = getJsonObj;
|
|
66
|
+
function getDeserializedJsonObj(obj) {
|
|
67
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
68
|
+
"clients": obj.clients
|
|
69
|
+
? obj.clients.map(item => {
|
|
70
|
+
return model.Client.getDeserializedJsonObj(item);
|
|
71
|
+
})
|
|
72
|
+
: undefined
|
|
73
|
+
});
|
|
74
|
+
return jsonObj;
|
|
75
|
+
}
|
|
76
|
+
Subscriber.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
77
|
+
})(Subscriber = exports.Subscriber || (exports.Subscriber = {}));
|
|
78
|
+
//# sourceMappingURL=subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriber.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/subscriber.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ElC,IAAiB,UAAU,CA2C1B;AA3CD,WAAiB,UAAU;IACzB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,yBAAc,KAAd,yBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAe;QACxC,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,qBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,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,iCAAsB,yBAarC,CAAA;AACH,CAAC,EA3CgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA2C1B"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
* The information to be updated.
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdateSubscriberDetails {
|
|
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 clients belonging to the subscriber.
|
|
31
|
+
*/
|
|
32
|
+
"clients"?: Array<model.Client>;
|
|
33
|
+
/**
|
|
34
|
+
* An array of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s of usage
|
|
35
|
+
* plan resources.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"usagePlans"?: Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair
|
|
41
|
+
* with no predefined name, type, or namespace. For more information, see
|
|
42
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
43
|
+
* <p>
|
|
44
|
+
Example: `{\"Department\": \"Finance\"}`
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"freeformTags"?: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
52
|
+
* namespace. For more information, see
|
|
53
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
54
|
+
* <p>
|
|
55
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"definedTags"?: {
|
|
59
|
+
[key: string]: {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export declare namespace UpdateSubscriberDetails {
|
|
65
|
+
function getJsonObj(obj: UpdateSubscriberDetails): object;
|
|
66
|
+
function getDeserializedJsonObj(obj: UpdateSubscriberDetails): object;
|
|
67
|
+
}
|
|
@@ -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.UpdateSubscriberDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var UpdateSubscriberDetails;
|
|
40
|
+
(function (UpdateSubscriberDetails) {
|
|
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
|
+
UpdateSubscriberDetails.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
|
+
UpdateSubscriberDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(UpdateSubscriberDetails = exports.UpdateSubscriberDetails || (exports.UpdateSubscriberDetails = {}));
|
|
64
|
+
//# sourceMappingURL=update-subscriber-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-subscriber-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/update-subscriber-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ClC,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,62 @@
|
|
|
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
|
+
* The information to be updated.
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdateUsagePlanDetails {
|
|
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 update the current usage plan with.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"entitlements"?: Array<model.Entitlement>;
|
|
34
|
+
/**
|
|
35
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair
|
|
36
|
+
* with no predefined name, type, or namespace. For more information, see
|
|
37
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
38
|
+
* <p>
|
|
39
|
+
Example: `{\"Department\": \"Finance\"}`
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"freeformTags"?: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
47
|
+
* namespace. For more information, see
|
|
48
|
+
* [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
49
|
+
* <p>
|
|
50
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"definedTags"?: {
|
|
54
|
+
[key: string]: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export declare namespace UpdateUsagePlanDetails {
|
|
60
|
+
function getJsonObj(obj: UpdateUsagePlanDetails): object;
|
|
61
|
+
function getDeserializedJsonObj(obj: UpdateUsagePlanDetails): object;
|
|
62
|
+
}
|
|
@@ -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.UpdateUsagePlanDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var UpdateUsagePlanDetails;
|
|
40
|
+
(function (UpdateUsagePlanDetails) {
|
|
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
|
+
UpdateUsagePlanDetails.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
|
+
UpdateUsagePlanDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(UpdateUsagePlanDetails = exports.UpdateUsagePlanDetails || (exports.UpdateUsagePlanDetails = {}));
|
|
64
|
+
//# sourceMappingURL=update-usage-plan-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-usage-plan-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/update-usage-plan-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwClC,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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* Collection of usage plan summaries.
|
|
19
|
+
*/
|
|
20
|
+
export interface UsagePlanCollection {
|
|
21
|
+
/**
|
|
22
|
+
* Usage plan summaries.
|
|
23
|
+
*/
|
|
24
|
+
"items": Array<model.UsagePlanSummary>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace UsagePlanCollection {
|
|
27
|
+
function getJsonObj(obj: UsagePlanCollection): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: UsagePlanCollection): object;
|
|
29
|
+
}
|