@huaweicloud/huaweicloud-sdk-swr 3.1.44 → 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-swr.ts +4 -0
- package/package.json +4 -4
- package/v2/{SwrClient.js → SwrClient.ts} +1513 -949
- package/v2/SwrRegion.ts +62 -0
- package/v2/model/AuthInfo.ts +12 -0
- package/v2/model/CreateImageSyncRepoRequest.ts +45 -0
- package/v2/model/CreateImageSyncRepoRequestBody.ts +28 -0
- package/v2/model/CreateImageSyncRepoResponse.ts +8 -0
- package/v2/model/CreateManualImageSyncRepoRequest.ts +45 -0
- package/v2/model/CreateManualImageSyncRepoRequestBody.ts +29 -0
- package/v2/model/CreateManualImageSyncRepoResponse.ts +13 -0
- package/v2/model/CreateNamespaceAuthRequest.ts +39 -0
- package/v2/model/CreateNamespaceAuthResponse.ts +8 -0
- package/v2/model/CreateNamespaceRequest.ts +33 -0
- package/v2/model/CreateNamespaceRequestBody.ts +12 -0
- package/v2/model/CreateNamespaceResponse.ts +8 -0
- package/v2/model/CreateRepoDomainsRequest.ts +45 -0
- package/v2/model/CreateRepoDomainsRequestBody.ts +35 -0
- package/v2/model/CreateRepoDomainsResponse.ts +8 -0
- package/v2/model/CreateRepoRequest.ts +39 -0
- package/v2/model/CreateRepoRequestBody.ts +49 -0
- package/v2/model/CreateRepoResponse.ts +8 -0
- package/v2/model/CreateRetentionRequest.ts +45 -0
- package/v2/model/CreateRetentionRequestBody.ts +19 -0
- package/v2/model/CreateRetentionResponse.ts +13 -0
- package/v2/model/CreateSecretRequest.ts +32 -0
- package/v2/model/CreateSecretResponse.ts +25 -0
- package/v2/model/CreateTriggerRequest.ts +45 -0
- package/v2/model/CreateTriggerRequestBody.ts +110 -0
- package/v2/model/CreateTriggerResponse.ts +8 -0
- package/v2/model/CreateUserRepositoryAuthRequest.ts +45 -0
- package/v2/model/CreateUserRepositoryAuthResponse.ts +8 -0
- package/v2/model/DeleteImageSyncRepoRequest.ts +45 -0
- package/v2/model/DeleteImageSyncRepoRequestBody.ts +18 -0
- package/v2/model/DeleteImageSyncRepoResponse.ts +8 -0
- package/v2/model/DeleteNamespaceAuthRequest.ts +38 -0
- package/v2/model/DeleteNamespaceAuthResponse.ts +8 -0
- package/v2/model/DeleteNamespacesRequest.ts +33 -0
- package/v2/model/DeleteNamespacesResponse.ts +8 -0
- package/v2/model/DeleteRepoDomainsRequest.ts +51 -0
- package/v2/model/DeleteRepoDomainsResponse.ts +8 -0
- package/v2/model/DeleteRepoRequest.ts +39 -0
- package/v2/model/DeleteRepoResponse.ts +8 -0
- package/v2/model/DeleteRepoTagRequest.ts +45 -0
- package/v2/model/DeleteRepoTagResponse.ts +8 -0
- package/v2/model/DeleteRetentionRequest.ts +51 -0
- package/v2/model/DeleteRetentionResponse.ts +8 -0
- package/v2/model/DeleteTriggerRequest.ts +45 -0
- package/v2/model/DeleteTriggerResponse.ts +8 -0
- package/v2/model/DeleteUserRepositoryAuthRequest.ts +44 -0
- package/v2/model/DeleteUserRepositoryAuthResponse.ts +8 -0
- package/v2/model/ImageTag.ts +6 -0
- package/v2/model/Link.ts +18 -0
- package/v2/model/ListApiVersionsRequest.ts +27 -0
- package/v2/model/ListApiVersionsResponse.ts +14 -0
- package/v2/model/ListImageAutoSyncReposDetailsRequest.ts +39 -0
- package/v2/model/ListImageAutoSyncReposDetailsResponse.ts +14 -0
- package/v2/model/ListNamespacesRequest.ts +37 -0
- package/v2/model/ListNamespacesResponse.ts +14 -0
- package/v2/model/ListQuotasRequest.ts +27 -0
- package/v2/model/ListQuotasResponse.ts +14 -0
- package/v2/model/ListRepoDomainsRequest.ts +39 -0
- package/v2/model/ListRepoDomainsResponse.ts +14 -0
- package/v2/model/ListReposDetailsRequest.ts +79 -0
- package/v2/model/ListReposDetailsResponse.ts +25 -0
- package/v2/model/ListRepositoryTagsRequest.ts +81 -0
- package/v2/model/ListRepositoryTagsResponse.ts +25 -0
- package/v2/model/ListRetentionHistoriesRequest.ts +44 -0
- package/v2/model/ListRetentionHistoriesResponse.ts +36 -0
- package/v2/model/ListRetentionsRequest.ts +39 -0
- package/v2/model/ListRetentionsResponse.ts +14 -0
- package/v2/model/ListSharedReposDetailsRequest.ts +79 -0
- package/v2/model/ListSharedReposDetailsResponse.ts +25 -0
- package/v2/model/ListTriggersDetailsRequest.ts +39 -0
- package/v2/model/ListTriggersDetailsResponse.ts +14 -0
- package/v2/model/Retention.ts +31 -0
- package/v2/model/RetentionLog.ts +66 -0
- package/v2/model/Rule.ts +40 -0
- package/v2/model/ShowAccessDomainRequest.ts +51 -0
- package/v2/model/ShowAccessDomainResponse.ts +86 -0
- package/v2/model/ShowApiVersionRequest.ts +39 -0
- package/v2/model/ShowApiVersionResponse.ts +14 -0
- package/v2/model/ShowNamespace.ts +46 -0
- package/v2/model/ShowNamespaceAuthRequest.ts +33 -0
- package/v2/model/ShowNamespaceAuthResponse.ts +52 -0
- package/v2/model/ShowNamespaceRequest.ts +33 -0
- package/v2/model/ShowNamespaceResponse.ts +44 -0
- package/v2/model/ShowQuota.ts +42 -0
- package/v2/model/ShowRepoDomainsResponse.ts +90 -0
- package/v2/model/ShowReposResp.ts +162 -0
- package/v2/model/ShowReposTagResp.ts +150 -0
- package/v2/model/ShowRepositoryRequest.ts +39 -0
- package/v2/model/ShowRepositoryResponse.ts +146 -0
- package/v2/model/ShowRetentionRequest.ts +51 -0
- package/v2/model/ShowRetentionResponse.ts +29 -0
- package/v2/model/ShowSyncJobRequest.ts +45 -0
- package/v2/model/ShowSyncJobResponse.ts +25 -0
- package/v2/model/ShowTriggerRequest.ts +45 -0
- package/v2/model/ShowTriggerResponse.ts +138 -0
- package/v2/model/ShowUserRepositoryAuthRequest.ts +39 -0
- package/v2/model/ShowUserRepositoryAuthResponse.ts +41 -0
- package/v2/model/SyncJob.ts +90 -0
- package/v2/model/SyncRepo.ts +72 -0
- package/v2/model/TagSelector.ts +18 -0
- package/v2/model/Trigger.ts +151 -0
- package/v2/model/TriggerHistories.ts +120 -0
- package/v2/model/UpdateNamespaceAuthRequest.ts +39 -0
- package/v2/model/UpdateNamespaceAuthResponse.ts +8 -0
- package/v2/model/UpdateRepoDomainsRequest.ts +57 -0
- package/v2/model/UpdateRepoDomainsRequestBody.ts +23 -0
- package/v2/model/UpdateRepoDomainsResponse.ts +8 -0
- package/v2/model/UpdateRepoRequest.ts +45 -0
- package/v2/model/UpdateRepoRequestBody.ts +43 -0
- package/v2/model/UpdateRepoResponse.ts +8 -0
- package/v2/model/UpdateRetentionRequest.ts +57 -0
- package/v2/model/UpdateRetentionRequestBody.ts +19 -0
- package/v2/model/UpdateRetentionResponse.ts +8 -0
- package/v2/model/UpdateTriggerRequest.ts +51 -0
- package/v2/model/UpdateTriggerRequestBody.ts +12 -0
- package/v2/model/UpdateTriggerResponse.ts +8 -0
- package/v2/model/UpdateUserRepositoryAuthRequest.ts +45 -0
- package/v2/model/UpdateUserRepositoryAuthResponse.ts +8 -0
- package/v2/model/UserAuth.ts +46 -0
- package/v2/model/VersionDetail.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-swr.d.ts +0 -2
- package/huaweicloud-sdk-swr.js +0 -31
- package/v2/SwrClient.d.ts +0 -1332
- package/v2/SwrRegion.d.ts +0 -23
- package/v2/SwrRegion.js +0 -59
- package/v2/model/AuthInfo.d.ts +0 -5
- package/v2/model/AuthInfo.js +0 -14
- package/v2/model/CreateImageSyncRepoRequest.d.ts +0 -22
- package/v2/model/CreateImageSyncRepoRequest.js +0 -47
- package/v2/model/CreateImageSyncRepoRequestBody.d.ts +0 -11
- package/v2/model/CreateImageSyncRepoRequestBody.js +0 -27
- package/v2/model/CreateImageSyncRepoResponse.d.ts +0 -4
- package/v2/model/CreateImageSyncRepoResponse.js +0 -27
- package/v2/model/CreateManualImageSyncRepoRequest.d.ts +0 -22
- package/v2/model/CreateManualImageSyncRepoRequest.js +0 -47
- package/v2/model/CreateManualImageSyncRepoRequestBody.d.ts +0 -11
- package/v2/model/CreateManualImageSyncRepoRequestBody.js +0 -28
- package/v2/model/CreateManualImageSyncRepoResponse.d.ts +0 -6
- package/v2/model/CreateManualImageSyncRepoResponse.js +0 -31
- package/v2/model/CreateNamespaceAuthRequest.d.ts +0 -20
- package/v2/model/CreateNamespaceAuthRequest.js +0 -42
- package/v2/model/CreateNamespaceAuthResponse.d.ts +0 -4
- package/v2/model/CreateNamespaceAuthResponse.js +0 -27
- package/v2/model/CreateNamespaceRequest.d.ts +0 -18
- package/v2/model/CreateNamespaceRequest.js +0 -37
- package/v2/model/CreateNamespaceRequestBody.d.ts +0 -5
- package/v2/model/CreateNamespaceRequestBody.js +0 -14
- package/v2/model/CreateNamespaceResponse.d.ts +0 -4
- package/v2/model/CreateNamespaceResponse.js +0 -27
- package/v2/model/CreateRepoDomainsRequest.d.ts +0 -22
- package/v2/model/CreateRepoDomainsRequest.js +0 -47
- package/v2/model/CreateRepoDomainsRequestBody.d.ts +0 -13
- package/v2/model/CreateRepoDomainsRequestBody.js +0 -38
- package/v2/model/CreateRepoDomainsResponse.d.ts +0 -4
- package/v2/model/CreateRepoDomainsResponse.js +0 -27
- package/v2/model/CreateRepoRequest.d.ts +0 -20
- package/v2/model/CreateRepoRequest.js +0 -42
- package/v2/model/CreateRepoRequestBody.d.ts +0 -27
- package/v2/model/CreateRepoRequestBody.js +0 -52
- package/v2/model/CreateRepoResponse.d.ts +0 -4
- package/v2/model/CreateRepoResponse.js +0 -27
- package/v2/model/CreateRetentionRequest.d.ts +0 -22
- package/v2/model/CreateRetentionRequest.js +0 -47
- package/v2/model/CreateRetentionRequestBody.d.ts +0 -8
- package/v2/model/CreateRetentionRequestBody.js +0 -19
- package/v2/model/CreateRetentionResponse.d.ts +0 -6
- package/v2/model/CreateRetentionResponse.js +0 -31
- package/v2/model/CreateSecretRequest.d.ts +0 -17
- package/v2/model/CreateSecretRequest.js +0 -37
- package/v2/model/CreateSecretResponse.d.ts +0 -15
- package/v2/model/CreateSecretResponse.js +0 -45
- package/v2/model/CreateTriggerRequest.d.ts +0 -22
- package/v2/model/CreateTriggerRequest.js +0 -47
- package/v2/model/CreateTriggerRequestBody.d.ts +0 -39
- package/v2/model/CreateTriggerRequestBody.js +0 -125
- package/v2/model/CreateTriggerResponse.d.ts +0 -4
- package/v2/model/CreateTriggerResponse.js +0 -27
- package/v2/model/CreateUserRepositoryAuthRequest.d.ts +0 -22
- package/v2/model/CreateUserRepositoryAuthRequest.js +0 -47
- package/v2/model/CreateUserRepositoryAuthResponse.d.ts +0 -4
- package/v2/model/CreateUserRepositoryAuthResponse.js +0 -27
- package/v2/model/DeleteImageSyncRepoRequest.d.ts +0 -22
- package/v2/model/DeleteImageSyncRepoRequest.js +0 -47
- package/v2/model/DeleteImageSyncRepoRequestBody.d.ts +0 -7
- package/v2/model/DeleteImageSyncRepoRequestBody.js +0 -19
- package/v2/model/DeleteImageSyncRepoResponse.d.ts +0 -4
- package/v2/model/DeleteImageSyncRepoResponse.js +0 -27
- package/v2/model/DeleteNamespaceAuthRequest.d.ts +0 -19
- package/v2/model/DeleteNamespaceAuthRequest.js +0 -42
- package/v2/model/DeleteNamespaceAuthResponse.d.ts +0 -4
- package/v2/model/DeleteNamespaceAuthResponse.js +0 -27
- package/v2/model/DeleteNamespacesRequest.d.ts +0 -17
- package/v2/model/DeleteNamespacesRequest.js +0 -38
- package/v2/model/DeleteNamespacesResponse.d.ts +0 -4
- package/v2/model/DeleteNamespacesResponse.js +0 -27
- package/v2/model/DeleteRepoDomainsRequest.d.ts +0 -23
- package/v2/model/DeleteRepoDomainsRequest.js +0 -58
- package/v2/model/DeleteRepoDomainsResponse.d.ts +0 -4
- package/v2/model/DeleteRepoDomainsResponse.js +0 -27
- package/v2/model/DeleteRepoRequest.d.ts +0 -19
- package/v2/model/DeleteRepoRequest.js +0 -43
- package/v2/model/DeleteRepoResponse.d.ts +0 -4
- package/v2/model/DeleteRepoResponse.js +0 -27
- package/v2/model/DeleteRepoTagRequest.d.ts +0 -21
- package/v2/model/DeleteRepoTagRequest.js +0 -48
- package/v2/model/DeleteRepoTagResponse.d.ts +0 -4
- package/v2/model/DeleteRepoTagResponse.js +0 -27
- package/v2/model/DeleteRetentionRequest.d.ts +0 -23
- package/v2/model/DeleteRetentionRequest.js +0 -58
- package/v2/model/DeleteRetentionResponse.d.ts +0 -4
- package/v2/model/DeleteRetentionResponse.js +0 -27
- package/v2/model/DeleteTriggerRequest.d.ts +0 -21
- package/v2/model/DeleteTriggerRequest.js +0 -48
- package/v2/model/DeleteTriggerResponse.d.ts +0 -4
- package/v2/model/DeleteTriggerResponse.js +0 -27
- package/v2/model/DeleteUserRepositoryAuthRequest.d.ts +0 -21
- package/v2/model/DeleteUserRepositoryAuthRequest.js +0 -47
- package/v2/model/DeleteUserRepositoryAuthResponse.d.ts +0 -4
- package/v2/model/DeleteUserRepositoryAuthResponse.js +0 -27
- package/v2/model/ImageTag.d.ts +0 -3
- package/v2/model/ImageTag.js +0 -9
- package/v2/model/Link.d.ts +0 -7
- package/v2/model/Link.js +0 -19
- package/v2/model/ListApiVersionsRequest.d.ts +0 -15
- package/v2/model/ListApiVersionsRequest.js +0 -33
- package/v2/model/ListApiVersionsResponse.d.ts +0 -7
- package/v2/model/ListApiVersionsResponse.js +0 -31
- package/v2/model/ListImageAutoSyncReposDetailsRequest.d.ts +0 -19
- package/v2/model/ListImageAutoSyncReposDetailsRequest.js +0 -43
- package/v2/model/ListImageAutoSyncReposDetailsResponse.d.ts +0 -7
- package/v2/model/ListImageAutoSyncReposDetailsResponse.js +0 -31
- package/v2/model/ListNamespacesRequest.d.ts +0 -19
- package/v2/model/ListNamespacesRequest.js +0 -41
- package/v2/model/ListNamespacesResponse.d.ts +0 -7
- package/v2/model/ListNamespacesResponse.js +0 -31
- package/v2/model/ListQuotasRequest.d.ts +0 -15
- package/v2/model/ListQuotasRequest.js +0 -33
- package/v2/model/ListQuotasResponse.d.ts +0 -7
- package/v2/model/ListQuotasResponse.js +0 -31
- package/v2/model/ListRepoDomainsRequest.d.ts +0 -19
- package/v2/model/ListRepoDomainsRequest.js +0 -43
- package/v2/model/ListRepoDomainsResponse.d.ts +0 -7
- package/v2/model/ListRepoDomainsResponse.js +0 -31
- package/v2/model/ListReposDetailsRequest.d.ts +0 -35
- package/v2/model/ListReposDetailsRequest.js +0 -85
- package/v2/model/ListReposDetailsResponse.d.ts +0 -11
- package/v2/model/ListReposDetailsResponse.js +0 -45
- package/v2/model/ListRepositoryTagsRequest.d.ts +0 -35
- package/v2/model/ListRepositoryTagsRequest.js +0 -87
- package/v2/model/ListRepositoryTagsResponse.d.ts +0 -11
- package/v2/model/ListRepositoryTagsResponse.js +0 -45
- package/v2/model/ListRetentionHistoriesRequest.d.ts +0 -21
- package/v2/model/ListRetentionHistoriesRequest.js +0 -47
- package/v2/model/ListRetentionHistoriesResponse.d.ts +0 -15
- package/v2/model/ListRetentionHistoriesResponse.js +0 -59
- package/v2/model/ListRetentionsRequest.d.ts +0 -19
- package/v2/model/ListRetentionsRequest.js +0 -43
- package/v2/model/ListRetentionsResponse.d.ts +0 -7
- package/v2/model/ListRetentionsResponse.js +0 -31
- package/v2/model/ListSharedReposDetailsRequest.d.ts +0 -35
- package/v2/model/ListSharedReposDetailsRequest.js +0 -85
- package/v2/model/ListSharedReposDetailsResponse.d.ts +0 -11
- package/v2/model/ListSharedReposDetailsResponse.js +0 -45
- package/v2/model/ListTriggersDetailsRequest.d.ts +0 -19
- package/v2/model/ListTriggersDetailsRequest.js +0 -43
- package/v2/model/ListTriggersDetailsResponse.d.ts +0 -7
- package/v2/model/ListTriggersDetailsResponse.js +0 -31
- package/v2/model/Retention.d.ts +0 -12
- package/v2/model/Retention.js +0 -29
- package/v2/model/RetentionLog.d.ts +0 -23
- package/v2/model/RetentionLog.js +0 -74
- package/v2/model/Rule.d.ts +0 -20
- package/v2/model/Rule.js +0 -43
- package/v2/model/ShowAccessDomainRequest.d.ts +0 -23
- package/v2/model/ShowAccessDomainRequest.js +0 -58
- package/v2/model/ShowAccessDomainResponse.d.ts +0 -34
- package/v2/model/ShowAccessDomainResponse.js +0 -105
- package/v2/model/ShowApiVersionRequest.d.ts +0 -19
- package/v2/model/ShowApiVersionRequest.js +0 -48
- package/v2/model/ShowApiVersionResponse.d.ts +0 -7
- package/v2/model/ShowApiVersionResponse.js +0 -31
- package/v2/model/ShowNamespace.d.ts +0 -22
- package/v2/model/ShowNamespace.js +0 -49
- package/v2/model/ShowNamespaceAuthRequest.d.ts +0 -17
- package/v2/model/ShowNamespaceAuthRequest.js +0 -38
- package/v2/model/ShowNamespaceAuthResponse.d.ts +0 -21
- package/v2/model/ShowNamespaceAuthResponse.js +0 -77
- package/v2/model/ShowNamespaceRequest.d.ts +0 -17
- package/v2/model/ShowNamespaceRequest.js +0 -38
- package/v2/model/ShowNamespaceResponse.d.ts +0 -23
- package/v2/model/ShowNamespaceResponse.js +0 -63
- package/v2/model/ShowQuota.d.ts +0 -15
- package/v2/model/ShowQuota.js +0 -49
- package/v2/model/ShowRepoDomainsResponse.d.ts +0 -31
- package/v2/model/ShowRepoDomainsResponse.js +0 -94
- package/v2/model/ShowReposResp.d.ts +0 -55
- package/v2/model/ShowReposResp.js +0 -179
- package/v2/model/ShowReposTagResp.d.ts +0 -51
- package/v2/model/ShowReposTagResp.js +0 -164
- package/v2/model/ShowRepositoryRequest.d.ts +0 -19
- package/v2/model/ShowRepositoryRequest.js +0 -43
- package/v2/model/ShowRepositoryResponse.d.ts +0 -56
- package/v2/model/ShowRepositoryResponse.js +0 -179
- package/v2/model/ShowRetentionRequest.d.ts +0 -23
- package/v2/model/ShowRetentionRequest.js +0 -58
- package/v2/model/ShowRetentionResponse.d.ts +0 -13
- package/v2/model/ShowRetentionResponse.js +0 -43
- package/v2/model/ShowSyncJobRequest.d.ts +0 -21
- package/v2/model/ShowSyncJobRequest.js +0 -48
- package/v2/model/ShowSyncJobResponse.d.ts +0 -11
- package/v2/model/ShowSyncJobResponse.js +0 -45
- package/v2/model/ShowTriggerRequest.d.ts +0 -21
- package/v2/model/ShowTriggerRequest.js +0 -48
- package/v2/model/ShowTriggerResponse.d.ts +0 -53
- package/v2/model/ShowTriggerResponse.js +0 -177
- package/v2/model/ShowUserRepositoryAuthRequest.d.ts +0 -19
- package/v2/model/ShowUserRepositoryAuthRequest.js +0 -43
- package/v2/model/ShowUserRepositoryAuthResponse.d.ts +0 -17
- package/v2/model/ShowUserRepositoryAuthResponse.js +0 -63
- package/v2/model/SyncJob.d.ts +0 -31
- package/v2/model/SyncJob.js +0 -79
- package/v2/model/SyncRepo.d.ts +0 -25
- package/v2/model/SyncRepo.js +0 -64
- package/v2/model/TagSelector.d.ts +0 -7
- package/v2/model/TagSelector.js +0 -19
- package/v2/model/Trigger.d.ts +0 -52
- package/v2/model/Trigger.js +0 -174
- package/v2/model/TriggerHistories.d.ts +0 -41
- package/v2/model/TriggerHistories.js +0 -134
- package/v2/model/UpdateNamespaceAuthRequest.d.ts +0 -20
- package/v2/model/UpdateNamespaceAuthRequest.js +0 -42
- package/v2/model/UpdateNamespaceAuthResponse.d.ts +0 -4
- package/v2/model/UpdateNamespaceAuthResponse.js +0 -27
- package/v2/model/UpdateRepoDomainsRequest.d.ts +0 -26
- package/v2/model/UpdateRepoDomainsRequest.js +0 -62
- package/v2/model/UpdateRepoDomainsRequestBody.d.ts +0 -9
- package/v2/model/UpdateRepoDomainsRequestBody.js +0 -23
- package/v2/model/UpdateRepoDomainsResponse.d.ts +0 -4
- package/v2/model/UpdateRepoDomainsResponse.js +0 -27
- package/v2/model/UpdateRepoRequest.d.ts +0 -22
- package/v2/model/UpdateRepoRequest.js +0 -47
- package/v2/model/UpdateRepoRequestBody.d.ts +0 -25
- package/v2/model/UpdateRepoRequestBody.js +0 -47
- package/v2/model/UpdateRepoResponse.d.ts +0 -4
- package/v2/model/UpdateRepoResponse.js +0 -27
- package/v2/model/UpdateRetentionRequest.d.ts +0 -26
- package/v2/model/UpdateRetentionRequest.js +0 -62
- package/v2/model/UpdateRetentionRequestBody.d.ts +0 -8
- package/v2/model/UpdateRetentionRequestBody.js +0 -19
- package/v2/model/UpdateRetentionResponse.d.ts +0 -4
- package/v2/model/UpdateRetentionResponse.js +0 -27
- package/v2/model/UpdateTriggerRequest.d.ts +0 -24
- package/v2/model/UpdateTriggerRequest.js +0 -52
- package/v2/model/UpdateTriggerRequestBody.d.ts +0 -5
- package/v2/model/UpdateTriggerRequestBody.js +0 -14
- package/v2/model/UpdateTriggerResponse.d.ts +0 -4
- package/v2/model/UpdateTriggerResponse.js +0 -27
- package/v2/model/UpdateUserRepositoryAuthRequest.d.ts +0 -22
- package/v2/model/UpdateUserRepositoryAuthRequest.js +0 -47
- package/v2/model/UpdateUserRepositoryAuthResponse.d.ts +0 -4
- package/v2/model/UpdateUserRepositoryAuthResponse.js +0 -27
- package/v2/model/UserAuth.d.ts +0 -22
- package/v2/model/UserAuth.js +0 -54
- package/v2/model/VersionDetail.d.ts +0 -18
- package/v2/model/VersionDetail.js +0 -49
- package/v2/public-api.js +0 -138
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { RetentionLog } from './RetentionLog';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListRetentionHistoriesResponse extends SdkResponse {
|
|
6
|
+
private 'retention_log'?: Array<RetentionLog> | undefined;
|
|
7
|
+
public total?: number;
|
|
8
|
+
private 'Content-Range'?: string | undefined;
|
|
9
|
+
public constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
public withRetentionLog(retentionLog: Array<RetentionLog>): ListRetentionHistoriesResponse {
|
|
13
|
+
this['retention_log'] = retentionLog;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set retentionLog(retentionLog: Array<RetentionLog> | undefined) {
|
|
17
|
+
this['retention_log'] = retentionLog;
|
|
18
|
+
}
|
|
19
|
+
public get retentionLog() {
|
|
20
|
+
return this['retention_log'];
|
|
21
|
+
}
|
|
22
|
+
public withTotal(total: number): ListRetentionHistoriesResponse {
|
|
23
|
+
this['total'] = total;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public withContentRange(contentRange: string): ListRetentionHistoriesResponse {
|
|
27
|
+
this['Content-Range'] = contentRange;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public set contentRange(contentRange: string | undefined) {
|
|
31
|
+
this['Content-Range'] = contentRange;
|
|
32
|
+
}
|
|
33
|
+
public get contentRange() {
|
|
34
|
+
return this['Content-Range'];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListRetentionsRequest {
|
|
4
|
+
private 'Content-Type': ListRetentionsRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public repository: string;
|
|
7
|
+
public constructor(contentType?: any, namespace?: any, repository?: any) {
|
|
8
|
+
this['Content-Type'] = contentType;
|
|
9
|
+
this['namespace'] = namespace;
|
|
10
|
+
this['repository'] = repository;
|
|
11
|
+
}
|
|
12
|
+
public withContentType(contentType: ListRetentionsRequestContentTypeEnum): ListRetentionsRequest {
|
|
13
|
+
this['Content-Type'] = contentType;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set contentType(contentType: ListRetentionsRequestContentTypeEnum | undefined) {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
}
|
|
19
|
+
public get contentType() {
|
|
20
|
+
return this['Content-Type'];
|
|
21
|
+
}
|
|
22
|
+
public withNamespace(namespace: string): ListRetentionsRequest {
|
|
23
|
+
this['namespace'] = namespace;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public withRepository(repository: string): ListRetentionsRequest {
|
|
27
|
+
this['repository'] = repository;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
export enum ListRetentionsRequestContentTypeEnum {
|
|
37
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
38
|
+
APPLICATION_JSON = 'application/json'
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Retention } from './Retention';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListRetentionsResponse extends SdkResponse {
|
|
6
|
+
public body?: Array<Retention>;
|
|
7
|
+
public constructor() {
|
|
8
|
+
super();
|
|
9
|
+
}
|
|
10
|
+
public withBody(body: Array<Retention>): ListRetentionsResponse {
|
|
11
|
+
this['body'] = body;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListSharedReposDetailsRequest {
|
|
4
|
+
private 'Content-Type': ListSharedReposDetailsRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace?: string;
|
|
6
|
+
public name?: string;
|
|
7
|
+
public center?: string;
|
|
8
|
+
public limit?: string;
|
|
9
|
+
public offset?: string;
|
|
10
|
+
private 'order_column'?: string | undefined;
|
|
11
|
+
private 'order_type'?: string | undefined;
|
|
12
|
+
public filter?: string;
|
|
13
|
+
public constructor(contentType?: any) {
|
|
14
|
+
this['Content-Type'] = contentType;
|
|
15
|
+
}
|
|
16
|
+
public withContentType(contentType: ListSharedReposDetailsRequestContentTypeEnum): ListSharedReposDetailsRequest {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
public set contentType(contentType: ListSharedReposDetailsRequestContentTypeEnum | undefined) {
|
|
21
|
+
this['Content-Type'] = contentType;
|
|
22
|
+
}
|
|
23
|
+
public get contentType() {
|
|
24
|
+
return this['Content-Type'];
|
|
25
|
+
}
|
|
26
|
+
public withNamespace(namespace: string): ListSharedReposDetailsRequest {
|
|
27
|
+
this['namespace'] = namespace;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withName(name: string): ListSharedReposDetailsRequest {
|
|
31
|
+
this['name'] = name;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public withCenter(center: string): ListSharedReposDetailsRequest {
|
|
35
|
+
this['center'] = center;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
public withLimit(limit: string): ListSharedReposDetailsRequest {
|
|
39
|
+
this['limit'] = limit;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withOffset(offset: string): ListSharedReposDetailsRequest {
|
|
43
|
+
this['offset'] = offset;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public withOrderColumn(orderColumn: string): ListSharedReposDetailsRequest {
|
|
47
|
+
this['order_column'] = orderColumn;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
public set orderColumn(orderColumn: string | undefined) {
|
|
51
|
+
this['order_column'] = orderColumn;
|
|
52
|
+
}
|
|
53
|
+
public get orderColumn() {
|
|
54
|
+
return this['order_column'];
|
|
55
|
+
}
|
|
56
|
+
public withOrderType(orderType: string): ListSharedReposDetailsRequest {
|
|
57
|
+
this['order_type'] = orderType;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
public set orderType(orderType: string | undefined) {
|
|
61
|
+
this['order_type'] = orderType;
|
|
62
|
+
}
|
|
63
|
+
public get orderType() {
|
|
64
|
+
return this['order_type'];
|
|
65
|
+
}
|
|
66
|
+
public withFilter(filter: string): ListSharedReposDetailsRequest {
|
|
67
|
+
this['filter'] = filter;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @export
|
|
74
|
+
* @enum {string}
|
|
75
|
+
*/
|
|
76
|
+
export enum ListSharedReposDetailsRequestContentTypeEnum {
|
|
77
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
78
|
+
APPLICATION_JSON = 'application/json'
|
|
79
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ShowReposResp } from './ShowReposResp';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListSharedReposDetailsResponse extends SdkResponse {
|
|
6
|
+
public body?: Array<ShowReposResp>;
|
|
7
|
+
private 'Content-Range'?: string | undefined;
|
|
8
|
+
public constructor() {
|
|
9
|
+
super();
|
|
10
|
+
}
|
|
11
|
+
public withBody(body: Array<ShowReposResp>): ListSharedReposDetailsResponse {
|
|
12
|
+
this['body'] = body;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
public withContentRange(contentRange: string): ListSharedReposDetailsResponse {
|
|
16
|
+
this['Content-Range'] = contentRange;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
public set contentRange(contentRange: string | undefined) {
|
|
20
|
+
this['Content-Range'] = contentRange;
|
|
21
|
+
}
|
|
22
|
+
public get contentRange() {
|
|
23
|
+
return this['Content-Range'];
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ListTriggersDetailsRequest {
|
|
4
|
+
private 'Content-Type': ListTriggersDetailsRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public repository: string;
|
|
7
|
+
public constructor(contentType?: any, namespace?: any, repository?: any) {
|
|
8
|
+
this['Content-Type'] = contentType;
|
|
9
|
+
this['namespace'] = namespace;
|
|
10
|
+
this['repository'] = repository;
|
|
11
|
+
}
|
|
12
|
+
public withContentType(contentType: ListTriggersDetailsRequestContentTypeEnum): ListTriggersDetailsRequest {
|
|
13
|
+
this['Content-Type'] = contentType;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set contentType(contentType: ListTriggersDetailsRequestContentTypeEnum | undefined) {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
}
|
|
19
|
+
public get contentType() {
|
|
20
|
+
return this['Content-Type'];
|
|
21
|
+
}
|
|
22
|
+
public withNamespace(namespace: string): ListTriggersDetailsRequest {
|
|
23
|
+
this['namespace'] = namespace;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public withRepository(repository: string): ListTriggersDetailsRequest {
|
|
27
|
+
this['repository'] = repository;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
export enum ListTriggersDetailsRequestContentTypeEnum {
|
|
37
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
38
|
+
APPLICATION_JSON = 'application/json'
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Trigger } from './Trigger';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ListTriggersDetailsResponse extends SdkResponse {
|
|
6
|
+
public body?: Array<Trigger>;
|
|
7
|
+
public constructor() {
|
|
8
|
+
super();
|
|
9
|
+
}
|
|
10
|
+
public withBody(body: Array<Trigger>): ListTriggersDetailsResponse {
|
|
11
|
+
this['body'] = body;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Rule } from './Rule';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export class Retention {
|
|
5
|
+
public algorithm: string;
|
|
6
|
+
public id: number;
|
|
7
|
+
public rules: Array<Rule>;
|
|
8
|
+
public scope: string;
|
|
9
|
+
public constructor(algorithm?: any, id?: any, rules?: any, scope?: any) {
|
|
10
|
+
this['algorithm'] = algorithm;
|
|
11
|
+
this['id'] = id;
|
|
12
|
+
this['rules'] = rules;
|
|
13
|
+
this['scope'] = scope;
|
|
14
|
+
}
|
|
15
|
+
public withAlgorithm(algorithm: string): Retention {
|
|
16
|
+
this['algorithm'] = algorithm;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
public withId(id: number): Retention {
|
|
20
|
+
this['id'] = id;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
public withRules(rules: Array<Rule>): Retention {
|
|
24
|
+
this['rules'] = rules;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
public withScope(scope: string): Retention {
|
|
28
|
+
this['scope'] = scope;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class RetentionLog {
|
|
4
|
+
private 'created_at': string | undefined;
|
|
5
|
+
public id: number;
|
|
6
|
+
public namespace: string;
|
|
7
|
+
public repo: string;
|
|
8
|
+
private 'retention_id': number | undefined;
|
|
9
|
+
private 'rule_type': string | undefined;
|
|
10
|
+
public tag: string;
|
|
11
|
+
public constructor(createdAt?: any, id?: any, namespace?: any, repo?: any, retentionId?: any, ruleType?: any, tag?: any) {
|
|
12
|
+
this['created_at'] = createdAt;
|
|
13
|
+
this['id'] = id;
|
|
14
|
+
this['namespace'] = namespace;
|
|
15
|
+
this['repo'] = repo;
|
|
16
|
+
this['retention_id'] = retentionId;
|
|
17
|
+
this['rule_type'] = ruleType;
|
|
18
|
+
this['tag'] = tag;
|
|
19
|
+
}
|
|
20
|
+
public withCreatedAt(createdAt: string): RetentionLog {
|
|
21
|
+
this['created_at'] = createdAt;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public set createdAt(createdAt: string | undefined) {
|
|
25
|
+
this['created_at'] = createdAt;
|
|
26
|
+
}
|
|
27
|
+
public get createdAt() {
|
|
28
|
+
return this['created_at'];
|
|
29
|
+
}
|
|
30
|
+
public withId(id: number): RetentionLog {
|
|
31
|
+
this['id'] = id;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public withNamespace(namespace: string): RetentionLog {
|
|
35
|
+
this['namespace'] = namespace;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
public withRepo(repo: string): RetentionLog {
|
|
39
|
+
this['repo'] = repo;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withRetentionId(retentionId: number): RetentionLog {
|
|
43
|
+
this['retention_id'] = retentionId;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public set retentionId(retentionId: number | undefined) {
|
|
47
|
+
this['retention_id'] = retentionId;
|
|
48
|
+
}
|
|
49
|
+
public get retentionId() {
|
|
50
|
+
return this['retention_id'];
|
|
51
|
+
}
|
|
52
|
+
public withRuleType(ruleType: string): RetentionLog {
|
|
53
|
+
this['rule_type'] = ruleType;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public set ruleType(ruleType: string | undefined) {
|
|
57
|
+
this['rule_type'] = ruleType;
|
|
58
|
+
}
|
|
59
|
+
public get ruleType() {
|
|
60
|
+
return this['rule_type'];
|
|
61
|
+
}
|
|
62
|
+
public withTag(tag: string): RetentionLog {
|
|
63
|
+
this['tag'] = tag;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
}
|
package/v2/model/Rule.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TagSelector } from './TagSelector';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export class Rule {
|
|
5
|
+
public template: RuleTemplateEnum;
|
|
6
|
+
public params: object;
|
|
7
|
+
private 'tag_selectors': Array<TagSelector> | undefined;
|
|
8
|
+
public constructor(template?: any, params?: any, tagSelectors?: any) {
|
|
9
|
+
this['template'] = template;
|
|
10
|
+
this['params'] = params;
|
|
11
|
+
this['tag_selectors'] = tagSelectors;
|
|
12
|
+
}
|
|
13
|
+
public withTemplate(template: RuleTemplateEnum): Rule {
|
|
14
|
+
this['template'] = template;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
public withParams(params: object): Rule {
|
|
18
|
+
this['params'] = params;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
public withTagSelectors(tagSelectors: Array<TagSelector>): Rule {
|
|
22
|
+
this['tag_selectors'] = tagSelectors;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
public set tagSelectors(tagSelectors: Array<TagSelector> | undefined) {
|
|
26
|
+
this['tag_selectors'] = tagSelectors;
|
|
27
|
+
}
|
|
28
|
+
public get tagSelectors() {
|
|
29
|
+
return this['tag_selectors'];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
export enum RuleTemplateEnum {
|
|
38
|
+
DATE_RULE = 'date_rule',
|
|
39
|
+
TAG_RULE = 'tag_rule'
|
|
40
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowAccessDomainRequest {
|
|
4
|
+
private 'Content-Type': ShowAccessDomainRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public repository: string;
|
|
7
|
+
private 'access_domain': string | undefined;
|
|
8
|
+
public constructor(contentType?: any, namespace?: any, repository?: any, accessDomain?: any) {
|
|
9
|
+
this['Content-Type'] = contentType;
|
|
10
|
+
this['namespace'] = namespace;
|
|
11
|
+
this['repository'] = repository;
|
|
12
|
+
this['access_domain'] = accessDomain;
|
|
13
|
+
}
|
|
14
|
+
public withContentType(contentType: ShowAccessDomainRequestContentTypeEnum): ShowAccessDomainRequest {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public set contentType(contentType: ShowAccessDomainRequestContentTypeEnum | undefined) {
|
|
19
|
+
this['Content-Type'] = contentType;
|
|
20
|
+
}
|
|
21
|
+
public get contentType() {
|
|
22
|
+
return this['Content-Type'];
|
|
23
|
+
}
|
|
24
|
+
public withNamespace(namespace: string): ShowAccessDomainRequest {
|
|
25
|
+
this['namespace'] = namespace;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withRepository(repository: string): ShowAccessDomainRequest {
|
|
29
|
+
this['repository'] = repository;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withAccessDomain(accessDomain: string): ShowAccessDomainRequest {
|
|
33
|
+
this['access_domain'] = accessDomain;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public set accessDomain(accessDomain: string | undefined) {
|
|
37
|
+
this['access_domain'] = accessDomain;
|
|
38
|
+
}
|
|
39
|
+
public get accessDomain() {
|
|
40
|
+
return this['access_domain'];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export enum ShowAccessDomainRequestContentTypeEnum {
|
|
49
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
50
|
+
APPLICATION_JSON = 'application/json'
|
|
51
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
|
|
4
|
+
export class ShowAccessDomainResponse extends SdkResponse {
|
|
5
|
+
public exist?: boolean;
|
|
6
|
+
public namespace?: string;
|
|
7
|
+
public repository?: string;
|
|
8
|
+
private 'access_domain'?: string | undefined;
|
|
9
|
+
public permit?: string;
|
|
10
|
+
public deadline?: string;
|
|
11
|
+
public description?: string;
|
|
12
|
+
private 'creator_id'?: string | undefined;
|
|
13
|
+
private 'creator_name'?: string | undefined;
|
|
14
|
+
public created?: string;
|
|
15
|
+
public updated?: string;
|
|
16
|
+
public status?: boolean;
|
|
17
|
+
public constructor() {
|
|
18
|
+
super();
|
|
19
|
+
}
|
|
20
|
+
public withExist(exist: boolean): ShowAccessDomainResponse {
|
|
21
|
+
this['exist'] = exist;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public withNamespace(namespace: string): ShowAccessDomainResponse {
|
|
25
|
+
this['namespace'] = namespace;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withRepository(repository: string): ShowAccessDomainResponse {
|
|
29
|
+
this['repository'] = repository;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withAccessDomain(accessDomain: string): ShowAccessDomainResponse {
|
|
33
|
+
this['access_domain'] = accessDomain;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public set accessDomain(accessDomain: string | undefined) {
|
|
37
|
+
this['access_domain'] = accessDomain;
|
|
38
|
+
}
|
|
39
|
+
public get accessDomain() {
|
|
40
|
+
return this['access_domain'];
|
|
41
|
+
}
|
|
42
|
+
public withPermit(permit: string): ShowAccessDomainResponse {
|
|
43
|
+
this['permit'] = permit;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public withDeadline(deadline: string): ShowAccessDomainResponse {
|
|
47
|
+
this['deadline'] = deadline;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
public withDescription(description: string): ShowAccessDomainResponse {
|
|
51
|
+
this['description'] = description;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withCreatorId(creatorId: string): ShowAccessDomainResponse {
|
|
55
|
+
this['creator_id'] = creatorId;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public set creatorId(creatorId: string | undefined) {
|
|
59
|
+
this['creator_id'] = creatorId;
|
|
60
|
+
}
|
|
61
|
+
public get creatorId() {
|
|
62
|
+
return this['creator_id'];
|
|
63
|
+
}
|
|
64
|
+
public withCreatorName(creatorName: string): ShowAccessDomainResponse {
|
|
65
|
+
this['creator_name'] = creatorName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public set creatorName(creatorName: string | undefined) {
|
|
69
|
+
this['creator_name'] = creatorName;
|
|
70
|
+
}
|
|
71
|
+
public get creatorName() {
|
|
72
|
+
return this['creator_name'];
|
|
73
|
+
}
|
|
74
|
+
public withCreated(created: string): ShowAccessDomainResponse {
|
|
75
|
+
this['created'] = created;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withUpdated(updated: string): ShowAccessDomainResponse {
|
|
79
|
+
this['updated'] = updated;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public withStatus(status: boolean): ShowAccessDomainResponse {
|
|
83
|
+
this['status'] = status;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowApiVersionRequest {
|
|
4
|
+
private 'Content-Type': ShowApiVersionRequestContentTypeEnum | undefined;
|
|
5
|
+
private 'api_version': string | undefined;
|
|
6
|
+
public constructor(contentType?: any, apiVersion?: any) {
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
this['api_version'] = apiVersion;
|
|
9
|
+
}
|
|
10
|
+
public withContentType(contentType: ShowApiVersionRequestContentTypeEnum): ShowApiVersionRequest {
|
|
11
|
+
this['Content-Type'] = contentType;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public set contentType(contentType: ShowApiVersionRequestContentTypeEnum | undefined) {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
}
|
|
17
|
+
public get contentType() {
|
|
18
|
+
return this['Content-Type'];
|
|
19
|
+
}
|
|
20
|
+
public withApiVersion(apiVersion: string): ShowApiVersionRequest {
|
|
21
|
+
this['api_version'] = apiVersion;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public set apiVersion(apiVersion: string | undefined) {
|
|
25
|
+
this['api_version'] = apiVersion;
|
|
26
|
+
}
|
|
27
|
+
public get apiVersion() {
|
|
28
|
+
return this['api_version'];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
export enum ShowApiVersionRequestContentTypeEnum {
|
|
37
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
38
|
+
APPLICATION_JSON = 'application/json'
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VersionDetail } from './VersionDetail';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ShowApiVersionResponse extends SdkResponse {
|
|
6
|
+
public version?: VersionDetail;
|
|
7
|
+
public constructor() {
|
|
8
|
+
super();
|
|
9
|
+
}
|
|
10
|
+
public withVersion(version: VersionDetail): ShowApiVersionResponse {
|
|
11
|
+
this['version'] = version;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowNamespace {
|
|
4
|
+
public id: number;
|
|
5
|
+
public name: string;
|
|
6
|
+
private 'creator_name': string | undefined;
|
|
7
|
+
public auth: ShowNamespaceAuthEnum;
|
|
8
|
+
public constructor(id?: any, name?: any, creatorName?: any, auth?: any) {
|
|
9
|
+
this['id'] = id;
|
|
10
|
+
this['name'] = name;
|
|
11
|
+
this['creator_name'] = creatorName;
|
|
12
|
+
this['auth'] = auth;
|
|
13
|
+
}
|
|
14
|
+
public withId(id: number): ShowNamespace {
|
|
15
|
+
this['id'] = id;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public withName(name: string): ShowNamespace {
|
|
19
|
+
this['name'] = name;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
public withCreatorName(creatorName: string): ShowNamespace {
|
|
23
|
+
this['creator_name'] = creatorName;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public set creatorName(creatorName: string | undefined) {
|
|
27
|
+
this['creator_name'] = creatorName;
|
|
28
|
+
}
|
|
29
|
+
public get creatorName() {
|
|
30
|
+
return this['creator_name'];
|
|
31
|
+
}
|
|
32
|
+
public withAuth(auth: ShowNamespaceAuthEnum): ShowNamespace {
|
|
33
|
+
this['auth'] = auth;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export enum ShowNamespaceAuthEnum {
|
|
43
|
+
NUMBER_7 = 7,
|
|
44
|
+
NUMBER_3 = 3,
|
|
45
|
+
NUMBER_1 = 1
|
|
46
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowNamespaceAuthRequest {
|
|
4
|
+
private 'Content-Type': ShowNamespaceAuthRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public constructor(contentType?: any, namespace?: any) {
|
|
7
|
+
this['Content-Type'] = contentType;
|
|
8
|
+
this['namespace'] = namespace;
|
|
9
|
+
}
|
|
10
|
+
public withContentType(contentType: ShowNamespaceAuthRequestContentTypeEnum): ShowNamespaceAuthRequest {
|
|
11
|
+
this['Content-Type'] = contentType;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public set contentType(contentType: ShowNamespaceAuthRequestContentTypeEnum | undefined) {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
}
|
|
17
|
+
public get contentType() {
|
|
18
|
+
return this['Content-Type'];
|
|
19
|
+
}
|
|
20
|
+
public withNamespace(namespace: string): ShowNamespaceAuthRequest {
|
|
21
|
+
this['namespace'] = namespace;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
export enum ShowNamespaceAuthRequestContentTypeEnum {
|
|
31
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
32
|
+
APPLICATION_JSON = 'application/json'
|
|
33
|
+
}
|