@huaweicloud/huaweicloud-sdk-smn 3.1.10
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/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-smn.d.ts +1 -0
- package/huaweicloud-sdk-smn.js +17 -0
- package/package.json +19 -0
- package/v2/SmnClient.d.ts +1187 -0
- package/v2/SmnClient.js +2299 -0
- package/v2/SmnRegion.d.ts +22 -0
- package/v2/SmnRegion.js +59 -0
- package/v2/model/AddSubscriptionRequest.d.ts +10 -0
- package/v2/model/AddSubscriptionRequest.js +28 -0
- package/v2/model/AddSubscriptionRequestBody.d.ts +9 -0
- package/v2/model/AddSubscriptionRequestBody.js +23 -0
- package/v2/model/AddSubscriptionResponse.d.ts +12 -0
- package/v2/model/AddSubscriptionResponse.js +55 -0
- package/v2/model/ApplicationEndpoint.d.ts +19 -0
- package/v2/model/ApplicationEndpoint.js +64 -0
- package/v2/model/ApplicationItem.d.ts +25 -0
- package/v2/model/ApplicationItem.js +83 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.d.ts +14 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.js +43 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.d.ts +8 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.js +19 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.d.ts +4 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.js +27 -0
- package/v2/model/CancelSubscriptionRequest.d.ts +7 -0
- package/v2/model/CancelSubscriptionRequest.js +24 -0
- package/v2/model/CancelSubscriptionResponse.d.ts +8 -0
- package/v2/model/CancelSubscriptionResponse.js +41 -0
- package/v2/model/CreateApplicationEndpointRequest.d.ts +10 -0
- package/v2/model/CreateApplicationEndpointRequest.js +28 -0
- package/v2/model/CreateApplicationEndpointRequestBody.d.ts +9 -0
- package/v2/model/CreateApplicationEndpointRequestBody.js +29 -0
- package/v2/model/CreateApplicationEndpointResponse.d.ts +12 -0
- package/v2/model/CreateApplicationEndpointResponse.js +55 -0
- package/v2/model/CreateApplicationRequest.d.ts +6 -0
- package/v2/model/CreateApplicationRequest.js +13 -0
- package/v2/model/CreateApplicationRequestBody.d.ts +15 -0
- package/v2/model/CreateApplicationRequestBody.js +49 -0
- package/v2/model/CreateApplicationResponse.d.ts +16 -0
- package/v2/model/CreateApplicationResponse.js +69 -0
- package/v2/model/CreateMessageTemplateRequest.d.ts +6 -0
- package/v2/model/CreateMessageTemplateRequest.js +13 -0
- package/v2/model/CreateMessageTemplateRequestBody.d.ts +11 -0
- package/v2/model/CreateMessageTemplateRequestBody.js +34 -0
- package/v2/model/CreateMessageTemplateResponse.d.ts +12 -0
- package/v2/model/CreateMessageTemplateResponse.js +55 -0
- package/v2/model/CreateResourceTagRequest.d.ts +14 -0
- package/v2/model/CreateResourceTagRequest.js +43 -0
- package/v2/model/CreateResourceTagRequestBody.d.ts +6 -0
- package/v2/model/CreateResourceTagRequestBody.js +14 -0
- package/v2/model/CreateResourceTagRequestBodyTag.d.ts +7 -0
- package/v2/model/CreateResourceTagRequestBodyTag.js +19 -0
- package/v2/model/CreateResourceTagResponse.d.ts +4 -0
- package/v2/model/CreateResourceTagResponse.js +27 -0
- package/v2/model/CreateTopicRequest.d.ts +6 -0
- package/v2/model/CreateTopicRequest.js +13 -0
- package/v2/model/CreateTopicRequestBody.d.ts +13 -0
- package/v2/model/CreateTopicRequestBody.js +43 -0
- package/v2/model/CreateTopicResponse.d.ts +12 -0
- package/v2/model/CreateTopicResponse.js +55 -0
- package/v2/model/DeleteApplicationEndpointRequest.d.ts +7 -0
- package/v2/model/DeleteApplicationEndpointRequest.js +24 -0
- package/v2/model/DeleteApplicationEndpointResponse.d.ts +8 -0
- package/v2/model/DeleteApplicationEndpointResponse.js +41 -0
- package/v2/model/DeleteApplicationRequest.d.ts +7 -0
- package/v2/model/DeleteApplicationRequest.js +24 -0
- package/v2/model/DeleteApplicationResponse.d.ts +8 -0
- package/v2/model/DeleteApplicationResponse.js +41 -0
- package/v2/model/DeleteMessageTemplateRequest.d.ts +7 -0
- package/v2/model/DeleteMessageTemplateRequest.js +24 -0
- package/v2/model/DeleteMessageTemplateResponse.d.ts +8 -0
- package/v2/model/DeleteMessageTemplateResponse.js +41 -0
- package/v2/model/DeleteResourceTagRequest.d.ts +13 -0
- package/v2/model/DeleteResourceTagRequest.js +44 -0
- package/v2/model/DeleteResourceTagResponse.d.ts +4 -0
- package/v2/model/DeleteResourceTagResponse.js +27 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.d.ts +9 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.js +29 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.d.ts +8 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.js +41 -0
- package/v2/model/DeleteTopicAttributesRequest.d.ts +7 -0
- package/v2/model/DeleteTopicAttributesRequest.js +24 -0
- package/v2/model/DeleteTopicAttributesResponse.d.ts +8 -0
- package/v2/model/DeleteTopicAttributesResponse.js +41 -0
- package/v2/model/DeleteTopicRequest.d.ts +7 -0
- package/v2/model/DeleteTopicRequest.js +24 -0
- package/v2/model/DeleteTopicResponse.d.ts +8 -0
- package/v2/model/DeleteTopicResponse.js +41 -0
- package/v2/model/LinksItem.d.ts +7 -0
- package/v2/model/LinksItem.js +19 -0
- package/v2/model/ListApplicationAttributesRequest.d.ts +7 -0
- package/v2/model/ListApplicationAttributesRequest.js +24 -0
- package/v2/model/ListApplicationAttributesResponse.d.ts +15 -0
- package/v2/model/ListApplicationAttributesResponse.js +59 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.d.ts +9 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.js +28 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.d.ts +7 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.js +24 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.d.ts +11 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.js +45 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.d.ts +11 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.js +34 -0
- package/v2/model/ListApplicationEndpointsRequest.d.ts +19 -0
- package/v2/model/ListApplicationEndpointsRequest.js +54 -0
- package/v2/model/ListApplicationEndpointsResponse.d.ts +15 -0
- package/v2/model/ListApplicationEndpointsResponse.js +59 -0
- package/v2/model/ListApplicationsRequest.d.ts +11 -0
- package/v2/model/ListApplicationsRequest.js +25 -0
- package/v2/model/ListApplicationsResponse.d.ts +15 -0
- package/v2/model/ListApplicationsResponse.js +59 -0
- package/v2/model/ListInstanceRequestBody.d.ts +27 -0
- package/v2/model/ListInstanceRequestBody.js +72 -0
- package/v2/model/ListMessageTemplateDetailsRequest.d.ts +7 -0
- package/v2/model/ListMessageTemplateDetailsRequest.js +24 -0
- package/v2/model/ListMessageTemplateDetailsResponse.d.ts +32 -0
- package/v2/model/ListMessageTemplateDetailsResponse.js +119 -0
- package/v2/model/ListMessageTemplatesRequest.d.ts +13 -0
- package/v2/model/ListMessageTemplatesRequest.js +35 -0
- package/v2/model/ListMessageTemplatesResponse.d.ts +17 -0
- package/v2/model/ListMessageTemplatesResponse.js +69 -0
- package/v2/model/ListProjectTagsRequest.d.ts +7 -0
- package/v2/model/ListProjectTagsRequest.js +24 -0
- package/v2/model/ListProjectTagsResponse.d.ts +7 -0
- package/v2/model/ListProjectTagsResponse.js +31 -0
- package/v2/model/ListResourceInstancesRequest.d.ts +10 -0
- package/v2/model/ListResourceInstancesRequest.js +28 -0
- package/v2/model/ListResourceInstancesResponse.d.ts +11 -0
- package/v2/model/ListResourceInstancesResponse.js +45 -0
- package/v2/model/ListResourceTagsRequest.d.ts +11 -0
- package/v2/model/ListResourceTagsRequest.js +39 -0
- package/v2/model/ListResourceTagsResponse.d.ts +7 -0
- package/v2/model/ListResourceTagsResponse.js +31 -0
- package/v2/model/ListSubscriptionsByTopicRequest.d.ts +11 -0
- package/v2/model/ListSubscriptionsByTopicRequest.js +32 -0
- package/v2/model/ListSubscriptionsByTopicResponse.d.ts +15 -0
- package/v2/model/ListSubscriptionsByTopicResponse.js +59 -0
- package/v2/model/ListSubscriptionsItem.d.ts +21 -0
- package/v2/model/ListSubscriptionsItem.js +64 -0
- package/v2/model/ListSubscriptionsRequest.d.ts +13 -0
- package/v2/model/ListSubscriptionsRequest.js +29 -0
- package/v2/model/ListSubscriptionsResponse.d.ts +15 -0
- package/v2/model/ListSubscriptionsResponse.js +59 -0
- package/v2/model/ListTopicAttributesRequest.d.ts +9 -0
- package/v2/model/ListTopicAttributesRequest.js +29 -0
- package/v2/model/ListTopicAttributesResponse.d.ts +11 -0
- package/v2/model/ListTopicAttributesResponse.js +45 -0
- package/v2/model/ListTopicDetailsRequest.d.ts +7 -0
- package/v2/model/ListTopicDetailsRequest.js +24 -0
- package/v2/model/ListTopicDetailsResponse.d.ts +34 -0
- package/v2/model/ListTopicDetailsResponse.js +129 -0
- package/v2/model/ListTopicsItem.d.ts +21 -0
- package/v2/model/ListTopicsItem.js +74 -0
- package/v2/model/ListTopicsRequest.d.ts +17 -0
- package/v2/model/ListTopicsRequest.js +49 -0
- package/v2/model/ListTopicsResponse.d.ts +15 -0
- package/v2/model/ListTopicsResponse.js +59 -0
- package/v2/model/ListVersionRequest.d.ts +7 -0
- package/v2/model/ListVersionRequest.js +24 -0
- package/v2/model/ListVersionResponse.d.ts +6 -0
- package/v2/model/ListVersionResponse.js +31 -0
- package/v2/model/ListVersionsRequest.d.ts +3 -0
- package/v2/model/ListVersionsRequest.js +9 -0
- package/v2/model/ListVersionsResponse.d.ts +7 -0
- package/v2/model/ListVersionsResponse.js +31 -0
- package/v2/model/MessageTemplate.d.ts +25 -0
- package/v2/model/MessageTemplate.js +89 -0
- package/v2/model/PublishAppMessageRequest.d.ts +10 -0
- package/v2/model/PublishAppMessageRequest.js +28 -0
- package/v2/model/PublishAppMessageRequestBody.d.ts +13 -0
- package/v2/model/PublishAppMessageRequestBody.js +41 -0
- package/v2/model/PublishAppMessageResponse.d.ts +12 -0
- package/v2/model/PublishAppMessageResponse.js +55 -0
- package/v2/model/PublishMessageRequest.d.ts +10 -0
- package/v2/model/PublishMessageRequest.js +28 -0
- package/v2/model/PublishMessageRequestBody.d.ts +25 -0
- package/v2/model/PublishMessageRequestBody.js +63 -0
- package/v2/model/PublishMessageResponse.d.ts +12 -0
- package/v2/model/PublishMessageResponse.js +55 -0
- package/v2/model/ResourceDetail.d.ts +17 -0
- package/v2/model/ResourceDetail.js +59 -0
- package/v2/model/ResourceTag.d.ts +7 -0
- package/v2/model/ResourceTag.js +19 -0
- package/v2/model/ResourceTags.d.ts +7 -0
- package/v2/model/ResourceTags.js +19 -0
- package/v2/model/Statement.d.ts +35 -0
- package/v2/model/Statement.js +123 -0
- package/v2/model/TagMatch.d.ts +7 -0
- package/v2/model/TagMatch.js +19 -0
- package/v2/model/TagResource.d.ts +19 -0
- package/v2/model/TagResource.js +59 -0
- package/v2/model/TopicAttribute.d.ts +16 -0
- package/v2/model/TopicAttribute.js +54 -0
- package/v2/model/UpdateApplicationEndpointRequest.d.ts +10 -0
- package/v2/model/UpdateApplicationEndpointRequest.js +28 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.d.ts +9 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.js +27 -0
- package/v2/model/UpdateApplicationEndpointResponse.d.ts +8 -0
- package/v2/model/UpdateApplicationEndpointResponse.js +41 -0
- package/v2/model/UpdateApplicationRequest.d.ts +10 -0
- package/v2/model/UpdateApplicationRequest.js +28 -0
- package/v2/model/UpdateApplicationRequestBody.d.ts +11 -0
- package/v2/model/UpdateApplicationRequestBody.js +39 -0
- package/v2/model/UpdateApplicationResponse.d.ts +8 -0
- package/v2/model/UpdateApplicationResponse.js +41 -0
- package/v2/model/UpdateMessageTemplateRequest.d.ts +10 -0
- package/v2/model/UpdateMessageTemplateRequest.js +28 -0
- package/v2/model/UpdateMessageTemplateRequestBody.d.ts +5 -0
- package/v2/model/UpdateMessageTemplateRequestBody.js +14 -0
- package/v2/model/UpdateMessageTemplateResponse.d.ts +8 -0
- package/v2/model/UpdateMessageTemplateResponse.js +41 -0
- package/v2/model/UpdateTopicAttributeRequest.d.ts +12 -0
- package/v2/model/UpdateTopicAttributeRequest.js +33 -0
- package/v2/model/UpdateTopicAttributeRequestBody.d.ts +5 -0
- package/v2/model/UpdateTopicAttributeRequestBody.js +14 -0
- package/v2/model/UpdateTopicAttributeResponse.d.ts +8 -0
- package/v2/model/UpdateTopicAttributeResponse.js +41 -0
- package/v2/model/UpdateTopicRequest.d.ts +10 -0
- package/v2/model/UpdateTopicRequest.js +28 -0
- package/v2/model/UpdateTopicRequestBody.d.ts +7 -0
- package/v2/model/UpdateTopicRequestBody.js +24 -0
- package/v2/model/UpdateTopicResponse.d.ts +8 -0
- package/v2/model/UpdateTopicResponse.js +41 -0
- package/v2/model/VersionItem.d.ts +18 -0
- package/v2/model/VersionItem.js +49 -0
- package/v2/public-api.d.ts +110 -0
- package/v2/public-api.js +126 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class SmnRegion {
|
|
2
|
+
static AF_SOUTH_1: any;
|
|
3
|
+
static CN_NORTH_4: any;
|
|
4
|
+
static CN_NORTH_1: any;
|
|
5
|
+
static CN_EAST_2: any;
|
|
6
|
+
static CN_EAST_3: any;
|
|
7
|
+
static CN_SOUTH_1: any;
|
|
8
|
+
static CN_SOUTHWEST_2: any;
|
|
9
|
+
static AP_SOUTHEAST_2: any;
|
|
10
|
+
static AP_SOUTHEAST_1: any;
|
|
11
|
+
static AP_SOUTHEAST_3: any;
|
|
12
|
+
static CN_NORTH_2: any;
|
|
13
|
+
static CN_SOUTH_2: any;
|
|
14
|
+
static NA_MEXICO_1: any;
|
|
15
|
+
static LA_NORTH_2: any;
|
|
16
|
+
static SA_BRAZIL_1: any;
|
|
17
|
+
static LA_SOUTH_2: any;
|
|
18
|
+
static CN_NORTH_9: any;
|
|
19
|
+
private static STATIC_FIELDS;
|
|
20
|
+
private static createStaticFields;
|
|
21
|
+
static valueOf(regionId: String): any;
|
|
22
|
+
}
|
package/v2/SmnRegion.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmnRegion = void 0;
|
|
4
|
+
var region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
|
|
5
|
+
var SmnRegion = /** @class */ (function () {
|
|
6
|
+
function SmnRegion() {
|
|
7
|
+
}
|
|
8
|
+
SmnRegion.createStaticFields = function () {
|
|
9
|
+
var map = new Map();
|
|
10
|
+
map.set("af-south-1", SmnRegion.AF_SOUTH_1);
|
|
11
|
+
map.set("cn-north-4", SmnRegion.CN_NORTH_4);
|
|
12
|
+
map.set("cn-north-1", SmnRegion.CN_NORTH_1);
|
|
13
|
+
map.set("cn-east-2", SmnRegion.CN_EAST_2);
|
|
14
|
+
map.set("cn-east-3", SmnRegion.CN_EAST_3);
|
|
15
|
+
map.set("cn-south-1", SmnRegion.CN_SOUTH_1);
|
|
16
|
+
map.set("cn-southwest-2", SmnRegion.CN_SOUTHWEST_2);
|
|
17
|
+
map.set("ap-southeast-2", SmnRegion.AP_SOUTHEAST_2);
|
|
18
|
+
map.set("ap-southeast-1", SmnRegion.AP_SOUTHEAST_1);
|
|
19
|
+
map.set("ap-southeast-3", SmnRegion.AP_SOUTHEAST_3);
|
|
20
|
+
map.set("cn-north-2", SmnRegion.CN_NORTH_2);
|
|
21
|
+
map.set("cn-south-2", SmnRegion.CN_SOUTH_2);
|
|
22
|
+
map.set("na-mexico-1", SmnRegion.NA_MEXICO_1);
|
|
23
|
+
map.set("la-north-2", SmnRegion.LA_NORTH_2);
|
|
24
|
+
map.set("sa-brazil-1", SmnRegion.SA_BRAZIL_1);
|
|
25
|
+
map.set("la-south-2", SmnRegion.LA_SOUTH_2);
|
|
26
|
+
map.set("cn-north-9", SmnRegion.CN_NORTH_9);
|
|
27
|
+
return map;
|
|
28
|
+
};
|
|
29
|
+
SmnRegion.valueOf = function (regionId) {
|
|
30
|
+
if (!regionId) {
|
|
31
|
+
throw new Error("Unexpected empty parameter: regionId.");
|
|
32
|
+
}
|
|
33
|
+
var result = this.STATIC_FIELDS.get(regionId);
|
|
34
|
+
if (result) {
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
throw new Error("Unexpected regionId: ".concat(regionId, "."));
|
|
38
|
+
};
|
|
39
|
+
SmnRegion.AF_SOUTH_1 = new region_1.Region("af-south-1", "https://smn.af-south-1.myhuaweicloud.com");
|
|
40
|
+
SmnRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", "https://smn.cn-north-4.myhuaweicloud.com");
|
|
41
|
+
SmnRegion.CN_NORTH_1 = new region_1.Region("cn-north-1", "https://smn.cn-north-1.myhuaweicloud.com");
|
|
42
|
+
SmnRegion.CN_EAST_2 = new region_1.Region("cn-east-2", "https://smn.cn-east-2.myhuaweicloud.com");
|
|
43
|
+
SmnRegion.CN_EAST_3 = new region_1.Region("cn-east-3", "https://smn.cn-east-3.myhuaweicloud.com");
|
|
44
|
+
SmnRegion.CN_SOUTH_1 = new region_1.Region("cn-south-1", "https://smn.cn-south-1.myhuaweicloud.com");
|
|
45
|
+
SmnRegion.CN_SOUTHWEST_2 = new region_1.Region("cn-southwest-2", "https://smn.cn-southwest-2.myhuaweicloud.com");
|
|
46
|
+
SmnRegion.AP_SOUTHEAST_2 = new region_1.Region("ap-southeast-2", "https://smn.ap-southeast-2.myhuaweicloud.com");
|
|
47
|
+
SmnRegion.AP_SOUTHEAST_1 = new region_1.Region("ap-southeast-1", "https://smn.ap-southeast-1.myhuaweicloud.com");
|
|
48
|
+
SmnRegion.AP_SOUTHEAST_3 = new region_1.Region("ap-southeast-3", "https://smn.ap-southeast-3.myhuaweicloud.com");
|
|
49
|
+
SmnRegion.CN_NORTH_2 = new region_1.Region("cn-north-2", "https://smn.cn-north-2.myhuaweicloud.cn");
|
|
50
|
+
SmnRegion.CN_SOUTH_2 = new region_1.Region("cn-south-2", "https://smn.cn-south-2.myhuaweicloud.com");
|
|
51
|
+
SmnRegion.NA_MEXICO_1 = new region_1.Region("na-mexico-1", "https://smn.na-mexico-1.myhuaweicloud.com");
|
|
52
|
+
SmnRegion.LA_NORTH_2 = new region_1.Region("la-north-2", "https://smn.la-north-2.myhuaweicloud.com");
|
|
53
|
+
SmnRegion.SA_BRAZIL_1 = new region_1.Region("sa-brazil-1", "https://smn.sa-brazil-1.myhuaweicloud.com");
|
|
54
|
+
SmnRegion.LA_SOUTH_2 = new region_1.Region("la-south-2", "https://smn.la-south-2.myhuaweicloud.com");
|
|
55
|
+
SmnRegion.CN_NORTH_9 = new region_1.Region("cn-north-9", "https://smn.cn-north-9.myhuaweicloud.com");
|
|
56
|
+
SmnRegion.STATIC_FIELDS = SmnRegion.createStaticFields();
|
|
57
|
+
return SmnRegion;
|
|
58
|
+
}());
|
|
59
|
+
exports.SmnRegion = SmnRegion;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AddSubscriptionRequestBody } from './AddSubscriptionRequestBody';
|
|
2
|
+
export declare class AddSubscriptionRequest {
|
|
3
|
+
private 'topic_urn';
|
|
4
|
+
body?: AddSubscriptionRequestBody;
|
|
5
|
+
constructor(topicUrn?: any);
|
|
6
|
+
withTopicUrn(topicUrn: string): AddSubscriptionRequest;
|
|
7
|
+
set topicUrn(topicUrn: string | undefined);
|
|
8
|
+
get topicUrn(): string | undefined;
|
|
9
|
+
withBody(body: AddSubscriptionRequestBody): AddSubscriptionRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddSubscriptionRequest = void 0;
|
|
4
|
+
var AddSubscriptionRequest = /** @class */ (function () {
|
|
5
|
+
function AddSubscriptionRequest(topicUrn) {
|
|
6
|
+
this['topic_urn'] = topicUrn;
|
|
7
|
+
}
|
|
8
|
+
AddSubscriptionRequest.prototype.withTopicUrn = function (topicUrn) {
|
|
9
|
+
this['topic_urn'] = topicUrn;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(AddSubscriptionRequest.prototype, "topicUrn", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['topic_urn'];
|
|
15
|
+
},
|
|
16
|
+
set: function (topicUrn) {
|
|
17
|
+
this['topic_urn'] = topicUrn;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
AddSubscriptionRequest.prototype.withBody = function (body) {
|
|
23
|
+
this['body'] = body;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
return AddSubscriptionRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.AddSubscriptionRequest = AddSubscriptionRequest;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class AddSubscriptionRequestBody {
|
|
2
|
+
protocol: string;
|
|
3
|
+
endpoint: string;
|
|
4
|
+
remark?: string;
|
|
5
|
+
constructor(protocol?: any, endpoint?: any);
|
|
6
|
+
withProtocol(protocol: string): AddSubscriptionRequestBody;
|
|
7
|
+
withEndpoint(endpoint: string): AddSubscriptionRequestBody;
|
|
8
|
+
withRemark(remark: string): AddSubscriptionRequestBody;
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddSubscriptionRequestBody = void 0;
|
|
4
|
+
var AddSubscriptionRequestBody = /** @class */ (function () {
|
|
5
|
+
function AddSubscriptionRequestBody(protocol, endpoint) {
|
|
6
|
+
this['protocol'] = protocol;
|
|
7
|
+
this['endpoint'] = endpoint;
|
|
8
|
+
}
|
|
9
|
+
AddSubscriptionRequestBody.prototype.withProtocol = function (protocol) {
|
|
10
|
+
this['protocol'] = protocol;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
AddSubscriptionRequestBody.prototype.withEndpoint = function (endpoint) {
|
|
14
|
+
this['endpoint'] = endpoint;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
AddSubscriptionRequestBody.prototype.withRemark = function (remark) {
|
|
18
|
+
this['remark'] = remark;
|
|
19
|
+
return this;
|
|
20
|
+
};
|
|
21
|
+
return AddSubscriptionRequestBody;
|
|
22
|
+
}());
|
|
23
|
+
exports.AddSubscriptionRequestBody = AddSubscriptionRequestBody;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class AddSubscriptionResponse extends SdkResponse {
|
|
3
|
+
private 'request_id'?;
|
|
4
|
+
private 'subscription_urn'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withRequestId(requestId: string): AddSubscriptionResponse;
|
|
7
|
+
set requestId(requestId: string | undefined);
|
|
8
|
+
get requestId(): string | undefined;
|
|
9
|
+
withSubscriptionUrn(subscriptionUrn: string): AddSubscriptionResponse;
|
|
10
|
+
set subscriptionUrn(subscriptionUrn: string | undefined);
|
|
11
|
+
get subscriptionUrn(): string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AddSubscriptionResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var AddSubscriptionResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(AddSubscriptionResponse, _super);
|
|
22
|
+
function AddSubscriptionResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
AddSubscriptionResponse.prototype.withRequestId = function (requestId) {
|
|
26
|
+
this['request_id'] = requestId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(AddSubscriptionResponse.prototype, "requestId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['request_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (requestId) {
|
|
34
|
+
this['request_id'] = requestId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
AddSubscriptionResponse.prototype.withSubscriptionUrn = function (subscriptionUrn) {
|
|
40
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(AddSubscriptionResponse.prototype, "subscriptionUrn", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['subscription_urn'];
|
|
46
|
+
},
|
|
47
|
+
set: function (subscriptionUrn) {
|
|
48
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return AddSubscriptionResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.AddSubscriptionResponse = AddSubscriptionResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class ApplicationEndpoint {
|
|
2
|
+
private 'create_time';
|
|
3
|
+
private 'endpoint_urn';
|
|
4
|
+
private 'user_data';
|
|
5
|
+
enabled: string;
|
|
6
|
+
token: string;
|
|
7
|
+
constructor(createTime?: any, endpointUrn?: any, userData?: any, enabled?: any, token?: any);
|
|
8
|
+
withCreateTime(createTime: string): ApplicationEndpoint;
|
|
9
|
+
set createTime(createTime: string | undefined);
|
|
10
|
+
get createTime(): string | undefined;
|
|
11
|
+
withEndpointUrn(endpointUrn: string): ApplicationEndpoint;
|
|
12
|
+
set endpointUrn(endpointUrn: string | undefined);
|
|
13
|
+
get endpointUrn(): string | undefined;
|
|
14
|
+
withUserData(userData: string): ApplicationEndpoint;
|
|
15
|
+
set userData(userData: string | undefined);
|
|
16
|
+
get userData(): string | undefined;
|
|
17
|
+
withEnabled(enabled: string): ApplicationEndpoint;
|
|
18
|
+
withToken(token: string): ApplicationEndpoint;
|
|
19
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationEndpoint = void 0;
|
|
4
|
+
var ApplicationEndpoint = /** @class */ (function () {
|
|
5
|
+
function ApplicationEndpoint(createTime, endpointUrn, userData, enabled, token) {
|
|
6
|
+
this['create_time'] = createTime;
|
|
7
|
+
this['endpoint_urn'] = endpointUrn;
|
|
8
|
+
this['user_data'] = userData;
|
|
9
|
+
this['enabled'] = enabled;
|
|
10
|
+
this['token'] = token;
|
|
11
|
+
}
|
|
12
|
+
ApplicationEndpoint.prototype.withCreateTime = function (createTime) {
|
|
13
|
+
this['create_time'] = createTime;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(ApplicationEndpoint.prototype, "createTime", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['create_time'];
|
|
19
|
+
},
|
|
20
|
+
set: function (createTime) {
|
|
21
|
+
this['create_time'] = createTime;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
ApplicationEndpoint.prototype.withEndpointUrn = function (endpointUrn) {
|
|
27
|
+
this['endpoint_urn'] = endpointUrn;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(ApplicationEndpoint.prototype, "endpointUrn", {
|
|
31
|
+
get: function () {
|
|
32
|
+
return this['endpoint_urn'];
|
|
33
|
+
},
|
|
34
|
+
set: function (endpointUrn) {
|
|
35
|
+
this['endpoint_urn'] = endpointUrn;
|
|
36
|
+
},
|
|
37
|
+
enumerable: false,
|
|
38
|
+
configurable: true
|
|
39
|
+
});
|
|
40
|
+
ApplicationEndpoint.prototype.withUserData = function (userData) {
|
|
41
|
+
this['user_data'] = userData;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(ApplicationEndpoint.prototype, "userData", {
|
|
45
|
+
get: function () {
|
|
46
|
+
return this['user_data'];
|
|
47
|
+
},
|
|
48
|
+
set: function (userData) {
|
|
49
|
+
this['user_data'] = userData;
|
|
50
|
+
},
|
|
51
|
+
enumerable: false,
|
|
52
|
+
configurable: true
|
|
53
|
+
});
|
|
54
|
+
ApplicationEndpoint.prototype.withEnabled = function (enabled) {
|
|
55
|
+
this['enabled'] = enabled;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
ApplicationEndpoint.prototype.withToken = function (token) {
|
|
59
|
+
this['token'] = token;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
return ApplicationEndpoint;
|
|
63
|
+
}());
|
|
64
|
+
exports.ApplicationEndpoint = ApplicationEndpoint;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class ApplicationItem {
|
|
2
|
+
name: string;
|
|
3
|
+
platform: string;
|
|
4
|
+
private 'create_time';
|
|
5
|
+
private 'application_urn';
|
|
6
|
+
private 'application_id';
|
|
7
|
+
enabled: string;
|
|
8
|
+
private 'apple_certificate_expiration_date'?;
|
|
9
|
+
constructor(name?: any, platform?: any, createTime?: any, applicationUrn?: any, applicationId?: any, enabled?: any);
|
|
10
|
+
withName(name: string): ApplicationItem;
|
|
11
|
+
withPlatform(platform: string): ApplicationItem;
|
|
12
|
+
withCreateTime(createTime: string): ApplicationItem;
|
|
13
|
+
set createTime(createTime: string | undefined);
|
|
14
|
+
get createTime(): string | undefined;
|
|
15
|
+
withApplicationUrn(applicationUrn: string): ApplicationItem;
|
|
16
|
+
set applicationUrn(applicationUrn: string | undefined);
|
|
17
|
+
get applicationUrn(): string | undefined;
|
|
18
|
+
withApplicationId(applicationId: string): ApplicationItem;
|
|
19
|
+
set applicationId(applicationId: string | undefined);
|
|
20
|
+
get applicationId(): string | undefined;
|
|
21
|
+
withEnabled(enabled: string): ApplicationItem;
|
|
22
|
+
withAppleCertificateExpirationDate(appleCertificateExpirationDate: string): ApplicationItem;
|
|
23
|
+
set appleCertificateExpirationDate(appleCertificateExpirationDate: string | undefined);
|
|
24
|
+
get appleCertificateExpirationDate(): string | undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationItem = void 0;
|
|
4
|
+
var ApplicationItem = /** @class */ (function () {
|
|
5
|
+
function ApplicationItem(name, platform, createTime, applicationUrn, applicationId, enabled) {
|
|
6
|
+
this['name'] = name;
|
|
7
|
+
this['platform'] = platform;
|
|
8
|
+
this['create_time'] = createTime;
|
|
9
|
+
this['application_urn'] = applicationUrn;
|
|
10
|
+
this['application_id'] = applicationId;
|
|
11
|
+
this['enabled'] = enabled;
|
|
12
|
+
}
|
|
13
|
+
ApplicationItem.prototype.withName = function (name) {
|
|
14
|
+
this['name'] = name;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
ApplicationItem.prototype.withPlatform = function (platform) {
|
|
18
|
+
this['platform'] = platform;
|
|
19
|
+
return this;
|
|
20
|
+
};
|
|
21
|
+
ApplicationItem.prototype.withCreateTime = function (createTime) {
|
|
22
|
+
this['create_time'] = createTime;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(ApplicationItem.prototype, "createTime", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['create_time'];
|
|
28
|
+
},
|
|
29
|
+
set: function (createTime) {
|
|
30
|
+
this['create_time'] = createTime;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
ApplicationItem.prototype.withApplicationUrn = function (applicationUrn) {
|
|
36
|
+
this['application_urn'] = applicationUrn;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(ApplicationItem.prototype, "applicationUrn", {
|
|
40
|
+
get: function () {
|
|
41
|
+
return this['application_urn'];
|
|
42
|
+
},
|
|
43
|
+
set: function (applicationUrn) {
|
|
44
|
+
this['application_urn'] = applicationUrn;
|
|
45
|
+
},
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
ApplicationItem.prototype.withApplicationId = function (applicationId) {
|
|
50
|
+
this['application_id'] = applicationId;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(ApplicationItem.prototype, "applicationId", {
|
|
54
|
+
get: function () {
|
|
55
|
+
return this['application_id'];
|
|
56
|
+
},
|
|
57
|
+
set: function (applicationId) {
|
|
58
|
+
this['application_id'] = applicationId;
|
|
59
|
+
},
|
|
60
|
+
enumerable: false,
|
|
61
|
+
configurable: true
|
|
62
|
+
});
|
|
63
|
+
ApplicationItem.prototype.withEnabled = function (enabled) {
|
|
64
|
+
this['enabled'] = enabled;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
ApplicationItem.prototype.withAppleCertificateExpirationDate = function (appleCertificateExpirationDate) {
|
|
68
|
+
this['apple_certificate_expiration_date'] = appleCertificateExpirationDate;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(ApplicationItem.prototype, "appleCertificateExpirationDate", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['apple_certificate_expiration_date'];
|
|
74
|
+
},
|
|
75
|
+
set: function (appleCertificateExpirationDate) {
|
|
76
|
+
this['apple_certificate_expiration_date'] = appleCertificateExpirationDate;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
return ApplicationItem;
|
|
82
|
+
}());
|
|
83
|
+
exports.ApplicationItem = ApplicationItem;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BatchCreateOrDeleteResourceTagsRequestBody } from './BatchCreateOrDeleteResourceTagsRequestBody';
|
|
2
|
+
export declare class BatchCreateOrDeleteResourceTagsRequest {
|
|
3
|
+
private 'resource_type';
|
|
4
|
+
private 'resource_id';
|
|
5
|
+
body?: BatchCreateOrDeleteResourceTagsRequestBody;
|
|
6
|
+
constructor(resourceType?: any, resourceId?: any);
|
|
7
|
+
withResourceType(resourceType: string): BatchCreateOrDeleteResourceTagsRequest;
|
|
8
|
+
set resourceType(resourceType: string | undefined);
|
|
9
|
+
get resourceType(): string | undefined;
|
|
10
|
+
withResourceId(resourceId: string): BatchCreateOrDeleteResourceTagsRequest;
|
|
11
|
+
set resourceId(resourceId: string | undefined);
|
|
12
|
+
get resourceId(): string | undefined;
|
|
13
|
+
withBody(body: BatchCreateOrDeleteResourceTagsRequestBody): BatchCreateOrDeleteResourceTagsRequest;
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateOrDeleteResourceTagsRequest = void 0;
|
|
4
|
+
var BatchCreateOrDeleteResourceTagsRequest = /** @class */ (function () {
|
|
5
|
+
function BatchCreateOrDeleteResourceTagsRequest(resourceType, resourceId) {
|
|
6
|
+
this['resource_type'] = resourceType;
|
|
7
|
+
this['resource_id'] = resourceId;
|
|
8
|
+
}
|
|
9
|
+
BatchCreateOrDeleteResourceTagsRequest.prototype.withResourceType = function (resourceType) {
|
|
10
|
+
this['resource_type'] = resourceType;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(BatchCreateOrDeleteResourceTagsRequest.prototype, "resourceType", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['resource_type'];
|
|
16
|
+
},
|
|
17
|
+
set: function (resourceType) {
|
|
18
|
+
this['resource_type'] = resourceType;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
BatchCreateOrDeleteResourceTagsRequest.prototype.withResourceId = function (resourceId) {
|
|
24
|
+
this['resource_id'] = resourceId;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(BatchCreateOrDeleteResourceTagsRequest.prototype, "resourceId", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['resource_id'];
|
|
30
|
+
},
|
|
31
|
+
set: function (resourceId) {
|
|
32
|
+
this['resource_id'] = resourceId;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
BatchCreateOrDeleteResourceTagsRequest.prototype.withBody = function (body) {
|
|
38
|
+
this['body'] = body;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
return BatchCreateOrDeleteResourceTagsRequest;
|
|
42
|
+
}());
|
|
43
|
+
exports.BatchCreateOrDeleteResourceTagsRequest = BatchCreateOrDeleteResourceTagsRequest;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ResourceTag } from './ResourceTag';
|
|
2
|
+
export declare class BatchCreateOrDeleteResourceTagsRequestBody {
|
|
3
|
+
tags: Array<ResourceTag>;
|
|
4
|
+
action: string;
|
|
5
|
+
constructor(tags?: any, action?: any);
|
|
6
|
+
withTags(tags: Array<ResourceTag>): BatchCreateOrDeleteResourceTagsRequestBody;
|
|
7
|
+
withAction(action: string): BatchCreateOrDeleteResourceTagsRequestBody;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateOrDeleteResourceTagsRequestBody = void 0;
|
|
4
|
+
var BatchCreateOrDeleteResourceTagsRequestBody = /** @class */ (function () {
|
|
5
|
+
function BatchCreateOrDeleteResourceTagsRequestBody(tags, action) {
|
|
6
|
+
this['tags'] = tags;
|
|
7
|
+
this['action'] = action;
|
|
8
|
+
}
|
|
9
|
+
BatchCreateOrDeleteResourceTagsRequestBody.prototype.withTags = function (tags) {
|
|
10
|
+
this['tags'] = tags;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
BatchCreateOrDeleteResourceTagsRequestBody.prototype.withAction = function (action) {
|
|
14
|
+
this['action'] = action;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
return BatchCreateOrDeleteResourceTagsRequestBody;
|
|
18
|
+
}());
|
|
19
|
+
exports.BatchCreateOrDeleteResourceTagsRequestBody = BatchCreateOrDeleteResourceTagsRequestBody;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.BatchCreateOrDeleteResourceTagsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var BatchCreateOrDeleteResourceTagsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(BatchCreateOrDeleteResourceTagsResponse, _super);
|
|
22
|
+
function BatchCreateOrDeleteResourceTagsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
return BatchCreateOrDeleteResourceTagsResponse;
|
|
26
|
+
}(SdkResponse_1.SdkResponse));
|
|
27
|
+
exports.BatchCreateOrDeleteResourceTagsResponse = BatchCreateOrDeleteResourceTagsResponse;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class CancelSubscriptionRequest {
|
|
2
|
+
private 'subscription_urn';
|
|
3
|
+
constructor(subscriptionUrn?: any);
|
|
4
|
+
withSubscriptionUrn(subscriptionUrn: string): CancelSubscriptionRequest;
|
|
5
|
+
set subscriptionUrn(subscriptionUrn: string | undefined);
|
|
6
|
+
get subscriptionUrn(): string | undefined;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelSubscriptionRequest = void 0;
|
|
4
|
+
var CancelSubscriptionRequest = /** @class */ (function () {
|
|
5
|
+
function CancelSubscriptionRequest(subscriptionUrn) {
|
|
6
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
7
|
+
}
|
|
8
|
+
CancelSubscriptionRequest.prototype.withSubscriptionUrn = function (subscriptionUrn) {
|
|
9
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(CancelSubscriptionRequest.prototype, "subscriptionUrn", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['subscription_urn'];
|
|
15
|
+
},
|
|
16
|
+
set: function (subscriptionUrn) {
|
|
17
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
return CancelSubscriptionRequest;
|
|
23
|
+
}());
|
|
24
|
+
exports.CancelSubscriptionRequest = CancelSubscriptionRequest;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class CancelSubscriptionResponse extends SdkResponse {
|
|
3
|
+
private 'request_id'?;
|
|
4
|
+
constructor();
|
|
5
|
+
withRequestId(requestId: string): CancelSubscriptionResponse;
|
|
6
|
+
set requestId(requestId: string | undefined);
|
|
7
|
+
get requestId(): string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CancelSubscriptionResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CancelSubscriptionResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CancelSubscriptionResponse, _super);
|
|
22
|
+
function CancelSubscriptionResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CancelSubscriptionResponse.prototype.withRequestId = function (requestId) {
|
|
26
|
+
this['request_id'] = requestId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CancelSubscriptionResponse.prototype, "requestId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['request_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (requestId) {
|
|
34
|
+
this['request_id'] = requestId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return CancelSubscriptionResponse;
|
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
|
41
|
+
exports.CancelSubscriptionResponse = CancelSubscriptionResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateApplicationEndpointRequestBody } from './CreateApplicationEndpointRequestBody';
|
|
2
|
+
export declare class CreateApplicationEndpointRequest {
|
|
3
|
+
private 'application_urn';
|
|
4
|
+
body?: CreateApplicationEndpointRequestBody;
|
|
5
|
+
constructor(applicationUrn?: any);
|
|
6
|
+
withApplicationUrn(applicationUrn: string): CreateApplicationEndpointRequest;
|
|
7
|
+
set applicationUrn(applicationUrn: string | undefined);
|
|
8
|
+
get applicationUrn(): string | undefined;
|
|
9
|
+
withBody(body: CreateApplicationEndpointRequestBody): CreateApplicationEndpointRequest;
|
|
10
|
+
}
|