@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.
Files changed (227) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-smn.d.ts +1 -0
  4. package/huaweicloud-sdk-smn.js +17 -0
  5. package/package.json +19 -0
  6. package/v2/SmnClient.d.ts +1187 -0
  7. package/v2/SmnClient.js +2299 -0
  8. package/v2/SmnRegion.d.ts +22 -0
  9. package/v2/SmnRegion.js +59 -0
  10. package/v2/model/AddSubscriptionRequest.d.ts +10 -0
  11. package/v2/model/AddSubscriptionRequest.js +28 -0
  12. package/v2/model/AddSubscriptionRequestBody.d.ts +9 -0
  13. package/v2/model/AddSubscriptionRequestBody.js +23 -0
  14. package/v2/model/AddSubscriptionResponse.d.ts +12 -0
  15. package/v2/model/AddSubscriptionResponse.js +55 -0
  16. package/v2/model/ApplicationEndpoint.d.ts +19 -0
  17. package/v2/model/ApplicationEndpoint.js +64 -0
  18. package/v2/model/ApplicationItem.d.ts +25 -0
  19. package/v2/model/ApplicationItem.js +83 -0
  20. package/v2/model/BatchCreateOrDeleteResourceTagsRequest.d.ts +14 -0
  21. package/v2/model/BatchCreateOrDeleteResourceTagsRequest.js +43 -0
  22. package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.d.ts +8 -0
  23. package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.js +19 -0
  24. package/v2/model/BatchCreateOrDeleteResourceTagsResponse.d.ts +4 -0
  25. package/v2/model/BatchCreateOrDeleteResourceTagsResponse.js +27 -0
  26. package/v2/model/CancelSubscriptionRequest.d.ts +7 -0
  27. package/v2/model/CancelSubscriptionRequest.js +24 -0
  28. package/v2/model/CancelSubscriptionResponse.d.ts +8 -0
  29. package/v2/model/CancelSubscriptionResponse.js +41 -0
  30. package/v2/model/CreateApplicationEndpointRequest.d.ts +10 -0
  31. package/v2/model/CreateApplicationEndpointRequest.js +28 -0
  32. package/v2/model/CreateApplicationEndpointRequestBody.d.ts +9 -0
  33. package/v2/model/CreateApplicationEndpointRequestBody.js +29 -0
  34. package/v2/model/CreateApplicationEndpointResponse.d.ts +12 -0
  35. package/v2/model/CreateApplicationEndpointResponse.js +55 -0
  36. package/v2/model/CreateApplicationRequest.d.ts +6 -0
  37. package/v2/model/CreateApplicationRequest.js +13 -0
  38. package/v2/model/CreateApplicationRequestBody.d.ts +15 -0
  39. package/v2/model/CreateApplicationRequestBody.js +49 -0
  40. package/v2/model/CreateApplicationResponse.d.ts +16 -0
  41. package/v2/model/CreateApplicationResponse.js +69 -0
  42. package/v2/model/CreateMessageTemplateRequest.d.ts +6 -0
  43. package/v2/model/CreateMessageTemplateRequest.js +13 -0
  44. package/v2/model/CreateMessageTemplateRequestBody.d.ts +11 -0
  45. package/v2/model/CreateMessageTemplateRequestBody.js +34 -0
  46. package/v2/model/CreateMessageTemplateResponse.d.ts +12 -0
  47. package/v2/model/CreateMessageTemplateResponse.js +55 -0
  48. package/v2/model/CreateResourceTagRequest.d.ts +14 -0
  49. package/v2/model/CreateResourceTagRequest.js +43 -0
  50. package/v2/model/CreateResourceTagRequestBody.d.ts +6 -0
  51. package/v2/model/CreateResourceTagRequestBody.js +14 -0
  52. package/v2/model/CreateResourceTagRequestBodyTag.d.ts +7 -0
  53. package/v2/model/CreateResourceTagRequestBodyTag.js +19 -0
  54. package/v2/model/CreateResourceTagResponse.d.ts +4 -0
  55. package/v2/model/CreateResourceTagResponse.js +27 -0
  56. package/v2/model/CreateTopicRequest.d.ts +6 -0
  57. package/v2/model/CreateTopicRequest.js +13 -0
  58. package/v2/model/CreateTopicRequestBody.d.ts +13 -0
  59. package/v2/model/CreateTopicRequestBody.js +43 -0
  60. package/v2/model/CreateTopicResponse.d.ts +12 -0
  61. package/v2/model/CreateTopicResponse.js +55 -0
  62. package/v2/model/DeleteApplicationEndpointRequest.d.ts +7 -0
  63. package/v2/model/DeleteApplicationEndpointRequest.js +24 -0
  64. package/v2/model/DeleteApplicationEndpointResponse.d.ts +8 -0
  65. package/v2/model/DeleteApplicationEndpointResponse.js +41 -0
  66. package/v2/model/DeleteApplicationRequest.d.ts +7 -0
  67. package/v2/model/DeleteApplicationRequest.js +24 -0
  68. package/v2/model/DeleteApplicationResponse.d.ts +8 -0
  69. package/v2/model/DeleteApplicationResponse.js +41 -0
  70. package/v2/model/DeleteMessageTemplateRequest.d.ts +7 -0
  71. package/v2/model/DeleteMessageTemplateRequest.js +24 -0
  72. package/v2/model/DeleteMessageTemplateResponse.d.ts +8 -0
  73. package/v2/model/DeleteMessageTemplateResponse.js +41 -0
  74. package/v2/model/DeleteResourceTagRequest.d.ts +13 -0
  75. package/v2/model/DeleteResourceTagRequest.js +44 -0
  76. package/v2/model/DeleteResourceTagResponse.d.ts +4 -0
  77. package/v2/model/DeleteResourceTagResponse.js +27 -0
  78. package/v2/model/DeleteTopicAttributeByNameRequest.d.ts +9 -0
  79. package/v2/model/DeleteTopicAttributeByNameRequest.js +29 -0
  80. package/v2/model/DeleteTopicAttributeByNameResponse.d.ts +8 -0
  81. package/v2/model/DeleteTopicAttributeByNameResponse.js +41 -0
  82. package/v2/model/DeleteTopicAttributesRequest.d.ts +7 -0
  83. package/v2/model/DeleteTopicAttributesRequest.js +24 -0
  84. package/v2/model/DeleteTopicAttributesResponse.d.ts +8 -0
  85. package/v2/model/DeleteTopicAttributesResponse.js +41 -0
  86. package/v2/model/DeleteTopicRequest.d.ts +7 -0
  87. package/v2/model/DeleteTopicRequest.js +24 -0
  88. package/v2/model/DeleteTopicResponse.d.ts +8 -0
  89. package/v2/model/DeleteTopicResponse.js +41 -0
  90. package/v2/model/LinksItem.d.ts +7 -0
  91. package/v2/model/LinksItem.js +19 -0
  92. package/v2/model/ListApplicationAttributesRequest.d.ts +7 -0
  93. package/v2/model/ListApplicationAttributesRequest.js +24 -0
  94. package/v2/model/ListApplicationAttributesResponse.d.ts +15 -0
  95. package/v2/model/ListApplicationAttributesResponse.js +59 -0
  96. package/v2/model/ListApplicationAttributesResponseBodyAttributes.d.ts +9 -0
  97. package/v2/model/ListApplicationAttributesResponseBodyAttributes.js +28 -0
  98. package/v2/model/ListApplicationEndpointAttributesRequest.d.ts +7 -0
  99. package/v2/model/ListApplicationEndpointAttributesRequest.js +24 -0
  100. package/v2/model/ListApplicationEndpointAttributesResponse.d.ts +11 -0
  101. package/v2/model/ListApplicationEndpointAttributesResponse.js +45 -0
  102. package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.d.ts +11 -0
  103. package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.js +34 -0
  104. package/v2/model/ListApplicationEndpointsRequest.d.ts +19 -0
  105. package/v2/model/ListApplicationEndpointsRequest.js +54 -0
  106. package/v2/model/ListApplicationEndpointsResponse.d.ts +15 -0
  107. package/v2/model/ListApplicationEndpointsResponse.js +59 -0
  108. package/v2/model/ListApplicationsRequest.d.ts +11 -0
  109. package/v2/model/ListApplicationsRequest.js +25 -0
  110. package/v2/model/ListApplicationsResponse.d.ts +15 -0
  111. package/v2/model/ListApplicationsResponse.js +59 -0
  112. package/v2/model/ListInstanceRequestBody.d.ts +27 -0
  113. package/v2/model/ListInstanceRequestBody.js +72 -0
  114. package/v2/model/ListMessageTemplateDetailsRequest.d.ts +7 -0
  115. package/v2/model/ListMessageTemplateDetailsRequest.js +24 -0
  116. package/v2/model/ListMessageTemplateDetailsResponse.d.ts +32 -0
  117. package/v2/model/ListMessageTemplateDetailsResponse.js +119 -0
  118. package/v2/model/ListMessageTemplatesRequest.d.ts +13 -0
  119. package/v2/model/ListMessageTemplatesRequest.js +35 -0
  120. package/v2/model/ListMessageTemplatesResponse.d.ts +17 -0
  121. package/v2/model/ListMessageTemplatesResponse.js +69 -0
  122. package/v2/model/ListProjectTagsRequest.d.ts +7 -0
  123. package/v2/model/ListProjectTagsRequest.js +24 -0
  124. package/v2/model/ListProjectTagsResponse.d.ts +7 -0
  125. package/v2/model/ListProjectTagsResponse.js +31 -0
  126. package/v2/model/ListResourceInstancesRequest.d.ts +10 -0
  127. package/v2/model/ListResourceInstancesRequest.js +28 -0
  128. package/v2/model/ListResourceInstancesResponse.d.ts +11 -0
  129. package/v2/model/ListResourceInstancesResponse.js +45 -0
  130. package/v2/model/ListResourceTagsRequest.d.ts +11 -0
  131. package/v2/model/ListResourceTagsRequest.js +39 -0
  132. package/v2/model/ListResourceTagsResponse.d.ts +7 -0
  133. package/v2/model/ListResourceTagsResponse.js +31 -0
  134. package/v2/model/ListSubscriptionsByTopicRequest.d.ts +11 -0
  135. package/v2/model/ListSubscriptionsByTopicRequest.js +32 -0
  136. package/v2/model/ListSubscriptionsByTopicResponse.d.ts +15 -0
  137. package/v2/model/ListSubscriptionsByTopicResponse.js +59 -0
  138. package/v2/model/ListSubscriptionsItem.d.ts +21 -0
  139. package/v2/model/ListSubscriptionsItem.js +64 -0
  140. package/v2/model/ListSubscriptionsRequest.d.ts +13 -0
  141. package/v2/model/ListSubscriptionsRequest.js +29 -0
  142. package/v2/model/ListSubscriptionsResponse.d.ts +15 -0
  143. package/v2/model/ListSubscriptionsResponse.js +59 -0
  144. package/v2/model/ListTopicAttributesRequest.d.ts +9 -0
  145. package/v2/model/ListTopicAttributesRequest.js +29 -0
  146. package/v2/model/ListTopicAttributesResponse.d.ts +11 -0
  147. package/v2/model/ListTopicAttributesResponse.js +45 -0
  148. package/v2/model/ListTopicDetailsRequest.d.ts +7 -0
  149. package/v2/model/ListTopicDetailsRequest.js +24 -0
  150. package/v2/model/ListTopicDetailsResponse.d.ts +34 -0
  151. package/v2/model/ListTopicDetailsResponse.js +129 -0
  152. package/v2/model/ListTopicsItem.d.ts +21 -0
  153. package/v2/model/ListTopicsItem.js +74 -0
  154. package/v2/model/ListTopicsRequest.d.ts +17 -0
  155. package/v2/model/ListTopicsRequest.js +49 -0
  156. package/v2/model/ListTopicsResponse.d.ts +15 -0
  157. package/v2/model/ListTopicsResponse.js +59 -0
  158. package/v2/model/ListVersionRequest.d.ts +7 -0
  159. package/v2/model/ListVersionRequest.js +24 -0
  160. package/v2/model/ListVersionResponse.d.ts +6 -0
  161. package/v2/model/ListVersionResponse.js +31 -0
  162. package/v2/model/ListVersionsRequest.d.ts +3 -0
  163. package/v2/model/ListVersionsRequest.js +9 -0
  164. package/v2/model/ListVersionsResponse.d.ts +7 -0
  165. package/v2/model/ListVersionsResponse.js +31 -0
  166. package/v2/model/MessageTemplate.d.ts +25 -0
  167. package/v2/model/MessageTemplate.js +89 -0
  168. package/v2/model/PublishAppMessageRequest.d.ts +10 -0
  169. package/v2/model/PublishAppMessageRequest.js +28 -0
  170. package/v2/model/PublishAppMessageRequestBody.d.ts +13 -0
  171. package/v2/model/PublishAppMessageRequestBody.js +41 -0
  172. package/v2/model/PublishAppMessageResponse.d.ts +12 -0
  173. package/v2/model/PublishAppMessageResponse.js +55 -0
  174. package/v2/model/PublishMessageRequest.d.ts +10 -0
  175. package/v2/model/PublishMessageRequest.js +28 -0
  176. package/v2/model/PublishMessageRequestBody.d.ts +25 -0
  177. package/v2/model/PublishMessageRequestBody.js +63 -0
  178. package/v2/model/PublishMessageResponse.d.ts +12 -0
  179. package/v2/model/PublishMessageResponse.js +55 -0
  180. package/v2/model/ResourceDetail.d.ts +17 -0
  181. package/v2/model/ResourceDetail.js +59 -0
  182. package/v2/model/ResourceTag.d.ts +7 -0
  183. package/v2/model/ResourceTag.js +19 -0
  184. package/v2/model/ResourceTags.d.ts +7 -0
  185. package/v2/model/ResourceTags.js +19 -0
  186. package/v2/model/Statement.d.ts +35 -0
  187. package/v2/model/Statement.js +123 -0
  188. package/v2/model/TagMatch.d.ts +7 -0
  189. package/v2/model/TagMatch.js +19 -0
  190. package/v2/model/TagResource.d.ts +19 -0
  191. package/v2/model/TagResource.js +59 -0
  192. package/v2/model/TopicAttribute.d.ts +16 -0
  193. package/v2/model/TopicAttribute.js +54 -0
  194. package/v2/model/UpdateApplicationEndpointRequest.d.ts +10 -0
  195. package/v2/model/UpdateApplicationEndpointRequest.js +28 -0
  196. package/v2/model/UpdateApplicationEndpointRequestBody.d.ts +9 -0
  197. package/v2/model/UpdateApplicationEndpointRequestBody.js +27 -0
  198. package/v2/model/UpdateApplicationEndpointResponse.d.ts +8 -0
  199. package/v2/model/UpdateApplicationEndpointResponse.js +41 -0
  200. package/v2/model/UpdateApplicationRequest.d.ts +10 -0
  201. package/v2/model/UpdateApplicationRequest.js +28 -0
  202. package/v2/model/UpdateApplicationRequestBody.d.ts +11 -0
  203. package/v2/model/UpdateApplicationRequestBody.js +39 -0
  204. package/v2/model/UpdateApplicationResponse.d.ts +8 -0
  205. package/v2/model/UpdateApplicationResponse.js +41 -0
  206. package/v2/model/UpdateMessageTemplateRequest.d.ts +10 -0
  207. package/v2/model/UpdateMessageTemplateRequest.js +28 -0
  208. package/v2/model/UpdateMessageTemplateRequestBody.d.ts +5 -0
  209. package/v2/model/UpdateMessageTemplateRequestBody.js +14 -0
  210. package/v2/model/UpdateMessageTemplateResponse.d.ts +8 -0
  211. package/v2/model/UpdateMessageTemplateResponse.js +41 -0
  212. package/v2/model/UpdateTopicAttributeRequest.d.ts +12 -0
  213. package/v2/model/UpdateTopicAttributeRequest.js +33 -0
  214. package/v2/model/UpdateTopicAttributeRequestBody.d.ts +5 -0
  215. package/v2/model/UpdateTopicAttributeRequestBody.js +14 -0
  216. package/v2/model/UpdateTopicAttributeResponse.d.ts +8 -0
  217. package/v2/model/UpdateTopicAttributeResponse.js +41 -0
  218. package/v2/model/UpdateTopicRequest.d.ts +10 -0
  219. package/v2/model/UpdateTopicRequest.js +28 -0
  220. package/v2/model/UpdateTopicRequestBody.d.ts +7 -0
  221. package/v2/model/UpdateTopicRequestBody.js +24 -0
  222. package/v2/model/UpdateTopicResponse.d.ts +8 -0
  223. package/v2/model/UpdateTopicResponse.js +41 -0
  224. package/v2/model/VersionItem.d.ts +18 -0
  225. package/v2/model/VersionItem.js +49 -0
  226. package/v2/public-api.d.ts +110 -0
  227. package/v2/public-api.js +126 -0
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResource = void 0;
4
+ var TagResource = /** @class */ (function () {
5
+ function TagResource(resourceId, resourceDetail, tags, resourceName) {
6
+ this['resource_id'] = resourceId;
7
+ this['resource_detail'] = resourceDetail;
8
+ this['tags'] = tags;
9
+ this['resource_name'] = resourceName;
10
+ }
11
+ TagResource.prototype.withResourceId = function (resourceId) {
12
+ this['resource_id'] = resourceId;
13
+ return this;
14
+ };
15
+ Object.defineProperty(TagResource.prototype, "resourceId", {
16
+ get: function () {
17
+ return this['resource_id'];
18
+ },
19
+ set: function (resourceId) {
20
+ this['resource_id'] = resourceId;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ TagResource.prototype.withResourceDetail = function (resourceDetail) {
26
+ this['resource_detail'] = resourceDetail;
27
+ return this;
28
+ };
29
+ Object.defineProperty(TagResource.prototype, "resourceDetail", {
30
+ get: function () {
31
+ return this['resource_detail'];
32
+ },
33
+ set: function (resourceDetail) {
34
+ this['resource_detail'] = resourceDetail;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ TagResource.prototype.withTags = function (tags) {
40
+ this['tags'] = tags;
41
+ return this;
42
+ };
43
+ TagResource.prototype.withResourceName = function (resourceName) {
44
+ this['resource_name'] = resourceName;
45
+ return this;
46
+ };
47
+ Object.defineProperty(TagResource.prototype, "resourceName", {
48
+ get: function () {
49
+ return this['resource_name'];
50
+ },
51
+ set: function (resourceName) {
52
+ this['resource_name'] = resourceName;
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ return TagResource;
58
+ }());
59
+ exports.TagResource = TagResource;
@@ -0,0 +1,16 @@
1
+ import { Statement } from './Statement';
2
+ export declare class TopicAttribute {
3
+ private 'Version';
4
+ private 'Id';
5
+ private 'Statement';
6
+ constructor(version?: any, id?: any, statement?: any);
7
+ withVersion(version: string): TopicAttribute;
8
+ set version(version: string | undefined);
9
+ get version(): string | undefined;
10
+ withId(id: string): TopicAttribute;
11
+ set id(id: string | undefined);
12
+ get id(): string | undefined;
13
+ withStatement(statement: Array<Statement>): TopicAttribute;
14
+ set statement(statement: Array<Statement> | undefined);
15
+ get statement(): Array<Statement> | undefined;
16
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TopicAttribute = void 0;
4
+ var TopicAttribute = /** @class */ (function () {
5
+ function TopicAttribute(version, id, statement) {
6
+ this['Version'] = version;
7
+ this['Id'] = id;
8
+ this['Statement'] = statement;
9
+ }
10
+ TopicAttribute.prototype.withVersion = function (version) {
11
+ this['Version'] = version;
12
+ return this;
13
+ };
14
+ Object.defineProperty(TopicAttribute.prototype, "version", {
15
+ get: function () {
16
+ return this['Version'];
17
+ },
18
+ set: function (version) {
19
+ this['Version'] = version;
20
+ },
21
+ enumerable: false,
22
+ configurable: true
23
+ });
24
+ TopicAttribute.prototype.withId = function (id) {
25
+ this['Id'] = id;
26
+ return this;
27
+ };
28
+ Object.defineProperty(TopicAttribute.prototype, "id", {
29
+ get: function () {
30
+ return this['Id'];
31
+ },
32
+ set: function (id) {
33
+ this['Id'] = id;
34
+ },
35
+ enumerable: false,
36
+ configurable: true
37
+ });
38
+ TopicAttribute.prototype.withStatement = function (statement) {
39
+ this['Statement'] = statement;
40
+ return this;
41
+ };
42
+ Object.defineProperty(TopicAttribute.prototype, "statement", {
43
+ get: function () {
44
+ return this['Statement'];
45
+ },
46
+ set: function (statement) {
47
+ this['Statement'] = statement;
48
+ },
49
+ enumerable: false,
50
+ configurable: true
51
+ });
52
+ return TopicAttribute;
53
+ }());
54
+ exports.TopicAttribute = TopicAttribute;
@@ -0,0 +1,10 @@
1
+ import { UpdateApplicationEndpointRequestBody } from './UpdateApplicationEndpointRequestBody';
2
+ export declare class UpdateApplicationEndpointRequest {
3
+ private 'endpoint_urn';
4
+ body?: UpdateApplicationEndpointRequestBody;
5
+ constructor(endpointUrn?: any);
6
+ withEndpointUrn(endpointUrn: string): UpdateApplicationEndpointRequest;
7
+ set endpointUrn(endpointUrn: string | undefined);
8
+ get endpointUrn(): string | undefined;
9
+ withBody(body: UpdateApplicationEndpointRequestBody): UpdateApplicationEndpointRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateApplicationEndpointRequest = void 0;
4
+ var UpdateApplicationEndpointRequest = /** @class */ (function () {
5
+ function UpdateApplicationEndpointRequest(endpointUrn) {
6
+ this['endpoint_urn'] = endpointUrn;
7
+ }
8
+ UpdateApplicationEndpointRequest.prototype.withEndpointUrn = function (endpointUrn) {
9
+ this['endpoint_urn'] = endpointUrn;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateApplicationEndpointRequest.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
+ UpdateApplicationEndpointRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateApplicationEndpointRequest;
27
+ }());
28
+ exports.UpdateApplicationEndpointRequest = UpdateApplicationEndpointRequest;
@@ -0,0 +1,9 @@
1
+ export declare class UpdateApplicationEndpointRequestBody {
2
+ enabled?: string;
3
+ private 'user_data'?;
4
+ constructor();
5
+ withEnabled(enabled: string): UpdateApplicationEndpointRequestBody;
6
+ withUserData(userData: string): UpdateApplicationEndpointRequestBody;
7
+ set userData(userData: string | undefined);
8
+ get userData(): string | undefined;
9
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateApplicationEndpointRequestBody = void 0;
4
+ var UpdateApplicationEndpointRequestBody = /** @class */ (function () {
5
+ function UpdateApplicationEndpointRequestBody() {
6
+ }
7
+ UpdateApplicationEndpointRequestBody.prototype.withEnabled = function (enabled) {
8
+ this['enabled'] = enabled;
9
+ return this;
10
+ };
11
+ UpdateApplicationEndpointRequestBody.prototype.withUserData = function (userData) {
12
+ this['user_data'] = userData;
13
+ return this;
14
+ };
15
+ Object.defineProperty(UpdateApplicationEndpointRequestBody.prototype, "userData", {
16
+ get: function () {
17
+ return this['user_data'];
18
+ },
19
+ set: function (userData) {
20
+ this['user_data'] = userData;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ return UpdateApplicationEndpointRequestBody;
26
+ }());
27
+ exports.UpdateApplicationEndpointRequestBody = UpdateApplicationEndpointRequestBody;
@@ -0,0 +1,8 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UpdateApplicationEndpointResponse extends SdkResponse {
3
+ private 'request_id'?;
4
+ constructor();
5
+ withRequestId(requestId: string): UpdateApplicationEndpointResponse;
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.UpdateApplicationEndpointResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateApplicationEndpointResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateApplicationEndpointResponse, _super);
22
+ function UpdateApplicationEndpointResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateApplicationEndpointResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateApplicationEndpointResponse.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 UpdateApplicationEndpointResponse;
40
+ }(SdkResponse_1.SdkResponse));
41
+ exports.UpdateApplicationEndpointResponse = UpdateApplicationEndpointResponse;
@@ -0,0 +1,10 @@
1
+ import { UpdateApplicationRequestBody } from './UpdateApplicationRequestBody';
2
+ export declare class UpdateApplicationRequest {
3
+ private 'application_urn';
4
+ body?: UpdateApplicationRequestBody;
5
+ constructor(applicationUrn?: any);
6
+ withApplicationUrn(applicationUrn: string): UpdateApplicationRequest;
7
+ set applicationUrn(applicationUrn: string | undefined);
8
+ get applicationUrn(): string | undefined;
9
+ withBody(body: UpdateApplicationRequestBody): UpdateApplicationRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateApplicationRequest = void 0;
4
+ var UpdateApplicationRequest = /** @class */ (function () {
5
+ function UpdateApplicationRequest(applicationUrn) {
6
+ this['application_urn'] = applicationUrn;
7
+ }
8
+ UpdateApplicationRequest.prototype.withApplicationUrn = function (applicationUrn) {
9
+ this['application_urn'] = applicationUrn;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateApplicationRequest.prototype, "applicationUrn", {
13
+ get: function () {
14
+ return this['application_urn'];
15
+ },
16
+ set: function (applicationUrn) {
17
+ this['application_urn'] = applicationUrn;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateApplicationRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateApplicationRequest;
27
+ }());
28
+ exports.UpdateApplicationRequest = UpdateApplicationRequest;
@@ -0,0 +1,11 @@
1
+ export declare class UpdateApplicationRequestBody {
2
+ private 'platform_principal';
3
+ private 'platform_credential';
4
+ constructor(platformPrincipal?: any, platformCredential?: any);
5
+ withPlatformPrincipal(platformPrincipal: string): UpdateApplicationRequestBody;
6
+ set platformPrincipal(platformPrincipal: string | undefined);
7
+ get platformPrincipal(): string | undefined;
8
+ withPlatformCredential(platformCredential: string): UpdateApplicationRequestBody;
9
+ set platformCredential(platformCredential: string | undefined);
10
+ get platformCredential(): string | undefined;
11
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateApplicationRequestBody = void 0;
4
+ var UpdateApplicationRequestBody = /** @class */ (function () {
5
+ function UpdateApplicationRequestBody(platformPrincipal, platformCredential) {
6
+ this['platform_principal'] = platformPrincipal;
7
+ this['platform_credential'] = platformCredential;
8
+ }
9
+ UpdateApplicationRequestBody.prototype.withPlatformPrincipal = function (platformPrincipal) {
10
+ this['platform_principal'] = platformPrincipal;
11
+ return this;
12
+ };
13
+ Object.defineProperty(UpdateApplicationRequestBody.prototype, "platformPrincipal", {
14
+ get: function () {
15
+ return this['platform_principal'];
16
+ },
17
+ set: function (platformPrincipal) {
18
+ this['platform_principal'] = platformPrincipal;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ UpdateApplicationRequestBody.prototype.withPlatformCredential = function (platformCredential) {
24
+ this['platform_credential'] = platformCredential;
25
+ return this;
26
+ };
27
+ Object.defineProperty(UpdateApplicationRequestBody.prototype, "platformCredential", {
28
+ get: function () {
29
+ return this['platform_credential'];
30
+ },
31
+ set: function (platformCredential) {
32
+ this['platform_credential'] = platformCredential;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ return UpdateApplicationRequestBody;
38
+ }());
39
+ exports.UpdateApplicationRequestBody = UpdateApplicationRequestBody;
@@ -0,0 +1,8 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UpdateApplicationResponse extends SdkResponse {
3
+ private 'request_id'?;
4
+ constructor();
5
+ withRequestId(requestId: string): UpdateApplicationResponse;
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.UpdateApplicationResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateApplicationResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateApplicationResponse, _super);
22
+ function UpdateApplicationResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateApplicationResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateApplicationResponse.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 UpdateApplicationResponse;
40
+ }(SdkResponse_1.SdkResponse));
41
+ exports.UpdateApplicationResponse = UpdateApplicationResponse;
@@ -0,0 +1,10 @@
1
+ import { UpdateMessageTemplateRequestBody } from './UpdateMessageTemplateRequestBody';
2
+ export declare class UpdateMessageTemplateRequest {
3
+ private 'message_template_id';
4
+ body?: UpdateMessageTemplateRequestBody;
5
+ constructor(messageTemplateId?: any);
6
+ withMessageTemplateId(messageTemplateId: string): UpdateMessageTemplateRequest;
7
+ set messageTemplateId(messageTemplateId: string | undefined);
8
+ get messageTemplateId(): string | undefined;
9
+ withBody(body: UpdateMessageTemplateRequestBody): UpdateMessageTemplateRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMessageTemplateRequest = void 0;
4
+ var UpdateMessageTemplateRequest = /** @class */ (function () {
5
+ function UpdateMessageTemplateRequest(messageTemplateId) {
6
+ this['message_template_id'] = messageTemplateId;
7
+ }
8
+ UpdateMessageTemplateRequest.prototype.withMessageTemplateId = function (messageTemplateId) {
9
+ this['message_template_id'] = messageTemplateId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateMessageTemplateRequest.prototype, "messageTemplateId", {
13
+ get: function () {
14
+ return this['message_template_id'];
15
+ },
16
+ set: function (messageTemplateId) {
17
+ this['message_template_id'] = messageTemplateId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateMessageTemplateRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateMessageTemplateRequest;
27
+ }());
28
+ exports.UpdateMessageTemplateRequest = UpdateMessageTemplateRequest;
@@ -0,0 +1,5 @@
1
+ export declare class UpdateMessageTemplateRequestBody {
2
+ content: string;
3
+ constructor(content?: any);
4
+ withContent(content: string): UpdateMessageTemplateRequestBody;
5
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMessageTemplateRequestBody = void 0;
4
+ var UpdateMessageTemplateRequestBody = /** @class */ (function () {
5
+ function UpdateMessageTemplateRequestBody(content) {
6
+ this['content'] = content;
7
+ }
8
+ UpdateMessageTemplateRequestBody.prototype.withContent = function (content) {
9
+ this['content'] = content;
10
+ return this;
11
+ };
12
+ return UpdateMessageTemplateRequestBody;
13
+ }());
14
+ exports.UpdateMessageTemplateRequestBody = UpdateMessageTemplateRequestBody;
@@ -0,0 +1,8 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UpdateMessageTemplateResponse extends SdkResponse {
3
+ private 'request_id'?;
4
+ constructor();
5
+ withRequestId(requestId: string): UpdateMessageTemplateResponse;
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.UpdateMessageTemplateResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateMessageTemplateResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateMessageTemplateResponse, _super);
22
+ function UpdateMessageTemplateResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateMessageTemplateResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateMessageTemplateResponse.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 UpdateMessageTemplateResponse;
40
+ }(SdkResponse_1.SdkResponse));
41
+ exports.UpdateMessageTemplateResponse = UpdateMessageTemplateResponse;
@@ -0,0 +1,12 @@
1
+ import { UpdateTopicAttributeRequestBody } from './UpdateTopicAttributeRequestBody';
2
+ export declare class UpdateTopicAttributeRequest {
3
+ private 'topic_urn';
4
+ name: string;
5
+ body?: UpdateTopicAttributeRequestBody;
6
+ constructor(topicUrn?: any, name?: any);
7
+ withTopicUrn(topicUrn: string): UpdateTopicAttributeRequest;
8
+ set topicUrn(topicUrn: string | undefined);
9
+ get topicUrn(): string | undefined;
10
+ withName(name: string): UpdateTopicAttributeRequest;
11
+ withBody(body: UpdateTopicAttributeRequestBody): UpdateTopicAttributeRequest;
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTopicAttributeRequest = void 0;
4
+ var UpdateTopicAttributeRequest = /** @class */ (function () {
5
+ function UpdateTopicAttributeRequest(topicUrn, name) {
6
+ this['topic_urn'] = topicUrn;
7
+ this['name'] = name;
8
+ }
9
+ UpdateTopicAttributeRequest.prototype.withTopicUrn = function (topicUrn) {
10
+ this['topic_urn'] = topicUrn;
11
+ return this;
12
+ };
13
+ Object.defineProperty(UpdateTopicAttributeRequest.prototype, "topicUrn", {
14
+ get: function () {
15
+ return this['topic_urn'];
16
+ },
17
+ set: function (topicUrn) {
18
+ this['topic_urn'] = topicUrn;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ UpdateTopicAttributeRequest.prototype.withName = function (name) {
24
+ this['name'] = name;
25
+ return this;
26
+ };
27
+ UpdateTopicAttributeRequest.prototype.withBody = function (body) {
28
+ this['body'] = body;
29
+ return this;
30
+ };
31
+ return UpdateTopicAttributeRequest;
32
+ }());
33
+ exports.UpdateTopicAttributeRequest = UpdateTopicAttributeRequest;
@@ -0,0 +1,5 @@
1
+ export declare class UpdateTopicAttributeRequestBody {
2
+ value: string;
3
+ constructor(value?: any);
4
+ withValue(value: string): UpdateTopicAttributeRequestBody;
5
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTopicAttributeRequestBody = void 0;
4
+ var UpdateTopicAttributeRequestBody = /** @class */ (function () {
5
+ function UpdateTopicAttributeRequestBody(value) {
6
+ this['value'] = value;
7
+ }
8
+ UpdateTopicAttributeRequestBody.prototype.withValue = function (value) {
9
+ this['value'] = value;
10
+ return this;
11
+ };
12
+ return UpdateTopicAttributeRequestBody;
13
+ }());
14
+ exports.UpdateTopicAttributeRequestBody = UpdateTopicAttributeRequestBody;
@@ -0,0 +1,8 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UpdateTopicAttributeResponse extends SdkResponse {
3
+ private 'request_id'?;
4
+ constructor();
5
+ withRequestId(requestId: string): UpdateTopicAttributeResponse;
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.UpdateTopicAttributeResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateTopicAttributeResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateTopicAttributeResponse, _super);
22
+ function UpdateTopicAttributeResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateTopicAttributeResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateTopicAttributeResponse.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 UpdateTopicAttributeResponse;
40
+ }(SdkResponse_1.SdkResponse));
41
+ exports.UpdateTopicAttributeResponse = UpdateTopicAttributeResponse;
@@ -0,0 +1,10 @@
1
+ import { UpdateTopicRequestBody } from './UpdateTopicRequestBody';
2
+ export declare class UpdateTopicRequest {
3
+ private 'topic_urn';
4
+ body?: UpdateTopicRequestBody;
5
+ constructor(topicUrn?: any);
6
+ withTopicUrn(topicUrn: string): UpdateTopicRequest;
7
+ set topicUrn(topicUrn: string | undefined);
8
+ get topicUrn(): string | undefined;
9
+ withBody(body: UpdateTopicRequestBody): UpdateTopicRequest;
10
+ }