@huaweicloud/huaweicloud-sdk-smn 3.1.45 → 3.1.46
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/huaweicloud-sdk-smn.ts +4 -0
- package/package.json +4 -4
- package/v2/{SmnClient.js → SmnClient.ts} +1260 -788
- package/v2/SmnRegion.ts +62 -0
- package/v2/model/AccessPolicy.ts +43 -0
- package/v2/model/AddSubscriptionRequest.ts +24 -0
- package/v2/model/AddSubscriptionRequestBody.ts +29 -0
- package/v2/model/AddSubscriptionResponse.ts +30 -0
- package/v2/model/ApplicationEndpoint.ts +54 -0
- package/v2/model/ApplicationItem.ts +71 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.ts +36 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.ts +19 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.ts +8 -0
- package/v2/model/CancelSubscriptionRequest.ts +18 -0
- package/v2/model/CancelSubscriptionResponse.ts +19 -0
- package/v2/model/CreateApplicationEndpointRequest.ts +24 -0
- package/v2/model/CreateApplicationEndpointRequestBody.ts +24 -0
- package/v2/model/CreateApplicationEndpointResponse.ts +30 -0
- package/v2/model/CreateApplicationRequest.ts +12 -0
- package/v2/model/CreateApplicationRequestBody.ts +42 -0
- package/v2/model/CreateApplicationResponse.ts +41 -0
- package/v2/model/CreateLogtankRequest.ts +24 -0
- package/v2/model/CreateLogtankRequestBody.ts +30 -0
- package/v2/model/CreateLogtankResponse.ts +24 -0
- package/v2/model/CreateMessageTemplateRequest.ts +12 -0
- package/v2/model/CreateMessageTemplateRequestBody.ts +30 -0
- package/v2/model/CreateMessageTemplateResponse.ts +30 -0
- package/v2/model/CreateResourceTagRequest.ts +36 -0
- package/v2/model/CreateResourceTagRequestBody.ts +13 -0
- package/v2/model/CreateResourceTagResponse.ts +8 -0
- package/v2/model/CreateTopicRequest.ts +12 -0
- package/v2/model/CreateTopicRequestBody.ts +35 -0
- package/v2/model/CreateTopicResponse.ts +30 -0
- package/v2/model/DeleteApplicationEndpointRequest.ts +18 -0
- package/v2/model/DeleteApplicationEndpointResponse.ts +19 -0
- package/v2/model/DeleteApplicationRequest.ts +18 -0
- package/v2/model/DeleteApplicationResponse.ts +19 -0
- package/v2/model/DeleteLogtankRequest.ts +30 -0
- package/v2/model/DeleteLogtankResponse.ts +19 -0
- package/v2/model/DeleteMessageTemplateRequest.ts +18 -0
- package/v2/model/DeleteMessageTemplateResponse.ts +19 -0
- package/v2/model/DeleteResourceTagRequest.ts +36 -0
- package/v2/model/DeleteResourceTagResponse.ts +8 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.ts +24 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.ts +19 -0
- package/v2/model/DeleteTopicAttributesRequest.ts +18 -0
- package/v2/model/DeleteTopicAttributesResponse.ts +19 -0
- package/v2/model/DeleteTopicRequest.ts +18 -0
- package/v2/model/DeleteTopicResponse.ts +19 -0
- package/v2/model/LinksItem.ts +18 -0
- package/v2/model/ListApplicationAttributesRequest.ts +18 -0
- package/v2/model/ListApplicationAttributesResponse.ts +36 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.ts +23 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.ts +18 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.ts +25 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.ts +30 -0
- package/v2/model/ListApplicationEndpointsRequest.ts +49 -0
- package/v2/model/ListApplicationEndpointsResponse.ts +36 -0
- package/v2/model/ListApplicationsRequest.ts +26 -0
- package/v2/model/ListApplicationsResponse.ts +36 -0
- package/v2/model/ListInstanceRequestBody.ts +67 -0
- package/v2/model/ListLogtankRequest.ts +18 -0
- package/v2/model/ListLogtankResponse.ts +30 -0
- package/v2/model/ListMessageTemplateDetailsRequest.ts +18 -0
- package/v2/model/ListMessageTemplateDetailsResponse.ts +84 -0
- package/v2/model/ListMessageTemplatesRequest.ts +32 -0
- package/v2/model/ListMessageTemplatesResponse.ts +42 -0
- package/v2/model/ListProjectTagsRequest.ts +18 -0
- package/v2/model/ListProjectTagsResponse.ts +14 -0
- package/v2/model/ListResourceInstancesRequest.ts +24 -0
- package/v2/model/ListResourceInstancesResponse.ts +25 -0
- package/v2/model/ListResourceTagsRequest.ts +30 -0
- package/v2/model/ListResourceTagsResponse.ts +14 -0
- package/v2/model/ListSubscriptionsByTopicRequest.ts +28 -0
- package/v2/model/ListSubscriptionsByTopicResponse.ts +36 -0
- package/v2/model/ListSubscriptionsItem.ts +60 -0
- package/v2/model/ListSubscriptionsRequest.ts +31 -0
- package/v2/model/ListSubscriptionsResponse.ts +36 -0
- package/v2/model/ListTopicAttributesRequest.ts +24 -0
- package/v2/model/ListTopicAttributesResponse.ts +25 -0
- package/v2/model/ListTopicDetailsRequest.ts +18 -0
- package/v2/model/ListTopicDetailsResponse.ts +101 -0
- package/v2/model/ListTopicsItem.ts +72 -0
- package/v2/model/ListTopicsRequest.ts +54 -0
- package/v2/model/ListTopicsResponse.ts +36 -0
- package/v2/model/ListVersionRequest.ts +6 -0
- package/v2/model/ListVersionResponse.ts +14 -0
- package/v2/model/ListVersionsRequest.ts +6 -0
- package/v2/model/ListVersionsResponse.ts +14 -0
- package/v2/model/LogtankItem.ts +60 -0
- package/v2/model/MessageTemplate.ts +72 -0
- package/v2/model/PublishAppMessageRequest.ts +24 -0
- package/v2/model/PublishAppMessageRequestBody.ts +33 -0
- package/v2/model/PublishAppMessageResponse.ts +30 -0
- package/v2/model/PublishMessageRequest.ts +24 -0
- package/v2/model/PublishMessageRequestBody.ts +54 -0
- package/v2/model/PublishMessageResponse.ts +30 -0
- package/v2/model/ResourceDetail.ts +48 -0
- package/v2/model/ResourceTag.ts +18 -0
- package/v2/model/ResourceTags.ts +18 -0
- package/v2/model/Statement.ts +96 -0
- package/v2/model/SubscriptionExtension.ts +44 -0
- package/v2/model/TagMatch.ts +18 -0
- package/v2/model/TagResource.ts +50 -0
- package/v2/model/TopicAttribute.ts +23 -0
- package/v2/model/UpdateApplicationEndpointRequest.ts +24 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.ts +22 -0
- package/v2/model/UpdateApplicationEndpointResponse.ts +19 -0
- package/v2/model/UpdateApplicationRequest.ts +24 -0
- package/v2/model/UpdateApplicationRequestBody.ts +30 -0
- package/v2/model/UpdateApplicationResponse.ts +19 -0
- package/v2/model/UpdateLogtankRequest.ts +36 -0
- package/v2/model/UpdateLogtankRequestBody.ts +30 -0
- package/v2/model/UpdateLogtankResponse.ts +25 -0
- package/v2/model/UpdateMessageTemplateRequest.ts +24 -0
- package/v2/model/UpdateMessageTemplateRequestBody.ts +12 -0
- package/v2/model/UpdateMessageTemplateResponse.ts +19 -0
- package/v2/model/UpdateSubscriptionRequest.ts +36 -0
- package/v2/model/UpdateSubscriptionRequestBody.ts +12 -0
- package/v2/model/UpdateSubscriptionResponse.ts +30 -0
- package/v2/model/UpdateTopicAttributeRequest.ts +30 -0
- package/v2/model/UpdateTopicAttributeRequestBody.ts +12 -0
- package/v2/model/UpdateTopicAttributeResponse.ts +19 -0
- package/v2/model/UpdateTopicRequest.ts +24 -0
- package/v2/model/UpdateTopicRequestBody.ts +18 -0
- package/v2/model/UpdateTopicResponse.ts +19 -0
- package/v2/model/VersionItem.ts +49 -0
- package/v2/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-smn.d.ts +0 -2
- package/huaweicloud-sdk-smn.js +0 -31
- package/v2/SmnClient.d.ts +0 -1229
- package/v2/SmnRegion.d.ts +0 -23
- package/v2/SmnRegion.js +0 -59
- package/v2/model/AccessPolicy.d.ts +0 -16
- package/v2/model/AccessPolicy.js +0 -54
- package/v2/model/AddSubscriptionRequest.d.ts +0 -10
- package/v2/model/AddSubscriptionRequest.js +0 -28
- package/v2/model/AddSubscriptionRequestBody.d.ts +0 -12
- package/v2/model/AddSubscriptionRequestBody.js +0 -27
- package/v2/model/AddSubscriptionResponse.d.ts +0 -12
- package/v2/model/AddSubscriptionResponse.js +0 -55
- package/v2/model/ApplicationEndpoint.d.ts +0 -19
- package/v2/model/ApplicationEndpoint.js +0 -64
- package/v2/model/ApplicationItem.d.ts +0 -25
- package/v2/model/ApplicationItem.js +0 -83
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.d.ts +0 -14
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.js +0 -43
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.d.ts +0 -8
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.js +0 -19
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.d.ts +0 -4
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.js +0 -27
- package/v2/model/CancelSubscriptionRequest.d.ts +0 -7
- package/v2/model/CancelSubscriptionRequest.js +0 -24
- package/v2/model/CancelSubscriptionResponse.d.ts +0 -8
- package/v2/model/CancelSubscriptionResponse.js +0 -41
- package/v2/model/CreateApplicationEndpointRequest.d.ts +0 -10
- package/v2/model/CreateApplicationEndpointRequest.js +0 -28
- package/v2/model/CreateApplicationEndpointRequestBody.d.ts +0 -9
- package/v2/model/CreateApplicationEndpointRequestBody.js +0 -29
- package/v2/model/CreateApplicationEndpointResponse.d.ts +0 -12
- package/v2/model/CreateApplicationEndpointResponse.js +0 -55
- package/v2/model/CreateApplicationRequest.d.ts +0 -6
- package/v2/model/CreateApplicationRequest.js +0 -13
- package/v2/model/CreateApplicationRequestBody.d.ts +0 -15
- package/v2/model/CreateApplicationRequestBody.js +0 -49
- package/v2/model/CreateApplicationResponse.d.ts +0 -16
- package/v2/model/CreateApplicationResponse.js +0 -69
- package/v2/model/CreateLogtankRequest.d.ts +0 -10
- package/v2/model/CreateLogtankRequest.js +0 -28
- package/v2/model/CreateLogtankRequestBody.d.ts +0 -11
- package/v2/model/CreateLogtankRequestBody.js +0 -39
- package/v2/model/CreateLogtankResponse.d.ts +0 -10
- package/v2/model/CreateLogtankResponse.js +0 -45
- package/v2/model/CreateMessageTemplateRequest.d.ts +0 -6
- package/v2/model/CreateMessageTemplateRequest.js +0 -13
- package/v2/model/CreateMessageTemplateRequestBody.d.ts +0 -11
- package/v2/model/CreateMessageTemplateRequestBody.js +0 -34
- package/v2/model/CreateMessageTemplateResponse.d.ts +0 -12
- package/v2/model/CreateMessageTemplateResponse.js +0 -55
- package/v2/model/CreateResourceTagRequest.d.ts +0 -14
- package/v2/model/CreateResourceTagRequest.js +0 -43
- package/v2/model/CreateResourceTagRequestBody.d.ts +0 -6
- package/v2/model/CreateResourceTagRequestBody.js +0 -14
- package/v2/model/CreateResourceTagResponse.d.ts +0 -4
- package/v2/model/CreateResourceTagResponse.js +0 -27
- package/v2/model/CreateTopicRequest.d.ts +0 -6
- package/v2/model/CreateTopicRequest.js +0 -13
- package/v2/model/CreateTopicRequestBody.d.ts +0 -13
- package/v2/model/CreateTopicRequestBody.js +0 -43
- package/v2/model/CreateTopicResponse.d.ts +0 -12
- package/v2/model/CreateTopicResponse.js +0 -55
- package/v2/model/DeleteApplicationEndpointRequest.d.ts +0 -7
- package/v2/model/DeleteApplicationEndpointRequest.js +0 -24
- package/v2/model/DeleteApplicationEndpointResponse.d.ts +0 -8
- package/v2/model/DeleteApplicationEndpointResponse.js +0 -41
- package/v2/model/DeleteApplicationRequest.d.ts +0 -7
- package/v2/model/DeleteApplicationRequest.js +0 -24
- package/v2/model/DeleteApplicationResponse.d.ts +0 -8
- package/v2/model/DeleteApplicationResponse.js +0 -41
- package/v2/model/DeleteLogtankRequest.d.ts +0 -11
- package/v2/model/DeleteLogtankRequest.js +0 -39
- package/v2/model/DeleteLogtankResponse.d.ts +0 -8
- package/v2/model/DeleteLogtankResponse.js +0 -41
- package/v2/model/DeleteMessageTemplateRequest.d.ts +0 -7
- package/v2/model/DeleteMessageTemplateRequest.js +0 -24
- package/v2/model/DeleteMessageTemplateResponse.d.ts +0 -8
- package/v2/model/DeleteMessageTemplateResponse.js +0 -41
- package/v2/model/DeleteResourceTagRequest.d.ts +0 -13
- package/v2/model/DeleteResourceTagRequest.js +0 -44
- package/v2/model/DeleteResourceTagResponse.d.ts +0 -4
- package/v2/model/DeleteResourceTagResponse.js +0 -27
- package/v2/model/DeleteTopicAttributeByNameRequest.d.ts +0 -9
- package/v2/model/DeleteTopicAttributeByNameRequest.js +0 -29
- package/v2/model/DeleteTopicAttributeByNameResponse.d.ts +0 -8
- package/v2/model/DeleteTopicAttributeByNameResponse.js +0 -41
- package/v2/model/DeleteTopicAttributesRequest.d.ts +0 -7
- package/v2/model/DeleteTopicAttributesRequest.js +0 -24
- package/v2/model/DeleteTopicAttributesResponse.d.ts +0 -8
- package/v2/model/DeleteTopicAttributesResponse.js +0 -41
- package/v2/model/DeleteTopicRequest.d.ts +0 -7
- package/v2/model/DeleteTopicRequest.js +0 -24
- package/v2/model/DeleteTopicResponse.d.ts +0 -8
- package/v2/model/DeleteTopicResponse.js +0 -41
- package/v2/model/LinksItem.d.ts +0 -7
- package/v2/model/LinksItem.js +0 -19
- package/v2/model/ListApplicationAttributesRequest.d.ts +0 -7
- package/v2/model/ListApplicationAttributesRequest.js +0 -24
- package/v2/model/ListApplicationAttributesResponse.d.ts +0 -15
- package/v2/model/ListApplicationAttributesResponse.js +0 -59
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.d.ts +0 -9
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.js +0 -28
- package/v2/model/ListApplicationEndpointAttributesRequest.d.ts +0 -7
- package/v2/model/ListApplicationEndpointAttributesRequest.js +0 -24
- package/v2/model/ListApplicationEndpointAttributesResponse.d.ts +0 -11
- package/v2/model/ListApplicationEndpointAttributesResponse.js +0 -45
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.d.ts +0 -11
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.js +0 -34
- package/v2/model/ListApplicationEndpointsRequest.d.ts +0 -19
- package/v2/model/ListApplicationEndpointsRequest.js +0 -54
- package/v2/model/ListApplicationEndpointsResponse.d.ts +0 -15
- package/v2/model/ListApplicationEndpointsResponse.js +0 -59
- package/v2/model/ListApplicationsRequest.d.ts +0 -11
- package/v2/model/ListApplicationsRequest.js +0 -25
- package/v2/model/ListApplicationsResponse.d.ts +0 -15
- package/v2/model/ListApplicationsResponse.js +0 -59
- package/v2/model/ListInstanceRequestBody.d.ts +0 -27
- package/v2/model/ListInstanceRequestBody.js +0 -72
- package/v2/model/ListLogtankRequest.d.ts +0 -7
- package/v2/model/ListLogtankRequest.js +0 -24
- package/v2/model/ListLogtankResponse.d.ts +0 -13
- package/v2/model/ListLogtankResponse.js +0 -49
- package/v2/model/ListMessageTemplateDetailsRequest.d.ts +0 -7
- package/v2/model/ListMessageTemplateDetailsRequest.js +0 -24
- package/v2/model/ListMessageTemplateDetailsResponse.d.ts +0 -32
- package/v2/model/ListMessageTemplateDetailsResponse.js +0 -119
- package/v2/model/ListMessageTemplatesRequest.d.ts +0 -13
- package/v2/model/ListMessageTemplatesRequest.js +0 -35
- package/v2/model/ListMessageTemplatesResponse.d.ts +0 -17
- package/v2/model/ListMessageTemplatesResponse.js +0 -69
- package/v2/model/ListProjectTagsRequest.d.ts +0 -7
- package/v2/model/ListProjectTagsRequest.js +0 -24
- package/v2/model/ListProjectTagsResponse.d.ts +0 -7
- package/v2/model/ListProjectTagsResponse.js +0 -31
- package/v2/model/ListResourceInstancesRequest.d.ts +0 -10
- package/v2/model/ListResourceInstancesRequest.js +0 -28
- package/v2/model/ListResourceInstancesResponse.d.ts +0 -11
- package/v2/model/ListResourceInstancesResponse.js +0 -45
- package/v2/model/ListResourceTagsRequest.d.ts +0 -11
- package/v2/model/ListResourceTagsRequest.js +0 -39
- package/v2/model/ListResourceTagsResponse.d.ts +0 -7
- package/v2/model/ListResourceTagsResponse.js +0 -31
- package/v2/model/ListSubscriptionsByTopicRequest.d.ts +0 -11
- package/v2/model/ListSubscriptionsByTopicRequest.js +0 -32
- package/v2/model/ListSubscriptionsByTopicResponse.d.ts +0 -15
- package/v2/model/ListSubscriptionsByTopicResponse.js +0 -59
- package/v2/model/ListSubscriptionsItem.d.ts +0 -21
- package/v2/model/ListSubscriptionsItem.js +0 -64
- package/v2/model/ListSubscriptionsRequest.d.ts +0 -13
- package/v2/model/ListSubscriptionsRequest.js +0 -29
- package/v2/model/ListSubscriptionsResponse.d.ts +0 -15
- package/v2/model/ListSubscriptionsResponse.js +0 -59
- package/v2/model/ListTopicAttributesRequest.d.ts +0 -9
- package/v2/model/ListTopicAttributesRequest.js +0 -29
- package/v2/model/ListTopicAttributesResponse.d.ts +0 -11
- package/v2/model/ListTopicAttributesResponse.js +0 -45
- package/v2/model/ListTopicDetailsRequest.d.ts +0 -7
- package/v2/model/ListTopicDetailsRequest.js +0 -24
- package/v2/model/ListTopicDetailsResponse.d.ts +0 -38
- package/v2/model/ListTopicDetailsResponse.js +0 -143
- package/v2/model/ListTopicsItem.d.ts +0 -25
- package/v2/model/ListTopicsItem.js +0 -89
- package/v2/model/ListTopicsRequest.d.ts +0 -21
- package/v2/model/ListTopicsRequest.js +0 -63
- package/v2/model/ListTopicsResponse.d.ts +0 -15
- package/v2/model/ListTopicsResponse.js +0 -59
- package/v2/model/ListVersionRequest.d.ts +0 -3
- package/v2/model/ListVersionRequest.js +0 -9
- package/v2/model/ListVersionResponse.d.ts +0 -7
- package/v2/model/ListVersionResponse.js +0 -31
- package/v2/model/ListVersionsRequest.d.ts +0 -3
- package/v2/model/ListVersionsRequest.js +0 -9
- package/v2/model/ListVersionsResponse.d.ts +0 -7
- package/v2/model/ListVersionsResponse.js +0 -31
- package/v2/model/LogtankItem.d.ts +0 -21
- package/v2/model/LogtankItem.js +0 -74
- package/v2/model/MessageTemplate.d.ts +0 -25
- package/v2/model/MessageTemplate.js +0 -89
- package/v2/model/PublishAppMessageRequest.d.ts +0 -10
- package/v2/model/PublishAppMessageRequest.js +0 -28
- package/v2/model/PublishAppMessageRequestBody.d.ts +0 -13
- package/v2/model/PublishAppMessageRequestBody.js +0 -41
- package/v2/model/PublishAppMessageResponse.d.ts +0 -12
- package/v2/model/PublishAppMessageResponse.js +0 -55
- package/v2/model/PublishMessageRequest.d.ts +0 -10
- package/v2/model/PublishMessageRequest.js +0 -28
- package/v2/model/PublishMessageRequestBody.d.ts +0 -25
- package/v2/model/PublishMessageRequestBody.js +0 -63
- package/v2/model/PublishMessageResponse.d.ts +0 -12
- package/v2/model/PublishMessageResponse.js +0 -55
- package/v2/model/ResourceDetail.d.ts +0 -17
- package/v2/model/ResourceDetail.js +0 -59
- package/v2/model/ResourceTag.d.ts +0 -7
- package/v2/model/ResourceTag.js +0 -19
- package/v2/model/ResourceTags.d.ts +0 -7
- package/v2/model/ResourceTags.js +0 -19
- package/v2/model/Statement.d.ts +0 -35
- package/v2/model/Statement.js +0 -123
- package/v2/model/SubscriptionExtension.d.ts +0 -17
- package/v2/model/SubscriptionExtension.js +0 -55
- package/v2/model/TagMatch.d.ts +0 -7
- package/v2/model/TagMatch.js +0 -19
- package/v2/model/TagResource.d.ts +0 -19
- package/v2/model/TagResource.js +0 -59
- package/v2/model/TopicAttribute.d.ts +0 -10
- package/v2/model/TopicAttribute.js +0 -27
- package/v2/model/UpdateApplicationEndpointRequest.d.ts +0 -10
- package/v2/model/UpdateApplicationEndpointRequest.js +0 -28
- package/v2/model/UpdateApplicationEndpointRequestBody.d.ts +0 -9
- package/v2/model/UpdateApplicationEndpointRequestBody.js +0 -27
- package/v2/model/UpdateApplicationEndpointResponse.d.ts +0 -8
- package/v2/model/UpdateApplicationEndpointResponse.js +0 -41
- package/v2/model/UpdateApplicationRequest.d.ts +0 -10
- package/v2/model/UpdateApplicationRequest.js +0 -28
- package/v2/model/UpdateApplicationRequestBody.d.ts +0 -11
- package/v2/model/UpdateApplicationRequestBody.js +0 -39
- package/v2/model/UpdateApplicationResponse.d.ts +0 -8
- package/v2/model/UpdateApplicationResponse.js +0 -41
- package/v2/model/UpdateLogtankRequest.d.ts +0 -14
- package/v2/model/UpdateLogtankRequest.js +0 -43
- package/v2/model/UpdateLogtankRequestBody.d.ts +0 -11
- package/v2/model/UpdateLogtankRequestBody.js +0 -39
- package/v2/model/UpdateLogtankResponse.d.ts +0 -11
- package/v2/model/UpdateLogtankResponse.js +0 -45
- package/v2/model/UpdateMessageTemplateRequest.d.ts +0 -10
- package/v2/model/UpdateMessageTemplateRequest.js +0 -28
- package/v2/model/UpdateMessageTemplateRequestBody.d.ts +0 -5
- package/v2/model/UpdateMessageTemplateRequestBody.js +0 -14
- package/v2/model/UpdateMessageTemplateResponse.d.ts +0 -8
- package/v2/model/UpdateMessageTemplateResponse.js +0 -41
- package/v2/model/UpdateSubscriptionRequest.d.ts +0 -14
- package/v2/model/UpdateSubscriptionRequest.js +0 -43
- package/v2/model/UpdateSubscriptionRequestBody.d.ts +0 -5
- package/v2/model/UpdateSubscriptionRequestBody.js +0 -14
- package/v2/model/UpdateSubscriptionResponse.d.ts +0 -12
- package/v2/model/UpdateSubscriptionResponse.js +0 -55
- package/v2/model/UpdateTopicAttributeRequest.d.ts +0 -12
- package/v2/model/UpdateTopicAttributeRequest.js +0 -33
- package/v2/model/UpdateTopicAttributeRequestBody.d.ts +0 -5
- package/v2/model/UpdateTopicAttributeRequestBody.js +0 -14
- package/v2/model/UpdateTopicAttributeResponse.d.ts +0 -8
- package/v2/model/UpdateTopicAttributeResponse.js +0 -41
- package/v2/model/UpdateTopicRequest.d.ts +0 -10
- package/v2/model/UpdateTopicRequest.js +0 -28
- package/v2/model/UpdateTopicRequestBody.d.ts +0 -7
- package/v2/model/UpdateTopicRequestBody.js +0 -24
- package/v2/model/UpdateTopicResponse.d.ts +0 -8
- package/v2/model/UpdateTopicResponse.js +0 -41
- package/v2/model/VersionItem.d.ts +0 -18
- package/v2/model/VersionItem.js +0 -49
- package/v2/public-api.js +0 -141
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListApplicationAttributesResponseBodyAttributes {
|
|
4
|
+
public enabled: string;
|
|
5
|
+
private 'apple_certificate_expiration_date'?: string | undefined;
|
|
6
|
+
public constructor(enabled?: any) {
|
|
7
|
+
this['enabled'] = enabled;
|
|
8
|
+
}
|
|
9
|
+
public withEnabled(enabled: string): ListApplicationAttributesResponseBodyAttributes {
|
|
10
|
+
this['enabled'] = enabled;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
public withAppleCertificateExpirationDate(appleCertificateExpirationDate: string): ListApplicationAttributesResponseBodyAttributes {
|
|
14
|
+
this['apple_certificate_expiration_date'] = appleCertificateExpirationDate;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
public set appleCertificateExpirationDate(appleCertificateExpirationDate: string | undefined) {
|
|
18
|
+
this['apple_certificate_expiration_date'] = appleCertificateExpirationDate;
|
|
19
|
+
}
|
|
20
|
+
public get appleCertificateExpirationDate() {
|
|
21
|
+
return this['apple_certificate_expiration_date'];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListApplicationEndpointAttributesRequest {
|
|
4
|
+
private 'endpoint_urn': string | undefined;
|
|
5
|
+
public constructor(endpointUrn?: any) {
|
|
6
|
+
this['endpoint_urn'] = endpointUrn;
|
|
7
|
+
}
|
|
8
|
+
public withEndpointUrn(endpointUrn: string): ListApplicationEndpointAttributesRequest {
|
|
9
|
+
this['endpoint_urn'] = endpointUrn;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
public set endpointUrn(endpointUrn: string | undefined) {
|
|
13
|
+
this['endpoint_urn'] = endpointUrn;
|
|
14
|
+
}
|
|
15
|
+
public get endpointUrn() {
|
|
16
|
+
return this['endpoint_urn'];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListApplicationEndpointAttributesResponseBodyAttributes } from './ListApplicationEndpointAttributesResponseBodyAttributes';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListApplicationEndpointAttributesResponse extends SdkResponse {
|
|
6
|
+
private 'request_id'?: string | undefined;
|
|
7
|
+
public attributes?: ListApplicationEndpointAttributesResponseBodyAttributes;
|
|
8
|
+
public constructor() {
|
|
9
|
+
super();
|
|
10
|
+
}
|
|
11
|
+
public withRequestId(requestId: string): ListApplicationEndpointAttributesResponse {
|
|
12
|
+
this['request_id'] = requestId;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
public set requestId(requestId: string | undefined) {
|
|
16
|
+
this['request_id'] = requestId;
|
|
17
|
+
}
|
|
18
|
+
public get requestId() {
|
|
19
|
+
return this['request_id'];
|
|
20
|
+
}
|
|
21
|
+
public withAttributes(attributes: ListApplicationEndpointAttributesResponseBodyAttributes): ListApplicationEndpointAttributesResponse {
|
|
22
|
+
this['attributes'] = attributes;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListApplicationEndpointAttributesResponseBodyAttributes {
|
|
4
|
+
public enabled: string;
|
|
5
|
+
public token: string;
|
|
6
|
+
private 'user_data': string | undefined;
|
|
7
|
+
public constructor(enabled?: any, token?: any, userData?: any) {
|
|
8
|
+
this['enabled'] = enabled;
|
|
9
|
+
this['token'] = token;
|
|
10
|
+
this['user_data'] = userData;
|
|
11
|
+
}
|
|
12
|
+
public withEnabled(enabled: string): ListApplicationEndpointAttributesResponseBodyAttributes {
|
|
13
|
+
this['enabled'] = enabled;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public withToken(token: string): ListApplicationEndpointAttributesResponseBodyAttributes {
|
|
17
|
+
this['token'] = token;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
public withUserData(userData: string): ListApplicationEndpointAttributesResponseBodyAttributes {
|
|
21
|
+
this['user_data'] = userData;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public set userData(userData: string | undefined) {
|
|
25
|
+
this['user_data'] = userData;
|
|
26
|
+
}
|
|
27
|
+
public get userData() {
|
|
28
|
+
return this['user_data'];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListApplicationEndpointsRequest {
|
|
4
|
+
private 'application_urn': string | undefined;
|
|
5
|
+
public offset?: number;
|
|
6
|
+
public limit?: number;
|
|
7
|
+
public enabled?: string;
|
|
8
|
+
public token?: string;
|
|
9
|
+
private 'user_data'?: string | undefined;
|
|
10
|
+
public constructor(applicationUrn?: any) {
|
|
11
|
+
this['application_urn'] = applicationUrn;
|
|
12
|
+
}
|
|
13
|
+
public withApplicationUrn(applicationUrn: string): ListApplicationEndpointsRequest {
|
|
14
|
+
this['application_urn'] = applicationUrn;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
public set applicationUrn(applicationUrn: string | undefined) {
|
|
18
|
+
this['application_urn'] = applicationUrn;
|
|
19
|
+
}
|
|
20
|
+
public get applicationUrn() {
|
|
21
|
+
return this['application_urn'];
|
|
22
|
+
}
|
|
23
|
+
public withOffset(offset: number): ListApplicationEndpointsRequest {
|
|
24
|
+
this['offset'] = offset;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
public withLimit(limit: number): ListApplicationEndpointsRequest {
|
|
28
|
+
this['limit'] = limit;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
public withEnabled(enabled: string): ListApplicationEndpointsRequest {
|
|
32
|
+
this['enabled'] = enabled;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public withToken(token: string): ListApplicationEndpointsRequest {
|
|
36
|
+
this['token'] = token;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
public withUserData(userData: string): ListApplicationEndpointsRequest {
|
|
40
|
+
this['user_data'] = userData;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public set userData(userData: string | undefined) {
|
|
44
|
+
this['user_data'] = userData;
|
|
45
|
+
}
|
|
46
|
+
public get userData() {
|
|
47
|
+
return this['user_data'];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ApplicationEndpoint } from './ApplicationEndpoint';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListApplicationEndpointsResponse extends SdkResponse {
|
|
6
|
+
private 'request_id'?: string | undefined;
|
|
7
|
+
private 'next_page_flag'?: boolean | undefined;
|
|
8
|
+
public endpoints?: Array<ApplicationEndpoint>;
|
|
9
|
+
public constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
public withRequestId(requestId: string): ListApplicationEndpointsResponse {
|
|
13
|
+
this['request_id'] = requestId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set requestId(requestId: string | undefined) {
|
|
17
|
+
this['request_id'] = requestId;
|
|
18
|
+
}
|
|
19
|
+
public get requestId() {
|
|
20
|
+
return this['request_id'];
|
|
21
|
+
}
|
|
22
|
+
public withNextPageFlag(nextPageFlag: boolean): ListApplicationEndpointsResponse {
|
|
23
|
+
this['next_page_flag'] = nextPageFlag;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public set nextPageFlag(nextPageFlag: boolean | undefined) {
|
|
27
|
+
this['next_page_flag'] = nextPageFlag;
|
|
28
|
+
}
|
|
29
|
+
public get nextPageFlag() {
|
|
30
|
+
return this['next_page_flag'];
|
|
31
|
+
}
|
|
32
|
+
public withEndpoints(endpoints: Array<ApplicationEndpoint>): ListApplicationEndpointsResponse {
|
|
33
|
+
this['endpoints'] = endpoints;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListApplicationsRequest {
|
|
4
|
+
public offset?: number;
|
|
5
|
+
public limit?: number;
|
|
6
|
+
public name?: string;
|
|
7
|
+
public platform?: string;
|
|
8
|
+
public constructor() {
|
|
9
|
+
}
|
|
10
|
+
public withOffset(offset: number): ListApplicationsRequest {
|
|
11
|
+
this['offset'] = offset;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public withLimit(limit: number): ListApplicationsRequest {
|
|
15
|
+
this['limit'] = limit;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public withName(name: string): ListApplicationsRequest {
|
|
19
|
+
this['name'] = name;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
public withPlatform(platform: string): ListApplicationsRequest {
|
|
23
|
+
this['platform'] = platform;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ApplicationItem } from './ApplicationItem';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListApplicationsResponse extends SdkResponse {
|
|
6
|
+
private 'request_id'?: string | undefined;
|
|
7
|
+
private 'application_count'?: number | undefined;
|
|
8
|
+
public applications?: Array<ApplicationItem>;
|
|
9
|
+
public constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
public withRequestId(requestId: string): ListApplicationsResponse {
|
|
13
|
+
this['request_id'] = requestId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set requestId(requestId: string | undefined) {
|
|
17
|
+
this['request_id'] = requestId;
|
|
18
|
+
}
|
|
19
|
+
public get requestId() {
|
|
20
|
+
return this['request_id'];
|
|
21
|
+
}
|
|
22
|
+
public withApplicationCount(applicationCount: number): ListApplicationsResponse {
|
|
23
|
+
this['application_count'] = applicationCount;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public set applicationCount(applicationCount: number | undefined) {
|
|
27
|
+
this['application_count'] = applicationCount;
|
|
28
|
+
}
|
|
29
|
+
public get applicationCount() {
|
|
30
|
+
return this['application_count'];
|
|
31
|
+
}
|
|
32
|
+
public withApplications(applications: Array<ApplicationItem>): ListApplicationsResponse {
|
|
33
|
+
this['applications'] = applications;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ResourceTags } from './ResourceTags';
|
|
2
|
+
import { TagMatch } from './TagMatch';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListInstanceRequestBody {
|
|
6
|
+
public tags?: Array<ResourceTags>;
|
|
7
|
+
private 'tags_any'?: Array<ResourceTags> | undefined;
|
|
8
|
+
private 'not_tags'?: Array<ResourceTags> | undefined;
|
|
9
|
+
private 'not_tags_any'?: Array<ResourceTags> | undefined;
|
|
10
|
+
public offset?: string;
|
|
11
|
+
public limit?: string;
|
|
12
|
+
public action: string;
|
|
13
|
+
public matches?: Array<TagMatch>;
|
|
14
|
+
public constructor(action?: any) {
|
|
15
|
+
this['action'] = action;
|
|
16
|
+
}
|
|
17
|
+
public withTags(tags: Array<ResourceTags>): ListInstanceRequestBody {
|
|
18
|
+
this['tags'] = tags;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
public withTagsAny(tagsAny: Array<ResourceTags>): ListInstanceRequestBody {
|
|
22
|
+
this['tags_any'] = tagsAny;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
public set tagsAny(tagsAny: Array<ResourceTags> | undefined) {
|
|
26
|
+
this['tags_any'] = tagsAny;
|
|
27
|
+
}
|
|
28
|
+
public get tagsAny() {
|
|
29
|
+
return this['tags_any'];
|
|
30
|
+
}
|
|
31
|
+
public withNotTags(notTags: Array<ResourceTags>): ListInstanceRequestBody {
|
|
32
|
+
this['not_tags'] = notTags;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public set notTags(notTags: Array<ResourceTags> | undefined) {
|
|
36
|
+
this['not_tags'] = notTags;
|
|
37
|
+
}
|
|
38
|
+
public get notTags() {
|
|
39
|
+
return this['not_tags'];
|
|
40
|
+
}
|
|
41
|
+
public withNotTagsAny(notTagsAny: Array<ResourceTags>): ListInstanceRequestBody {
|
|
42
|
+
this['not_tags_any'] = notTagsAny;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
public set notTagsAny(notTagsAny: Array<ResourceTags> | undefined) {
|
|
46
|
+
this['not_tags_any'] = notTagsAny;
|
|
47
|
+
}
|
|
48
|
+
public get notTagsAny() {
|
|
49
|
+
return this['not_tags_any'];
|
|
50
|
+
}
|
|
51
|
+
public withOffset(offset: string): ListInstanceRequestBody {
|
|
52
|
+
this['offset'] = offset;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public withLimit(limit: string): ListInstanceRequestBody {
|
|
56
|
+
this['limit'] = limit;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public withAction(action: string): ListInstanceRequestBody {
|
|
60
|
+
this['action'] = action;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
public withMatches(matches: Array<TagMatch>): ListInstanceRequestBody {
|
|
64
|
+
this['matches'] = matches;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListLogtankRequest {
|
|
4
|
+
private 'topic_urn': string | undefined;
|
|
5
|
+
public constructor(topicUrn?: any) {
|
|
6
|
+
this['topic_urn'] = topicUrn;
|
|
7
|
+
}
|
|
8
|
+
public withTopicUrn(topicUrn: string): ListLogtankRequest {
|
|
9
|
+
this['topic_urn'] = topicUrn;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
public set topicUrn(topicUrn: string | undefined) {
|
|
13
|
+
this['topic_urn'] = topicUrn;
|
|
14
|
+
}
|
|
15
|
+
public get topicUrn() {
|
|
16
|
+
return this['topic_urn'];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { LogtankItem } from './LogtankItem';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListLogtankResponse extends SdkResponse {
|
|
6
|
+
private 'request_id'?: string | undefined;
|
|
7
|
+
public count?: number;
|
|
8
|
+
public logtanks?: Array<LogtankItem>;
|
|
9
|
+
public constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
public withRequestId(requestId: string): ListLogtankResponse {
|
|
13
|
+
this['request_id'] = requestId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set requestId(requestId: string | undefined) {
|
|
17
|
+
this['request_id'] = requestId;
|
|
18
|
+
}
|
|
19
|
+
public get requestId() {
|
|
20
|
+
return this['request_id'];
|
|
21
|
+
}
|
|
22
|
+
public withCount(count: number): ListLogtankResponse {
|
|
23
|
+
this['count'] = count;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public withLogtanks(logtanks: Array<LogtankItem>): ListLogtankResponse {
|
|
27
|
+
this['logtanks'] = logtanks;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListMessageTemplateDetailsRequest {
|
|
4
|
+
private 'message_template_id': string | undefined;
|
|
5
|
+
public constructor(messageTemplateId?: any) {
|
|
6
|
+
this['message_template_id'] = messageTemplateId;
|
|
7
|
+
}
|
|
8
|
+
public withMessageTemplateId(messageTemplateId: string): ListMessageTemplateDetailsRequest {
|
|
9
|
+
this['message_template_id'] = messageTemplateId;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
public set messageTemplateId(messageTemplateId: string | undefined) {
|
|
13
|
+
this['message_template_id'] = messageTemplateId;
|
|
14
|
+
}
|
|
15
|
+
public get messageTemplateId() {
|
|
16
|
+
return this['message_template_id'];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
|
|
4
|
+
export class ListMessageTemplateDetailsResponse extends SdkResponse {
|
|
5
|
+
private 'message_template_id'?: string | undefined;
|
|
6
|
+
private 'message_template_name'?: string | undefined;
|
|
7
|
+
public protocol?: string;
|
|
8
|
+
private 'tag_names'?: Array<string> | undefined;
|
|
9
|
+
private 'create_time'?: string | undefined;
|
|
10
|
+
private 'update_time'?: string | undefined;
|
|
11
|
+
public content?: string;
|
|
12
|
+
private 'request_id'?: string | undefined;
|
|
13
|
+
public constructor() {
|
|
14
|
+
super();
|
|
15
|
+
}
|
|
16
|
+
public withMessageTemplateId(messageTemplateId: string): ListMessageTemplateDetailsResponse {
|
|
17
|
+
this['message_template_id'] = messageTemplateId;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
public set messageTemplateId(messageTemplateId: string | undefined) {
|
|
21
|
+
this['message_template_id'] = messageTemplateId;
|
|
22
|
+
}
|
|
23
|
+
public get messageTemplateId() {
|
|
24
|
+
return this['message_template_id'];
|
|
25
|
+
}
|
|
26
|
+
public withMessageTemplateName(messageTemplateName: string): ListMessageTemplateDetailsResponse {
|
|
27
|
+
this['message_template_name'] = messageTemplateName;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public set messageTemplateName(messageTemplateName: string | undefined) {
|
|
31
|
+
this['message_template_name'] = messageTemplateName;
|
|
32
|
+
}
|
|
33
|
+
public get messageTemplateName() {
|
|
34
|
+
return this['message_template_name'];
|
|
35
|
+
}
|
|
36
|
+
public withProtocol(protocol: string): ListMessageTemplateDetailsResponse {
|
|
37
|
+
this['protocol'] = protocol;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
public withTagNames(tagNames: Array<string>): ListMessageTemplateDetailsResponse {
|
|
41
|
+
this['tag_names'] = tagNames;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
public set tagNames(tagNames: Array<string> | undefined) {
|
|
45
|
+
this['tag_names'] = tagNames;
|
|
46
|
+
}
|
|
47
|
+
public get tagNames() {
|
|
48
|
+
return this['tag_names'];
|
|
49
|
+
}
|
|
50
|
+
public withCreateTime(createTime: string): ListMessageTemplateDetailsResponse {
|
|
51
|
+
this['create_time'] = createTime;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public set createTime(createTime: string | undefined) {
|
|
55
|
+
this['create_time'] = createTime;
|
|
56
|
+
}
|
|
57
|
+
public get createTime() {
|
|
58
|
+
return this['create_time'];
|
|
59
|
+
}
|
|
60
|
+
public withUpdateTime(updateTime: string): ListMessageTemplateDetailsResponse {
|
|
61
|
+
this['update_time'] = updateTime;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public set updateTime(updateTime: string | undefined) {
|
|
65
|
+
this['update_time'] = updateTime;
|
|
66
|
+
}
|
|
67
|
+
public get updateTime() {
|
|
68
|
+
return this['update_time'];
|
|
69
|
+
}
|
|
70
|
+
public withContent(content: string): ListMessageTemplateDetailsResponse {
|
|
71
|
+
this['content'] = content;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withRequestId(requestId: string): ListMessageTemplateDetailsResponse {
|
|
75
|
+
this['request_id'] = requestId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public set requestId(requestId: string | undefined) {
|
|
79
|
+
this['request_id'] = requestId;
|
|
80
|
+
}
|
|
81
|
+
public get requestId() {
|
|
82
|
+
return this['request_id'];
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListMessageTemplatesRequest {
|
|
4
|
+
public offset?: number;
|
|
5
|
+
public limit?: number;
|
|
6
|
+
private 'message_template_name'?: string | undefined;
|
|
7
|
+
public protocol?: string;
|
|
8
|
+
public constructor() {
|
|
9
|
+
}
|
|
10
|
+
public withOffset(offset: number): ListMessageTemplatesRequest {
|
|
11
|
+
this['offset'] = offset;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public withLimit(limit: number): ListMessageTemplatesRequest {
|
|
15
|
+
this['limit'] = limit;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public withMessageTemplateName(messageTemplateName: string): ListMessageTemplatesRequest {
|
|
19
|
+
this['message_template_name'] = messageTemplateName;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
public set messageTemplateName(messageTemplateName: string | undefined) {
|
|
23
|
+
this['message_template_name'] = messageTemplateName;
|
|
24
|
+
}
|
|
25
|
+
public get messageTemplateName() {
|
|
26
|
+
return this['message_template_name'];
|
|
27
|
+
}
|
|
28
|
+
public withProtocol(protocol: string): ListMessageTemplatesRequest {
|
|
29
|
+
this['protocol'] = protocol;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MessageTemplate } from './MessageTemplate';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListMessageTemplatesResponse extends SdkResponse {
|
|
6
|
+
private 'request_id'?: string | undefined;
|
|
7
|
+
private 'message_template_count'?: number | undefined;
|
|
8
|
+
private 'message_templates'?: Array<MessageTemplate> | undefined;
|
|
9
|
+
public constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
public withRequestId(requestId: string): ListMessageTemplatesResponse {
|
|
13
|
+
this['request_id'] = requestId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set requestId(requestId: string | undefined) {
|
|
17
|
+
this['request_id'] = requestId;
|
|
18
|
+
}
|
|
19
|
+
public get requestId() {
|
|
20
|
+
return this['request_id'];
|
|
21
|
+
}
|
|
22
|
+
public withMessageTemplateCount(messageTemplateCount: number): ListMessageTemplatesResponse {
|
|
23
|
+
this['message_template_count'] = messageTemplateCount;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public set messageTemplateCount(messageTemplateCount: number | undefined) {
|
|
27
|
+
this['message_template_count'] = messageTemplateCount;
|
|
28
|
+
}
|
|
29
|
+
public get messageTemplateCount() {
|
|
30
|
+
return this['message_template_count'];
|
|
31
|
+
}
|
|
32
|
+
public withMessageTemplates(messageTemplates: Array<MessageTemplate>): ListMessageTemplatesResponse {
|
|
33
|
+
this['message_templates'] = messageTemplates;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public set messageTemplates(messageTemplates: Array<MessageTemplate> | undefined) {
|
|
37
|
+
this['message_templates'] = messageTemplates;
|
|
38
|
+
}
|
|
39
|
+
public get messageTemplates() {
|
|
40
|
+
return this['message_templates'];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListProjectTagsRequest {
|
|
4
|
+
private 'resource_type': string | undefined;
|
|
5
|
+
public constructor(resourceType?: any) {
|
|
6
|
+
this['resource_type'] = resourceType;
|
|
7
|
+
}
|
|
8
|
+
public withResourceType(resourceType: string): ListProjectTagsRequest {
|
|
9
|
+
this['resource_type'] = resourceType;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
public set resourceType(resourceType: string | undefined) {
|
|
13
|
+
this['resource_type'] = resourceType;
|
|
14
|
+
}
|
|
15
|
+
public get resourceType() {
|
|
16
|
+
return this['resource_type'];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ResourceTags } from './ResourceTags';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListProjectTagsResponse extends SdkResponse {
|
|
6
|
+
public tags?: Array<ResourceTags>;
|
|
7
|
+
public constructor() {
|
|
8
|
+
super();
|
|
9
|
+
}
|
|
10
|
+
public withTags(tags: Array<ResourceTags>): ListProjectTagsResponse {
|
|
11
|
+
this['tags'] = tags;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ListInstanceRequestBody } from './ListInstanceRequestBody';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export class ListResourceInstancesRequest {
|
|
5
|
+
private 'resource_type': string | undefined;
|
|
6
|
+
public body?: ListInstanceRequestBody;
|
|
7
|
+
public constructor(resourceType?: any) {
|
|
8
|
+
this['resource_type'] = resourceType;
|
|
9
|
+
}
|
|
10
|
+
public withResourceType(resourceType: string): ListResourceInstancesRequest {
|
|
11
|
+
this['resource_type'] = resourceType;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public set resourceType(resourceType: string | undefined) {
|
|
15
|
+
this['resource_type'] = resourceType;
|
|
16
|
+
}
|
|
17
|
+
public get resourceType() {
|
|
18
|
+
return this['resource_type'];
|
|
19
|
+
}
|
|
20
|
+
public withBody(body: ListInstanceRequestBody): ListResourceInstancesRequest {
|
|
21
|
+
this['body'] = body;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TagResource } from './TagResource';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListResourceInstancesResponse extends SdkResponse {
|
|
6
|
+
public resources?: Array<TagResource>;
|
|
7
|
+
private 'total_count'?: number | undefined;
|
|
8
|
+
public constructor() {
|
|
9
|
+
super();
|
|
10
|
+
}
|
|
11
|
+
public withResources(resources: Array<TagResource>): ListResourceInstancesResponse {
|
|
12
|
+
this['resources'] = resources;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
public withTotalCount(totalCount: number): ListResourceInstancesResponse {
|
|
16
|
+
this['total_count'] = totalCount;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
public set totalCount(totalCount: number | undefined) {
|
|
20
|
+
this['total_count'] = totalCount;
|
|
21
|
+
}
|
|
22
|
+
public get totalCount() {
|
|
23
|
+
return this['total_count'];
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListResourceTagsRequest {
|
|
4
|
+
private 'resource_type': string | undefined;
|
|
5
|
+
private 'resource_id': string | undefined;
|
|
6
|
+
public constructor(resourceType?: any, resourceId?: any) {
|
|
7
|
+
this['resource_type'] = resourceType;
|
|
8
|
+
this['resource_id'] = resourceId;
|
|
9
|
+
}
|
|
10
|
+
public withResourceType(resourceType: string): ListResourceTagsRequest {
|
|
11
|
+
this['resource_type'] = resourceType;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public set resourceType(resourceType: string | undefined) {
|
|
15
|
+
this['resource_type'] = resourceType;
|
|
16
|
+
}
|
|
17
|
+
public get resourceType() {
|
|
18
|
+
return this['resource_type'];
|
|
19
|
+
}
|
|
20
|
+
public withResourceId(resourceId: string): ListResourceTagsRequest {
|
|
21
|
+
this['resource_id'] = resourceId;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public set resourceId(resourceId: string | undefined) {
|
|
25
|
+
this['resource_id'] = resourceId;
|
|
26
|
+
}
|
|
27
|
+
public get resourceId() {
|
|
28
|
+
return this['resource_id'];
|
|
29
|
+
}
|
|
30
|
+
}
|