@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.
Files changed (373) hide show
  1. package/huaweicloud-sdk-swr.ts +4 -0
  2. package/package.json +4 -4
  3. package/v2/{SwrClient.js → SwrClient.ts} +1513 -949
  4. package/v2/SwrRegion.ts +62 -0
  5. package/v2/model/AuthInfo.ts +12 -0
  6. package/v2/model/CreateImageSyncRepoRequest.ts +45 -0
  7. package/v2/model/CreateImageSyncRepoRequestBody.ts +28 -0
  8. package/v2/model/CreateImageSyncRepoResponse.ts +8 -0
  9. package/v2/model/CreateManualImageSyncRepoRequest.ts +45 -0
  10. package/v2/model/CreateManualImageSyncRepoRequestBody.ts +29 -0
  11. package/v2/model/CreateManualImageSyncRepoResponse.ts +13 -0
  12. package/v2/model/CreateNamespaceAuthRequest.ts +39 -0
  13. package/v2/model/CreateNamespaceAuthResponse.ts +8 -0
  14. package/v2/model/CreateNamespaceRequest.ts +33 -0
  15. package/v2/model/CreateNamespaceRequestBody.ts +12 -0
  16. package/v2/model/CreateNamespaceResponse.ts +8 -0
  17. package/v2/model/CreateRepoDomainsRequest.ts +45 -0
  18. package/v2/model/CreateRepoDomainsRequestBody.ts +35 -0
  19. package/v2/model/CreateRepoDomainsResponse.ts +8 -0
  20. package/v2/model/CreateRepoRequest.ts +39 -0
  21. package/v2/model/CreateRepoRequestBody.ts +49 -0
  22. package/v2/model/CreateRepoResponse.ts +8 -0
  23. package/v2/model/CreateRetentionRequest.ts +45 -0
  24. package/v2/model/CreateRetentionRequestBody.ts +19 -0
  25. package/v2/model/CreateRetentionResponse.ts +13 -0
  26. package/v2/model/CreateSecretRequest.ts +32 -0
  27. package/v2/model/CreateSecretResponse.ts +25 -0
  28. package/v2/model/CreateTriggerRequest.ts +45 -0
  29. package/v2/model/CreateTriggerRequestBody.ts +110 -0
  30. package/v2/model/CreateTriggerResponse.ts +8 -0
  31. package/v2/model/CreateUserRepositoryAuthRequest.ts +45 -0
  32. package/v2/model/CreateUserRepositoryAuthResponse.ts +8 -0
  33. package/v2/model/DeleteImageSyncRepoRequest.ts +45 -0
  34. package/v2/model/DeleteImageSyncRepoRequestBody.ts +18 -0
  35. package/v2/model/DeleteImageSyncRepoResponse.ts +8 -0
  36. package/v2/model/DeleteNamespaceAuthRequest.ts +38 -0
  37. package/v2/model/DeleteNamespaceAuthResponse.ts +8 -0
  38. package/v2/model/DeleteNamespacesRequest.ts +33 -0
  39. package/v2/model/DeleteNamespacesResponse.ts +8 -0
  40. package/v2/model/DeleteRepoDomainsRequest.ts +51 -0
  41. package/v2/model/DeleteRepoDomainsResponse.ts +8 -0
  42. package/v2/model/DeleteRepoRequest.ts +39 -0
  43. package/v2/model/DeleteRepoResponse.ts +8 -0
  44. package/v2/model/DeleteRepoTagRequest.ts +45 -0
  45. package/v2/model/DeleteRepoTagResponse.ts +8 -0
  46. package/v2/model/DeleteRetentionRequest.ts +51 -0
  47. package/v2/model/DeleteRetentionResponse.ts +8 -0
  48. package/v2/model/DeleteTriggerRequest.ts +45 -0
  49. package/v2/model/DeleteTriggerResponse.ts +8 -0
  50. package/v2/model/DeleteUserRepositoryAuthRequest.ts +44 -0
  51. package/v2/model/DeleteUserRepositoryAuthResponse.ts +8 -0
  52. package/v2/model/ImageTag.ts +6 -0
  53. package/v2/model/Link.ts +18 -0
  54. package/v2/model/ListApiVersionsRequest.ts +27 -0
  55. package/v2/model/ListApiVersionsResponse.ts +14 -0
  56. package/v2/model/ListImageAutoSyncReposDetailsRequest.ts +39 -0
  57. package/v2/model/ListImageAutoSyncReposDetailsResponse.ts +14 -0
  58. package/v2/model/ListNamespacesRequest.ts +37 -0
  59. package/v2/model/ListNamespacesResponse.ts +14 -0
  60. package/v2/model/ListQuotasRequest.ts +27 -0
  61. package/v2/model/ListQuotasResponse.ts +14 -0
  62. package/v2/model/ListRepoDomainsRequest.ts +39 -0
  63. package/v2/model/ListRepoDomainsResponse.ts +14 -0
  64. package/v2/model/ListReposDetailsRequest.ts +79 -0
  65. package/v2/model/ListReposDetailsResponse.ts +25 -0
  66. package/v2/model/ListRepositoryTagsRequest.ts +81 -0
  67. package/v2/model/ListRepositoryTagsResponse.ts +25 -0
  68. package/v2/model/ListRetentionHistoriesRequest.ts +44 -0
  69. package/v2/model/ListRetentionHistoriesResponse.ts +36 -0
  70. package/v2/model/ListRetentionsRequest.ts +39 -0
  71. package/v2/model/ListRetentionsResponse.ts +14 -0
  72. package/v2/model/ListSharedReposDetailsRequest.ts +79 -0
  73. package/v2/model/ListSharedReposDetailsResponse.ts +25 -0
  74. package/v2/model/ListTriggersDetailsRequest.ts +39 -0
  75. package/v2/model/ListTriggersDetailsResponse.ts +14 -0
  76. package/v2/model/Retention.ts +31 -0
  77. package/v2/model/RetentionLog.ts +66 -0
  78. package/v2/model/Rule.ts +40 -0
  79. package/v2/model/ShowAccessDomainRequest.ts +51 -0
  80. package/v2/model/ShowAccessDomainResponse.ts +86 -0
  81. package/v2/model/ShowApiVersionRequest.ts +39 -0
  82. package/v2/model/ShowApiVersionResponse.ts +14 -0
  83. package/v2/model/ShowNamespace.ts +46 -0
  84. package/v2/model/ShowNamespaceAuthRequest.ts +33 -0
  85. package/v2/model/ShowNamespaceAuthResponse.ts +52 -0
  86. package/v2/model/ShowNamespaceRequest.ts +33 -0
  87. package/v2/model/ShowNamespaceResponse.ts +44 -0
  88. package/v2/model/ShowQuota.ts +42 -0
  89. package/v2/model/ShowRepoDomainsResponse.ts +90 -0
  90. package/v2/model/ShowReposResp.ts +162 -0
  91. package/v2/model/ShowReposTagResp.ts +150 -0
  92. package/v2/model/ShowRepositoryRequest.ts +39 -0
  93. package/v2/model/ShowRepositoryResponse.ts +146 -0
  94. package/v2/model/ShowRetentionRequest.ts +51 -0
  95. package/v2/model/ShowRetentionResponse.ts +29 -0
  96. package/v2/model/ShowSyncJobRequest.ts +45 -0
  97. package/v2/model/ShowSyncJobResponse.ts +25 -0
  98. package/v2/model/ShowTriggerRequest.ts +45 -0
  99. package/v2/model/ShowTriggerResponse.ts +138 -0
  100. package/v2/model/ShowUserRepositoryAuthRequest.ts +39 -0
  101. package/v2/model/ShowUserRepositoryAuthResponse.ts +41 -0
  102. package/v2/model/SyncJob.ts +90 -0
  103. package/v2/model/SyncRepo.ts +72 -0
  104. package/v2/model/TagSelector.ts +18 -0
  105. package/v2/model/Trigger.ts +151 -0
  106. package/v2/model/TriggerHistories.ts +120 -0
  107. package/v2/model/UpdateNamespaceAuthRequest.ts +39 -0
  108. package/v2/model/UpdateNamespaceAuthResponse.ts +8 -0
  109. package/v2/model/UpdateRepoDomainsRequest.ts +57 -0
  110. package/v2/model/UpdateRepoDomainsRequestBody.ts +23 -0
  111. package/v2/model/UpdateRepoDomainsResponse.ts +8 -0
  112. package/v2/model/UpdateRepoRequest.ts +45 -0
  113. package/v2/model/UpdateRepoRequestBody.ts +43 -0
  114. package/v2/model/UpdateRepoResponse.ts +8 -0
  115. package/v2/model/UpdateRetentionRequest.ts +57 -0
  116. package/v2/model/UpdateRetentionRequestBody.ts +19 -0
  117. package/v2/model/UpdateRetentionResponse.ts +8 -0
  118. package/v2/model/UpdateTriggerRequest.ts +51 -0
  119. package/v2/model/UpdateTriggerRequestBody.ts +12 -0
  120. package/v2/model/UpdateTriggerResponse.ts +8 -0
  121. package/v2/model/UpdateUserRepositoryAuthRequest.ts +45 -0
  122. package/v2/model/UpdateUserRepositoryAuthResponse.ts +8 -0
  123. package/v2/model/UserAuth.ts +46 -0
  124. package/v2/model/VersionDetail.ts +49 -0
  125. package/v2/{public-api.d.ts → public-api.ts} +1 -0
  126. package/LICENSE +0 -13
  127. package/README.md +0 -1
  128. package/huaweicloud-sdk-swr.d.ts +0 -2
  129. package/huaweicloud-sdk-swr.js +0 -31
  130. package/v2/SwrClient.d.ts +0 -1332
  131. package/v2/SwrRegion.d.ts +0 -23
  132. package/v2/SwrRegion.js +0 -59
  133. package/v2/model/AuthInfo.d.ts +0 -5
  134. package/v2/model/AuthInfo.js +0 -14
  135. package/v2/model/CreateImageSyncRepoRequest.d.ts +0 -22
  136. package/v2/model/CreateImageSyncRepoRequest.js +0 -47
  137. package/v2/model/CreateImageSyncRepoRequestBody.d.ts +0 -11
  138. package/v2/model/CreateImageSyncRepoRequestBody.js +0 -27
  139. package/v2/model/CreateImageSyncRepoResponse.d.ts +0 -4
  140. package/v2/model/CreateImageSyncRepoResponse.js +0 -27
  141. package/v2/model/CreateManualImageSyncRepoRequest.d.ts +0 -22
  142. package/v2/model/CreateManualImageSyncRepoRequest.js +0 -47
  143. package/v2/model/CreateManualImageSyncRepoRequestBody.d.ts +0 -11
  144. package/v2/model/CreateManualImageSyncRepoRequestBody.js +0 -28
  145. package/v2/model/CreateManualImageSyncRepoResponse.d.ts +0 -6
  146. package/v2/model/CreateManualImageSyncRepoResponse.js +0 -31
  147. package/v2/model/CreateNamespaceAuthRequest.d.ts +0 -20
  148. package/v2/model/CreateNamespaceAuthRequest.js +0 -42
  149. package/v2/model/CreateNamespaceAuthResponse.d.ts +0 -4
  150. package/v2/model/CreateNamespaceAuthResponse.js +0 -27
  151. package/v2/model/CreateNamespaceRequest.d.ts +0 -18
  152. package/v2/model/CreateNamespaceRequest.js +0 -37
  153. package/v2/model/CreateNamespaceRequestBody.d.ts +0 -5
  154. package/v2/model/CreateNamespaceRequestBody.js +0 -14
  155. package/v2/model/CreateNamespaceResponse.d.ts +0 -4
  156. package/v2/model/CreateNamespaceResponse.js +0 -27
  157. package/v2/model/CreateRepoDomainsRequest.d.ts +0 -22
  158. package/v2/model/CreateRepoDomainsRequest.js +0 -47
  159. package/v2/model/CreateRepoDomainsRequestBody.d.ts +0 -13
  160. package/v2/model/CreateRepoDomainsRequestBody.js +0 -38
  161. package/v2/model/CreateRepoDomainsResponse.d.ts +0 -4
  162. package/v2/model/CreateRepoDomainsResponse.js +0 -27
  163. package/v2/model/CreateRepoRequest.d.ts +0 -20
  164. package/v2/model/CreateRepoRequest.js +0 -42
  165. package/v2/model/CreateRepoRequestBody.d.ts +0 -27
  166. package/v2/model/CreateRepoRequestBody.js +0 -52
  167. package/v2/model/CreateRepoResponse.d.ts +0 -4
  168. package/v2/model/CreateRepoResponse.js +0 -27
  169. package/v2/model/CreateRetentionRequest.d.ts +0 -22
  170. package/v2/model/CreateRetentionRequest.js +0 -47
  171. package/v2/model/CreateRetentionRequestBody.d.ts +0 -8
  172. package/v2/model/CreateRetentionRequestBody.js +0 -19
  173. package/v2/model/CreateRetentionResponse.d.ts +0 -6
  174. package/v2/model/CreateRetentionResponse.js +0 -31
  175. package/v2/model/CreateSecretRequest.d.ts +0 -17
  176. package/v2/model/CreateSecretRequest.js +0 -37
  177. package/v2/model/CreateSecretResponse.d.ts +0 -15
  178. package/v2/model/CreateSecretResponse.js +0 -45
  179. package/v2/model/CreateTriggerRequest.d.ts +0 -22
  180. package/v2/model/CreateTriggerRequest.js +0 -47
  181. package/v2/model/CreateTriggerRequestBody.d.ts +0 -39
  182. package/v2/model/CreateTriggerRequestBody.js +0 -125
  183. package/v2/model/CreateTriggerResponse.d.ts +0 -4
  184. package/v2/model/CreateTriggerResponse.js +0 -27
  185. package/v2/model/CreateUserRepositoryAuthRequest.d.ts +0 -22
  186. package/v2/model/CreateUserRepositoryAuthRequest.js +0 -47
  187. package/v2/model/CreateUserRepositoryAuthResponse.d.ts +0 -4
  188. package/v2/model/CreateUserRepositoryAuthResponse.js +0 -27
  189. package/v2/model/DeleteImageSyncRepoRequest.d.ts +0 -22
  190. package/v2/model/DeleteImageSyncRepoRequest.js +0 -47
  191. package/v2/model/DeleteImageSyncRepoRequestBody.d.ts +0 -7
  192. package/v2/model/DeleteImageSyncRepoRequestBody.js +0 -19
  193. package/v2/model/DeleteImageSyncRepoResponse.d.ts +0 -4
  194. package/v2/model/DeleteImageSyncRepoResponse.js +0 -27
  195. package/v2/model/DeleteNamespaceAuthRequest.d.ts +0 -19
  196. package/v2/model/DeleteNamespaceAuthRequest.js +0 -42
  197. package/v2/model/DeleteNamespaceAuthResponse.d.ts +0 -4
  198. package/v2/model/DeleteNamespaceAuthResponse.js +0 -27
  199. package/v2/model/DeleteNamespacesRequest.d.ts +0 -17
  200. package/v2/model/DeleteNamespacesRequest.js +0 -38
  201. package/v2/model/DeleteNamespacesResponse.d.ts +0 -4
  202. package/v2/model/DeleteNamespacesResponse.js +0 -27
  203. package/v2/model/DeleteRepoDomainsRequest.d.ts +0 -23
  204. package/v2/model/DeleteRepoDomainsRequest.js +0 -58
  205. package/v2/model/DeleteRepoDomainsResponse.d.ts +0 -4
  206. package/v2/model/DeleteRepoDomainsResponse.js +0 -27
  207. package/v2/model/DeleteRepoRequest.d.ts +0 -19
  208. package/v2/model/DeleteRepoRequest.js +0 -43
  209. package/v2/model/DeleteRepoResponse.d.ts +0 -4
  210. package/v2/model/DeleteRepoResponse.js +0 -27
  211. package/v2/model/DeleteRepoTagRequest.d.ts +0 -21
  212. package/v2/model/DeleteRepoTagRequest.js +0 -48
  213. package/v2/model/DeleteRepoTagResponse.d.ts +0 -4
  214. package/v2/model/DeleteRepoTagResponse.js +0 -27
  215. package/v2/model/DeleteRetentionRequest.d.ts +0 -23
  216. package/v2/model/DeleteRetentionRequest.js +0 -58
  217. package/v2/model/DeleteRetentionResponse.d.ts +0 -4
  218. package/v2/model/DeleteRetentionResponse.js +0 -27
  219. package/v2/model/DeleteTriggerRequest.d.ts +0 -21
  220. package/v2/model/DeleteTriggerRequest.js +0 -48
  221. package/v2/model/DeleteTriggerResponse.d.ts +0 -4
  222. package/v2/model/DeleteTriggerResponse.js +0 -27
  223. package/v2/model/DeleteUserRepositoryAuthRequest.d.ts +0 -21
  224. package/v2/model/DeleteUserRepositoryAuthRequest.js +0 -47
  225. package/v2/model/DeleteUserRepositoryAuthResponse.d.ts +0 -4
  226. package/v2/model/DeleteUserRepositoryAuthResponse.js +0 -27
  227. package/v2/model/ImageTag.d.ts +0 -3
  228. package/v2/model/ImageTag.js +0 -9
  229. package/v2/model/Link.d.ts +0 -7
  230. package/v2/model/Link.js +0 -19
  231. package/v2/model/ListApiVersionsRequest.d.ts +0 -15
  232. package/v2/model/ListApiVersionsRequest.js +0 -33
  233. package/v2/model/ListApiVersionsResponse.d.ts +0 -7
  234. package/v2/model/ListApiVersionsResponse.js +0 -31
  235. package/v2/model/ListImageAutoSyncReposDetailsRequest.d.ts +0 -19
  236. package/v2/model/ListImageAutoSyncReposDetailsRequest.js +0 -43
  237. package/v2/model/ListImageAutoSyncReposDetailsResponse.d.ts +0 -7
  238. package/v2/model/ListImageAutoSyncReposDetailsResponse.js +0 -31
  239. package/v2/model/ListNamespacesRequest.d.ts +0 -19
  240. package/v2/model/ListNamespacesRequest.js +0 -41
  241. package/v2/model/ListNamespacesResponse.d.ts +0 -7
  242. package/v2/model/ListNamespacesResponse.js +0 -31
  243. package/v2/model/ListQuotasRequest.d.ts +0 -15
  244. package/v2/model/ListQuotasRequest.js +0 -33
  245. package/v2/model/ListQuotasResponse.d.ts +0 -7
  246. package/v2/model/ListQuotasResponse.js +0 -31
  247. package/v2/model/ListRepoDomainsRequest.d.ts +0 -19
  248. package/v2/model/ListRepoDomainsRequest.js +0 -43
  249. package/v2/model/ListRepoDomainsResponse.d.ts +0 -7
  250. package/v2/model/ListRepoDomainsResponse.js +0 -31
  251. package/v2/model/ListReposDetailsRequest.d.ts +0 -35
  252. package/v2/model/ListReposDetailsRequest.js +0 -85
  253. package/v2/model/ListReposDetailsResponse.d.ts +0 -11
  254. package/v2/model/ListReposDetailsResponse.js +0 -45
  255. package/v2/model/ListRepositoryTagsRequest.d.ts +0 -35
  256. package/v2/model/ListRepositoryTagsRequest.js +0 -87
  257. package/v2/model/ListRepositoryTagsResponse.d.ts +0 -11
  258. package/v2/model/ListRepositoryTagsResponse.js +0 -45
  259. package/v2/model/ListRetentionHistoriesRequest.d.ts +0 -21
  260. package/v2/model/ListRetentionHistoriesRequest.js +0 -47
  261. package/v2/model/ListRetentionHistoriesResponse.d.ts +0 -15
  262. package/v2/model/ListRetentionHistoriesResponse.js +0 -59
  263. package/v2/model/ListRetentionsRequest.d.ts +0 -19
  264. package/v2/model/ListRetentionsRequest.js +0 -43
  265. package/v2/model/ListRetentionsResponse.d.ts +0 -7
  266. package/v2/model/ListRetentionsResponse.js +0 -31
  267. package/v2/model/ListSharedReposDetailsRequest.d.ts +0 -35
  268. package/v2/model/ListSharedReposDetailsRequest.js +0 -85
  269. package/v2/model/ListSharedReposDetailsResponse.d.ts +0 -11
  270. package/v2/model/ListSharedReposDetailsResponse.js +0 -45
  271. package/v2/model/ListTriggersDetailsRequest.d.ts +0 -19
  272. package/v2/model/ListTriggersDetailsRequest.js +0 -43
  273. package/v2/model/ListTriggersDetailsResponse.d.ts +0 -7
  274. package/v2/model/ListTriggersDetailsResponse.js +0 -31
  275. package/v2/model/Retention.d.ts +0 -12
  276. package/v2/model/Retention.js +0 -29
  277. package/v2/model/RetentionLog.d.ts +0 -23
  278. package/v2/model/RetentionLog.js +0 -74
  279. package/v2/model/Rule.d.ts +0 -20
  280. package/v2/model/Rule.js +0 -43
  281. package/v2/model/ShowAccessDomainRequest.d.ts +0 -23
  282. package/v2/model/ShowAccessDomainRequest.js +0 -58
  283. package/v2/model/ShowAccessDomainResponse.d.ts +0 -34
  284. package/v2/model/ShowAccessDomainResponse.js +0 -105
  285. package/v2/model/ShowApiVersionRequest.d.ts +0 -19
  286. package/v2/model/ShowApiVersionRequest.js +0 -48
  287. package/v2/model/ShowApiVersionResponse.d.ts +0 -7
  288. package/v2/model/ShowApiVersionResponse.js +0 -31
  289. package/v2/model/ShowNamespace.d.ts +0 -22
  290. package/v2/model/ShowNamespace.js +0 -49
  291. package/v2/model/ShowNamespaceAuthRequest.d.ts +0 -17
  292. package/v2/model/ShowNamespaceAuthRequest.js +0 -38
  293. package/v2/model/ShowNamespaceAuthResponse.d.ts +0 -21
  294. package/v2/model/ShowNamespaceAuthResponse.js +0 -77
  295. package/v2/model/ShowNamespaceRequest.d.ts +0 -17
  296. package/v2/model/ShowNamespaceRequest.js +0 -38
  297. package/v2/model/ShowNamespaceResponse.d.ts +0 -23
  298. package/v2/model/ShowNamespaceResponse.js +0 -63
  299. package/v2/model/ShowQuota.d.ts +0 -15
  300. package/v2/model/ShowQuota.js +0 -49
  301. package/v2/model/ShowRepoDomainsResponse.d.ts +0 -31
  302. package/v2/model/ShowRepoDomainsResponse.js +0 -94
  303. package/v2/model/ShowReposResp.d.ts +0 -55
  304. package/v2/model/ShowReposResp.js +0 -179
  305. package/v2/model/ShowReposTagResp.d.ts +0 -51
  306. package/v2/model/ShowReposTagResp.js +0 -164
  307. package/v2/model/ShowRepositoryRequest.d.ts +0 -19
  308. package/v2/model/ShowRepositoryRequest.js +0 -43
  309. package/v2/model/ShowRepositoryResponse.d.ts +0 -56
  310. package/v2/model/ShowRepositoryResponse.js +0 -179
  311. package/v2/model/ShowRetentionRequest.d.ts +0 -23
  312. package/v2/model/ShowRetentionRequest.js +0 -58
  313. package/v2/model/ShowRetentionResponse.d.ts +0 -13
  314. package/v2/model/ShowRetentionResponse.js +0 -43
  315. package/v2/model/ShowSyncJobRequest.d.ts +0 -21
  316. package/v2/model/ShowSyncJobRequest.js +0 -48
  317. package/v2/model/ShowSyncJobResponse.d.ts +0 -11
  318. package/v2/model/ShowSyncJobResponse.js +0 -45
  319. package/v2/model/ShowTriggerRequest.d.ts +0 -21
  320. package/v2/model/ShowTriggerRequest.js +0 -48
  321. package/v2/model/ShowTriggerResponse.d.ts +0 -53
  322. package/v2/model/ShowTriggerResponse.js +0 -177
  323. package/v2/model/ShowUserRepositoryAuthRequest.d.ts +0 -19
  324. package/v2/model/ShowUserRepositoryAuthRequest.js +0 -43
  325. package/v2/model/ShowUserRepositoryAuthResponse.d.ts +0 -17
  326. package/v2/model/ShowUserRepositoryAuthResponse.js +0 -63
  327. package/v2/model/SyncJob.d.ts +0 -31
  328. package/v2/model/SyncJob.js +0 -79
  329. package/v2/model/SyncRepo.d.ts +0 -25
  330. package/v2/model/SyncRepo.js +0 -64
  331. package/v2/model/TagSelector.d.ts +0 -7
  332. package/v2/model/TagSelector.js +0 -19
  333. package/v2/model/Trigger.d.ts +0 -52
  334. package/v2/model/Trigger.js +0 -174
  335. package/v2/model/TriggerHistories.d.ts +0 -41
  336. package/v2/model/TriggerHistories.js +0 -134
  337. package/v2/model/UpdateNamespaceAuthRequest.d.ts +0 -20
  338. package/v2/model/UpdateNamespaceAuthRequest.js +0 -42
  339. package/v2/model/UpdateNamespaceAuthResponse.d.ts +0 -4
  340. package/v2/model/UpdateNamespaceAuthResponse.js +0 -27
  341. package/v2/model/UpdateRepoDomainsRequest.d.ts +0 -26
  342. package/v2/model/UpdateRepoDomainsRequest.js +0 -62
  343. package/v2/model/UpdateRepoDomainsRequestBody.d.ts +0 -9
  344. package/v2/model/UpdateRepoDomainsRequestBody.js +0 -23
  345. package/v2/model/UpdateRepoDomainsResponse.d.ts +0 -4
  346. package/v2/model/UpdateRepoDomainsResponse.js +0 -27
  347. package/v2/model/UpdateRepoRequest.d.ts +0 -22
  348. package/v2/model/UpdateRepoRequest.js +0 -47
  349. package/v2/model/UpdateRepoRequestBody.d.ts +0 -25
  350. package/v2/model/UpdateRepoRequestBody.js +0 -47
  351. package/v2/model/UpdateRepoResponse.d.ts +0 -4
  352. package/v2/model/UpdateRepoResponse.js +0 -27
  353. package/v2/model/UpdateRetentionRequest.d.ts +0 -26
  354. package/v2/model/UpdateRetentionRequest.js +0 -62
  355. package/v2/model/UpdateRetentionRequestBody.d.ts +0 -8
  356. package/v2/model/UpdateRetentionRequestBody.js +0 -19
  357. package/v2/model/UpdateRetentionResponse.d.ts +0 -4
  358. package/v2/model/UpdateRetentionResponse.js +0 -27
  359. package/v2/model/UpdateTriggerRequest.d.ts +0 -24
  360. package/v2/model/UpdateTriggerRequest.js +0 -52
  361. package/v2/model/UpdateTriggerRequestBody.d.ts +0 -5
  362. package/v2/model/UpdateTriggerRequestBody.js +0 -14
  363. package/v2/model/UpdateTriggerResponse.d.ts +0 -4
  364. package/v2/model/UpdateTriggerResponse.js +0 -27
  365. package/v2/model/UpdateUserRepositoryAuthRequest.d.ts +0 -22
  366. package/v2/model/UpdateUserRepositoryAuthRequest.js +0 -47
  367. package/v2/model/UpdateUserRepositoryAuthResponse.d.ts +0 -4
  368. package/v2/model/UpdateUserRepositoryAuthResponse.js +0 -27
  369. package/v2/model/UserAuth.d.ts +0 -22
  370. package/v2/model/UserAuth.js +0 -54
  371. package/v2/model/VersionDetail.d.ts +0 -18
  372. package/v2/model/VersionDetail.js +0 -49
  373. package/v2/public-api.js +0 -138
