@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,52 @@
|
|
|
1
|
+
import { UserAuth } from './UserAuth';
|
|
2
|
+
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
|
|
5
|
+
export class ShowNamespaceAuthResponse extends SdkResponse {
|
|
6
|
+
public id?: number;
|
|
7
|
+
public name?: string;
|
|
8
|
+
private 'creator_name'?: string | undefined;
|
|
9
|
+
private 'self_auth'?: UserAuth | undefined;
|
|
10
|
+
private 'others_auths'?: Array<UserAuth> | undefined;
|
|
11
|
+
public constructor() {
|
|
12
|
+
super();
|
|
13
|
+
}
|
|
14
|
+
public withId(id: number): ShowNamespaceAuthResponse {
|
|
15
|
+
this['id'] = id;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public withName(name: string): ShowNamespaceAuthResponse {
|
|
19
|
+
this['name'] = name;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
public withCreatorName(creatorName: string): ShowNamespaceAuthResponse {
|
|
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 withSelfAuth(selfAuth: UserAuth): ShowNamespaceAuthResponse {
|
|
33
|
+
this['self_auth'] = selfAuth;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public set selfAuth(selfAuth: UserAuth | undefined) {
|
|
37
|
+
this['self_auth'] = selfAuth;
|
|
38
|
+
}
|
|
39
|
+
public get selfAuth() {
|
|
40
|
+
return this['self_auth'];
|
|
41
|
+
}
|
|
42
|
+
public withOthersAuths(othersAuths: Array<UserAuth>): ShowNamespaceAuthResponse {
|
|
43
|
+
this['others_auths'] = othersAuths;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public set othersAuths(othersAuths: Array<UserAuth> | undefined) {
|
|
47
|
+
this['others_auths'] = othersAuths;
|
|
48
|
+
}
|
|
49
|
+
public get othersAuths() {
|
|
50
|
+
return this['others_auths'];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowNamespaceRequest {
|
|
4
|
+
private 'Content-Type': ShowNamespaceRequestContentTypeEnum | 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: ShowNamespaceRequestContentTypeEnum): ShowNamespaceRequest {
|
|
11
|
+
this['Content-Type'] = contentType;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
public set contentType(contentType: ShowNamespaceRequestContentTypeEnum | undefined) {
|
|
15
|
+
this['Content-Type'] = contentType;
|
|
16
|
+
}
|
|
17
|
+
public get contentType() {
|
|
18
|
+
return this['Content-Type'];
|
|
19
|
+
}
|
|
20
|
+
public withNamespace(namespace: string): ShowNamespaceRequest {
|
|
21
|
+
this['namespace'] = namespace;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
export enum ShowNamespaceRequestContentTypeEnum {
|
|
31
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
32
|
+
APPLICATION_JSON = 'application/json'
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
|
|
4
|
+
export class ShowNamespaceResponse extends SdkResponse {
|
|
5
|
+
public id?: number;
|
|
6
|
+
public name?: string;
|
|
7
|
+
private 'creator_name'?: string | undefined;
|
|
8
|
+
public auth?: ShowNamespaceResponseAuthEnum;
|
|
9
|
+
public constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
public withId(id: number): ShowNamespaceResponse {
|
|
13
|
+
this['id'] = id;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public withName(name: string): ShowNamespaceResponse {
|
|
17
|
+
this['name'] = name;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
public withCreatorName(creatorName: string): ShowNamespaceResponse {
|
|
21
|
+
this['creator_name'] = creatorName;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
public set creatorName(creatorName: string | undefined) {
|
|
25
|
+
this['creator_name'] = creatorName;
|
|
26
|
+
}
|
|
27
|
+
public get creatorName() {
|
|
28
|
+
return this['creator_name'];
|
|
29
|
+
}
|
|
30
|
+
public withAuth(auth: ShowNamespaceResponseAuthEnum): ShowNamespaceResponse {
|
|
31
|
+
this['auth'] = auth;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export enum ShowNamespaceResponseAuthEnum {
|
|
41
|
+
NUMBER_7 = 7,
|
|
42
|
+
NUMBER_3 = 3,
|
|
43
|
+
NUMBER_1 = 1
|
|
44
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowQuota {
|
|
4
|
+
private 'quota_limit': number | undefined;
|
|
5
|
+
private 'quota_key': string | undefined;
|
|
6
|
+
public unit: string;
|
|
7
|
+
public used: number;
|
|
8
|
+
public constructor(quotaLimit?: any, quotaKey?: any, unit?: any, used?: any) {
|
|
9
|
+
this['quota_limit'] = quotaLimit;
|
|
10
|
+
this['quota_key'] = quotaKey;
|
|
11
|
+
this['unit'] = unit;
|
|
12
|
+
this['used'] = used;
|
|
13
|
+
}
|
|
14
|
+
public withQuotaLimit(quotaLimit: number): ShowQuota {
|
|
15
|
+
this['quota_limit'] = quotaLimit;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
public set quotaLimit(quotaLimit: number | undefined) {
|
|
19
|
+
this['quota_limit'] = quotaLimit;
|
|
20
|
+
}
|
|
21
|
+
public get quotaLimit() {
|
|
22
|
+
return this['quota_limit'];
|
|
23
|
+
}
|
|
24
|
+
public withQuotaKey(quotaKey: string): ShowQuota {
|
|
25
|
+
this['quota_key'] = quotaKey;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public set quotaKey(quotaKey: string | undefined) {
|
|
29
|
+
this['quota_key'] = quotaKey;
|
|
30
|
+
}
|
|
31
|
+
public get quotaKey() {
|
|
32
|
+
return this['quota_key'];
|
|
33
|
+
}
|
|
34
|
+
public withUnit(unit: string): ShowQuota {
|
|
35
|
+
this['unit'] = unit;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
public withUsed(used: number): ShowQuota {
|
|
39
|
+
this['used'] = used;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowRepoDomainsResponse {
|
|
4
|
+
public namespace: string;
|
|
5
|
+
public repository: string;
|
|
6
|
+
private 'access_domain': string | undefined;
|
|
7
|
+
public permit: string;
|
|
8
|
+
public deadline: string;
|
|
9
|
+
public description: string;
|
|
10
|
+
private 'creator_id': string | undefined;
|
|
11
|
+
private 'creator_name': string | undefined;
|
|
12
|
+
public created: string;
|
|
13
|
+
public updated: string;
|
|
14
|
+
public status: boolean;
|
|
15
|
+
public constructor(namespace?: any, repository?: any, accessDomain?: any, permit?: any, deadline?: any, description?: any, creatorId?: any, creatorName?: any, created?: any, updated?: any, status?: any) {
|
|
16
|
+
this['namespace'] = namespace;
|
|
17
|
+
this['repository'] = repository;
|
|
18
|
+
this['access_domain'] = accessDomain;
|
|
19
|
+
this['permit'] = permit;
|
|
20
|
+
this['deadline'] = deadline;
|
|
21
|
+
this['description'] = description;
|
|
22
|
+
this['creator_id'] = creatorId;
|
|
23
|
+
this['creator_name'] = creatorName;
|
|
24
|
+
this['created'] = created;
|
|
25
|
+
this['updated'] = updated;
|
|
26
|
+
this['status'] = status;
|
|
27
|
+
}
|
|
28
|
+
public withNamespace(namespace: string): ShowRepoDomainsResponse {
|
|
29
|
+
this['namespace'] = namespace;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withRepository(repository: string): ShowRepoDomainsResponse {
|
|
33
|
+
this['repository'] = repository;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public withAccessDomain(accessDomain: string): ShowRepoDomainsResponse {
|
|
37
|
+
this['access_domain'] = accessDomain;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
public set accessDomain(accessDomain: string | undefined) {
|
|
41
|
+
this['access_domain'] = accessDomain;
|
|
42
|
+
}
|
|
43
|
+
public get accessDomain() {
|
|
44
|
+
return this['access_domain'];
|
|
45
|
+
}
|
|
46
|
+
public withPermit(permit: string): ShowRepoDomainsResponse {
|
|
47
|
+
this['permit'] = permit;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
public withDeadline(deadline: string): ShowRepoDomainsResponse {
|
|
51
|
+
this['deadline'] = deadline;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withDescription(description: string): ShowRepoDomainsResponse {
|
|
55
|
+
this['description'] = description;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public withCreatorId(creatorId: string): ShowRepoDomainsResponse {
|
|
59
|
+
this['creator_id'] = creatorId;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public set creatorId(creatorId: string | undefined) {
|
|
63
|
+
this['creator_id'] = creatorId;
|
|
64
|
+
}
|
|
65
|
+
public get creatorId() {
|
|
66
|
+
return this['creator_id'];
|
|
67
|
+
}
|
|
68
|
+
public withCreatorName(creatorName: string): ShowRepoDomainsResponse {
|
|
69
|
+
this['creator_name'] = creatorName;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
public set creatorName(creatorName: string | undefined) {
|
|
73
|
+
this['creator_name'] = creatorName;
|
|
74
|
+
}
|
|
75
|
+
public get creatorName() {
|
|
76
|
+
return this['creator_name'];
|
|
77
|
+
}
|
|
78
|
+
public withCreated(created: string): ShowRepoDomainsResponse {
|
|
79
|
+
this['created'] = created;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public withUpdated(updated: string): ShowRepoDomainsResponse {
|
|
83
|
+
this['updated'] = updated;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withStatus(status: boolean): ShowRepoDomainsResponse {
|
|
87
|
+
this['status'] = status;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowReposResp {
|
|
4
|
+
public name: string;
|
|
5
|
+
public category: string;
|
|
6
|
+
public description: string;
|
|
7
|
+
public size: number;
|
|
8
|
+
private 'is_public': boolean | undefined;
|
|
9
|
+
private 'num_images': number | undefined;
|
|
10
|
+
private 'num_download': number | undefined;
|
|
11
|
+
private 'created_at': string | undefined;
|
|
12
|
+
private 'updated_at': string | undefined;
|
|
13
|
+
public logo: string;
|
|
14
|
+
public url: string;
|
|
15
|
+
public path: string;
|
|
16
|
+
private 'internal_path': string | undefined;
|
|
17
|
+
private 'domain_name': string | undefined;
|
|
18
|
+
public namespace: string;
|
|
19
|
+
public tags: Array<string>;
|
|
20
|
+
public status: boolean;
|
|
21
|
+
private 'total_range': number | undefined;
|
|
22
|
+
public constructor(name?: any, category?: any, description?: any, size?: any, isPublic?: any, numImages?: any, numDownload?: any, createdAt?: any, updatedAt?: any, logo?: any, url?: any, path?: any, internalPath?: any, domainName?: any, namespace?: any, tags?: any, status?: any, totalRange?: any) {
|
|
23
|
+
this['name'] = name;
|
|
24
|
+
this['category'] = category;
|
|
25
|
+
this['description'] = description;
|
|
26
|
+
this['size'] = size;
|
|
27
|
+
this['is_public'] = isPublic;
|
|
28
|
+
this['num_images'] = numImages;
|
|
29
|
+
this['num_download'] = numDownload;
|
|
30
|
+
this['created_at'] = createdAt;
|
|
31
|
+
this['updated_at'] = updatedAt;
|
|
32
|
+
this['logo'] = logo;
|
|
33
|
+
this['url'] = url;
|
|
34
|
+
this['path'] = path;
|
|
35
|
+
this['internal_path'] = internalPath;
|
|
36
|
+
this['domain_name'] = domainName;
|
|
37
|
+
this['namespace'] = namespace;
|
|
38
|
+
this['tags'] = tags;
|
|
39
|
+
this['status'] = status;
|
|
40
|
+
this['total_range'] = totalRange;
|
|
41
|
+
}
|
|
42
|
+
public withName(name: string): ShowReposResp {
|
|
43
|
+
this['name'] = name;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public withCategory(category: string): ShowReposResp {
|
|
47
|
+
this['category'] = category;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
public withDescription(description: string): ShowReposResp {
|
|
51
|
+
this['description'] = description;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withSize(size: number): ShowReposResp {
|
|
55
|
+
this['size'] = size;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public withIsPublic(isPublic: boolean): ShowReposResp {
|
|
59
|
+
this['is_public'] = isPublic;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public set isPublic(isPublic: boolean | undefined) {
|
|
63
|
+
this['is_public'] = isPublic;
|
|
64
|
+
}
|
|
65
|
+
public get isPublic() {
|
|
66
|
+
return this['is_public'];
|
|
67
|
+
}
|
|
68
|
+
public withNumImages(numImages: number): ShowReposResp {
|
|
69
|
+
this['num_images'] = numImages;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
public set numImages(numImages: number | undefined) {
|
|
73
|
+
this['num_images'] = numImages;
|
|
74
|
+
}
|
|
75
|
+
public get numImages() {
|
|
76
|
+
return this['num_images'];
|
|
77
|
+
}
|
|
78
|
+
public withNumDownload(numDownload: number): ShowReposResp {
|
|
79
|
+
this['num_download'] = numDownload;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public set numDownload(numDownload: number | undefined) {
|
|
83
|
+
this['num_download'] = numDownload;
|
|
84
|
+
}
|
|
85
|
+
public get numDownload() {
|
|
86
|
+
return this['num_download'];
|
|
87
|
+
}
|
|
88
|
+
public withCreatedAt(createdAt: string): ShowReposResp {
|
|
89
|
+
this['created_at'] = createdAt;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public set createdAt(createdAt: string | undefined) {
|
|
93
|
+
this['created_at'] = createdAt;
|
|
94
|
+
}
|
|
95
|
+
public get createdAt() {
|
|
96
|
+
return this['created_at'];
|
|
97
|
+
}
|
|
98
|
+
public withUpdatedAt(updatedAt: string): ShowReposResp {
|
|
99
|
+
this['updated_at'] = updatedAt;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
public set updatedAt(updatedAt: string | undefined) {
|
|
103
|
+
this['updated_at'] = updatedAt;
|
|
104
|
+
}
|
|
105
|
+
public get updatedAt() {
|
|
106
|
+
return this['updated_at'];
|
|
107
|
+
}
|
|
108
|
+
public withLogo(logo: string): ShowReposResp {
|
|
109
|
+
this['logo'] = logo;
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
public withUrl(url: string): ShowReposResp {
|
|
113
|
+
this['url'] = url;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
public withPath(path: string): ShowReposResp {
|
|
117
|
+
this['path'] = path;
|
|
118
|
+
return this;
|
|
119
|
+
}
|
|
120
|
+
public withInternalPath(internalPath: string): ShowReposResp {
|
|
121
|
+
this['internal_path'] = internalPath;
|
|
122
|
+
return this;
|
|
123
|
+
}
|
|
124
|
+
public set internalPath(internalPath: string | undefined) {
|
|
125
|
+
this['internal_path'] = internalPath;
|
|
126
|
+
}
|
|
127
|
+
public get internalPath() {
|
|
128
|
+
return this['internal_path'];
|
|
129
|
+
}
|
|
130
|
+
public withDomainName(domainName: string): ShowReposResp {
|
|
131
|
+
this['domain_name'] = domainName;
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
public set domainName(domainName: string | undefined) {
|
|
135
|
+
this['domain_name'] = domainName;
|
|
136
|
+
}
|
|
137
|
+
public get domainName() {
|
|
138
|
+
return this['domain_name'];
|
|
139
|
+
}
|
|
140
|
+
public withNamespace(namespace: string): ShowReposResp {
|
|
141
|
+
this['namespace'] = namespace;
|
|
142
|
+
return this;
|
|
143
|
+
}
|
|
144
|
+
public withTags(tags: Array<string>): ShowReposResp {
|
|
145
|
+
this['tags'] = tags;
|
|
146
|
+
return this;
|
|
147
|
+
}
|
|
148
|
+
public withStatus(status: boolean): ShowReposResp {
|
|
149
|
+
this['status'] = status;
|
|
150
|
+
return this;
|
|
151
|
+
}
|
|
152
|
+
public withTotalRange(totalRange: number): ShowReposResp {
|
|
153
|
+
this['total_range'] = totalRange;
|
|
154
|
+
return this;
|
|
155
|
+
}
|
|
156
|
+
public set totalRange(totalRange: number | undefined) {
|
|
157
|
+
this['total_range'] = totalRange;
|
|
158
|
+
}
|
|
159
|
+
public get totalRange() {
|
|
160
|
+
return this['total_range'];
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowReposTagResp {
|
|
4
|
+
public id: number;
|
|
5
|
+
private 'repo_id': number | undefined;
|
|
6
|
+
private 'Tag': string | undefined;
|
|
7
|
+
private 'image_id': string | undefined;
|
|
8
|
+
public manifest: string;
|
|
9
|
+
public digest: string;
|
|
10
|
+
public schema: number;
|
|
11
|
+
public path: string;
|
|
12
|
+
private 'internal_path': string | undefined;
|
|
13
|
+
public size: number;
|
|
14
|
+
private 'is_trusted': boolean | undefined;
|
|
15
|
+
public created: string;
|
|
16
|
+
public updated: string;
|
|
17
|
+
public deleted: string;
|
|
18
|
+
private 'domain_id': string | undefined;
|
|
19
|
+
public scanned: boolean;
|
|
20
|
+
private 'tag_type': number | undefined;
|
|
21
|
+
public constructor(id?: any, repoId?: any, tag?: any, imageId?: any, manifest?: any, digest?: any, schema?: any, path?: any, internalPath?: any, size?: any, isTrusted?: any, created?: any, updated?: any, deleted?: any, domainId?: any, scanned?: any, tagType?: any) {
|
|
22
|
+
this['id'] = id;
|
|
23
|
+
this['repo_id'] = repoId;
|
|
24
|
+
this['Tag'] = tag;
|
|
25
|
+
this['image_id'] = imageId;
|
|
26
|
+
this['manifest'] = manifest;
|
|
27
|
+
this['digest'] = digest;
|
|
28
|
+
this['schema'] = schema;
|
|
29
|
+
this['path'] = path;
|
|
30
|
+
this['internal_path'] = internalPath;
|
|
31
|
+
this['size'] = size;
|
|
32
|
+
this['is_trusted'] = isTrusted;
|
|
33
|
+
this['created'] = created;
|
|
34
|
+
this['updated'] = updated;
|
|
35
|
+
this['deleted'] = deleted;
|
|
36
|
+
this['domain_id'] = domainId;
|
|
37
|
+
this['scanned'] = scanned;
|
|
38
|
+
this['tag_type'] = tagType;
|
|
39
|
+
}
|
|
40
|
+
public withId(id: number): ShowReposTagResp {
|
|
41
|
+
this['id'] = id;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
public withRepoId(repoId: number): ShowReposTagResp {
|
|
45
|
+
this['repo_id'] = repoId;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
public set repoId(repoId: number | undefined) {
|
|
49
|
+
this['repo_id'] = repoId;
|
|
50
|
+
}
|
|
51
|
+
public get repoId() {
|
|
52
|
+
return this['repo_id'];
|
|
53
|
+
}
|
|
54
|
+
public withTag(tag: string): ShowReposTagResp {
|
|
55
|
+
this['Tag'] = tag;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public set tag(tag: string | undefined) {
|
|
59
|
+
this['Tag'] = tag;
|
|
60
|
+
}
|
|
61
|
+
public get tag() {
|
|
62
|
+
return this['Tag'];
|
|
63
|
+
}
|
|
64
|
+
public withImageId(imageId: string): ShowReposTagResp {
|
|
65
|
+
this['image_id'] = imageId;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public set imageId(imageId: string | undefined) {
|
|
69
|
+
this['image_id'] = imageId;
|
|
70
|
+
}
|
|
71
|
+
public get imageId() {
|
|
72
|
+
return this['image_id'];
|
|
73
|
+
}
|
|
74
|
+
public withManifest(manifest: string): ShowReposTagResp {
|
|
75
|
+
this['manifest'] = manifest;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withDigest(digest: string): ShowReposTagResp {
|
|
79
|
+
this['digest'] = digest;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public withSchema(schema: number): ShowReposTagResp {
|
|
83
|
+
this['schema'] = schema;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withPath(path: string): ShowReposTagResp {
|
|
87
|
+
this['path'] = path;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public withInternalPath(internalPath: string): ShowReposTagResp {
|
|
91
|
+
this['internal_path'] = internalPath;
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
public set internalPath(internalPath: string | undefined) {
|
|
95
|
+
this['internal_path'] = internalPath;
|
|
96
|
+
}
|
|
97
|
+
public get internalPath() {
|
|
98
|
+
return this['internal_path'];
|
|
99
|
+
}
|
|
100
|
+
public withSize(size: number): ShowReposTagResp {
|
|
101
|
+
this['size'] = size;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
public withIsTrusted(isTrusted: boolean): ShowReposTagResp {
|
|
105
|
+
this['is_trusted'] = isTrusted;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
public set isTrusted(isTrusted: boolean | undefined) {
|
|
109
|
+
this['is_trusted'] = isTrusted;
|
|
110
|
+
}
|
|
111
|
+
public get isTrusted() {
|
|
112
|
+
return this['is_trusted'];
|
|
113
|
+
}
|
|
114
|
+
public withCreated(created: string): ShowReposTagResp {
|
|
115
|
+
this['created'] = created;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
public withUpdated(updated: string): ShowReposTagResp {
|
|
119
|
+
this['updated'] = updated;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public withDeleted(deleted: string): ShowReposTagResp {
|
|
123
|
+
this['deleted'] = deleted;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
public withDomainId(domainId: string): ShowReposTagResp {
|
|
127
|
+
this['domain_id'] = domainId;
|
|
128
|
+
return this;
|
|
129
|
+
}
|
|
130
|
+
public set domainId(domainId: string | undefined) {
|
|
131
|
+
this['domain_id'] = domainId;
|
|
132
|
+
}
|
|
133
|
+
public get domainId() {
|
|
134
|
+
return this['domain_id'];
|
|
135
|
+
}
|
|
136
|
+
public withScanned(scanned: boolean): ShowReposTagResp {
|
|
137
|
+
this['scanned'] = scanned;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
public withTagType(tagType: number): ShowReposTagResp {
|
|
141
|
+
this['tag_type'] = tagType;
|
|
142
|
+
return this;
|
|
143
|
+
}
|
|
144
|
+
public set tagType(tagType: number | undefined) {
|
|
145
|
+
this['tag_type'] = tagType;
|
|
146
|
+
}
|
|
147
|
+
public get tagType() {
|
|
148
|
+
return this['tag_type'];
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class ShowRepositoryRequest {
|
|
4
|
+
private 'Content-Type': ShowRepositoryRequestContentTypeEnum | 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: ShowRepositoryRequestContentTypeEnum): ShowRepositoryRequest {
|
|
13
|
+
this['Content-Type'] = contentType;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
public set contentType(contentType: ShowRepositoryRequestContentTypeEnum | undefined) {
|
|
17
|
+
this['Content-Type'] = contentType;
|
|
18
|
+
}
|
|
19
|
+
public get contentType() {
|
|
20
|
+
return this['Content-Type'];
|
|
21
|
+
}
|
|
22
|
+
public withNamespace(namespace: string): ShowRepositoryRequest {
|
|
23
|
+
this['namespace'] = namespace;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
public withRepository(repository: string): ShowRepositoryRequest {
|
|
27
|
+
this['repository'] = repository;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
export enum ShowRepositoryRequestContentTypeEnum {
|
|
37
|
+
APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
|
|
38
|
+
APPLICATION_JSON = 'application/json'
|
|
39
|
+
}
|