@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,129 @@
|
|
|
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.ListTopicDetailsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListTopicDetailsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListTopicDetailsResponse, _super);
|
|
22
|
+
function ListTopicDetailsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListTopicDetailsResponse.prototype.withUpdateTime = function (updateTime) {
|
|
26
|
+
this['update_time'] = updateTime;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "updateTime", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['update_time'];
|
|
32
|
+
},
|
|
33
|
+
set: function (updateTime) {
|
|
34
|
+
this['update_time'] = updateTime;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ListTopicDetailsResponse.prototype.withPushPolicy = function (pushPolicy) {
|
|
40
|
+
this['push_policy'] = pushPolicy;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "pushPolicy", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['push_policy'];
|
|
46
|
+
},
|
|
47
|
+
set: function (pushPolicy) {
|
|
48
|
+
this['push_policy'] = pushPolicy;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
ListTopicDetailsResponse.prototype.withCreateTime = function (createTime) {
|
|
54
|
+
this['create_time'] = createTime;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "createTime", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['create_time'];
|
|
60
|
+
},
|
|
61
|
+
set: function (createTime) {
|
|
62
|
+
this['create_time'] = createTime;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
ListTopicDetailsResponse.prototype.withName = function (name) {
|
|
68
|
+
this['name'] = name;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
ListTopicDetailsResponse.prototype.withTopicUrn = function (topicUrn) {
|
|
72
|
+
this['topic_urn'] = topicUrn;
|
|
73
|
+
return this;
|
|
74
|
+
};
|
|
75
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "topicUrn", {
|
|
76
|
+
get: function () {
|
|
77
|
+
return this['topic_urn'];
|
|
78
|
+
},
|
|
79
|
+
set: function (topicUrn) {
|
|
80
|
+
this['topic_urn'] = topicUrn;
|
|
81
|
+
},
|
|
82
|
+
enumerable: false,
|
|
83
|
+
configurable: true
|
|
84
|
+
});
|
|
85
|
+
ListTopicDetailsResponse.prototype.withDisplayName = function (displayName) {
|
|
86
|
+
this['display_name'] = displayName;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "displayName", {
|
|
90
|
+
get: function () {
|
|
91
|
+
return this['display_name'];
|
|
92
|
+
},
|
|
93
|
+
set: function (displayName) {
|
|
94
|
+
this['display_name'] = displayName;
|
|
95
|
+
},
|
|
96
|
+
enumerable: false,
|
|
97
|
+
configurable: true
|
|
98
|
+
});
|
|
99
|
+
ListTopicDetailsResponse.prototype.withRequestId = function (requestId) {
|
|
100
|
+
this['request_id'] = requestId;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "requestId", {
|
|
104
|
+
get: function () {
|
|
105
|
+
return this['request_id'];
|
|
106
|
+
},
|
|
107
|
+
set: function (requestId) {
|
|
108
|
+
this['request_id'] = requestId;
|
|
109
|
+
},
|
|
110
|
+
enumerable: false,
|
|
111
|
+
configurable: true
|
|
112
|
+
});
|
|
113
|
+
ListTopicDetailsResponse.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
114
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
Object.defineProperty(ListTopicDetailsResponse.prototype, "enterpriseProjectId", {
|
|
118
|
+
get: function () {
|
|
119
|
+
return this['enterprise_project_id'];
|
|
120
|
+
},
|
|
121
|
+
set: function (enterpriseProjectId) {
|
|
122
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
123
|
+
},
|
|
124
|
+
enumerable: false,
|
|
125
|
+
configurable: true
|
|
126
|
+
});
|
|
127
|
+
return ListTopicDetailsResponse;
|
|
128
|
+
}(SdkResponse_1.SdkResponse));
|
|
129
|
+
exports.ListTopicDetailsResponse = ListTopicDetailsResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class ListTopicsItem {
|
|
2
|
+
private 'topic_urn';
|
|
3
|
+
name: string;
|
|
4
|
+
private 'display_name';
|
|
5
|
+
private 'push_policy';
|
|
6
|
+
private 'enterprise_project_id';
|
|
7
|
+
constructor(topicUrn?: any, name?: any, displayName?: any, pushPolicy?: any, enterpriseProjectId?: any);
|
|
8
|
+
withTopicUrn(topicUrn: string): ListTopicsItem;
|
|
9
|
+
set topicUrn(topicUrn: string | undefined);
|
|
10
|
+
get topicUrn(): string | undefined;
|
|
11
|
+
withName(name: string): ListTopicsItem;
|
|
12
|
+
withDisplayName(displayName: string): ListTopicsItem;
|
|
13
|
+
set displayName(displayName: string | undefined);
|
|
14
|
+
get displayName(): string | undefined;
|
|
15
|
+
withPushPolicy(pushPolicy: number): ListTopicsItem;
|
|
16
|
+
set pushPolicy(pushPolicy: number | undefined);
|
|
17
|
+
get pushPolicy(): number | undefined;
|
|
18
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListTopicsItem;
|
|
19
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
20
|
+
get enterpriseProjectId(): string | undefined;
|
|
21
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTopicsItem = void 0;
|
|
4
|
+
var ListTopicsItem = /** @class */ (function () {
|
|
5
|
+
function ListTopicsItem(topicUrn, name, displayName, pushPolicy, enterpriseProjectId) {
|
|
6
|
+
this['topic_urn'] = topicUrn;
|
|
7
|
+
this['name'] = name;
|
|
8
|
+
this['display_name'] = displayName;
|
|
9
|
+
this['push_policy'] = pushPolicy;
|
|
10
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
11
|
+
}
|
|
12
|
+
ListTopicsItem.prototype.withTopicUrn = function (topicUrn) {
|
|
13
|
+
this['topic_urn'] = topicUrn;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(ListTopicsItem.prototype, "topicUrn", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['topic_urn'];
|
|
19
|
+
},
|
|
20
|
+
set: function (topicUrn) {
|
|
21
|
+
this['topic_urn'] = topicUrn;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
ListTopicsItem.prototype.withName = function (name) {
|
|
27
|
+
this['name'] = name;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
ListTopicsItem.prototype.withDisplayName = function (displayName) {
|
|
31
|
+
this['display_name'] = displayName;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(ListTopicsItem.prototype, "displayName", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this['display_name'];
|
|
37
|
+
},
|
|
38
|
+
set: function (displayName) {
|
|
39
|
+
this['display_name'] = displayName;
|
|
40
|
+
},
|
|
41
|
+
enumerable: false,
|
|
42
|
+
configurable: true
|
|
43
|
+
});
|
|
44
|
+
ListTopicsItem.prototype.withPushPolicy = function (pushPolicy) {
|
|
45
|
+
this['push_policy'] = pushPolicy;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(ListTopicsItem.prototype, "pushPolicy", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return this['push_policy'];
|
|
51
|
+
},
|
|
52
|
+
set: function (pushPolicy) {
|
|
53
|
+
this['push_policy'] = pushPolicy;
|
|
54
|
+
},
|
|
55
|
+
enumerable: false,
|
|
56
|
+
configurable: true
|
|
57
|
+
});
|
|
58
|
+
ListTopicsItem.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
59
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
Object.defineProperty(ListTopicsItem.prototype, "enterpriseProjectId", {
|
|
63
|
+
get: function () {
|
|
64
|
+
return this['enterprise_project_id'];
|
|
65
|
+
},
|
|
66
|
+
set: function (enterpriseProjectId) {
|
|
67
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
68
|
+
},
|
|
69
|
+
enumerable: false,
|
|
70
|
+
configurable: true
|
|
71
|
+
});
|
|
72
|
+
return ListTopicsItem;
|
|
73
|
+
}());
|
|
74
|
+
exports.ListTopicsItem = ListTopicsItem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class ListTopicsRequest {
|
|
2
|
+
offset?: number;
|
|
3
|
+
limit?: number;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
name?: string;
|
|
6
|
+
private 'fuzzy_name'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withOffset(offset: number): ListTopicsRequest;
|
|
9
|
+
withLimit(limit: number): ListTopicsRequest;
|
|
10
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListTopicsRequest;
|
|
11
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
12
|
+
get enterpriseProjectId(): string | undefined;
|
|
13
|
+
withName(name: string): ListTopicsRequest;
|
|
14
|
+
withFuzzyName(fuzzyName: string): ListTopicsRequest;
|
|
15
|
+
set fuzzyName(fuzzyName: string | undefined);
|
|
16
|
+
get fuzzyName(): string | undefined;
|
|
17
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTopicsRequest = void 0;
|
|
4
|
+
var ListTopicsRequest = /** @class */ (function () {
|
|
5
|
+
function ListTopicsRequest() {
|
|
6
|
+
}
|
|
7
|
+
ListTopicsRequest.prototype.withOffset = function (offset) {
|
|
8
|
+
this['offset'] = offset;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
ListTopicsRequest.prototype.withLimit = function (limit) {
|
|
12
|
+
this['limit'] = limit;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
ListTopicsRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
16
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(ListTopicsRequest.prototype, "enterpriseProjectId", {
|
|
20
|
+
get: function () {
|
|
21
|
+
return this['enterprise_project_id'];
|
|
22
|
+
},
|
|
23
|
+
set: function (enterpriseProjectId) {
|
|
24
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
25
|
+
},
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true
|
|
28
|
+
});
|
|
29
|
+
ListTopicsRequest.prototype.withName = function (name) {
|
|
30
|
+
this['name'] = name;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
ListTopicsRequest.prototype.withFuzzyName = function (fuzzyName) {
|
|
34
|
+
this['fuzzy_name'] = fuzzyName;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(ListTopicsRequest.prototype, "fuzzyName", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this['fuzzy_name'];
|
|
40
|
+
},
|
|
41
|
+
set: function (fuzzyName) {
|
|
42
|
+
this['fuzzy_name'] = fuzzyName;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
return ListTopicsRequest;
|
|
48
|
+
}());
|
|
49
|
+
exports.ListTopicsRequest = ListTopicsRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ListTopicsItem } from './ListTopicsItem';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListTopicsResponse extends SdkResponse {
|
|
4
|
+
private 'request_id'?;
|
|
5
|
+
private 'topic_count'?;
|
|
6
|
+
topics?: Array<ListTopicsItem>;
|
|
7
|
+
constructor();
|
|
8
|
+
withRequestId(requestId: string): ListTopicsResponse;
|
|
9
|
+
set requestId(requestId: string | undefined);
|
|
10
|
+
get requestId(): string | undefined;
|
|
11
|
+
withTopicCount(topicCount: number): ListTopicsResponse;
|
|
12
|
+
set topicCount(topicCount: number | undefined);
|
|
13
|
+
get topicCount(): number | undefined;
|
|
14
|
+
withTopics(topics: Array<ListTopicsItem>): ListTopicsResponse;
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.ListTopicsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListTopicsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListTopicsResponse, _super);
|
|
22
|
+
function ListTopicsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListTopicsResponse.prototype.withRequestId = function (requestId) {
|
|
26
|
+
this['request_id'] = requestId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ListTopicsResponse.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
|
+
ListTopicsResponse.prototype.withTopicCount = function (topicCount) {
|
|
40
|
+
this['topic_count'] = topicCount;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(ListTopicsResponse.prototype, "topicCount", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['topic_count'];
|
|
46
|
+
},
|
|
47
|
+
set: function (topicCount) {
|
|
48
|
+
this['topic_count'] = topicCount;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
ListTopicsResponse.prototype.withTopics = function (topics) {
|
|
54
|
+
this['topics'] = topics;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
return ListTopicsResponse;
|
|
58
|
+
}(SdkResponse_1.SdkResponse));
|
|
59
|
+
exports.ListTopicsResponse = ListTopicsResponse;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListVersionRequest = void 0;
|
|
4
|
+
var ListVersionRequest = /** @class */ (function () {
|
|
5
|
+
function ListVersionRequest(apiVersion) {
|
|
6
|
+
this['api_version'] = apiVersion;
|
|
7
|
+
}
|
|
8
|
+
ListVersionRequest.prototype.withApiVersion = function (apiVersion) {
|
|
9
|
+
this['api_version'] = apiVersion;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ListVersionRequest.prototype, "apiVersion", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['api_version'];
|
|
15
|
+
},
|
|
16
|
+
set: function (apiVersion) {
|
|
17
|
+
this['api_version'] = apiVersion;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
return ListVersionRequest;
|
|
23
|
+
}());
|
|
24
|
+
exports.ListVersionRequest = ListVersionRequest;
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ListVersionResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListVersionResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListVersionResponse, _super);
|
|
22
|
+
function ListVersionResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListVersionResponse.prototype.withVersion = function (version) {
|
|
26
|
+
this['version'] = version;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
return ListVersionResponse;
|
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
|
31
|
+
exports.ListVersionResponse = ListVersionResponse;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListVersionsRequest = void 0;
|
|
4
|
+
var ListVersionsRequest = /** @class */ (function () {
|
|
5
|
+
function ListVersionsRequest() {
|
|
6
|
+
}
|
|
7
|
+
return ListVersionsRequest;
|
|
8
|
+
}());
|
|
9
|
+
exports.ListVersionsRequest = ListVersionsRequest;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VersionItem } from './VersionItem';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListVersionsResponse extends SdkResponse {
|
|
4
|
+
versions?: Array<VersionItem>;
|
|
5
|
+
constructor();
|
|
6
|
+
withVersions(versions: Array<VersionItem>): ListVersionsResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ListVersionsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListVersionsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListVersionsResponse, _super);
|
|
22
|
+
function ListVersionsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListVersionsResponse.prototype.withVersions = function (versions) {
|
|
26
|
+
this['versions'] = versions;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
return ListVersionsResponse;
|
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
|
31
|
+
exports.ListVersionsResponse = ListVersionsResponse;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class MessageTemplate {
|
|
2
|
+
private 'message_template_id';
|
|
3
|
+
private 'message_template_name';
|
|
4
|
+
protocol: string;
|
|
5
|
+
private 'tag_names';
|
|
6
|
+
private 'create_time';
|
|
7
|
+
private 'update_time';
|
|
8
|
+
constructor(messageTemplateId?: any, messageTemplateName?: any, protocol?: any, tagNames?: any, createTime?: any, updateTime?: any);
|
|
9
|
+
withMessageTemplateId(messageTemplateId: string): MessageTemplate;
|
|
10
|
+
set messageTemplateId(messageTemplateId: string | undefined);
|
|
11
|
+
get messageTemplateId(): string | undefined;
|
|
12
|
+
withMessageTemplateName(messageTemplateName: string): MessageTemplate;
|
|
13
|
+
set messageTemplateName(messageTemplateName: string | undefined);
|
|
14
|
+
get messageTemplateName(): string | undefined;
|
|
15
|
+
withProtocol(protocol: string): MessageTemplate;
|
|
16
|
+
withTagNames(tagNames: Array<string>): MessageTemplate;
|
|
17
|
+
set tagNames(tagNames: Array<string> | undefined);
|
|
18
|
+
get tagNames(): Array<string> | undefined;
|
|
19
|
+
withCreateTime(createTime: string): MessageTemplate;
|
|
20
|
+
set createTime(createTime: string | undefined);
|
|
21
|
+
get createTime(): string | undefined;
|
|
22
|
+
withUpdateTime(updateTime: string): MessageTemplate;
|
|
23
|
+
set updateTime(updateTime: string | undefined);
|
|
24
|
+
get updateTime(): string | undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageTemplate = void 0;
|
|
4
|
+
var MessageTemplate = /** @class */ (function () {
|
|
5
|
+
function MessageTemplate(messageTemplateId, messageTemplateName, protocol, tagNames, createTime, updateTime) {
|
|
6
|
+
this['message_template_id'] = messageTemplateId;
|
|
7
|
+
this['message_template_name'] = messageTemplateName;
|
|
8
|
+
this['protocol'] = protocol;
|
|
9
|
+
this['tag_names'] = tagNames;
|
|
10
|
+
this['create_time'] = createTime;
|
|
11
|
+
this['update_time'] = updateTime;
|
|
12
|
+
}
|
|
13
|
+
MessageTemplate.prototype.withMessageTemplateId = function (messageTemplateId) {
|
|
14
|
+
this['message_template_id'] = messageTemplateId;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(MessageTemplate.prototype, "messageTemplateId", {
|
|
18
|
+
get: function () {
|
|
19
|
+
return this['message_template_id'];
|
|
20
|
+
},
|
|
21
|
+
set: function (messageTemplateId) {
|
|
22
|
+
this['message_template_id'] = messageTemplateId;
|
|
23
|
+
},
|
|
24
|
+
enumerable: false,
|
|
25
|
+
configurable: true
|
|
26
|
+
});
|
|
27
|
+
MessageTemplate.prototype.withMessageTemplateName = function (messageTemplateName) {
|
|
28
|
+
this['message_template_name'] = messageTemplateName;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(MessageTemplate.prototype, "messageTemplateName", {
|
|
32
|
+
get: function () {
|
|
33
|
+
return this['message_template_name'];
|
|
34
|
+
},
|
|
35
|
+
set: function (messageTemplateName) {
|
|
36
|
+
this['message_template_name'] = messageTemplateName;
|
|
37
|
+
},
|
|
38
|
+
enumerable: false,
|
|
39
|
+
configurable: true
|
|
40
|
+
});
|
|
41
|
+
MessageTemplate.prototype.withProtocol = function (protocol) {
|
|
42
|
+
this['protocol'] = protocol;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
MessageTemplate.prototype.withTagNames = function (tagNames) {
|
|
46
|
+
this['tag_names'] = tagNames;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(MessageTemplate.prototype, "tagNames", {
|
|
50
|
+
get: function () {
|
|
51
|
+
return this['tag_names'];
|
|
52
|
+
},
|
|
53
|
+
set: function (tagNames) {
|
|
54
|
+
this['tag_names'] = tagNames;
|
|
55
|
+
},
|
|
56
|
+
enumerable: false,
|
|
57
|
+
configurable: true
|
|
58
|
+
});
|
|
59
|
+
MessageTemplate.prototype.withCreateTime = function (createTime) {
|
|
60
|
+
this['create_time'] = createTime;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
Object.defineProperty(MessageTemplate.prototype, "createTime", {
|
|
64
|
+
get: function () {
|
|
65
|
+
return this['create_time'];
|
|
66
|
+
},
|
|
67
|
+
set: function (createTime) {
|
|
68
|
+
this['create_time'] = createTime;
|
|
69
|
+
},
|
|
70
|
+
enumerable: false,
|
|
71
|
+
configurable: true
|
|
72
|
+
});
|
|
73
|
+
MessageTemplate.prototype.withUpdateTime = function (updateTime) {
|
|
74
|
+
this['update_time'] = updateTime;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
Object.defineProperty(MessageTemplate.prototype, "updateTime", {
|
|
78
|
+
get: function () {
|
|
79
|
+
return this['update_time'];
|
|
80
|
+
},
|
|
81
|
+
set: function (updateTime) {
|
|
82
|
+
this['update_time'] = updateTime;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
return MessageTemplate;
|
|
88
|
+
}());
|
|
89
|
+
exports.MessageTemplate = MessageTemplate;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PublishAppMessageRequestBody } from './PublishAppMessageRequestBody';
|
|
2
|
+
export declare class PublishAppMessageRequest {
|
|
3
|
+
private 'endpoint_urn';
|
|
4
|
+
body?: PublishAppMessageRequestBody;
|
|
5
|
+
constructor(endpointUrn?: any);
|
|
6
|
+
withEndpointUrn(endpointUrn: string): PublishAppMessageRequest;
|
|
7
|
+
set endpointUrn(endpointUrn: string | undefined);
|
|
8
|
+
get endpointUrn(): string | undefined;
|
|
9
|
+
withBody(body: PublishAppMessageRequestBody): PublishAppMessageRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishAppMessageRequest = void 0;
|
|
4
|
+
var PublishAppMessageRequest = /** @class */ (function () {
|
|
5
|
+
function PublishAppMessageRequest(endpointUrn) {
|
|
6
|
+
this['endpoint_urn'] = endpointUrn;
|
|
7
|
+
}
|
|
8
|
+
PublishAppMessageRequest.prototype.withEndpointUrn = function (endpointUrn) {
|
|
9
|
+
this['endpoint_urn'] = endpointUrn;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(PublishAppMessageRequest.prototype, "endpointUrn", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['endpoint_urn'];
|
|
15
|
+
},
|
|
16
|
+
set: function (endpointUrn) {
|
|
17
|
+
this['endpoint_urn'] = endpointUrn;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
PublishAppMessageRequest.prototype.withBody = function (body) {
|
|
23
|
+
this['body'] = body;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
return PublishAppMessageRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.PublishAppMessageRequest = PublishAppMessageRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class PublishAppMessageRequestBody {
|
|
2
|
+
message?: string;
|
|
3
|
+
private 'message_structure'?;
|
|
4
|
+
private 'time_to_live'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withMessage(message: string): PublishAppMessageRequestBody;
|
|
7
|
+
withMessageStructure(messageStructure: string): PublishAppMessageRequestBody;
|
|
8
|
+
set messageStructure(messageStructure: string | undefined);
|
|
9
|
+
get messageStructure(): string | undefined;
|
|
10
|
+
withTimeToLive(timeToLive: string): PublishAppMessageRequestBody;
|
|
11
|
+
set timeToLive(timeToLive: string | undefined);
|
|
12
|
+
get timeToLive(): string | undefined;
|
|
13
|
+
}
|