@alicloud/bdrc20230808 1.0.0 → 2.0.0

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 (381) hide show
  1. package/dist/client.d.ts +355 -1663
  2. package/dist/client.js +980 -1475
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckRulesRequest.d.ts +31 -0
  5. package/dist/models/CheckRulesRequest.js +60 -0
  6. package/dist/models/CheckRulesRequest.js.map +1 -0
  7. package/dist/models/CheckRulesResponse.d.ts +19 -0
  8. package/dist/models/CheckRulesResponse.js +69 -0
  9. package/dist/models/CheckRulesResponse.js.map +1 -0
  10. package/dist/models/CheckRulesResponseBody.d.ts +48 -0
  11. package/dist/models/CheckRulesResponseBody.js +84 -0
  12. package/dist/models/CheckRulesResponseBody.js.map +1 -0
  13. package/dist/models/CloseBdrcServiceResponse.d.ts +19 -0
  14. package/dist/models/CloseBdrcServiceResponse.js +69 -0
  15. package/dist/models/CloseBdrcServiceResponse.js.map +1 -0
  16. package/dist/models/CloseBdrcServiceResponseBody.d.ts +21 -0
  17. package/dist/models/CloseBdrcServiceResponseBody.js +58 -0
  18. package/dist/models/CloseBdrcServiceResponseBody.js.map +1 -0
  19. package/dist/models/CreateProtectionPolicyRequest.d.ts +87 -0
  20. package/dist/models/CreateProtectionPolicyRequest.js +93 -0
  21. package/dist/models/CreateProtectionPolicyRequest.js.map +1 -0
  22. package/dist/models/CreateProtectionPolicyResponse.d.ts +19 -0
  23. package/dist/models/CreateProtectionPolicyResponse.js +69 -0
  24. package/dist/models/CreateProtectionPolicyResponse.js.map +1 -0
  25. package/dist/models/CreateProtectionPolicyResponseBody.d.ts +46 -0
  26. package/dist/models/CreateProtectionPolicyResponseBody.js +82 -0
  27. package/dist/models/CreateProtectionPolicyResponseBody.js.map +1 -0
  28. package/dist/models/CreateProtectionPolicyShrinkRequest.d.ts +57 -0
  29. package/dist/models/CreateProtectionPolicyShrinkRequest.js +66 -0
  30. package/dist/models/CreateProtectionPolicyShrinkRequest.js.map +1 -0
  31. package/dist/models/CreateResourceCategoryRequest.d.ts +70 -0
  32. package/dist/models/CreateResourceCategoryRequest.js +62 -0
  33. package/dist/models/CreateResourceCategoryRequest.js.map +1 -0
  34. package/dist/models/CreateResourceCategoryResponse.d.ts +19 -0
  35. package/dist/models/CreateResourceCategoryResponse.js +69 -0
  36. package/dist/models/CreateResourceCategoryResponse.js.map +1 -0
  37. package/dist/models/CreateResourceCategoryResponseBody.d.ts +46 -0
  38. package/dist/models/CreateResourceCategoryResponseBody.js +82 -0
  39. package/dist/models/CreateResourceCategoryResponseBody.js.map +1 -0
  40. package/dist/models/DeleteProtectionPolicyRequest.d.ts +13 -0
  41. package/dist/models/DeleteProtectionPolicyRequest.js +54 -0
  42. package/dist/models/DeleteProtectionPolicyRequest.js.map +1 -0
  43. package/dist/models/DeleteProtectionPolicyResponse.d.ts +19 -0
  44. package/dist/models/DeleteProtectionPolicyResponse.js +69 -0
  45. package/dist/models/DeleteProtectionPolicyResponse.js.map +1 -0
  46. package/dist/models/DeleteProtectionPolicyResponseBody.d.ts +21 -0
  47. package/dist/models/DeleteProtectionPolicyResponseBody.js +58 -0
  48. package/dist/models/DeleteProtectionPolicyResponseBody.js.map +1 -0
  49. package/dist/models/DeleteResourceCategoryRequest.d.ts +23 -0
  50. package/dist/models/DeleteResourceCategoryRequest.js +58 -0
  51. package/dist/models/DeleteResourceCategoryRequest.js.map +1 -0
  52. package/dist/models/DeleteResourceCategoryResponse.d.ts +19 -0
  53. package/dist/models/DeleteResourceCategoryResponse.js +69 -0
  54. package/dist/models/DeleteResourceCategoryResponse.js.map +1 -0
  55. package/dist/models/DeleteResourceCategoryResponseBody.d.ts +21 -0
  56. package/dist/models/DeleteResourceCategoryResponseBody.js +58 -0
  57. package/dist/models/DeleteResourceCategoryResponseBody.js.map +1 -0
  58. package/dist/models/DescribeCheckDetailsRequest.d.ts +47 -0
  59. package/dist/models/DescribeCheckDetailsRequest.js +64 -0
  60. package/dist/models/DescribeCheckDetailsRequest.js.map +1 -0
  61. package/dist/models/DescribeCheckDetailsResponse.d.ts +19 -0
  62. package/dist/models/DescribeCheckDetailsResponse.js +69 -0
  63. package/dist/models/DescribeCheckDetailsResponse.js.map +1 -0
  64. package/dist/models/DescribeCheckDetailsResponseBody.d.ts +167 -0
  65. package/dist/models/DescribeCheckDetailsResponseBody.js +130 -0
  66. package/dist/models/DescribeCheckDetailsResponseBody.js.map +1 -0
  67. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.d.ts +32 -0
  68. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js +65 -0
  69. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js.map +1 -0
  70. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.d.ts +19 -0
  71. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js +69 -0
  72. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js.map +1 -0
  73. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.d.ts +79 -0
  74. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js +108 -0
  75. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js.map +1 -0
  76. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.d.ts +32 -0
  77. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js +62 -0
  78. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js.map +1 -0
  79. package/dist/models/DescribeProductsRequest.d.ts +45 -0
  80. package/dist/models/DescribeProductsRequest.js +67 -0
  81. package/dist/models/DescribeProductsRequest.js.map +1 -0
  82. package/dist/models/DescribeProductsResponse.d.ts +19 -0
  83. package/dist/models/DescribeProductsResponse.js +69 -0
  84. package/dist/models/DescribeProductsResponse.js.map +1 -0
  85. package/dist/models/DescribeProductsResponseBody.d.ts +225 -0
  86. package/dist/models/DescribeProductsResponseBody.js +180 -0
  87. package/dist/models/DescribeProductsResponseBody.js.map +1 -0
  88. package/dist/models/DescribeProductsShrinkRequest.d.ts +45 -0
  89. package/dist/models/DescribeProductsShrinkRequest.js +64 -0
  90. package/dist/models/DescribeProductsShrinkRequest.js.map +1 -0
  91. package/dist/models/DescribeResourcesRequest.d.ts +117 -0
  92. package/dist/models/DescribeResourcesRequest.js +85 -0
  93. package/dist/models/DescribeResourcesRequest.js.map +1 -0
  94. package/dist/models/DescribeResourcesResponse.d.ts +19 -0
  95. package/dist/models/DescribeResourcesResponse.js +69 -0
  96. package/dist/models/DescribeResourcesResponse.js.map +1 -0
  97. package/dist/models/DescribeResourcesResponseBody.d.ts +271 -0
  98. package/dist/models/DescribeResourcesResponseBody.js +156 -0
  99. package/dist/models/DescribeResourcesResponseBody.js.map +1 -0
  100. package/dist/models/DescribeResourcesShrinkRequest.d.ts +117 -0
  101. package/dist/models/DescribeResourcesShrinkRequest.js +82 -0
  102. package/dist/models/DescribeResourcesShrinkRequest.js.map +1 -0
  103. package/dist/models/DescribeRulesRequest.d.ts +54 -0
  104. package/dist/models/DescribeRulesRequest.js +71 -0
  105. package/dist/models/DescribeRulesRequest.js.map +1 -0
  106. package/dist/models/DescribeRulesResponse.d.ts +19 -0
  107. package/dist/models/DescribeRulesResponse.js +69 -0
  108. package/dist/models/DescribeRulesResponse.js.map +1 -0
  109. package/dist/models/DescribeRulesResponseBody.d.ts +151 -0
  110. package/dist/models/DescribeRulesResponseBody.js +126 -0
  111. package/dist/models/DescribeRulesResponseBody.js.map +1 -0
  112. package/dist/models/DescribeRulesShrinkRequest.d.ts +54 -0
  113. package/dist/models/DescribeRulesShrinkRequest.js +68 -0
  114. package/dist/models/DescribeRulesShrinkRequest.js.map +1 -0
  115. package/dist/models/DescribeTaskResponse.d.ts +19 -0
  116. package/dist/models/DescribeTaskResponse.js +69 -0
  117. package/dist/models/DescribeTaskResponse.js.map +1 -0
  118. package/dist/models/DescribeTaskResponseBody.d.ts +158 -0
  119. package/dist/models/DescribeTaskResponseBody.js +110 -0
  120. package/dist/models/DescribeTaskResponseBody.js.map +1 -0
  121. package/dist/models/DescribeTasksRequest.d.ts +42 -0
  122. package/dist/models/DescribeTasksRequest.js +64 -0
  123. package/dist/models/DescribeTasksRequest.js.map +1 -0
  124. package/dist/models/DescribeTasksResponse.d.ts +19 -0
  125. package/dist/models/DescribeTasksResponse.js +69 -0
  126. package/dist/models/DescribeTasksResponse.js.map +1 -0
  127. package/dist/models/DescribeTasksResponseBody.d.ts +199 -0
  128. package/dist/models/DescribeTasksResponseBody.js +138 -0
  129. package/dist/models/DescribeTasksResponseBody.js.map +1 -0
  130. package/dist/models/DescribeTopRiskyResourcesRequest.d.ts +30 -0
  131. package/dist/models/DescribeTopRiskyResourcesRequest.js +65 -0
  132. package/dist/models/DescribeTopRiskyResourcesRequest.js.map +1 -0
  133. package/dist/models/DescribeTopRiskyResourcesResponse.d.ts +19 -0
  134. package/dist/models/DescribeTopRiskyResourcesResponse.js +69 -0
  135. package/dist/models/DescribeTopRiskyResourcesResponse.js.map +1 -0
  136. package/dist/models/DescribeTopRiskyResourcesResponseBody.d.ts +271 -0
  137. package/dist/models/DescribeTopRiskyResourcesResponseBody.js +156 -0
  138. package/dist/models/DescribeTopRiskyResourcesResponseBody.js.map +1 -0
  139. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.d.ts +30 -0
  140. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js +62 -0
  141. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js.map +1 -0
  142. package/dist/models/DisableCheckProductRequest.d.ts +23 -0
  143. package/dist/models/DisableCheckProductRequest.js +58 -0
  144. package/dist/models/DisableCheckProductRequest.js.map +1 -0
  145. package/dist/models/DisableCheckProductResponse.d.ts +19 -0
  146. package/dist/models/DisableCheckProductResponse.js +69 -0
  147. package/dist/models/DisableCheckProductResponse.js.map +1 -0
  148. package/dist/models/DisableCheckProductResponseBody.d.ts +21 -0
  149. package/dist/models/DisableCheckProductResponseBody.js +58 -0
  150. package/dist/models/DisableCheckProductResponseBody.js.map +1 -0
  151. package/dist/models/DisableCheckResourceRequest.d.ts +23 -0
  152. package/dist/models/DisableCheckResourceRequest.js +58 -0
  153. package/dist/models/DisableCheckResourceRequest.js.map +1 -0
  154. package/dist/models/DisableCheckResourceResponse.d.ts +19 -0
  155. package/dist/models/DisableCheckResourceResponse.js +69 -0
  156. package/dist/models/DisableCheckResourceResponse.js.map +1 -0
  157. package/dist/models/DisableCheckResourceResponseBody.d.ts +21 -0
  158. package/dist/models/DisableCheckResourceResponseBody.js +58 -0
  159. package/dist/models/DisableCheckResourceResponseBody.js.map +1 -0
  160. package/dist/models/EnableCheckProductRequest.d.ts +23 -0
  161. package/dist/models/EnableCheckProductRequest.js +58 -0
  162. package/dist/models/EnableCheckProductRequest.js.map +1 -0
  163. package/dist/models/EnableCheckProductResponse.d.ts +19 -0
  164. package/dist/models/EnableCheckProductResponse.js +69 -0
  165. package/dist/models/EnableCheckProductResponse.js.map +1 -0
  166. package/dist/models/EnableCheckProductResponseBody.d.ts +21 -0
  167. package/dist/models/EnableCheckProductResponseBody.js +58 -0
  168. package/dist/models/EnableCheckProductResponseBody.js.map +1 -0
  169. package/dist/models/EnableCheckResourceRequest.d.ts +23 -0
  170. package/dist/models/EnableCheckResourceRequest.js +58 -0
  171. package/dist/models/EnableCheckResourceRequest.js.map +1 -0
  172. package/dist/models/EnableCheckResourceResponse.d.ts +19 -0
  173. package/dist/models/EnableCheckResourceResponse.js +69 -0
  174. package/dist/models/EnableCheckResourceResponse.js.map +1 -0
  175. package/dist/models/EnableCheckResourceResponseBody.d.ts +21 -0
  176. package/dist/models/EnableCheckResourceResponseBody.js +58 -0
  177. package/dist/models/EnableCheckResourceResponseBody.js.map +1 -0
  178. package/dist/models/GetBdrcServiceResponse.d.ts +19 -0
  179. package/dist/models/GetBdrcServiceResponse.js +69 -0
  180. package/dist/models/GetBdrcServiceResponse.js.map +1 -0
  181. package/dist/models/GetBdrcServiceResponseBody.d.ts +70 -0
  182. package/dist/models/GetBdrcServiceResponseBody.js +88 -0
  183. package/dist/models/GetBdrcServiceResponseBody.js.map +1 -0
  184. package/dist/models/GetMessageRequest.d.ts +13 -0
  185. package/dist/models/GetMessageRequest.js +54 -0
  186. package/dist/models/GetMessageRequest.js.map +1 -0
  187. package/dist/models/GetMessageResponse.d.ts +19 -0
  188. package/dist/models/GetMessageResponse.js +69 -0
  189. package/dist/models/GetMessageResponse.js.map +1 -0
  190. package/dist/models/GetMessageResponseBody.d.ts +110 -0
  191. package/dist/models/GetMessageResponseBody.js +98 -0
  192. package/dist/models/GetMessageResponseBody.js.map +1 -0
  193. package/dist/models/GetProtectionPolicyRequest.d.ts +13 -0
  194. package/dist/models/GetProtectionPolicyRequest.js +54 -0
  195. package/dist/models/GetProtectionPolicyRequest.js.map +1 -0
  196. package/dist/models/GetProtectionPolicyResponse.d.ts +19 -0
  197. package/dist/models/GetProtectionPolicyResponse.js +69 -0
  198. package/dist/models/GetProtectionPolicyResponse.js.map +1 -0
  199. package/dist/models/GetProtectionPolicyResponseBody.d.ts +116 -0
  200. package/dist/models/GetProtectionPolicyResponseBody.js +121 -0
  201. package/dist/models/GetProtectionPolicyResponseBody.js.map +1 -0
  202. package/dist/models/GetResourceCategoryRequest.d.ts +23 -0
  203. package/dist/models/GetResourceCategoryRequest.js +58 -0
  204. package/dist/models/GetResourceCategoryRequest.js.map +1 -0
  205. package/dist/models/GetResourceCategoryResponse.d.ts +19 -0
  206. package/dist/models/GetResourceCategoryResponse.js +69 -0
  207. package/dist/models/GetResourceCategoryResponse.js.map +1 -0
  208. package/dist/models/GetResourceCategoryResponseBody.d.ts +123 -0
  209. package/dist/models/GetResourceCategoryResponseBody.js +118 -0
  210. package/dist/models/GetResourceCategoryResponseBody.js.map +1 -0
  211. package/dist/models/ListMessagesRequest.d.ts +63 -0
  212. package/dist/models/ListMessagesRequest.js +68 -0
  213. package/dist/models/ListMessagesRequest.js.map +1 -0
  214. package/dist/models/ListMessagesResponse.d.ts +19 -0
  215. package/dist/models/ListMessagesResponse.js +69 -0
  216. package/dist/models/ListMessagesResponse.js.map +1 -0
  217. package/dist/models/ListMessagesResponseBody.d.ts +143 -0
  218. package/dist/models/ListMessagesResponseBody.js +124 -0
  219. package/dist/models/ListMessagesResponseBody.js.map +1 -0
  220. package/dist/models/ListProtectionPoliciesRequest.d.ts +45 -0
  221. package/dist/models/ListProtectionPoliciesRequest.js +64 -0
  222. package/dist/models/ListProtectionPoliciesRequest.js.map +1 -0
  223. package/dist/models/ListProtectionPoliciesResponse.d.ts +19 -0
  224. package/dist/models/ListProtectionPoliciesResponse.js +69 -0
  225. package/dist/models/ListProtectionPoliciesResponse.js.map +1 -0
  226. package/dist/models/ListProtectionPoliciesResponseBody.d.ts +248 -0
  227. package/dist/models/ListProtectionPoliciesResponseBody.js +225 -0
  228. package/dist/models/ListProtectionPoliciesResponseBody.js.map +1 -0
  229. package/dist/models/ListProtectionPolicyApplicationsRequest.d.ts +63 -0
  230. package/dist/models/ListProtectionPolicyApplicationsRequest.js +68 -0
  231. package/dist/models/ListProtectionPolicyApplicationsRequest.js.map +1 -0
  232. package/dist/models/ListProtectionPolicyApplicationsResponse.d.ts +19 -0
  233. package/dist/models/ListProtectionPolicyApplicationsResponse.js +69 -0
  234. package/dist/models/ListProtectionPolicyApplicationsResponse.js.map +1 -0
  235. package/dist/models/ListProtectionPolicyApplicationsResponseBody.d.ts +164 -0
  236. package/dist/models/ListProtectionPolicyApplicationsResponseBody.js +130 -0
  237. package/dist/models/ListProtectionPolicyApplicationsResponseBody.js.map +1 -0
  238. package/dist/models/ListResourceCategoriesRequest.d.ts +34 -0
  239. package/dist/models/ListResourceCategoriesRequest.js +62 -0
  240. package/dist/models/ListResourceCategoriesRequest.js.map +1 -0
  241. package/dist/models/ListResourceCategoriesResponse.d.ts +19 -0
  242. package/dist/models/ListResourceCategoriesResponse.js +69 -0
  243. package/dist/models/ListResourceCategoriesResponse.js.map +1 -0
  244. package/dist/models/ListResourceCategoriesResponseBody.d.ts +164 -0
  245. package/dist/models/ListResourceCategoriesResponseBody.js +146 -0
  246. package/dist/models/ListResourceCategoriesResponseBody.js.map +1 -0
  247. package/dist/models/OpenBdrcServiceResponse.d.ts +19 -0
  248. package/dist/models/OpenBdrcServiceResponse.js +69 -0
  249. package/dist/models/OpenBdrcServiceResponse.js.map +1 -0
  250. package/dist/models/OpenBdrcServiceResponseBody.d.ts +21 -0
  251. package/dist/models/OpenBdrcServiceResponseBody.js +58 -0
  252. package/dist/models/OpenBdrcServiceResponseBody.js.map +1 -0
  253. package/dist/models/UpdateProtectionPolicyRequest.d.ts +67 -0
  254. package/dist/models/UpdateProtectionPolicyRequest.js +91 -0
  255. package/dist/models/UpdateProtectionPolicyRequest.js.map +1 -0
  256. package/dist/models/UpdateProtectionPolicyResponse.d.ts +19 -0
  257. package/dist/models/UpdateProtectionPolicyResponse.js +69 -0
  258. package/dist/models/UpdateProtectionPolicyResponse.js.map +1 -0
  259. package/dist/models/UpdateProtectionPolicyResponseBody.d.ts +21 -0
  260. package/dist/models/UpdateProtectionPolicyResponseBody.js +58 -0
  261. package/dist/models/UpdateProtectionPolicyResponseBody.js.map +1 -0
  262. package/dist/models/UpdateProtectionPolicyShrinkRequest.d.ts +39 -0
  263. package/dist/models/UpdateProtectionPolicyShrinkRequest.js +64 -0
  264. package/dist/models/UpdateProtectionPolicyShrinkRequest.js.map +1 -0
  265. package/dist/models/UpdateResourceCategoryRequest.d.ts +65 -0
  266. package/dist/models/UpdateResourceCategoryRequest.js +62 -0
  267. package/dist/models/UpdateResourceCategoryRequest.js.map +1 -0
  268. package/dist/models/UpdateResourceCategoryResponse.d.ts +19 -0
  269. package/dist/models/UpdateResourceCategoryResponse.js +69 -0
  270. package/dist/models/UpdateResourceCategoryResponse.js.map +1 -0
  271. package/dist/models/UpdateResourceCategoryResponseBody.d.ts +21 -0
  272. package/dist/models/UpdateResourceCategoryResponseBody.js +58 -0
  273. package/dist/models/UpdateResourceCategoryResponseBody.js.map +1 -0
  274. package/dist/models/UpdateResourcesRequest.d.ts +21 -0
  275. package/dist/models/UpdateResourcesRequest.js +58 -0
  276. package/dist/models/UpdateResourcesRequest.js.map +1 -0
  277. package/dist/models/UpdateResourcesResponse.d.ts +19 -0
  278. package/dist/models/UpdateResourcesResponse.js +69 -0
  279. package/dist/models/UpdateResourcesResponse.js.map +1 -0
  280. package/dist/models/UpdateResourcesResponseBody.d.ts +46 -0
  281. package/dist/models/UpdateResourcesResponseBody.js +82 -0
  282. package/dist/models/UpdateResourcesResponseBody.js.map +1 -0
  283. package/dist/models/model.d.ts +135 -0
  284. package/dist/models/model.js +276 -0
  285. package/dist/models/model.js.map +1 -0
  286. package/package.json +3 -6
  287. package/src/client.ts +1103 -2557
  288. package/src/models/CheckRulesRequest.ts +46 -0
  289. package/src/models/CheckRulesResponse.ts +40 -0
  290. package/src/models/CheckRulesResponseBody.ts +76 -0
  291. package/src/models/CloseBdrcServiceResponse.ts +40 -0
  292. package/src/models/CloseBdrcServiceResponseBody.ts +34 -0
  293. package/src/models/CreateProtectionPolicyRequest.ts +126 -0
  294. package/src/models/CreateProtectionPolicyResponse.ts +40 -0
  295. package/src/models/CreateProtectionPolicyResponseBody.ts +74 -0
  296. package/src/models/CreateProtectionPolicyShrinkRequest.ts +78 -0
  297. package/src/models/CreateResourceCategoryRequest.ts +87 -0
  298. package/src/models/CreateResourceCategoryResponse.ts +40 -0
  299. package/src/models/CreateResourceCategoryResponseBody.ts +74 -0
  300. package/src/models/DeleteProtectionPolicyRequest.ts +24 -0
  301. package/src/models/DeleteProtectionPolicyResponse.ts +40 -0
  302. package/src/models/DeleteProtectionPolicyResponseBody.ts +34 -0
  303. package/src/models/DeleteResourceCategoryRequest.ts +36 -0
  304. package/src/models/DeleteResourceCategoryResponse.ts +40 -0
  305. package/src/models/DeleteResourceCategoryResponseBody.ts +34 -0
  306. package/src/models/DescribeCheckDetailsRequest.ts +66 -0
  307. package/src/models/DescribeCheckDetailsResponse.ts +40 -0
  308. package/src/models/DescribeCheckDetailsResponseBody.ts +234 -0
  309. package/src/models/DescribeProductDataRedundancyTypeStatRequest.ts +52 -0
  310. package/src/models/DescribeProductDataRedundancyTypeStatResponse.ts +40 -0
  311. package/src/models/DescribeProductDataRedundancyTypeStatResponseBody.ts +124 -0
  312. package/src/models/DescribeProductDataRedundancyTypeStatShrinkRequest.ts +49 -0
  313. package/src/models/DescribeProductsRequest.ts +67 -0
  314. package/src/models/DescribeProductsResponse.ts +40 -0
  315. package/src/models/DescribeProductsResponseBody.ts +324 -0
  316. package/src/models/DescribeProductsShrinkRequest.ts +64 -0
  317. package/src/models/DescribeResourcesRequest.ts +157 -0
  318. package/src/models/DescribeResourcesResponse.ts +40 -0
  319. package/src/models/DescribeResourcesResponseBody.ts +364 -0
  320. package/src/models/DescribeResourcesShrinkRequest.ts +154 -0
  321. package/src/models/DescribeRulesRequest.ts +80 -0
  322. package/src/models/DescribeRulesResponse.ts +40 -0
  323. package/src/models/DescribeRulesResponseBody.ts +214 -0
  324. package/src/models/DescribeRulesShrinkRequest.ts +77 -0
  325. package/src/models/DescribeTaskResponse.ts +40 -0
  326. package/src/models/DescribeTaskResponseBody.ts +214 -0
  327. package/src/models/DescribeTasksRequest.ts +61 -0
  328. package/src/models/DescribeTasksResponse.ts +40 -0
  329. package/src/models/DescribeTasksResponseBody.ts +274 -0
  330. package/src/models/DescribeTopRiskyResourcesRequest.ts +50 -0
  331. package/src/models/DescribeTopRiskyResourcesResponse.ts +40 -0
  332. package/src/models/DescribeTopRiskyResourcesResponseBody.ts +364 -0
  333. package/src/models/DescribeTopRiskyResourcesShrinkRequest.ts +47 -0
  334. package/src/models/DisableCheckProductRequest.ts +36 -0
  335. package/src/models/DisableCheckProductResponse.ts +40 -0
  336. package/src/models/DisableCheckProductResponseBody.ts +34 -0
  337. package/src/models/DisableCheckResourceRequest.ts +36 -0
  338. package/src/models/DisableCheckResourceResponse.ts +40 -0
  339. package/src/models/DisableCheckResourceResponseBody.ts +34 -0
  340. package/src/models/EnableCheckProductRequest.ts +36 -0
  341. package/src/models/EnableCheckProductResponse.ts +40 -0
  342. package/src/models/EnableCheckProductResponseBody.ts +34 -0
  343. package/src/models/EnableCheckResourceRequest.ts +36 -0
  344. package/src/models/EnableCheckResourceResponse.ts +40 -0
  345. package/src/models/EnableCheckResourceResponseBody.ts +34 -0
  346. package/src/models/GetBdrcServiceResponse.ts +40 -0
  347. package/src/models/GetBdrcServiceResponseBody.ts +104 -0
  348. package/src/models/GetMessageRequest.ts +24 -0
  349. package/src/models/GetMessageResponse.ts +40 -0
  350. package/src/models/GetMessageResponseBody.ts +154 -0
  351. package/src/models/GetProtectionPolicyRequest.ts +24 -0
  352. package/src/models/GetProtectionPolicyResponse.ts +40 -0
  353. package/src/models/GetProtectionPolicyResponseBody.ts +174 -0
  354. package/src/models/GetResourceCategoryRequest.ts +36 -0
  355. package/src/models/GetResourceCategoryResponse.ts +40 -0
  356. package/src/models/GetResourceCategoryResponseBody.ts +178 -0
  357. package/src/models/ListMessagesRequest.ts +86 -0
  358. package/src/models/ListMessagesResponse.ts +40 -0
  359. package/src/models/ListMessagesResponseBody.ts +204 -0
  360. package/src/models/ListProtectionPoliciesRequest.ts +64 -0
  361. package/src/models/ListProtectionPoliciesResponse.ts +40 -0
  362. package/src/models/ListProtectionPoliciesResponseBody.ts +374 -0
  363. package/src/models/ListProtectionPolicyApplicationsRequest.ts +86 -0
  364. package/src/models/ListProtectionPolicyApplicationsResponse.ts +40 -0
  365. package/src/models/ListProtectionPolicyApplicationsResponseBody.ts +231 -0
  366. package/src/models/ListResourceCategoriesRequest.ts +51 -0
  367. package/src/models/ListResourceCategoriesResponse.ts +40 -0
  368. package/src/models/ListResourceCategoriesResponseBody.ts +238 -0
  369. package/src/models/OpenBdrcServiceResponse.ts +40 -0
  370. package/src/models/OpenBdrcServiceResponseBody.ts +34 -0
  371. package/src/models/UpdateProtectionPolicyRequest.ts +104 -0
  372. package/src/models/UpdateProtectionPolicyResponse.ts +40 -0
  373. package/src/models/UpdateProtectionPolicyResponseBody.ts +34 -0
  374. package/src/models/UpdateProtectionPolicyShrinkRequest.ts +58 -0
  375. package/src/models/UpdateResourceCategoryRequest.ts +82 -0
  376. package/src/models/UpdateResourceCategoryResponse.ts +40 -0
  377. package/src/models/UpdateResourceCategoryResponseBody.ts +34 -0
  378. package/src/models/UpdateResourcesRequest.ts +34 -0
  379. package/src/models/UpdateResourcesResponse.ts +40 -0
  380. package/src/models/UpdateResourcesResponseBody.ts +74 -0
  381. package/src/models/model.ts +135 -0