@@ -0,0 +1,72 @@
1
+
2
+
3
+ export class SyncRepo {
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 syncAuto: boolean;
14
+ public updatedAt: string;
15
+ public constructor(createdAt?: any, domainID?: any, domainName?: any, id?: any, namespace?: any, override?: any, remoteNamespace?: any, remoteRegionId?: any, repoName?: any, syncAuto?: any, updatedAt?: any) {
16
+ this['createdAt'] = createdAt;
17
+ this['domainID'] = domainID;
18
+ this['domainName'] = domainName;
19
+ this['id'] = id;
20
+ this['namespace'] = namespace;
21
+ this['override'] = override;
22
+ this['remoteNamespace'] = remoteNamespace;
23
+ this['remoteRegionId'] = remoteRegionId;
24
+ this['repoName'] = repoName;
25
+ this['syncAuto'] = syncAuto;
26
+ this['updatedAt'] = updatedAt;
27
+ }
28
+ public withCreatedAt(createdAt: string): SyncRepo {
29
+ this['createdAt'] = createdAt;
30
+ return this;
31
+ }
32
+ public withDomainID(domainID: string): SyncRepo {
33
+ this['domainID'] = domainID;
34
+ return this;
35
+ }
36
+ public withDomainName(domainName: string): SyncRepo {
37
+ this['domainName'] = domainName;
38
+ return this;
39
+ }
40
+ public withId(id: number): SyncRepo {
41
+ this['id'] = id;
42
+ return this;
43
+ }
44
+ public withNamespace(namespace: string): SyncRepo {
45
+ this['namespace'] = namespace;
46
+ return this;
47
+ }
48
+ public withOverride(override: boolean): SyncRepo {
49
+ this['override'] = override;
50
+ return this;
51
+ }
52
+ public withRemoteNamespace(remoteNamespace: string): SyncRepo {
53
+ this['remoteNamespace'] = remoteNamespace;
54
+ return this;
55
+ }
56
+ public withRemoteRegionId(remoteRegionId: string): SyncRepo {
57
+ this['remoteRegionId'] = remoteRegionId;
58
+ return this;
59
+ }
60
+ public withRepoName(repoName: string): SyncRepo {
61
+ this['repoName'] = repoName;
62
+ return this;
63
+ }
64
+ public withSyncAuto(syncAuto: boolean): SyncRepo {
65
+ this['syncAuto'] = syncAuto;
66
+ return this;
67
+ }
68
+ public withUpdatedAt(updatedAt: string): SyncRepo {
69
+ this['updatedAt'] = updatedAt;
70
+ return this;
71
+ }
72
+ }
@@ -0,0 +1,18 @@
1
+
2
+
3
+ export class TagSelector {
4
+ public kind: string;
5
+ public pattern: string;
6
+ public constructor(kind?: any, pattern?: any) {
7
+ this['kind'] = kind;
8
+ this['pattern'] = pattern;
9
+ }
10
+ public withKind(kind: string): TagSelector {
11
+ this['kind'] = kind;
12
+ return this;
13
+ }
14
+ public withPattern(pattern: string): TagSelector {
15
+ this['pattern'] = pattern;
16
+ return this;
17
+ }
18
+ }
@@ -0,0 +1,151 @@
1
+ import { TriggerHistories } from './TriggerHistories';
2
+
3
+
4
+ export class Trigger {
5
+ public action: string;
6
+ private 'app_type': string | undefined;
7
+ public application: string;
8
+ private 'cluster_id': string | undefined;
9
+ private 'cluster_name': string | undefined;
10
+ private 'cluster_ns': string | undefined;
11
+ public condition: string;
12
+ public container: string;
13
+ private 'created_at': string | undefined;
14
+ private 'creator_name': string | undefined;
15
+ public enable: string;
16
+ public name: string;
17
+ private 'trigger_history': Array<TriggerHistories> | undefined;
18
+ private 'trigger_mode': string | undefined;
19
+ private 'trigger_type': string | undefined;
20
+ public constructor(action?: any, appType?: any, application?: any, clusterId?: any, clusterName?: any, clusterNs?: any, condition?: any, container?: any, createdAt?: any, creatorName?: any, enable?: any, name?: any, triggerHistory?: any, triggerMode?: any, triggerType?: any) {
21
+ this['action'] = action;
22
+ this['app_type'] = appType;
23
+ this['application'] = application;
24
+ this['cluster_id'] = clusterId;
25
+ this['cluster_name'] = clusterName;
26
+ this['cluster_ns'] = clusterNs;
27
+ this['condition'] = condition;
28
+ this['container'] = container;
29
+ this['created_at'] = createdAt;
30
+ this['creator_name'] = creatorName;
31
+ this['enable'] = enable;
32
+ this['name'] = name;
33
+ this['trigger_history'] = triggerHistory;
34
+ this['trigger_mode'] = triggerMode;
35
+ this['trigger_type'] = triggerType;
36
+ }
37
+ public withAction(action: string): Trigger {
38
+ this['action'] = action;
39
+ return this;
40
+ }
41
+ public withAppType(appType: string): Trigger {
42
+ this['app_type'] = appType;
43
+ return this;
44
+ }
45
+ public set appType(appType: string | undefined) {
46
+ this['app_type'] = appType;
47
+ }
48
+ public get appType() {
49
+ return this['app_type'];
50
+ }
51
+ public withApplication(application: string): Trigger {
52
+ this['application'] = application;
53
+ return this;
54
+ }
55
+ public withClusterId(clusterId: string): Trigger {
56
+ this['cluster_id'] = clusterId;
57
+ return this;
58
+ }
59
+ public set clusterId(clusterId: string | undefined) {
60
+ this['cluster_id'] = clusterId;
61
+ }
62
+ public get clusterId() {
63
+ return this['cluster_id'];
64
+ }
65
+ public withClusterName(clusterName: string): Trigger {
66
+ this['cluster_name'] = clusterName;
67
+ return this;
68
+ }
69
+ public set clusterName(clusterName: string | undefined) {
70
+ this['cluster_name'] = clusterName;
71
+ }
72
+ public get clusterName() {
73
+ return this['cluster_name'];
74
+ }
75
+ public withClusterNs(clusterNs: string): Trigger {
76
+ this['cluster_ns'] = clusterNs;
77
+ return this;
78
+ }
79
+ public set clusterNs(clusterNs: string | undefined) {
80
+ this['cluster_ns'] = clusterNs;
81
+ }
82
+ public get clusterNs() {
83
+ return this['cluster_ns'];
84
+ }
85
+ public withCondition(condition: string): Trigger {
86
+ this['condition'] = condition;
87
+ return this;
88
+ }
89
+ public withContainer(container: string): Trigger {
90
+ this['container'] = container;
91
+ return this;
92
+ }
93
+ public withCreatedAt(createdAt: string): Trigger {
94
+ this['created_at'] = createdAt;
95
+ return this;
96
+ }
97
+ public set createdAt(createdAt: string | undefined) {
98
+ this['created_at'] = createdAt;
99
+ }
100
+ public get createdAt() {
101
+ return this['created_at'];
102
+ }
103
+ public withCreatorName(creatorName: string): Trigger {
104
+ this['creator_name'] = creatorName;
105
+ return this;
106
+ }
107
+ public set creatorName(creatorName: string | undefined) {
108
+ this['creator_name'] = creatorName;
109
+ }
110
+ public get creatorName() {
111
+ return this['creator_name'];
112
+ }
113
+ public withEnable(enable: string): Trigger {
114
+ this['enable'] = enable;
115
+ return this;
116
+ }
117
+ public withName(name: string): Trigger {
118
+ this['name'] = name;
119
+ return this;
120
+ }
121
+ public withTriggerHistory(triggerHistory: Array<TriggerHistories>): Trigger {
122
+ this['trigger_history'] = triggerHistory;
123
+ return this;
124
+ }
125
+ public set triggerHistory(triggerHistory: Array<TriggerHistories> | undefined) {
126
+ this['trigger_history'] = triggerHistory;
127
+ }
128
+ public get triggerHistory() {
129
+ return this['trigger_history'];
130
+ }
131
+ public withTriggerMode(triggerMode: string): Trigger {
132
+ this['trigger_mode'] = triggerMode;
133
+ return this;
134
+ }
135
+ public set triggerMode(triggerMode: string | undefined) {
136
+ this['trigger_mode'] = triggerMode;
137
+ }
138
+ public get triggerMode() {
139
+ return this['trigger_mode'];
140
+ }
141
+ public withTriggerType(triggerType: string): Trigger {
142
+ this['trigger_type'] = triggerType;
143
+ return this;
144
+ }
145
+ public set triggerType(triggerType: string | undefined) {
146
+ this['trigger_type'] = triggerType;
147
+ }
148
+ public get triggerType() {
149
+ return this['trigger_type'];
150
+ }
151
+ }
@@ -0,0 +1,120 @@
1
+
2
+
3
+ export class TriggerHistories {
4
+ public action: string;
5
+ private 'app_type': string | undefined;
6
+ public application: string;
7
+ private 'cluster_id': string | undefined;
8
+ private 'cluster_name': string | undefined;
9
+ private 'cluster_ns': string | undefined;
10
+ public condition: string;
11
+ public container: string;
12
+ private 'created_at': string | undefined;
13
+ private 'creator_name': string | undefined;
14
+ public detail: string;
15
+ public result: string;
16
+ public tag: string;
17
+ public constructor(action?: any, appType?: any, application?: any, clusterId?: any, clusterName?: any, clusterNs?: any, condition?: any, container?: any, createdAt?: any, creatorName?: any, detail?: any, result?: any, tag?: any) {
18
+ this['action'] = action;
19
+ this['app_type'] = appType;
20
+ this['application'] = application;
21
+ this['cluster_id'] = clusterId;
22
+ this['cluster_name'] = clusterName;
23
+ this['cluster_ns'] = clusterNs;
24
+ this['condition'] = condition;
25
+ this['container'] = container;
26
+ this['created_at'] = createdAt;
27
+ this['creator_name'] = creatorName;
28
+ this['detail'] = detail;
29
+ this['result'] = result;
30
+ this['tag'] = tag;
31
+ }
32
+ public withAction(action: string): TriggerHistories {
33
+ this['action'] = action;
34
+ return this;
35
+ }
36
+ public withAppType(appType: string): TriggerHistories {
37
+ this['app_type'] = appType;
38
+ return this;
39
+ }
40
+ public set appType(appType: string | undefined) {
41
+ this['app_type'] = appType;
42
+ }
43
+ public get appType() {
44
+ return this['app_type'];
45
+ }
46
+ public withApplication(application: string): TriggerHistories {
47
+ this['application'] = application;
48
+ return this;
49
+ }
50
+ public withClusterId(clusterId: string): TriggerHistories {
51
+ this['cluster_id'] = clusterId;
52
+ return this;
53
+ }
54
+ public set clusterId(clusterId: string | undefined) {
55
+ this['cluster_id'] = clusterId;
56
+ }
57
+ public get clusterId() {
58
+ return this['cluster_id'];
59
+ }
60
+ public withClusterName(clusterName: string): TriggerHistories {
61
+ this['cluster_name'] = clusterName;
62
+ return this;
63
+ }
64
+ public set clusterName(clusterName: string | undefined) {
65
+ this['cluster_name'] = clusterName;
66
+ }
67
+ public get clusterName() {
68
+ return this['cluster_name'];
69
+ }
70
+ public withClusterNs(clusterNs: string): TriggerHistories {
71
+ this['cluster_ns'] = clusterNs;
72
+ return this;
73
+ }
74
+ public set clusterNs(clusterNs: string | undefined) {
75
+ this['cluster_ns'] = clusterNs;
76
+ }
77
+ public get clusterNs() {
78
+ return this['cluster_ns'];
79
+ }
80
+ public withCondition(condition: string): TriggerHistories {
81
+ this['condition'] = condition;
82
+ return this;
83
+ }
84
+ public withContainer(container: string): TriggerHistories {
85
+ this['container'] = container;
86
+ return this;
87
+ }
88
+ public withCreatedAt(createdAt: string): TriggerHistories {
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 withCreatorName(creatorName: string): TriggerHistories {
99
+ this['creator_name'] = creatorName;
100
+ return this;
101
+ }
102
+ public set creatorName(creatorName: string | undefined) {
103
+ this['creator_name'] = creatorName;
104
+ }
105
+ public get creatorName() {
106
+ return this['creator_name'];
107
+ }
108
+ public withDetail(detail: string): TriggerHistories {
109
+ this['detail'] = detail;
110
+ return this;
111
+ }
112
+ public withResult(result: string): TriggerHistories {
113
+ this['result'] = result;
114
+ return this;
115
+ }
116
+ public withTag(tag: string): TriggerHistories {
117
+ this['tag'] = tag;
118
+ return this;
119
+ }
120
+ }
@@ -0,0 +1,39 @@
1
+ import { UserAuth } from './UserAuth';
2
+
3
+
4
+ export class UpdateNamespaceAuthRequest {
5
+ private 'Content-Type': UpdateNamespaceAuthRequestContentTypeEnum | undefined;
6
+ public namespace: string;
7
+ public body?: Array<UserAuth>;
8
+ public constructor(contentType?: any, namespace?: any) {
9
+ this['Content-Type'] = contentType;
10
+ this['namespace'] = namespace;
11
+ }
12
+ public withContentType(contentType: UpdateNamespaceAuthRequestContentTypeEnum): UpdateNamespaceAuthRequest {
13
+ this['Content-Type'] = contentType;
14
+ return this;
15
+ }
16
+ public set contentType(contentType: UpdateNamespaceAuthRequestContentTypeEnum | undefined) {
17
+ this['Content-Type'] = contentType;
18
+ }
19
+ public get contentType() {
20
+ return this['Content-Type'];
21
+ }
22
+ public withNamespace(namespace: string): UpdateNamespaceAuthRequest {
23
+ this['namespace'] = namespace;
24
+ return this;
25
+ }
26
+ public withBody(body: Array<UserAuth>): UpdateNamespaceAuthRequest {
27
+ this['body'] = body;
28
+ return this;
29
+ }
30
+ }
31
+
32
+ /**
33
+ * @export
34
+ * @enum {string}
35
+ */
36
+ export enum UpdateNamespaceAuthRequestContentTypeEnum {
37
+ APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
38
+ APPLICATION_JSON = 'application/json'
39
+ }
@@ -0,0 +1,8 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class UpdateNamespaceAuthResponse extends SdkResponse {
5
+ public constructor() {
6
+ super();
7
+ }
8
+ }
@@ -0,0 +1,57 @@
1
+ import { UpdateRepoDomainsRequestBody } from './UpdateRepoDomainsRequestBody';
2
+
3
+
4
+ export class UpdateRepoDomainsRequest {
5
+ private 'Content-Type': UpdateRepoDomainsRequestContentTypeEnum | undefined;
6
+ public namespace: string;
7
+ public repository: string;
8
+ private 'access_domain': string | undefined;
9
+ public body?: UpdateRepoDomainsRequestBody;
10
+ public constructor(contentType?: any, namespace?: any, repository?: any, accessDomain?: any) {
11
+ this['Content-Type'] = contentType;
12
+ this['namespace'] = namespace;
13
+ this['repository'] = repository;
14
+ this['access_domain'] = accessDomain;
15
+ }
16
+ public withContentType(contentType: UpdateRepoDomainsRequestContentTypeEnum): UpdateRepoDomainsRequest {
17
+ this['Content-Type'] = contentType;
18
+ return this;
19
+ }
20
+ public set contentType(contentType: UpdateRepoDomainsRequestContentTypeEnum | undefined) {
21
+ this['Content-Type'] = contentType;
22
+ }
23
+ public get contentType() {
24
+ return this['Content-Type'];
25
+ }
26
+ public withNamespace(namespace: string): UpdateRepoDomainsRequest {
27
+ this['namespace'] = namespace;
28
+ return this;
29
+ }
30
+ public withRepository(repository: string): UpdateRepoDomainsRequest {
31
+ this['repository'] = repository;
32
+ return this;
33
+ }
34
+ public withAccessDomain(accessDomain: string): UpdateRepoDomainsRequest {
35
+ this['access_domain'] = accessDomain;
36
+ return this;
37
+ }
38
+ public set accessDomain(accessDomain: string | undefined) {
39
+ this['access_domain'] = accessDomain;
40
+ }
41
+ public get accessDomain() {
42
+ return this['access_domain'];
43
+ }
44
+ public withBody(body: UpdateRepoDomainsRequestBody): UpdateRepoDomainsRequest {
45
+ this['body'] = body;
46
+ return this;
47
+ }
48
+ }
49
+
50
+ /**
51
+ * @export
52
+ * @enum {string}
53
+ */
54
+ export enum UpdateRepoDomainsRequestContentTypeEnum {
55
+ APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
56
+ APPLICATION_JSON = 'application/json'
57
+ }
@@ -0,0 +1,23 @@
1
+
2
+
3
+ export class UpdateRepoDomainsRequestBody {
4
+ public permit: string;
5
+ public deadline: string;
6
+ public description?: string;
7
+ public constructor(permit?: any, deadline?: any) {
8
+ this['permit'] = permit;
9
+ this['deadline'] = deadline;
10
+ }
11
+ public withPermit(permit: string): UpdateRepoDomainsRequestBody {
12
+ this['permit'] = permit;
13
+ return this;
14
+ }
15
+ public withDeadline(deadline: string): UpdateRepoDomainsRequestBody {
16
+ this['deadline'] = deadline;
17
+ return this;
18
+ }
19
+ public withDescription(description: string): UpdateRepoDomainsRequestBody {
20
+ this['description'] = description;
21
+ return this;
22
+ }
23
+ }
@@ -0,0 +1,8 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class UpdateRepoDomainsResponse extends SdkResponse {
5
+ public constructor() {
6
+ super();
7
+ }
8
+ }
@@ -0,0 +1,45 @@
1
+ import { UpdateRepoRequestBody } from './UpdateRepoRequestBody';
2
+
3
+
4
+ export class UpdateRepoRequest {
5
+ private 'Content-Type': UpdateRepoRequestContentTypeEnum | undefined;
6
+ public namespace: string;
7
+ public repository: string;
8
+ public body?: UpdateRepoRequestBody;
9
+ public constructor(contentType?: any, namespace?: any, repository?: any) {
10
+ this['Content-Type'] = contentType;
11
+ this['namespace'] = namespace;
12
+ this['repository'] = repository;
13
+ }
14
+ public withContentType(contentType: UpdateRepoRequestContentTypeEnum): UpdateRepoRequest {
15
+ this['Content-Type'] = contentType;
16
+ return this;
17
+ }
18
+ public set contentType(contentType: UpdateRepoRequestContentTypeEnum | undefined) {
19
+ this['Content-Type'] = contentType;
20
+ }
21
+ public get contentType() {
22
+ return this['Content-Type'];
23
+ }
24
+ public withNamespace(namespace: string): UpdateRepoRequest {
25
+ this['namespace'] = namespace;
26
+ return this;
27
+ }
28
+ public withRepository(repository: string): UpdateRepoRequest {
29
+ this['repository'] = repository;
30
+ return this;
31
+ }
32
+ public withBody(body: UpdateRepoRequestBody): UpdateRepoRequest {
33
+ this['body'] = body;
34
+ return this;
35
+ }
36
+ }
37
+
38
+ /**
39
+ * @export
40
+ * @enum {string}
41
+ */
42
+ export enum UpdateRepoRequestContentTypeEnum {
43
+ APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
44
+ APPLICATION_JSON = 'application/json'
45
+ }
@@ -0,0 +1,43 @@
1
+
2
+
3
+ export class UpdateRepoRequestBody {
4
+ private 'is_public': boolean | undefined;
5
+ public category?: UpdateRepoRequestBodyCategoryEnum;
6
+ public description?: string;
7
+ public constructor(isPublic?: any) {
8
+ this['is_public'] = isPublic;
9
+ }
10
+ public withIsPublic(isPublic: boolean): UpdateRepoRequestBody {
11
+ this['is_public'] = isPublic;
12
+ return this;
13
+ }
14
+ public set isPublic(isPublic: boolean | undefined) {
15
+ this['is_public'] = isPublic;
16
+ }
17
+ public get isPublic() {
18
+ return this['is_public'];
19
+ }
20
+ public withCategory(category: UpdateRepoRequestBodyCategoryEnum): UpdateRepoRequestBody {
21
+ this['category'] = category;
22
+ return this;
23
+ }
24
+ public withDescription(description: string): UpdateRepoRequestBody {
25
+ this['description'] = description;
26
+ return this;
27
+ }
28
+ }
29
+
30
+ /**
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export enum UpdateRepoRequestBodyCategoryEnum {
35
+ APP_SERVER = 'app_server',
36
+ LINUX = 'linux',
37
+ FRAMEWORK_APP = 'framework_app',
38
+ DATABASE = 'database',
39
+ LANG = 'lang',
40
+ WINDOWS = 'windows',
41
+ ARMS = 'arms',
42
+ OTHER = 'other'
43
+ }
@@ -0,0 +1,8 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class UpdateRepoResponse extends SdkResponse {
5
+ public constructor() {
6
+ super();
7
+ }
8
+ }
@@ -0,0 +1,57 @@
1
+ import { UpdateRetentionRequestBody } from './UpdateRetentionRequestBody';
2
+
3
+
4
+ export class UpdateRetentionRequest {
5
+ private 'Content-Type': UpdateRetentionRequestContentTypeEnum | undefined;
6
+ public namespace: string;
7
+ public repository: string;
8
+ private 'retention_id': number | undefined;
9
+ public body?: UpdateRetentionRequestBody;
10
+ public constructor(contentType?: any, namespace?: any, repository?: any, retentionId?: any) {
11
+ this['Content-Type'] = contentType;
12
+ this['namespace'] = namespace;
13
+ this['repository'] = repository;
14
+ this['retention_id'] = retentionId;
15
+ }
16
+ public withContentType(contentType: UpdateRetentionRequestContentTypeEnum): UpdateRetentionRequest {
17
+ this['Content-Type'] = contentType;
18
+ return this;
19
+ }
20
+ public set contentType(contentType: UpdateRetentionRequestContentTypeEnum | undefined) {
21
+ this['Content-Type'] = contentType;
22
+ }
23
+ public get contentType() {
24
+ return this['Content-Type'];
25
+ }
26
+ public withNamespace(namespace: string): UpdateRetentionRequest {
27
+ this['namespace'] = namespace;
28
+ return this;
29
+ }
30
+ public withRepository(repository: string): UpdateRetentionRequest {
31
+ this['repository'] = repository;
32
+ return this;
33
+ }
34
+ public withRetentionId(retentionId: number): UpdateRetentionRequest {
35
+ this['retention_id'] = retentionId;
36
+ return this;
37
+ }
38
+ public set retentionId(retentionId: number | undefined) {
39
+ this['retention_id'] = retentionId;
40
+ }
41
+ public get retentionId() {
42
+ return this['retention_id'];
43
+ }
44
+ public withBody(body: UpdateRetentionRequestBody): UpdateRetentionRequest {
45
+ this['body'] = body;
46
+ return this;
47
+ }
48
+ }
49
+
50
+ /**
51
+ * @export
52
+ * @enum {string}
53
+ */
54
+ export enum UpdateRetentionRequestContentTypeEnum {
55
+ APPLICATION_JSONCHARSETUTF_8 = 'application/json;charset=utf-8',
56
+ APPLICATION_JSON = 'application/json'
57
+ }
@@ -0,0 +1,19 @@
1
+ import { Rule } from './Rule';
2
+
3
+
4
+ export class UpdateRetentionRequestBody {
5
+ public algorithm: string;
6
+ public rules: Array<Rule>;
7
+ public constructor(algorithm?: any, rules?: any) {
8
+ this['algorithm'] = algorithm;
9
+ this['rules'] = rules;
10
+ }
11
+ public withAlgorithm(algorithm: string): UpdateRetentionRequestBody {
12
+ this['algorithm'] = algorithm;
13
+ return this;
14
+ }
15
+ public withRules(rules: Array<Rule>): UpdateRetentionRequestBody {
16
+ this['rules'] = rules;
17
+ return this;
18
+ }
19
+ }
@@ -0,0 +1,8 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class UpdateRetentionResponse extends SdkResponse {
5
+ public constructor() {
6
+ super();
7
+ }
8
+ }