@huaweicloud/huaweicloud-sdk-cdn 3.1.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (387) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-cdn.d.ts +2 -0
  4. package/huaweicloud-sdk-cdn.js +18 -0
  5. package/package.json +19 -0
  6. package/v1/CdnClient.d.ts +1372 -0
  7. package/v1/CdnClient.js +3128 -0
  8. package/v1/CdnRegion.d.ts +7 -0
  9. package/v1/CdnRegion.js +29 -0
  10. package/v1/model/BatchDeleteTagsRequest.d.ts +6 -0
  11. package/v1/model/BatchDeleteTagsRequest.js +13 -0
  12. package/v1/model/BatchDeleteTagsResponse.d.ts +4 -0
  13. package/v1/model/BatchDeleteTagsResponse.js +27 -0
  14. package/v1/model/BlackWhiteListBody.d.ts +9 -0
  15. package/v1/model/BlackWhiteListBody.js +28 -0
  16. package/v1/model/CacheConfig.d.ts +17 -0
  17. package/v1/model/CacheConfig.js +45 -0
  18. package/v1/model/CacheConfigRequest.d.ts +17 -0
  19. package/v1/model/CacheConfigRequest.js +45 -0
  20. package/v1/model/CacheConfigRequestBody.d.ts +8 -0
  21. package/v1/model/CacheConfigRequestBody.js +24 -0
  22. package/v1/model/CacheUrlParameterFilter.d.ts +7 -0
  23. package/v1/model/CacheUrlParameterFilter.js +17 -0
  24. package/v1/model/CdnIps.d.ts +13 -0
  25. package/v1/model/CdnIps.js +29 -0
  26. package/v1/model/Compress.d.ts +7 -0
  27. package/v1/model/Compress.js +18 -0
  28. package/v1/model/CompressRequest.d.ts +7 -0
  29. package/v1/model/CompressRequest.js +23 -0
  30. package/v1/model/CompressResponse.d.ts +12 -0
  31. package/v1/model/CompressResponse.js +38 -0
  32. package/v1/model/CompressRules.d.ts +11 -0
  33. package/v1/model/CompressRules.js +37 -0
  34. package/v1/model/Configs.d.ts +69 -0
  35. package/v1/model/Configs.js +189 -0
  36. package/v1/model/ConfigsGetBody.d.ts +69 -0
  37. package/v1/model/ConfigsGetBody.js +189 -0
  38. package/v1/model/CreateDomainRequest.d.ts +6 -0
  39. package/v1/model/CreateDomainRequest.js +13 -0
  40. package/v1/model/CreateDomainRequestBody.d.ts +6 -0
  41. package/v1/model/CreateDomainRequestBody.js +14 -0
  42. package/v1/model/CreateDomainResponse.d.ts +7 -0
  43. package/v1/model/CreateDomainResponse.js +31 -0
  44. package/v1/model/CreateDomainResponseBodyContent.d.ts +67 -0
  45. package/v1/model/CreateDomainResponseBodyContent.js +211 -0
  46. package/v1/model/CreatePreheatingTasksRequest.d.ts +10 -0
  47. package/v1/model/CreatePreheatingTasksRequest.js +27 -0
  48. package/v1/model/CreatePreheatingTasksResponse.d.ts +8 -0
  49. package/v1/model/CreatePreheatingTasksResponse.js +41 -0
  50. package/v1/model/CreateRefreshTasksRequest.d.ts +10 -0
  51. package/v1/model/CreateRefreshTasksRequest.js +27 -0
  52. package/v1/model/CreateRefreshTasksResponse.d.ts +8 -0
  53. package/v1/model/CreateRefreshTasksResponse.js +41 -0
  54. package/v1/model/CreateTagsRequest.d.ts +6 -0
  55. package/v1/model/CreateTagsRequest.js +13 -0
  56. package/v1/model/CreateTagsRequestBody.d.ts +9 -0
  57. package/v1/model/CreateTagsRequestBody.js +29 -0
  58. package/v1/model/CreateTagsResponse.d.ts +4 -0
  59. package/v1/model/CreateTagsResponse.js +27 -0
  60. package/v1/model/DeleteDomainRequest.d.ts +11 -0
  61. package/v1/model/DeleteDomainRequest.js +38 -0
  62. package/v1/model/DeleteDomainResponse.d.ts +7 -0
  63. package/v1/model/DeleteDomainResponse.js +31 -0
  64. package/v1/model/DeleteTagsRequestBody.d.ts +9 -0
  65. package/v1/model/DeleteTagsRequestBody.js +29 -0
  66. package/v1/model/DisableDomainRequest.d.ts +11 -0
  67. package/v1/model/DisableDomainRequest.js +38 -0
  68. package/v1/model/DisableDomainResponse.d.ts +7 -0
  69. package/v1/model/DisableDomainResponse.js +31 -0
  70. package/v1/model/DomainBody.d.ts +41 -0
  71. package/v1/model/DomainBody.js +94 -0
  72. package/v1/model/DomainItemDetail.d.ts +21 -0
  73. package/v1/model/DomainItemDetail.js +55 -0
  74. package/v1/model/DomainItemLocationDetails.d.ts +18 -0
  75. package/v1/model/DomainItemLocationDetails.js +55 -0
  76. package/v1/model/DomainOriginHost.d.ts +15 -0
  77. package/v1/model/DomainOriginHost.js +52 -0
  78. package/v1/model/DomainRegion.d.ts +17 -0
  79. package/v1/model/DomainRegion.js +37 -0
  80. package/v1/model/Domains.d.ts +88 -0
  81. package/v1/model/Domains.js +263 -0
  82. package/v1/model/DomainsWithPort.d.ts +88 -0
  83. package/v1/model/DomainsWithPort.js +263 -0
  84. package/v1/model/EnableDomainRequest.d.ts +11 -0
  85. package/v1/model/EnableDomainRequest.js +38 -0
  86. package/v1/model/EnableDomainResponse.d.ts +7 -0
  87. package/v1/model/EnableDomainResponse.js +31 -0
  88. package/v1/model/ErrorCodeCache.d.ts +7 -0
  89. package/v1/model/ErrorCodeCache.js +17 -0
  90. package/v1/model/ErrorCodeRedirectRules.d.ts +15 -0
  91. package/v1/model/ErrorCodeRedirectRules.js +54 -0
  92. package/v1/model/Follow302StatusBody.d.ts +19 -0
  93. package/v1/model/Follow302StatusBody.js +46 -0
  94. package/v1/model/Follow302StatusRequest.d.ts +15 -0
  95. package/v1/model/Follow302StatusRequest.js +33 -0
  96. package/v1/model/ForceRedirect.d.ts +11 -0
  97. package/v1/model/ForceRedirect.js +38 -0
  98. package/v1/model/ForceRedirectConfig.d.ts +7 -0
  99. package/v1/model/ForceRedirectConfig.js +18 -0
  100. package/v1/model/HeaderBody.d.ts +6 -0
  101. package/v1/model/HeaderBody.js +13 -0
  102. package/v1/model/HeaderMap.d.ts +27 -0
  103. package/v1/model/HeaderMap.js +93 -0
  104. package/v1/model/HttpGetBody.d.ts +27 -0
  105. package/v1/model/HttpGetBody.js +93 -0
  106. package/v1/model/HttpInfoRequest.d.ts +6 -0
  107. package/v1/model/HttpInfoRequest.js +14 -0
  108. package/v1/model/HttpInfoRequestBody.d.ts +32 -0
  109. package/v1/model/HttpInfoRequestBody.js +103 -0
  110. package/v1/model/HttpInfoResponseBody.d.ts +36 -0
  111. package/v1/model/HttpInfoResponseBody.js +115 -0
  112. package/v1/model/HttpPutBody.d.ts +31 -0
  113. package/v1/model/HttpPutBody.js +107 -0
  114. package/v1/model/HttpResponseHeader.d.ts +9 -0
  115. package/v1/model/HttpResponseHeader.js +23 -0
  116. package/v1/model/HttpsDetail.d.ts +44 -0
  117. package/v1/model/HttpsDetail.js +143 -0
  118. package/v1/model/ListDomainsRequest.d.ts +63 -0
  119. package/v1/model/ListDomainsRequest.js +142 -0
  120. package/v1/model/ListDomainsResponse.d.ts +9 -0
  121. package/v1/model/ListDomainsResponse.js +35 -0
  122. package/v1/model/LogObject.d.ts +21 -0
  123. package/v1/model/LogObject.js +63 -0
  124. package/v1/model/ModelMap.d.ts +7 -0
  125. package/v1/model/ModelMap.js +18 -0
  126. package/v1/model/ModifyDomainConfigRequestBody.d.ts +6 -0
  127. package/v1/model/ModifyDomainConfigRequestBody.js +13 -0
  128. package/v1/model/OriginHostBody.d.ts +19 -0
  129. package/v1/model/OriginHostBody.js +47 -0
  130. package/v1/model/OriginHostRequest.d.ts +8 -0
  131. package/v1/model/OriginHostRequest.js +24 -0
  132. package/v1/model/OriginRangeBody.d.ts +19 -0
  133. package/v1/model/OriginRangeBody.js +46 -0
  134. package/v1/model/OriginRequest.d.ts +6 -0
  135. package/v1/model/OriginRequest.js +14 -0
  136. package/v1/model/OriginRequestHeader.d.ts +9 -0
  137. package/v1/model/OriginRequestHeader.js +23 -0
  138. package/v1/model/OriginRequestUrlRewrite.d.ts +17 -0
  139. package/v1/model/OriginRequestUrlRewrite.js +58 -0
  140. package/v1/model/PreheatingTaskRequest.d.ts +8 -0
  141. package/v1/model/PreheatingTaskRequest.js +24 -0
  142. package/v1/model/PreheatingTaskRequestBody.d.ts +5 -0
  143. package/v1/model/PreheatingTaskRequestBody.js +14 -0
  144. package/v1/model/Quotas.d.ts +15 -0
  145. package/v1/model/Quotas.js +45 -0
  146. package/v1/model/RangeStatusRequest.d.ts +15 -0
  147. package/v1/model/RangeStatusRequest.js +33 -0
  148. package/v1/model/Referer.d.ts +15 -0
  149. package/v1/model/Referer.js +52 -0
  150. package/v1/model/RefererBody.d.ts +6 -0
  151. package/v1/model/RefererBody.js +14 -0
  152. package/v1/model/RefererRsp.d.ts +15 -0
  153. package/v1/model/RefererRsp.js +51 -0
  154. package/v1/model/RefreshTaskRequest.d.ts +8 -0
  155. package/v1/model/RefreshTaskRequest.js +24 -0
  156. package/v1/model/RefreshTaskRequestBody.d.ts +15 -0
  157. package/v1/model/RefreshTaskRequestBody.js +27 -0
  158. package/v1/model/ResourceBody.d.ts +6 -0
  159. package/v1/model/ResourceBody.js +14 -0
  160. package/v1/model/Rules.d.ts +17 -0
  161. package/v1/model/Rules.js +53 -0
  162. package/v1/model/ShowBlackWhiteListRequest.d.ts +11 -0
  163. package/v1/model/ShowBlackWhiteListRequest.js +38 -0
  164. package/v1/model/ShowBlackWhiteListResponse.d.ts +10 -0
  165. package/v1/model/ShowBlackWhiteListResponse.js +45 -0
  166. package/v1/model/ShowCacheRulesRequest.d.ts +11 -0
  167. package/v1/model/ShowCacheRulesRequest.js +38 -0
  168. package/v1/model/ShowCacheRulesResponse.d.ts +9 -0
  169. package/v1/model/ShowCacheRulesResponse.js +41 -0
  170. package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +23 -0
  171. package/v1/model/ShowCertificatesHttpsInfoRequest.js +79 -0
  172. package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +9 -0
  173. package/v1/model/ShowCertificatesHttpsInfoResponse.js +35 -0
  174. package/v1/model/ShowDomainDetailRequest.d.ts +11 -0
  175. package/v1/model/ShowDomainDetailRequest.js +38 -0
  176. package/v1/model/ShowDomainDetailResponse.d.ts +7 -0
  177. package/v1/model/ShowDomainDetailResponse.js +31 -0
  178. package/v1/model/ShowDomainFullConfigRequest.d.ts +11 -0
  179. package/v1/model/ShowDomainFullConfigRequest.js +38 -0
  180. package/v1/model/ShowDomainFullConfigResponse.d.ts +7 -0
  181. package/v1/model/ShowDomainFullConfigResponse.js +31 -0
  182. package/v1/model/ShowDomainItemDetailsRequest.d.ts +27 -0
  183. package/v1/model/ShowDomainItemDetailsRequest.js +97 -0
  184. package/v1/model/ShowDomainItemDetailsResponse.d.ts +9 -0
  185. package/v1/model/ShowDomainItemDetailsResponse.js +41 -0
  186. package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +27 -0
  187. package/v1/model/ShowDomainItemLocationDetailsRequest.js +93 -0
  188. package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +9 -0
  189. package/v1/model/ShowDomainItemLocationDetailsResponse.js +41 -0
  190. package/v1/model/ShowDomainLocationStatsRequest.d.ts +37 -0
  191. package/v1/model/ShowDomainLocationStatsRequest.js +118 -0
  192. package/v1/model/ShowDomainLocationStatsResponse.d.ts +14 -0
  193. package/v1/model/ShowDomainLocationStatsResponse.js +45 -0
  194. package/v1/model/ShowDomainStatsRequest.d.ts +35 -0
  195. package/v1/model/ShowDomainStatsRequest.js +120 -0
  196. package/v1/model/ShowDomainStatsResponse.d.ts +10 -0
  197. package/v1/model/ShowDomainStatsResponse.js +31 -0
  198. package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +27 -0
  199. package/v1/model/ShowHistoryTaskDetailsRequest.js +88 -0
  200. package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +31 -0
  201. package/v1/model/ShowHistoryTaskDetailsResponse.js +97 -0
  202. package/v1/model/ShowHistoryTasksRequest.d.ts +53 -0
  203. package/v1/model/ShowHistoryTasksRequest.js +143 -0
  204. package/v1/model/ShowHistoryTasksResponse.d.ts +9 -0
  205. package/v1/model/ShowHistoryTasksResponse.js +35 -0
  206. package/v1/model/ShowHttpInfoRequest.d.ts +11 -0
  207. package/v1/model/ShowHttpInfoRequest.js +38 -0
  208. package/v1/model/ShowHttpInfoResponse.d.ts +7 -0
  209. package/v1/model/ShowHttpInfoResponse.js +31 -0
  210. package/v1/model/ShowIpInfoRequest.d.ts +9 -0
  211. package/v1/model/ShowIpInfoRequest.js +28 -0
  212. package/v1/model/ShowIpInfoResponse.d.ts +9 -0
  213. package/v1/model/ShowIpInfoResponse.js +41 -0
  214. package/v1/model/ShowLogsRequest.d.ts +23 -0
  215. package/v1/model/ShowLogsRequest.js +81 -0
  216. package/v1/model/ShowLogsResponse.d.ts +9 -0
  217. package/v1/model/ShowLogsResponse.js +35 -0
  218. package/v1/model/ShowOriginHostRequest.d.ts +11 -0
  219. package/v1/model/ShowOriginHostRequest.js +38 -0
  220. package/v1/model/ShowOriginHostResponse.d.ts +9 -0
  221. package/v1/model/ShowOriginHostResponse.js +41 -0
  222. package/v1/model/ShowQuotaRequest.d.ts +3 -0
  223. package/v1/model/ShowQuotaRequest.js +9 -0
  224. package/v1/model/ShowQuotaResponse.d.ts +7 -0
  225. package/v1/model/ShowQuotaResponse.js +31 -0
  226. package/v1/model/ShowReferRequest.d.ts +11 -0
  227. package/v1/model/ShowReferRequest.js +38 -0
  228. package/v1/model/ShowReferResponse.d.ts +7 -0
  229. package/v1/model/ShowReferResponse.js +31 -0
  230. package/v1/model/ShowResponseHeaderRequest.d.ts +11 -0
  231. package/v1/model/ShowResponseHeaderRequest.js +38 -0
  232. package/v1/model/ShowResponseHeaderResponse.d.ts +7 -0
  233. package/v1/model/ShowResponseHeaderResponse.js +31 -0
  234. package/v1/model/ShowTagsRequest.d.ts +7 -0
  235. package/v1/model/ShowTagsRequest.js +24 -0
  236. package/v1/model/ShowTagsResponse.d.ts +6 -0
  237. package/v1/model/ShowTagsResponse.js +31 -0
  238. package/v1/model/ShowTopUrlRequest.d.ts +43 -0
  239. package/v1/model/ShowTopUrlRequest.js +115 -0
  240. package/v1/model/ShowTopUrlResponse.d.ts +13 -0
  241. package/v1/model/ShowTopUrlResponse.js +55 -0
  242. package/v1/model/ShowUrlTaskInfoRequest.d.ts +27 -0
  243. package/v1/model/ShowUrlTaskInfoRequest.js +81 -0
  244. package/v1/model/ShowUrlTaskInfoResponse.d.ts +15 -0
  245. package/v1/model/ShowUrlTaskInfoResponse.js +53 -0
  246. package/v1/model/SourceWithPort.d.ts +40 -0
  247. package/v1/model/SourceWithPort.js +120 -0
  248. package/v1/model/Sources.d.ts +32 -0
  249. package/v1/model/Sources.js +92 -0
  250. package/v1/model/SourcesConfig.d.ts +29 -0
  251. package/v1/model/SourcesConfig.js +100 -0
  252. package/v1/model/TasksObject.d.ts +43 -0
  253. package/v1/model/TasksObject.js +93 -0
  254. package/v1/model/TopUrlSummary.d.ts +19 -0
  255. package/v1/model/TopUrlSummary.js +59 -0
  256. package/v1/model/UpdateBlackWhiteListRequest.d.ts +14 -0
  257. package/v1/model/UpdateBlackWhiteListRequest.js +42 -0
  258. package/v1/model/UpdateBlackWhiteListResponse.d.ts +10 -0
  259. package/v1/model/UpdateBlackWhiteListResponse.js +39 -0
  260. package/v1/model/UpdateCacheRulesRequest.d.ts +14 -0
  261. package/v1/model/UpdateCacheRulesRequest.js +42 -0
  262. package/v1/model/UpdateCacheRulesResponse.d.ts +9 -0
  263. package/v1/model/UpdateCacheRulesResponse.js +41 -0
  264. package/v1/model/UpdateDomainFullConfigRequest.d.ts +14 -0
  265. package/v1/model/UpdateDomainFullConfigRequest.js +42 -0
  266. package/v1/model/UpdateDomainFullConfigResponse.d.ts +4 -0
  267. package/v1/model/UpdateDomainFullConfigResponse.js +27 -0
  268. package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +10 -0
  269. package/v1/model/UpdateDomainMultiCertificatesRequest.js +27 -0
  270. package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +6 -0
  271. package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +13 -0
  272. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +40 -0
  273. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +131 -0
  274. package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +7 -0
  275. package/v1/model/UpdateDomainMultiCertificatesResponse.js +31 -0
  276. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +40 -0
  277. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +130 -0
  278. package/v1/model/UpdateDomainOriginRequest.d.ts +14 -0
  279. package/v1/model/UpdateDomainOriginRequest.js +42 -0
  280. package/v1/model/UpdateDomainOriginResponse.d.ts +7 -0
  281. package/v1/model/UpdateDomainOriginResponse.js +31 -0
  282. package/v1/model/UpdateFollow302SwitchRequest.d.ts +14 -0
  283. package/v1/model/UpdateFollow302SwitchRequest.js +42 -0
  284. package/v1/model/UpdateFollow302SwitchResponse.d.ts +9 -0
  285. package/v1/model/UpdateFollow302SwitchResponse.js +41 -0
  286. package/v1/model/UpdateHttpsInfoRequest.d.ts +14 -0
  287. package/v1/model/UpdateHttpsInfoRequest.js +42 -0
  288. package/v1/model/UpdateHttpsInfoResponse.d.ts +7 -0
  289. package/v1/model/UpdateHttpsInfoResponse.js +31 -0
  290. package/v1/model/UpdateOriginHostRequest.d.ts +14 -0
  291. package/v1/model/UpdateOriginHostRequest.js +42 -0
  292. package/v1/model/UpdateOriginHostResponse.d.ts +9 -0
  293. package/v1/model/UpdateOriginHostResponse.js +41 -0
  294. package/v1/model/UpdatePrivateBucketAccessBody.d.ts +5 -0
  295. package/v1/model/UpdatePrivateBucketAccessBody.js +13 -0
  296. package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +14 -0
  297. package/v1/model/UpdatePrivateBucketAccessRequest.js +42 -0
  298. package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +6 -0
  299. package/v1/model/UpdatePrivateBucketAccessResponse.js +31 -0
  300. package/v1/model/UpdateRangeSwitchRequest.d.ts +14 -0
  301. package/v1/model/UpdateRangeSwitchRequest.js +42 -0
  302. package/v1/model/UpdateRangeSwitchResponse.d.ts +9 -0
  303. package/v1/model/UpdateRangeSwitchResponse.js +41 -0
  304. package/v1/model/UpdateReferRequest.d.ts +14 -0
  305. package/v1/model/UpdateReferRequest.js +42 -0
  306. package/v1/model/UpdateReferResponse.d.ts +7 -0
  307. package/v1/model/UpdateReferResponse.js +31 -0
  308. package/v1/model/UpdateResponseHeaderRequest.d.ts +14 -0
  309. package/v1/model/UpdateResponseHeaderRequest.js +42 -0
  310. package/v1/model/UpdateResponseHeaderResponse.d.ts +7 -0
  311. package/v1/model/UpdateResponseHeaderResponse.js +31 -0
  312. package/v1/model/UrlAuth.d.ts +17 -0
  313. package/v1/model/UrlAuth.js +50 -0
  314. package/v1/model/UrlAuthGetBody.d.ts +15 -0
  315. package/v1/model/UrlAuthGetBody.js +46 -0
  316. package/v1/model/UrlObject.d.ts +21 -0
  317. package/v1/model/UrlObject.js +63 -0
  318. package/v1/model/Urls.d.ts +27 -0
  319. package/v1/model/Urls.js +81 -0
  320. package/v1/model/UserAgentFilter.d.ts +7 -0
  321. package/v1/model/UserAgentFilter.js +18 -0
  322. package/v1/public-api.d.ts +158 -0
  323. package/v1/public-api.js +174 -0
  324. package/v2/CdnClient.d.ts +532 -0
  325. package/v2/CdnClient.js +1196 -0
  326. package/v2/CdnRegion.d.ts +7 -0
  327. package/v2/CdnRegion.js +29 -0
  328. package/v2/model/BatchCopyConfigs.d.ts +15 -0
  329. package/v2/model/BatchCopyConfigs.js +54 -0
  330. package/v2/model/BatchCopyDRequestBody.d.ts +6 -0
  331. package/v2/model/BatchCopyDRequestBody.js +14 -0
  332. package/v2/model/BatchCopyDomainRequest.d.ts +6 -0
  333. package/v2/model/BatchCopyDomainRequest.js +13 -0
  334. package/v2/model/BatchCopyDomainResponse.d.ts +7 -0
  335. package/v2/model/BatchCopyDomainResponse.js +31 -0
  336. package/v2/model/BatchCopyErrorRsp.d.ts +6 -0
  337. package/v2/model/BatchCopyErrorRsp.js +13 -0
  338. package/v2/model/BatchCopyErrorRspError.d.ts +11 -0
  339. package/v2/model/BatchCopyErrorRspError.js +37 -0
  340. package/v2/model/BatchCopyResultVo.d.ts +19 -0
  341. package/v2/model/BatchCopyResultVo.js +42 -0
  342. package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +35 -0
  343. package/v2/model/DownloadRegionCarrierExcelRequest.js +113 -0
  344. package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +4 -0
  345. package/v2/model/DownloadRegionCarrierExcelResponse.js +27 -0
  346. package/v2/model/DownloadStatisticsExcelRequest.d.ts +33 -0
  347. package/v2/model/DownloadStatisticsExcelRequest.js +115 -0
  348. package/v2/model/DownloadStatisticsExcelResponse.d.ts +4 -0
  349. package/v2/model/DownloadStatisticsExcelResponse.js +27 -0
  350. package/v2/model/ErrMsg.d.ts +11 -0
  351. package/v2/model/ErrMsg.js +39 -0
  352. package/v2/model/ErrRsp.d.ts +6 -0
  353. package/v2/model/ErrRsp.js +14 -0
  354. package/v2/model/SetChargeModesBody.d.ts +15 -0
  355. package/v2/model/SetChargeModesBody.js +54 -0
  356. package/v2/model/SetChargeModesRequest.d.ts +6 -0
  357. package/v2/model/SetChargeModesRequest.js +13 -0
  358. package/v2/model/SetChargeModesResponse.d.ts +26 -0
  359. package/v2/model/SetChargeModesResponse.js +101 -0
  360. package/v2/model/ShowBandwidthCalcRequest.d.ts +27 -0
  361. package/v2/model/ShowBandwidthCalcRequest.js +97 -0
  362. package/v2/model/ShowBandwidthCalcResponse.d.ts +14 -0
  363. package/v2/model/ShowBandwidthCalcResponse.js +41 -0
  364. package/v2/model/ShowChargeModesRequest.d.ts +13 -0
  365. package/v2/model/ShowChargeModesRequest.js +42 -0
  366. package/v2/model/ShowChargeModesResponse.d.ts +10 -0
  367. package/v2/model/ShowChargeModesResponse.js +31 -0
  368. package/v2/model/ShowDomainLocationStatsRequest.d.ts +37 -0
  369. package/v2/model/ShowDomainLocationStatsRequest.js +118 -0
  370. package/v2/model/ShowDomainLocationStatsResponse.d.ts +14 -0
  371. package/v2/model/ShowDomainLocationStatsResponse.js +45 -0
  372. package/v2/model/ShowDomainStatsRequest.d.ts +35 -0
  373. package/v2/model/ShowDomainStatsRequest.js +120 -0
  374. package/v2/model/ShowDomainStatsResponse.d.ts +10 -0
  375. package/v2/model/ShowDomainStatsResponse.js +31 -0
  376. package/v2/model/ShowTopDomainNamesRequest.d.ts +25 -0
  377. package/v2/model/ShowTopDomainNamesRequest.js +86 -0
  378. package/v2/model/ShowTopDomainNamesResponse.d.ts +14 -0
  379. package/v2/model/ShowTopDomainNamesResponse.js +41 -0
  380. package/v2/model/ShowTopUrlRequest.d.ts +27 -0
  381. package/v2/model/ShowTopUrlRequest.js +97 -0
  382. package/v2/model/ShowTopUrlResponse.d.ts +13 -0
  383. package/v2/model/ShowTopUrlResponse.js +55 -0
  384. package/v2/model/TopUrlSummary.d.ts +19 -0
  385. package/v2/model/TopUrlSummary.js +59 -0
  386. package/v2/public-api.d.ts +31 -0
  387. package/v2/public-api.js +47 -0
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDomainMultiCertificatesRequestBodyContent = void 0;
4
+ var UpdateDomainMultiCertificatesRequestBodyContent = /** @class */ (function () {
5
+ function UpdateDomainMultiCertificatesRequestBodyContent(domainName, httpsSwitch) {
6
+ this['domain_name'] = domainName;
7
+ this['https_switch'] = httpsSwitch;
8
+ }
9
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withDomainName = function (domainName) {
10
+ this['domain_name'] = domainName;
11
+ return this;
12
+ };
13
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "domainName", {
14
+ get: function () {
15
+ return this['domain_name'];
16
+ },
17
+ set: function (domainName) {
18
+ this['domain_name'] = domainName;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withHttpsSwitch = function (httpsSwitch) {
24
+ this['https_switch'] = httpsSwitch;
25
+ return this;
26
+ };
27
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "httpsSwitch", {
28
+ get: function () {
29
+ return this['https_switch'];
30
+ },
31
+ set: function (httpsSwitch) {
32
+ this['https_switch'] = httpsSwitch;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withAccessOriginWay = function (accessOriginWay) {
38
+ this['access_origin_way'] = accessOriginWay;
39
+ return this;
40
+ };
41
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "accessOriginWay", {
42
+ get: function () {
43
+ return this['access_origin_way'];
44
+ },
45
+ set: function (accessOriginWay) {
46
+ this['access_origin_way'] = accessOriginWay;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withForceRedirectHttps = function (forceRedirectHttps) {
52
+ this['force_redirect_https'] = forceRedirectHttps;
53
+ return this;
54
+ };
55
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "forceRedirectHttps", {
56
+ get: function () {
57
+ return this['force_redirect_https'];
58
+ },
59
+ set: function (forceRedirectHttps) {
60
+ this['force_redirect_https'] = forceRedirectHttps;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withForceRedirectConfig = function (forceRedirectConfig) {
66
+ this['force_redirect_config'] = forceRedirectConfig;
67
+ return this;
68
+ };
69
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "forceRedirectConfig", {
70
+ get: function () {
71
+ return this['force_redirect_config'];
72
+ },
73
+ set: function (forceRedirectConfig) {
74
+ this['force_redirect_config'] = forceRedirectConfig;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withHttp2 = function (http2) {
80
+ this['http2'] = http2;
81
+ return this;
82
+ };
83
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withCertName = function (certName) {
84
+ this['cert_name'] = certName;
85
+ return this;
86
+ };
87
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "certName", {
88
+ get: function () {
89
+ return this['cert_name'];
90
+ },
91
+ set: function (certName) {
92
+ this['cert_name'] = certName;
93
+ },
94
+ enumerable: false,
95
+ configurable: true
96
+ });
97
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withCertificate = function (certificate) {
98
+ this['certificate'] = certificate;
99
+ return this;
100
+ };
101
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withPrivateKey = function (privateKey) {
102
+ this['private_key'] = privateKey;
103
+ return this;
104
+ };
105
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "privateKey", {
106
+ get: function () {
107
+ return this['private_key'];
108
+ },
109
+ set: function (privateKey) {
110
+ this['private_key'] = privateKey;
111
+ },
112
+ enumerable: false,
113
+ configurable: true
114
+ });
115
+ UpdateDomainMultiCertificatesRequestBodyContent.prototype.withCertificateType = function (certificateType) {
116
+ this['certificate_type'] = certificateType;
117
+ return this;
118
+ };
119
+ Object.defineProperty(UpdateDomainMultiCertificatesRequestBodyContent.prototype, "certificateType", {
120
+ get: function () {
121
+ return this['certificate_type'];
122
+ },
123
+ set: function (certificateType) {
124
+ this['certificate_type'] = certificateType;
125
+ },
126
+ enumerable: false,
127
+ configurable: true
128
+ });
129
+ return UpdateDomainMultiCertificatesRequestBodyContent;
130
+ }());
131
+ exports.UpdateDomainMultiCertificatesRequestBodyContent = UpdateDomainMultiCertificatesRequestBodyContent;
@@ -0,0 +1,7 @@
1
+ import { UpdateDomainMultiCertificatesResponseBodyContent } from './UpdateDomainMultiCertificatesResponseBodyContent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateDomainMultiCertificatesResponse extends SdkResponse {
4
+ https?: UpdateDomainMultiCertificatesResponseBodyContent;
5
+ constructor();
6
+ withHttps(https: UpdateDomainMultiCertificatesResponseBodyContent): UpdateDomainMultiCertificatesResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateDomainMultiCertificatesResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateDomainMultiCertificatesResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateDomainMultiCertificatesResponse, _super);
22
+ function UpdateDomainMultiCertificatesResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateDomainMultiCertificatesResponse.prototype.withHttps = function (https) {
26
+ this['https'] = https;
27
+ return this;
28
+ };
29
+ return UpdateDomainMultiCertificatesResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateDomainMultiCertificatesResponse = UpdateDomainMultiCertificatesResponse;
@@ -0,0 +1,40 @@
1
+ import { ForceRedirect } from './ForceRedirect';
2
+ export declare class UpdateDomainMultiCertificatesResponseBodyContent {
3
+ private 'domain_name';
4
+ private 'https_switch'?;
5
+ private 'access_origin_way'?;
6
+ private 'force_redirect_https'?;
7
+ private 'force_redirect_config'?;
8
+ http2?: number;
9
+ private 'cert_name'?;
10
+ certificate?: string;
11
+ private 'certificate_type'?;
12
+ private 'expiration_time'?;
13
+ constructor(domainName?: any);
14
+ withDomainName(domainName: string): UpdateDomainMultiCertificatesResponseBodyContent;
15
+ set domainName(domainName: string | undefined);
16
+ get domainName(): string | undefined;
17
+ withHttpsSwitch(httpsSwitch: number): UpdateDomainMultiCertificatesResponseBodyContent;
18
+ set httpsSwitch(httpsSwitch: number | undefined);
19
+ get httpsSwitch(): number | undefined;
20
+ withAccessOriginWay(accessOriginWay: number): UpdateDomainMultiCertificatesResponseBodyContent;
21
+ set accessOriginWay(accessOriginWay: number | undefined);
22
+ get accessOriginWay(): number | undefined;
23
+ withForceRedirectHttps(forceRedirectHttps: number): UpdateDomainMultiCertificatesResponseBodyContent;
24
+ set forceRedirectHttps(forceRedirectHttps: number | undefined);
25
+ get forceRedirectHttps(): number | undefined;
26
+ withForceRedirectConfig(forceRedirectConfig: ForceRedirect): UpdateDomainMultiCertificatesResponseBodyContent;
27
+ set forceRedirectConfig(forceRedirectConfig: ForceRedirect | undefined);
28
+ get forceRedirectConfig(): ForceRedirect | undefined;
29
+ withHttp2(http2: number): UpdateDomainMultiCertificatesResponseBodyContent;
30
+ withCertName(certName: string): UpdateDomainMultiCertificatesResponseBodyContent;
31
+ set certName(certName: string | undefined);
32
+ get certName(): string | undefined;
33
+ withCertificate(certificate: string): UpdateDomainMultiCertificatesResponseBodyContent;
34
+ withCertificateType(certificateType: number): UpdateDomainMultiCertificatesResponseBodyContent;
35
+ set certificateType(certificateType: number | undefined);
36
+ get certificateType(): number | undefined;
37
+ withExpirationTime(expirationTime: number): UpdateDomainMultiCertificatesResponseBodyContent;
38
+ set expirationTime(expirationTime: number | undefined);
39
+ get expirationTime(): number | undefined;
40
+ }
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDomainMultiCertificatesResponseBodyContent = void 0;
4
+ var UpdateDomainMultiCertificatesResponseBodyContent = /** @class */ (function () {
5
+ function UpdateDomainMultiCertificatesResponseBodyContent(domainName) {
6
+ this['domain_name'] = domainName;
7
+ }
8
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withDomainName = function (domainName) {
9
+ this['domain_name'] = domainName;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "domainName", {
13
+ get: function () {
14
+ return this['domain_name'];
15
+ },
16
+ set: function (domainName) {
17
+ this['domain_name'] = domainName;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withHttpsSwitch = function (httpsSwitch) {
23
+ this['https_switch'] = httpsSwitch;
24
+ return this;
25
+ };
26
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "httpsSwitch", {
27
+ get: function () {
28
+ return this['https_switch'];
29
+ },
30
+ set: function (httpsSwitch) {
31
+ this['https_switch'] = httpsSwitch;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withAccessOriginWay = function (accessOriginWay) {
37
+ this['access_origin_way'] = accessOriginWay;
38
+ return this;
39
+ };
40
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "accessOriginWay", {
41
+ get: function () {
42
+ return this['access_origin_way'];
43
+ },
44
+ set: function (accessOriginWay) {
45
+ this['access_origin_way'] = accessOriginWay;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
50
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withForceRedirectHttps = function (forceRedirectHttps) {
51
+ this['force_redirect_https'] = forceRedirectHttps;
52
+ return this;
53
+ };
54
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "forceRedirectHttps", {
55
+ get: function () {
56
+ return this['force_redirect_https'];
57
+ },
58
+ set: function (forceRedirectHttps) {
59
+ this['force_redirect_https'] = forceRedirectHttps;
60
+ },
61
+ enumerable: false,
62
+ configurable: true
63
+ });
64
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withForceRedirectConfig = function (forceRedirectConfig) {
65
+ this['force_redirect_config'] = forceRedirectConfig;
66
+ return this;
67
+ };
68
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "forceRedirectConfig", {
69
+ get: function () {
70
+ return this['force_redirect_config'];
71
+ },
72
+ set: function (forceRedirectConfig) {
73
+ this['force_redirect_config'] = forceRedirectConfig;
74
+ },
75
+ enumerable: false,
76
+ configurable: true
77
+ });
78
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withHttp2 = function (http2) {
79
+ this['http2'] = http2;
80
+ return this;
81
+ };
82
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withCertName = function (certName) {
83
+ this['cert_name'] = certName;
84
+ return this;
85
+ };
86
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "certName", {
87
+ get: function () {
88
+ return this['cert_name'];
89
+ },
90
+ set: function (certName) {
91
+ this['cert_name'] = certName;
92
+ },
93
+ enumerable: false,
94
+ configurable: true
95
+ });
96
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withCertificate = function (certificate) {
97
+ this['certificate'] = certificate;
98
+ return this;
99
+ };
100
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withCertificateType = function (certificateType) {
101
+ this['certificate_type'] = certificateType;
102
+ return this;
103
+ };
104
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "certificateType", {
105
+ get: function () {
106
+ return this['certificate_type'];
107
+ },
108
+ set: function (certificateType) {
109
+ this['certificate_type'] = certificateType;
110
+ },
111
+ enumerable: false,
112
+ configurable: true
113
+ });
114
+ UpdateDomainMultiCertificatesResponseBodyContent.prototype.withExpirationTime = function (expirationTime) {
115
+ this['expiration_time'] = expirationTime;
116
+ return this;
117
+ };
118
+ Object.defineProperty(UpdateDomainMultiCertificatesResponseBodyContent.prototype, "expirationTime", {
119
+ get: function () {
120
+ return this['expiration_time'];
121
+ },
122
+ set: function (expirationTime) {
123
+ this['expiration_time'] = expirationTime;
124
+ },
125
+ enumerable: false,
126
+ configurable: true
127
+ });
128
+ return UpdateDomainMultiCertificatesResponseBodyContent;
129
+ }());
130
+ exports.UpdateDomainMultiCertificatesResponseBodyContent = UpdateDomainMultiCertificatesResponseBodyContent;
@@ -0,0 +1,14 @@
1
+ import { OriginRequest } from './OriginRequest';
2
+ export declare class UpdateDomainOriginRequest {
3
+ private 'domain_id';
4
+ private 'enterprise_project_id'?;
5
+ body?: OriginRequest;
6
+ constructor(domainId?: any);
7
+ withDomainId(domainId: string): UpdateDomainOriginRequest;
8
+ set domainId(domainId: string | undefined);
9
+ get domainId(): string | undefined;
10
+ withEnterpriseProjectId(enterpriseProjectId: string): UpdateDomainOriginRequest;
11
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
12
+ get enterpriseProjectId(): string | undefined;
13
+ withBody(body: OriginRequest): UpdateDomainOriginRequest;
14
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDomainOriginRequest = void 0;
4
+ var UpdateDomainOriginRequest = /** @class */ (function () {
5
+ function UpdateDomainOriginRequest(domainId) {
6
+ this['domain_id'] = domainId;
7
+ }
8
+ UpdateDomainOriginRequest.prototype.withDomainId = function (domainId) {
9
+ this['domain_id'] = domainId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateDomainOriginRequest.prototype, "domainId", {
13
+ get: function () {
14
+ return this['domain_id'];
15
+ },
16
+ set: function (domainId) {
17
+ this['domain_id'] = domainId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateDomainOriginRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(UpdateDomainOriginRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ UpdateDomainOriginRequest.prototype.withBody = function (body) {
37
+ this['body'] = body;
38
+ return this;
39
+ };
40
+ return UpdateDomainOriginRequest;
41
+ }());
42
+ exports.UpdateDomainOriginRequest = UpdateDomainOriginRequest;
@@ -0,0 +1,7 @@
1
+ import { ResourceBody } from './ResourceBody';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateDomainOriginResponse extends SdkResponse {
4
+ origin?: ResourceBody;
5
+ constructor();
6
+ withOrigin(origin: ResourceBody): UpdateDomainOriginResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateDomainOriginResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateDomainOriginResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateDomainOriginResponse, _super);
22
+ function UpdateDomainOriginResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateDomainOriginResponse.prototype.withOrigin = function (origin) {
26
+ this['origin'] = origin;
27
+ return this;
28
+ };
29
+ return UpdateDomainOriginResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateDomainOriginResponse = UpdateDomainOriginResponse;
@@ -0,0 +1,14 @@
1
+ import { Follow302StatusRequest } from './Follow302StatusRequest';
2
+ export declare class UpdateFollow302SwitchRequest {
3
+ private 'domain_id';
4
+ private 'enterprise_project_id'?;
5
+ body?: Follow302StatusRequest;
6
+ constructor(domainId?: any);
7
+ withDomainId(domainId: string): UpdateFollow302SwitchRequest;
8
+ set domainId(domainId: string | undefined);
9
+ get domainId(): string | undefined;
10
+ withEnterpriseProjectId(enterpriseProjectId: string): UpdateFollow302SwitchRequest;
11
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
12
+ get enterpriseProjectId(): string | undefined;
13
+ withBody(body: Follow302StatusRequest): UpdateFollow302SwitchRequest;
14
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateFollow302SwitchRequest = void 0;
4
+ var UpdateFollow302SwitchRequest = /** @class */ (function () {
5
+ function UpdateFollow302SwitchRequest(domainId) {
6
+ this['domain_id'] = domainId;
7
+ }
8
+ UpdateFollow302SwitchRequest.prototype.withDomainId = function (domainId) {
9
+ this['domain_id'] = domainId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateFollow302SwitchRequest.prototype, "domainId", {
13
+ get: function () {
14
+ return this['domain_id'];
15
+ },
16
+ set: function (domainId) {
17
+ this['domain_id'] = domainId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateFollow302SwitchRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(UpdateFollow302SwitchRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ UpdateFollow302SwitchRequest.prototype.withBody = function (body) {
37
+ this['body'] = body;
38
+ return this;
39
+ };
40
+ return UpdateFollow302SwitchRequest;
41
+ }());
42
+ exports.UpdateFollow302SwitchRequest = UpdateFollow302SwitchRequest;
@@ -0,0 +1,9 @@
1
+ import { Follow302StatusBody } from './Follow302StatusBody';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateFollow302SwitchResponse extends SdkResponse {
4
+ private 'follow_status'?;
5
+ constructor();
6
+ withFollowStatus(followStatus: Follow302StatusBody): UpdateFollow302SwitchResponse;
7
+ set followStatus(followStatus: Follow302StatusBody | undefined);
8
+ get followStatus(): Follow302StatusBody | undefined;
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateFollow302SwitchResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateFollow302SwitchResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateFollow302SwitchResponse, _super);
22
+ function UpdateFollow302SwitchResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateFollow302SwitchResponse.prototype.withFollowStatus = function (followStatus) {
26
+ this['follow_status'] = followStatus;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateFollow302SwitchResponse.prototype, "followStatus", {
30
+ get: function () {
31
+ return this['follow_status'];
32
+ },
33
+ set: function (followStatus) {
34
+ this['follow_status'] = followStatus;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ return UpdateFollow302SwitchResponse;
40
+ }(SdkResponse_1.SdkResponse));
41
+ exports.UpdateFollow302SwitchResponse = UpdateFollow302SwitchResponse;
@@ -0,0 +1,14 @@
1
+ import { HttpInfoRequest } from './HttpInfoRequest';
2
+ export declare class UpdateHttpsInfoRequest {
3
+ private 'domain_id';
4
+ private 'enterprise_project_id'?;
5
+ body?: HttpInfoRequest;
6
+ constructor(domainId?: any);
7
+ withDomainId(domainId: string): UpdateHttpsInfoRequest;
8
+ set domainId(domainId: string | undefined);
9
+ get domainId(): string | undefined;
10
+ withEnterpriseProjectId(enterpriseProjectId: string): UpdateHttpsInfoRequest;
11
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
12
+ get enterpriseProjectId(): string | undefined;
13
+ withBody(body: HttpInfoRequest): UpdateHttpsInfoRequest;
14
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateHttpsInfoRequest = void 0;
4
+ var UpdateHttpsInfoRequest = /** @class */ (function () {
5
+ function UpdateHttpsInfoRequest(domainId) {
6
+ this['domain_id'] = domainId;
7
+ }
8
+ UpdateHttpsInfoRequest.prototype.withDomainId = function (domainId) {
9
+ this['domain_id'] = domainId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateHttpsInfoRequest.prototype, "domainId", {
13
+ get: function () {
14
+ return this['domain_id'];
15
+ },
16
+ set: function (domainId) {
17
+ this['domain_id'] = domainId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateHttpsInfoRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(UpdateHttpsInfoRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ UpdateHttpsInfoRequest.prototype.withBody = function (body) {
37
+ this['body'] = body;
38
+ return this;
39
+ };
40
+ return UpdateHttpsInfoRequest;
41
+ }());
42
+ exports.UpdateHttpsInfoRequest = UpdateHttpsInfoRequest;
@@ -0,0 +1,7 @@
1
+ import { HttpInfoResponseBody } from './HttpInfoResponseBody';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateHttpsInfoResponse extends SdkResponse {
4
+ https?: HttpInfoResponseBody;
5
+ constructor();
6
+ withHttps(https: HttpInfoResponseBody): UpdateHttpsInfoResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateHttpsInfoResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateHttpsInfoResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateHttpsInfoResponse, _super);
22
+ function UpdateHttpsInfoResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateHttpsInfoResponse.prototype.withHttps = function (https) {
26
+ this['https'] = https;
27
+ return this;
28
+ };
29
+ return UpdateHttpsInfoResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateHttpsInfoResponse = UpdateHttpsInfoResponse;
@@ -0,0 +1,14 @@
1
+ import { OriginHostRequest } from './OriginHostRequest';
2
+ export declare class UpdateOriginHostRequest {
3
+ private 'domain_id';
4
+ private 'enterprise_project_id'?;
5
+ body?: OriginHostRequest;
6
+ constructor(domainId?: any);
7
+ withDomainId(domainId: string): UpdateOriginHostRequest;
8
+ set domainId(domainId: string | undefined);
9
+ get domainId(): string | undefined;
10
+ withEnterpriseProjectId(enterpriseProjectId: string): UpdateOriginHostRequest;
11
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
12
+ get enterpriseProjectId(): string | undefined;
13
+ withBody(body: OriginHostRequest): UpdateOriginHostRequest;
14
+ }