@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,146 @@
|
|
|
1
|
+
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
|
|
4
|
+
export class ShowRepositoryResponse extends SdkResponse {
|
|
5
|
+
public id?: number;
|
|
6
|
+
private 'ns_id'?: number | undefined;
|
|
7
|
+
public name?: string;
|
|
8
|
+
public category?: string;
|
|
9
|
+
public description?: string;
|
|
10
|
+
private 'creator_id'?: string | undefined;
|
|
11
|
+
private 'creator_name'?: string | undefined;
|
|
12
|
+
public size?: number;
|
|
13
|
+
private 'is_public'?: boolean | undefined;
|
|
14
|
+
private 'num_images'?: number | undefined;
|
|
15
|
+
private 'num_download'?: number | undefined;
|
|
16
|
+
public url?: string;
|
|
17
|
+
public path?: string;
|
|
18
|
+
private 'internal_path'?: string | undefined;
|
|
19
|
+
public created?: string;
|
|
20
|
+
public updated?: string;
|
|
21
|
+
private 'domain_id'?: string | undefined;
|
|
22
|
+
public priority?: number;
|
|
23
|
+
public constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
public withId(id: number): ShowRepositoryResponse {
|
|
27
|
+
this['id'] = id;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withNsId(nsId: number): ShowRepositoryResponse {
|
|
31
|
+
this['ns_id'] = nsId;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public set nsId(nsId: number | undefined) {
|
|
35
|
+
this['ns_id'] = nsId;
|
|
36
|
+
}
|
|
37
|
+
public get nsId() {
|
|
38
|
+
return this['ns_id'];
|
|
39
|
+
}
|
|
40
|
+
public withName(name: string): ShowRepositoryResponse {
|
|
41
|
+
this['name'] = name;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
public withCategory(category: string): ShowRepositoryResponse {
|
|
45
|
+
this['category'] = category;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
public withDescription(description: string): ShowRepositoryResponse {
|
|
49
|
+
this['description'] = description;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
public withCreatorId(creatorId: string): ShowRepositoryResponse {
|
|
53
|
+
this['creator_id'] = creatorId;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public set creatorId(creatorId: string | undefined) {
|
|
57
|
+
this['creator_id'] = creatorId;
|
|
58
|
+
}
|
|
59
|
+
public get creatorId() {
|
|
60
|
+
return this['creator_id'];
|
|
61
|
+
}
|
|
62
|
+
public withCreatorName(creatorName: string): ShowRepositoryResponse {
|
|
63
|
+
this['creator_name'] = creatorName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public set creatorName(creatorName: string | undefined) {
|
|
67
|
+
this['creator_name'] = creatorName;
|
|
68
|
+
}
|
|
69
|
+
public get creatorName() {
|
|
70
|
+
return this['creator_name'];
|
|
71
|
+
}
|
|
72
|
+
public withSize(size: number): ShowRepositoryResponse {
|
|
73
|
+
this['size'] = size;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withIsPublic(isPublic: boolean): ShowRepositoryResponse {
|
|
77
|
+
this['is_public'] = isPublic;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public set isPublic(isPublic: boolean | undefined) {
|
|
81
|
+
this['is_public'] = isPublic;
|
|
82
|
+
}
|
|
83
|
+
public get isPublic() {
|
|
84
|
+
return this['is_public'];
|
|
85
|
+
}
|
|
86
|
+
public withNumImages(numImages: number): ShowRepositoryResponse {
|
|
87
|
+
this['num_images'] = numImages;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public set numImages(numImages: number | undefined) {
|
|
91
|
+
this['num_images'] = numImages;
|
|
92
|
+
}
|
|
93
|
+
public get numImages() {
|
|
94
|
+
return this['num_images'];
|
|
95
|
+
}
|
|
96
|
+
public withNumDownload(numDownload: number): ShowRepositoryResponse {
|
|
97
|
+
this['num_download'] = numDownload;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public set numDownload(numDownload: number | undefined) {
|
|
101
|
+
this['num_download'] = numDownload;
|
|
102
|
+
}
|
|
103
|
+
public get numDownload() {
|
|
104
|
+
return this['num_download'];
|
|
105
|
+
}
|
|
106
|
+
public withUrl(url: string): ShowRepositoryResponse {
|
|
107
|
+
this['url'] = url;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withPath(path: string): ShowRepositoryResponse {
|
|
111
|
+
this['path'] = path;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
public withInternalPath(internalPath: string): ShowRepositoryResponse {
|
|
115
|
+
this['internal_path'] = internalPath;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
public set internalPath(internalPath: string | undefined) {
|
|
119
|
+
this['internal_path'] = internalPath;
|
|
120
|
+
}
|
|
121
|
+
public get internalPath() {
|
|
122
|
+
return this['internal_path'];
|
|
123
|
+
}
|
|
124
|
+
public withCreated(created: string): ShowRepositoryResponse {
|
|
125
|
+
this['created'] = created;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
public withUpdated(updated: string): ShowRepositoryResponse {
|
|
129
|
+
this['updated'] = updated;
|
|
130
|
+
return this;
|
|
131
|
+
}
|
|
132
|
+
public withDomainId(domainId: string): ShowRepositoryResponse {
|
|
133
|
+
this['domain_id'] = domainId;
|
|
134
|
+
return this;
|
|
135
|
+
}
|
|
136
|
+
public set domainId(domainId: string | undefined) {
|
|
137
|
+
this['domain_id'] = domainId;
|
|
138
|
+
}
|
|
139
|
+
public get domainId() {
|
|
140
|
+
return this['domain_id'];
|
|
141
|
+
}
|
|
142
|
+
public withPriority(priority: number): ShowRepositoryResponse {
|
|
143
|
+
this['priority'] = priority;
|
|
144
|
+
return this;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowRetentionRequest {
|
|
4
|
+
private 'Content-Type': ShowRetentionRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public repository: string;
|
|
7
|
+
private 'retention_id': number | undefined;
|
|
8
|
+
public constructor(contentType?: any, namespace?: any, repository?: any, retentionId?: any) {
|
|
9
|
+
this['Content-Type'] = contentType;
|
|
10
|
+
this['namespace'] = namespace;
|
|
11
|
+
this['repository'] = repository;
|
|
12
|
+
this['retention_id'] = retentionId;
|
|
13
|
+
}
|
|
14
|
+
public withContentType(contentType: ShowRetentionRequestContentTypeEnum): ShowRetentionRequest {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public set contentType(contentType: ShowRetentionRequestContentTypeEnum | undefined) {
|
|
19
|
+
this['Content-Type'] = contentType;
|
|
20
|
+
}
|
|
21
|
+
public get contentType() {
|
|
22
|
+
return this['Content-Type'];
|
|
23
|
+
}
|
|
24
|
+
public withNamespace(namespace: string): ShowRetentionRequest {
|
|
25
|
+
this['namespace'] = namespace;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withRepository(repository: string): ShowRetentionRequest {
|
|
29
|
+
this['repository'] = repository;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withRetentionId(retentionId: number): ShowRetentionRequest {
|
|
33
|
+
this['retention_id'] = retentionId;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public set retentionId(retentionId: number | undefined) {
|
|
37
|
+
this['retention_id'] = retentionId;
|
|
38
|
+
}
|
|
39
|
+
public get retentionId() {
|
|
40
|
+
return this['retention_id'];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export enum ShowRetentionRequestContentTypeEnum {
|
|
49
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
50
|
+
APPLICATION_JSON = 'application/json'
|
|
51
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Rule } from './Rule';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ShowRetentionResponse extends SdkResponse {
|
|
6
|
+
public algorithm?: string;
|
|
7
|
+
public id?: number;
|
|
8
|
+
public rules?: Array<Rule>;
|
|
9
|
+
public scope?: string;
|
|
10
|
+
public constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
|
+
public withAlgorithm(algorithm: string): ShowRetentionResponse {
|
|
14
|
+
this['algorithm'] = algorithm;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
public withId(id: number): ShowRetentionResponse {
|
|
18
|
+
this['id'] = id;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
public withRules(rules: Array<Rule>): ShowRetentionResponse {
|
|
22
|
+
this['rules'] = rules;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
public withScope(scope: string): ShowRetentionResponse {
|
|
26
|
+
this['scope'] = scope;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowSyncJobRequest {
|
|
4
|
+
private 'Content-Type': ShowSyncJobRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public repository: string;
|
|
7
|
+
public filter: string;
|
|
8
|
+
public constructor(contentType?: any, namespace?: any, repository?: any, filter?: any) {
|
|
9
|
+
this['Content-Type'] = contentType;
|
|
10
|
+
this['namespace'] = namespace;
|
|
11
|
+
this['repository'] = repository;
|
|
12
|
+
this['filter'] = filter;
|
|
13
|
+
}
|
|
14
|
+
public withContentType(contentType: ShowSyncJobRequestContentTypeEnum): ShowSyncJobRequest {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public set contentType(contentType: ShowSyncJobRequestContentTypeEnum | undefined) {
|
|
19
|
+
this['Content-Type'] = contentType;
|
|
20
|
+
}
|
|
21
|
+
public get contentType() {
|
|
22
|
+
return this['Content-Type'];
|
|
23
|
+
}
|
|
24
|
+
public withNamespace(namespace: string): ShowSyncJobRequest {
|
|
25
|
+
this['namespace'] = namespace;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withRepository(repository: string): ShowSyncJobRequest {
|
|
29
|
+
this['repository'] = repository;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withFilter(filter: string): ShowSyncJobRequest {
|
|
33
|
+
this['filter'] = filter;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export enum ShowSyncJobRequestContentTypeEnum {
|
|
43
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
44
|
+
APPLICATION_JSON = 'application/json'
|
|
45
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SyncJob } from './SyncJob';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ShowSyncJobResponse extends SdkResponse {
|
|
6
|
+
public body?: Array<SyncJob>;
|
|
7
|
+
private 'Content-Range'?: string | undefined;
|
|
8
|
+
public constructor() {
|
|
9
|
+
super();
|
|
10
|
+
}
|
|
11
|
+
public withBody(body: Array<SyncJob>): ShowSyncJobResponse {
|
|
12
|
+
this['body'] = body;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
public withContentRange(contentRange: string): ShowSyncJobResponse {
|
|
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,45 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowTriggerRequest {
|
|
4
|
+
private 'Content-Type': ShowTriggerRequestContentTypeEnum | undefined;
|
|
5
|
+
public namespace: string;
|
|
6
|
+
public repository: string;
|
|
7
|
+
public trigger: string;
|
|
8
|
+
public constructor(contentType?: any, namespace?: any, repository?: any, trigger?: any) {
|
|
9
|
+
this['Content-Type'] = contentType;
|
|
10
|
+
this['namespace'] = namespace;
|
|
11
|
+
this['repository'] = repository;
|
|
12
|
+
this['trigger'] = trigger;
|
|
13
|
+
}
|
|
14
|
+
public withContentType(contentType: ShowTriggerRequestContentTypeEnum): ShowTriggerRequest {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public set contentType(contentType: ShowTriggerRequestContentTypeEnum | undefined) {
|
|
19
|
+
this['Content-Type'] = contentType;
|
|
20
|
+
}
|
|
21
|
+
public get contentType() {
|
|
22
|
+
return this['Content-Type'];
|
|
23
|
+
}
|
|
24
|
+
public withNamespace(namespace: string): ShowTriggerRequest {
|
|
25
|
+
this['namespace'] = namespace;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withRepository(repository: string): ShowTriggerRequest {
|
|
29
|
+
this['repository'] = repository;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withTrigger(trigger: string): ShowTriggerRequest {
|
|
33
|
+
this['trigger'] = trigger;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export enum ShowTriggerRequestContentTypeEnum {
|
|
43
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
44
|
+
APPLICATION_JSON = 'application/json'
|
|
45
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { TriggerHistories } from './TriggerHistories';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ShowTriggerResponse extends SdkResponse {
|
|
6
|
+
public action?: string;
|
|
7
|
+
private 'app_type'?: string | undefined;
|
|
8
|
+
public application?: string;
|
|
9
|
+
private 'cluster_id'?: string | undefined;
|
|
10
|
+
private 'cluster_name'?: string | undefined;
|
|
11
|
+
private 'cluster_ns'?: string | undefined;
|
|
12
|
+
public condition?: string;
|
|
13
|
+
public container?: string;
|
|
14
|
+
private 'created_at'?: string | undefined;
|
|
15
|
+
private 'creator_name'?: string | undefined;
|
|
16
|
+
public enable?: string;
|
|
17
|
+
public name?: string;
|
|
18
|
+
private 'trigger_history'?: Array<TriggerHistories> | undefined;
|
|
19
|
+
private 'trigger_mode'?: string | undefined;
|
|
20
|
+
private 'trigger_type'?: string | undefined;
|
|
21
|
+
public constructor() {
|
|
22
|
+
super();
|
|
23
|
+
}
|
|
24
|
+
public withAction(action: string): ShowTriggerResponse {
|
|
25
|
+
this['action'] = action;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withAppType(appType: string): ShowTriggerResponse {
|
|
29
|
+
this['app_type'] = appType;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public set appType(appType: string | undefined) {
|
|
33
|
+
this['app_type'] = appType;
|
|
34
|
+
}
|
|
35
|
+
public get appType() {
|
|
36
|
+
return this['app_type'];
|
|
37
|
+
}
|
|
38
|
+
public withApplication(application: string): ShowTriggerResponse {
|
|
39
|
+
this['application'] = application;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withClusterId(clusterId: string): ShowTriggerResponse {
|
|
43
|
+
this['cluster_id'] = clusterId;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public set clusterId(clusterId: string | undefined) {
|
|
47
|
+
this['cluster_id'] = clusterId;
|
|
48
|
+
}
|
|
49
|
+
public get clusterId() {
|
|
50
|
+
return this['cluster_id'];
|
|
51
|
+
}
|
|
52
|
+
public withClusterName(clusterName: string): ShowTriggerResponse {
|
|
53
|
+
this['cluster_name'] = clusterName;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public set clusterName(clusterName: string | undefined) {
|
|
57
|
+
this['cluster_name'] = clusterName;
|
|
58
|
+
}
|
|
59
|
+
public get clusterName() {
|
|
60
|
+
return this['cluster_name'];
|
|
61
|
+
}
|
|
62
|
+
public withClusterNs(clusterNs: string): ShowTriggerResponse {
|
|
63
|
+
this['cluster_ns'] = clusterNs;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public set clusterNs(clusterNs: string | undefined) {
|
|
67
|
+
this['cluster_ns'] = clusterNs;
|
|
68
|
+
}
|
|
69
|
+
public get clusterNs() {
|
|
70
|
+
return this['cluster_ns'];
|
|
71
|
+
}
|
|
72
|
+
public withCondition(condition: string): ShowTriggerResponse {
|
|
73
|
+
this['condition'] = condition;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withContainer(container: string): ShowTriggerResponse {
|
|
77
|
+
this['container'] = container;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public withCreatedAt(createdAt: string): ShowTriggerResponse {
|
|
81
|
+
this['created_at'] = createdAt;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
public set createdAt(createdAt: string | undefined) {
|
|
85
|
+
this['created_at'] = createdAt;
|
|
86
|
+
}
|
|
87
|
+
public get createdAt() {
|
|
88
|
+
return this['created_at'];
|
|
89
|
+
}
|
|
90
|
+
public withCreatorName(creatorName: string): ShowTriggerResponse {
|
|
91
|
+
this['creator_name'] = creatorName;
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
public set creatorName(creatorName: string | undefined) {
|
|
95
|
+
this['creator_name'] = creatorName;
|
|
96
|
+
}
|
|
97
|
+
public get creatorName() {
|
|
98
|
+
return this['creator_name'];
|
|
99
|
+
}
|
|
100
|
+
public withEnable(enable: string): ShowTriggerResponse {
|
|
101
|
+
this['enable'] = enable;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
public withName(name: string): ShowTriggerResponse {
|
|
105
|
+
this['name'] = name;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
public withTriggerHistory(triggerHistory: Array<TriggerHistories>): ShowTriggerResponse {
|
|
109
|
+
this['trigger_history'] = triggerHistory;
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
public set triggerHistory(triggerHistory: Array<TriggerHistories> | undefined) {
|
|
113
|
+
this['trigger_history'] = triggerHistory;
|
|
114
|
+
}
|
|
115
|
+
public get triggerHistory() {
|
|
116
|
+
return this['trigger_history'];
|
|
117
|
+
}
|
|
118
|
+
public withTriggerMode(triggerMode: string): ShowTriggerResponse {
|
|
119
|
+
this['trigger_mode'] = triggerMode;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public set triggerMode(triggerMode: string | undefined) {
|
|
123
|
+
this['trigger_mode'] = triggerMode;
|
|
124
|
+
}
|
|
125
|
+
public get triggerMode() {
|
|
126
|
+
return this['trigger_mode'];
|
|
127
|
+
}
|
|
128
|
+
public withTriggerType(triggerType: string): ShowTriggerResponse {
|
|
129
|
+
this['trigger_type'] = triggerType;
|
|
130
|
+
return this;
|
|
131
|
+
}
|
|
132
|
+
public set triggerType(triggerType: string | undefined) {
|
|
133
|
+
this['trigger_type'] = triggerType;
|
|
134
|
+
}
|
|
135
|
+
public get triggerType() {
|
|
136
|
+
return this['trigger_type'];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowUserRepositoryAuthRequest {
|
|
4
|
+
private 'Content-Type': ShowUserRepositoryAuthRequestContentTypeEnum | 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: ShowUserRepositoryAuthRequestContentTypeEnum): ShowUserRepositoryAuthRequest {
|
|
13
|
+
this['Content-Type'] = contentType;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set contentType(contentType: ShowUserRepositoryAuthRequestContentTypeEnum | undefined) {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
}
|
|
19
|
+
public get contentType() {
|
|
20
|
+
return this['Content-Type'];
|
|
21
|
+
}
|
|
22
|
+
public withNamespace(namespace: string): ShowUserRepositoryAuthRequest {
|
|
23
|
+
this['namespace'] = namespace;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public withRepository(repository: string): ShowUserRepositoryAuthRequest {
|
|
27
|
+
this['repository'] = repository;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
export enum ShowUserRepositoryAuthRequestContentTypeEnum {
|
|
37
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
38
|
+
APPLICATION_JSON = 'application/json'
|
|
39
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UserAuth } from './UserAuth';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ShowUserRepositoryAuthResponse extends SdkResponse {
|
|
6
|
+
public id?: number;
|
|
7
|
+
public name?: string;
|
|
8
|
+
private 'self_auth'?: UserAuth | undefined;
|
|
9
|
+
private 'others_auths'?: Array<UserAuth> | undefined;
|
|
10
|
+
public constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
|
+
public withId(id: number): ShowUserRepositoryAuthResponse {
|
|
14
|
+
this['id'] = id;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
public withName(name: string): ShowUserRepositoryAuthResponse {
|
|
18
|
+
this['name'] = name;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
public withSelfAuth(selfAuth: UserAuth): ShowUserRepositoryAuthResponse {
|
|
22
|
+
this['self_auth'] = selfAuth;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
public set selfAuth(selfAuth: UserAuth | undefined) {
|
|
26
|
+
this['self_auth'] = selfAuth;
|
|
27
|
+
}
|
|
28
|
+
public get selfAuth() {
|
|
29
|
+
return this['self_auth'];
|
|
30
|
+
}
|
|
31
|
+
public withOthersAuths(othersAuths: Array<UserAuth>): ShowUserRepositoryAuthResponse {
|
|
32
|
+
this['others_auths'] = othersAuths;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public set othersAuths(othersAuths: Array<UserAuth> | undefined) {
|
|
36
|
+
this['others_auths'] = othersAuths;
|
|
37
|
+
}
|
|
38
|
+
public get othersAuths() {
|
|
39
|
+
return this['others_auths'];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class SyncJob {
|
|
4
|
+
public createdAt: string;
|
|
5
|
+
public domainID: string;
|
|
6
|
+
public domainName: string;
|
|
7
|
+
public id: number;
|
|
8
|
+
public namespace: string;
|
|
9
|
+
public override: boolean;
|
|
10
|
+
public remoteNamespace: string;
|
|
11
|
+
public remoteRegionId: string;
|
|
12
|
+
public repoName: string;
|
|
13
|
+
public status: string;
|
|
14
|
+
public syncOperatorId: string;
|
|
15
|
+
public syncOperatorName: string;
|
|
16
|
+
public tag: string;
|
|
17
|
+
public updatedAt: string;
|
|
18
|
+
public constructor(createdAt?: any, domainID?: any, domainName?: any, id?: any, namespace?: any, override?: any, remoteNamespace?: any, remoteRegionId?: any, repoName?: any, status?: any, syncOperatorId?: any, syncOperatorName?: any, tag?: any, updatedAt?: any) {
|
|
19
|
+
this['createdAt'] = createdAt;
|
|
20
|
+
this['domainID'] = domainID;
|
|
21
|
+
this['domainName'] = domainName;
|
|
22
|
+
this['id'] = id;
|
|
23
|
+
this['namespace'] = namespace;
|
|
24
|
+
this['override'] = override;
|
|
25
|
+
this['remoteNamespace'] = remoteNamespace;
|
|
26
|
+
this['remoteRegionId'] = remoteRegionId;
|
|
27
|
+
this['repoName'] = repoName;
|
|
28
|
+
this['status'] = status;
|
|
29
|
+
this['syncOperatorId'] = syncOperatorId;
|
|
30
|
+
this['syncOperatorName'] = syncOperatorName;
|
|
31
|
+
this['tag'] = tag;
|
|
32
|
+
this['updatedAt'] = updatedAt;
|
|
33
|
+
}
|
|
34
|
+
public withCreatedAt(createdAt: string): SyncJob {
|
|
35
|
+
this['createdAt'] = createdAt;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
public withDomainID(domainID: string): SyncJob {
|
|
39
|
+
this['domainID'] = domainID;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withDomainName(domainName: string): SyncJob {
|
|
43
|
+
this['domainName'] = domainName;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public withId(id: number): SyncJob {
|
|
47
|
+
this['id'] = id;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
public withNamespace(namespace: string): SyncJob {
|
|
51
|
+
this['namespace'] = namespace;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withOverride(override: boolean): SyncJob {
|
|
55
|
+
this['override'] = override;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public withRemoteNamespace(remoteNamespace: string): SyncJob {
|
|
59
|
+
this['remoteNamespace'] = remoteNamespace;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withRemoteRegionId(remoteRegionId: string): SyncJob {
|
|
63
|
+
this['remoteRegionId'] = remoteRegionId;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withRepoName(repoName: string): SyncJob {
|
|
67
|
+
this['repoName'] = repoName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public withStatus(status: string): SyncJob {
|
|
71
|
+
this['status'] = status;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withSyncOperatorId(syncOperatorId: string): SyncJob {
|
|
75
|
+
this['syncOperatorId'] = syncOperatorId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withSyncOperatorName(syncOperatorName: string): SyncJob {
|
|
79
|
+
this['syncOperatorName'] = syncOperatorName;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public withTag(tag: string): SyncJob {
|
|
83
|
+
this['tag'] = tag;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withUpdatedAt(updatedAt: string): SyncJob {
|
|
87
|
+
this['updatedAt'] = updatedAt;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
}
|