@@ -0,0 +1,204 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListMessagesResponseBodyDataContent extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Message ID.
9
+ *
10
+ * @example
11
+ * zgrjap8j-us04-owef-fpmo-kdpr80pbss0k
12
+ */
13
+ messageId?: string;
14
+ /**
15
+ * @remarks
16
+ * Message level.
17
+ *
18
+ * @example
19
+ * WARNING
20
+ */
21
+ messageLevel?: string;
22
+ /**
23
+ * @remarks
24
+ * Message name.
25
+ *
26
+ * @example
27
+ * MyMessage
28
+ */
29
+ messageName?: string;
30
+ /**
31
+ * @remarks
32
+ * Message source ID.
33
+ *
34
+ * @example
35
+ * p-123***7890
36
+ */
37
+ messageSourceId?: string;
38
+ /**
39
+ * @remarks
40
+ * Message source region ID.
41
+ *
42
+ * @example
43
+ * cn-hangzhou
44
+ */
45
+ messageSourceRegionId?: string;
46
+ /**
47
+ * @remarks
48
+ * Message source type.
49
+ *
50
+ * @example
51
+ * PROTECTION_POLICY
52
+ */
53
+ messageSourceType?: string;
54
+ /**
55
+ * @remarks
56
+ * Message time.
57
+ *
58
+ * @example
59
+ * 1740019609
60
+ */
61
+ messageTime?: number;
62
+ /**
63
+ * @remarks
64
+ * Message type.
65
+ *
66
+ * @example
67
+ * SUB_PROTECTION_POLICY_MODIFIED
68
+ */
69
+ messageType?: string;
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ messageId: 'MessageId',
73
+ messageLevel: 'MessageLevel',
74
+ messageName: 'MessageName',
75
+ messageSourceId: 'MessageSourceId',
76
+ messageSourceRegionId: 'MessageSourceRegionId',
77
+ messageSourceType: 'MessageSourceType',
78
+ messageTime: 'MessageTime',
79
+ messageType: 'MessageType',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ messageId: 'string',
86
+ messageLevel: 'string',
87
+ messageName: 'string',
88
+ messageSourceId: 'string',
89
+ messageSourceRegionId: 'string',
90
+ messageSourceType: 'string',
91
+ messageTime: 'number',
92
+ messageType: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
105
+ export class ListMessagesResponseBodyData extends $dara.Model {
106
+ /**
107
+ * @remarks
108
+ * Response parameters.
109
+ */
110
+ content?: ListMessagesResponseBodyDataContent[];
111
+ /**
112
+ * @remarks
113
+ * The maximum number of results requested.
114
+ *
115
+ * @example
116
+ * 10
117
+ */
118
+ maxResults?: number;
119
+ /**
120
+ * @remarks
121
+ * The pagination token.
122
+ *
123
+ * @example
124
+ * eKDyCM0zFQ5op7jVMWmNNA==
125
+ */
126
+ nextToken?: string;
127
+ /**
128
+ * @remarks
129
+ * The total number of entries returned.
130
+ *
131
+ * @example
132
+ * 42
133
+ */
134
+ totalCount?: number;
135
+ static names(): { [key: string]: string } {
136
+ return {
137
+ content: 'Content',
138
+ maxResults: 'MaxResults',
139
+ nextToken: 'NextToken',
140
+ totalCount: 'TotalCount',
141
+ };
142
+ }
143
+
144
+ static types(): { [key: string]: any } {
145
+ return {
146
+ content: { 'type': 'array', 'itemType': ListMessagesResponseBodyDataContent },
147
+ maxResults: 'number',
148
+ nextToken: 'string',
149
+ totalCount: 'number',
150
+ };
151
+ }
152
+
153
+ validate() {
154
+ if(Array.isArray(this.content)) {
155
+ $dara.Model.validateArray(this.content);
156
+ }
157
+ super.validate();
158
+ }
159
+
160
+ constructor(map?: { [key: string]: any }) {
161
+ super(map);
162
+ }
163
+ }
164
+
165
+ export class ListMessagesResponseBody extends $dara.Model {
166
+ /**
167
+ * @remarks
168
+ * The data returned.
169
+ */
170
+ data?: ListMessagesResponseBodyData;
171
+ /**
172
+ * @remarks
173
+ * The request ID.
174
+ *
175
+ * @example
176
+ * 5748C531-80B1-5C31-8421-63A1830B9E48
177
+ */
178
+ requestId?: string;
179
+ static names(): { [key: string]: string } {
180
+ return {
181
+ data: 'Data',
182
+ requestId: 'RequestId',
183
+ };
184
+ }
185
+
186
+ static types(): { [key: string]: any } {
187
+ return {
188
+ data: ListMessagesResponseBodyData,
189
+ requestId: 'string',
190
+ };
191
+ }
192
+
193
+ validate() {
194
+ if(this.data && typeof (this.data as any).validate === 'function') {
195
+ (this.data as any).validate();
196
+ }
197
+ super.validate();
198
+ }
199
+
200
+ constructor(map?: { [key: string]: any }) {
201
+ super(map);
202
+ }
203
+ }
204
+
@@ -0,0 +1,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListProtectionPoliciesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum number of results to return.
9
+ *
10
+ * @example
11
+ * 10
12
+ */
13
+ maxResults?: number;
14
+ /**
15
+ * @remarks
16
+ * The paging token.
17
+ *
18
+ * @example
19
+ * cae**********699
20
+ */
21
+ nextToken?: string;
22
+ /**
23
+ * @remarks
24
+ * The protection policy ID.
25
+ *
26
+ * @example
27
+ * p-123***7890
28
+ */
29
+ protectionPolicyId?: string;
30
+ /**
31
+ * @remarks
32
+ * The region ID of the protection policy.
33
+ *
34
+ * @example
35
+ * cn-hangzhou
36
+ */
37
+ protectionPolicyRegionId?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ maxResults: 'MaxResults',
41
+ nextToken: 'NextToken',
42
+ protectionPolicyId: 'ProtectionPolicyId',
43
+ protectionPolicyRegionId: 'ProtectionPolicyRegionId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ maxResults: 'number',
50
+ nextToken: 'string',
51
+ protectionPolicyId: 'string',
52
+ protectionPolicyRegionId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListProtectionPoliciesResponseBody } from "./ListProtectionPoliciesResponseBody";
4
+
5
+
6
+ export class ListProtectionPoliciesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListProtectionPoliciesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListProtectionPoliciesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,374 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The application status.
9
+ *
10
+ * @example
11
+ * FAILED
12
+ */
13
+ applyStatus?: string;
14
+ /**
15
+ * @remarks
16
+ * The count of resources by type.
17
+ *
18
+ * @example
19
+ * 3
20
+ */
21
+ count?: number;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ applyStatus: 'ApplyStatus',
25
+ count: 'Count',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ applyStatus: 'string',
32
+ count: 'number',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The count of resources by type.
49
+ *
50
+ * @example
51
+ * 1
52
+ */
53
+ count?: number;
54
+ /**
55
+ * @remarks
56
+ * The resource type.
57
+ *
58
+ * @example
59
+ * ACS::OTS::Instance
60
+ */
61
+ resourceType?: string;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ count: 'Count',
65
+ resourceType: 'ResourceType',
66
+ };
67
+ }
68
+
69
+ static types(): { [key: string]: any } {
70
+ return {
71
+ count: 'number',
72
+ resourceType: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class ListProtectionPoliciesResponseBodyDataContentLatestApplySummary extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The count statistics of application status.
89
+ */
90
+ applyStatusCount?: ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount[];
91
+ /**
92
+ * @remarks
93
+ * The time when the task was completed. Unix timestamp format, in seconds.
94
+ *
95
+ * @example
96
+ * 1742167218
97
+ */
98
+ completeTime?: number;
99
+ /**
100
+ * @remarks
101
+ * The count of resources by type.
102
+ */
103
+ resourceCount?: ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount[];
104
+ static names(): { [key: string]: string } {
105
+ return {
106
+ applyStatusCount: 'ApplyStatusCount',
107
+ completeTime: 'CompleteTime',
108
+ resourceCount: 'ResourceCount',
109
+ };
110
+ }
111
+
112
+ static types(): { [key: string]: any } {
113
+ return {
114
+ applyStatusCount: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount },
115
+ completeTime: 'number',
116
+ resourceCount: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount },
117
+ };
118
+ }
119
+
120
+ validate() {
121
+ if(Array.isArray(this.applyStatusCount)) {
122
+ $dara.Model.validateArray(this.applyStatusCount);
123
+ }
124
+ if(Array.isArray(this.resourceCount)) {
125
+ $dara.Model.validateArray(this.resourceCount);
126
+ }
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
135
+ export class ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies extends $dara.Model {
136
+ /**
137
+ * @remarks
138
+ * The sub-protection policy configuration.
139
+ *
140
+ * @example
141
+ * {\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}
142
+ */
143
+ config?: string;
144
+ /**
145
+ * @remarks
146
+ * The sub-protection policy type.
147
+ *
148
+ * @example
149
+ * ECS_AUTO_SNAPSHOT_POLICY
150
+ */
151
+ subProtectionPolicyType?: string;
152
+ static names(): { [key: string]: string } {
153
+ return {
154
+ config: 'Config',
155
+ subProtectionPolicyType: 'SubProtectionPolicyType',
156
+ };
157
+ }
158
+
159
+ static types(): { [key: string]: any } {
160
+ return {
161
+ config: 'string',
162
+ subProtectionPolicyType: 'string',
163
+ };
164
+ }
165
+
166
+ validate() {
167
+ super.validate();
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
175
+ export class ListProtectionPoliciesResponseBodyDataContent extends $dara.Model {
176
+ /**
177
+ * @remarks
178
+ * The attached resource category IDs.
179
+ */
180
+ boundResourceCategoryIds?: string[];
181
+ /**
182
+ * @remarks
183
+ * The summary of the latest application result.
184
+ */
185
+ latestApplySummary?: ListProtectionPoliciesResponseBodyDataContentLatestApplySummary;
186
+ /**
187
+ * @remarks
188
+ * The time when the policy was last applied.
189
+ *
190
+ * @example
191
+ * 1742167218
192
+ */
193
+ latestApplyTime?: number;
194
+ /**
195
+ * @remarks
196
+ * The task ID of the latest policy application.
197
+ *
198
+ * @example
199
+ * t-123***7890
200
+ */
201
+ latestTaskId?: string;
202
+ /**
203
+ * @remarks
204
+ * The protection policy ID.
205
+ *
206
+ * @example
207
+ * p-123***7890
208
+ */
209
+ protectionPolicyId?: string;
210
+ /**
211
+ * @remarks
212
+ * The protection policy name.
213
+ *
214
+ * @example
215
+ * MyProtectionPolicy
216
+ */
217
+ protectionPolicyName?: string;
218
+ /**
219
+ * @remarks
220
+ * The region ID of the protection policy.
221
+ *
222
+ * @example
223
+ * cn-hangzhou
224
+ */
225
+ protectionPolicyRegionId?: string;
226
+ /**
227
+ * @remarks
228
+ * The sub-protection policies.
229
+ */
230
+ subProtectionPolicies?: ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies[];
231
+ static names(): { [key: string]: string } {
232
+ return {
233
+ boundResourceCategoryIds: 'BoundResourceCategoryIds',
234
+ latestApplySummary: 'LatestApplySummary',
235
+ latestApplyTime: 'LatestApplyTime',
236
+ latestTaskId: 'LatestTaskId',
237
+ protectionPolicyId: 'ProtectionPolicyId',
238
+ protectionPolicyName: 'ProtectionPolicyName',
239
+ protectionPolicyRegionId: 'ProtectionPolicyRegionId',
240
+ subProtectionPolicies: 'SubProtectionPolicies',
241
+ };
242
+ }
243
+
244
+ static types(): { [key: string]: any } {
245
+ return {
246
+ boundResourceCategoryIds: { 'type': 'array', 'itemType': 'string' },
247
+ latestApplySummary: ListProtectionPoliciesResponseBodyDataContentLatestApplySummary,
248
+ latestApplyTime: 'number',
249
+ latestTaskId: 'string',
250
+ protectionPolicyId: 'string',
251
+ protectionPolicyName: 'string',
252
+ protectionPolicyRegionId: 'string',
253
+ subProtectionPolicies: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies },
254
+ };
255
+ }
256
+
257
+ validate() {
258
+ if(Array.isArray(this.boundResourceCategoryIds)) {
259
+ $dara.Model.validateArray(this.boundResourceCategoryIds);
260
+ }
261
+ if(this.latestApplySummary && typeof (this.latestApplySummary as any).validate === 'function') {
262
+ (this.latestApplySummary as any).validate();
263
+ }
264
+ if(Array.isArray(this.subProtectionPolicies)) {
265
+ $dara.Model.validateArray(this.subProtectionPolicies);
266
+ }
267
+ super.validate();
268
+ }
269
+
270
+ constructor(map?: { [key: string]: any }) {
271
+ super(map);
272
+ }
273
+ }
274
+
275
+ export class ListProtectionPoliciesResponseBodyData extends $dara.Model {
276
+ /**
277
+ * @remarks
278
+ * The response parameters.
279
+ */
280
+ content?: ListProtectionPoliciesResponseBodyDataContent[];
281
+ /**
282
+ * @remarks
283
+ * The maximum number of results requested.
284
+ *
285
+ * @example
286
+ * 10
287
+ */
288
+ maxResults?: number;
289
+ /**
290
+ * @remarks
291
+ * The paging token.
292
+ *
293
+ * @example
294
+ * CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=
295
+ */
296
+ nextToken?: string;
297
+ /**
298
+ * @remarks
299
+ * The total number of entries returned.
300
+ *
301
+ * @example
302
+ * 5
303
+ */
304
+ totalCount?: number;
305
+ static names(): { [key: string]: string } {
306
+ return {
307
+ content: 'Content',
308
+ maxResults: 'MaxResults',
309
+ nextToken: 'NextToken',
310
+ totalCount: 'TotalCount',
311
+ };
312
+ }
313
+
314
+ static types(): { [key: string]: any } {
315
+ return {
316
+ content: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContent },
317
+ maxResults: 'number',
318
+ nextToken: 'string',
319
+ totalCount: 'number',
320
+ };
321
+ }
322
+
323
+ validate() {
324
+ if(Array.isArray(this.content)) {
325
+ $dara.Model.validateArray(this.content);
326
+ }
327
+ super.validate();
328
+ }
329
+
330
+ constructor(map?: { [key: string]: any }) {
331
+ super(map);
332
+ }
333
+ }
334
+
335
+ export class ListProtectionPoliciesResponseBody extends $dara.Model {
336
+ /**
337
+ * @remarks
338
+ * The data returned.
339
+ */
340
+ data?: ListProtectionPoliciesResponseBodyData;
341
+ /**
342
+ * @remarks
343
+ * The request ID.
344
+ *
345
+ * @example
346
+ * 5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5
347
+ */
348
+ requestId?: string;
349
+ static names(): { [key: string]: string } {
350
+ return {
351
+ data: 'Data',
352
+ requestId: 'RequestId',
353
+ };
354
+ }
355
+
356
+ static types(): { [key: string]: any } {
357
+ return {
358
+ data: ListProtectionPoliciesResponseBodyData,
359
+ requestId: 'string',
360
+ };
361
+ }
362
+
363
+ validate() {
364
+ if(this.data && typeof (this.data as any).validate === 'function') {
365
+ (this.data as any).validate();
366
+ }
367
+ super.validate();
368
+ }
369
+
370
+ constructor(map?: { [key: string]: any }) {
371
+ super(map);
372
+ }
373
+ }
374
+