@huaweicloud/huaweicloud-sdk-cdn 3.1.45 → 3.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cdn.ts +6 -0
- package/package.json +4 -4
- package/v1/{CdnClient.js → CdnClient.ts} +1429 -895
- package/v1/CdnRegion.ts +28 -0
- package/v1/model/BatchDeleteTagsRequest.ts +12 -0
- package/v1/model/BatchDeleteTagsResponse.ts +8 -0
- package/v1/model/BlackWhiteListBody.ts +23 -0
- package/v1/model/CacheConfig.ts +40 -0
- package/v1/model/CacheConfigRequest.ts +40 -0
- package/v1/model/CacheConfigRequestBody.ts +19 -0
- package/v1/model/CacheRules.ts +88 -0
- package/v1/model/CacheUrlParameterFilter.ts +16 -0
- package/v1/model/CdnIps.ts +31 -0
- package/v1/model/Compress.ts +17 -0
- package/v1/model/CompressRequest.ts +17 -0
- package/v1/model/CompressResponse.ts +30 -0
- package/v1/model/CompressRules.ts +28 -0
- package/v1/model/Configs.ts +206 -0
- package/v1/model/ConfigsGetBody.ts +206 -0
- package/v1/model/CreateDomainRequest.ts +12 -0
- package/v1/model/CreateDomainRequestBody.ts +13 -0
- package/v1/model/CreateDomainResponse.ts +14 -0
- package/v1/model/CreateDomainResponseBodyContent.ts +176 -0
- package/v1/model/CreatePreheatingTasksRequest.ts +23 -0
- package/v1/model/CreatePreheatingTasksResponse.ts +19 -0
- package/v1/model/CreateRefreshTasksRequest.ts +23 -0
- package/v1/model/CreateRefreshTasksResponse.ts +19 -0
- package/v1/model/CreateTagsRequest.ts +12 -0
- package/v1/model/CreateTagsRequestBody.ts +24 -0
- package/v1/model/CreateTagsResponse.ts +8 -0
- package/v1/model/DeleteDomainRequest.ts +29 -0
- package/v1/model/DeleteDomainResponse.ts +14 -0
- package/v1/model/DeleteTagsRequestBody.ts +24 -0
- package/v1/model/DisableDomainRequest.ts +29 -0
- package/v1/model/DisableDomainResponse.ts +14 -0
- package/v1/model/DomainBody.ts +80 -0
- package/v1/model/DomainItemDetail.ts +44 -0
- package/v1/model/DomainItemLocationDetails.ts +45 -0
- package/v1/model/DomainOriginHost.ts +40 -0
- package/v1/model/DomainRegion.ts +28 -0
- package/v1/model/Domains.ts +225 -0
- package/v1/model/DomainsWithPort.ts +219 -0
- package/v1/model/EnableDomainRequest.ts +29 -0
- package/v1/model/EnableDomainResponse.ts +14 -0
- package/v1/model/EpResourceTag.ts +18 -0
- package/v1/model/ErrorCodeCache.ts +16 -0
- package/v1/model/ErrorCodeRedirectRules.ts +42 -0
- package/v1/model/Follow302StatusBody.ts +37 -0
- package/v1/model/Follow302StatusRequest.ts +27 -0
- package/v1/model/ForceRedirect.ts +29 -0
- package/v1/model/ForceRedirectConfig.ts +28 -0
- package/v1/model/HeaderBody.ts +12 -0
- package/v1/model/HeaderMap.ts +72 -0
- package/v1/model/HttpGetBody.ts +72 -0
- package/v1/model/HttpInfoRequest.ts +13 -0
- package/v1/model/HttpInfoRequestBody.ts +85 -0
- package/v1/model/HttpInfoResponseBody.ts +94 -0
- package/v1/model/HttpPutBody.ts +83 -0
- package/v1/model/HttpResponseHeader.ts +23 -0
- package/v1/model/HttpsDetail.ts +116 -0
- package/v1/model/IpFilter.ts +17 -0
- package/v1/model/ListDomainsRequest.ts +138 -0
- package/v1/model/ListDomainsResponse.ts +19 -0
- package/v1/model/LogObject.ts +54 -0
- package/v1/model/ModelMap.ts +17 -0
- package/v1/model/ModifyDomainConfigRequestBody.ts +12 -0
- package/v1/model/OriginHostBody.ts +38 -0
- package/v1/model/OriginHostRequest.ts +19 -0
- package/v1/model/OriginRangeBody.ts +37 -0
- package/v1/model/OriginRequest.ts +13 -0
- package/v1/model/OriginRequestHeader.ts +23 -0
- package/v1/model/OriginRequestUrlRewrite.ts +47 -0
- package/v1/model/PreheatingTaskRequest.ts +19 -0
- package/v1/model/PreheatingTaskRequestBody.ts +12 -0
- package/v1/model/Quotas.ts +38 -0
- package/v1/model/RangeStatusRequest.ts +27 -0
- package/v1/model/Referer.ts +40 -0
- package/v1/model/RefererBody.ts +13 -0
- package/v1/model/RefererConfig.ts +28 -0
- package/v1/model/RefererRsp.ts +39 -0
- package/v1/model/RefreshTaskRequest.ts +19 -0
- package/v1/model/RefreshTaskRequestBody.ts +39 -0
- package/v1/model/ResourceBody.ts +13 -0
- package/v1/model/Rules.ts +47 -0
- package/v1/model/ShowBlackWhiteListRequest.ts +29 -0
- package/v1/model/ShowBlackWhiteListResponse.ts +24 -0
- package/v1/model/ShowCacheRulesRequest.ts +29 -0
- package/v1/model/ShowCacheRulesResponse.ts +20 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.ts +61 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.ts +19 -0
- package/v1/model/ShowDomainDetailRequest.ts +29 -0
- package/v1/model/ShowDomainDetailResponse.ts +14 -0
- package/v1/model/ShowDomainFullConfigRequest.ts +29 -0
- package/v1/model/ShowDomainFullConfigResponse.ts +14 -0
- package/v1/model/ShowDomainItemDetailsRequest.ts +76 -0
- package/v1/model/ShowDomainItemDetailsResponse.ts +20 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.ts +77 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.ts +20 -0
- package/v1/model/ShowDomainLocationStatsRequest.ts +102 -0
- package/v1/model/ShowDomainLocationStatsResponse.ts +24 -0
- package/v1/model/ShowDomainStatsRequest.ts +98 -0
- package/v1/model/ShowDomainStatsResponse.ts +13 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.ts +72 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.ts +77 -0
- package/v1/model/ShowHistoryTasksRequest.ts +116 -0
- package/v1/model/ShowHistoryTasksResponse.ts +19 -0
- package/v1/model/ShowHttpInfoRequest.ts +29 -0
- package/v1/model/ShowHttpInfoResponse.ts +14 -0
- package/v1/model/ShowIpInfoRequest.ts +23 -0
- package/v1/model/ShowIpInfoResponse.ts +20 -0
- package/v1/model/ShowLogsRequest.ts +73 -0
- package/v1/model/ShowLogsResponse.ts +19 -0
- package/v1/model/ShowOriginHostRequest.ts +29 -0
- package/v1/model/ShowOriginHostResponse.ts +20 -0
- package/v1/model/ShowQuotaRequest.ts +6 -0
- package/v1/model/ShowQuotaResponse.ts +14 -0
- package/v1/model/ShowReferRequest.ts +29 -0
- package/v1/model/ShowReferResponse.ts +14 -0
- package/v1/model/ShowResponseHeaderRequest.ts +29 -0
- package/v1/model/ShowResponseHeaderResponse.ts +14 -0
- package/v1/model/ShowTagsRequest.ts +18 -0
- package/v1/model/ShowTagsResponse.ts +13 -0
- package/v1/model/ShowTopUrlRequest.ts +93 -0
- package/v1/model/ShowTopUrlResponse.ts +31 -0
- package/v1/model/ShowUrlTaskInfoRequest.ts +70 -0
- package/v1/model/ShowUrlTaskInfoResponse.ts +35 -0
- package/v1/model/SourceWithPort.ts +96 -0
- package/v1/model/Sources.ts +74 -0
- package/v1/model/SourcesConfig.ts +80 -0
- package/v1/model/TasksObject.ts +86 -0
- package/v1/model/TopUrlSummary.ts +49 -0
- package/v1/model/UpdateBlackWhiteListRequest.ts +35 -0
- package/v1/model/UpdateBlackWhiteListResponse.ts +23 -0
- package/v1/model/UpdateCacheRulesRequest.ts +35 -0
- package/v1/model/UpdateCacheRulesResponse.ts +20 -0
- package/v1/model/UpdateDomainFullConfigRequest.ts +35 -0
- package/v1/model/UpdateDomainFullConfigResponse.ts +8 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.ts +23 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.ts +12 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.ts +107 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.ts +14 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.ts +106 -0
- package/v1/model/UpdateDomainOriginRequest.ts +35 -0
- package/v1/model/UpdateDomainOriginResponse.ts +14 -0
- package/v1/model/UpdateFollow302SwitchRequest.ts +35 -0
- package/v1/model/UpdateFollow302SwitchResponse.ts +20 -0
- package/v1/model/UpdateHttpsInfoRequest.ts +35 -0
- package/v1/model/UpdateHttpsInfoResponse.ts +14 -0
- package/v1/model/UpdateOriginHostRequest.ts +35 -0
- package/v1/model/UpdateOriginHostResponse.ts +20 -0
- package/v1/model/UpdatePrivateBucketAccessBody.ts +11 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.ts +35 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.ts +13 -0
- package/v1/model/UpdateRangeSwitchRequest.ts +35 -0
- package/v1/model/UpdateRangeSwitchResponse.ts +20 -0
- package/v1/model/UpdateReferRequest.ts +35 -0
- package/v1/model/UpdateReferResponse.ts +14 -0
- package/v1/model/UpdateResponseHeaderRequest.ts +35 -0
- package/v1/model/UpdateResponseHeaderResponse.ts +14 -0
- package/v1/model/UrlAuth.ts +44 -0
- package/v1/model/UrlAuthGetBody.ts +39 -0
- package/v1/model/UrlObject.ts +54 -0
- package/v1/model/Urls.ts +70 -0
- package/v1/model/UserAgentFilter.ts +17 -0
- package/v1/{public-api.d.ts → public-api.ts} +1 -0
- package/v2/{CdnClient.js → CdnClient.ts} +666 -449
- package/v2/CdnRegion.ts +28 -0
- package/v2/model/BackSources.ts +63 -0
- package/v2/model/BatchCopyConfigs.ts +42 -0
- package/v2/model/BatchCopyDRequestBody.ts +13 -0
- package/v2/model/BatchCopyDomainRequest.ts +12 -0
- package/v2/model/BatchCopyDomainResponse.ts +14 -0
- package/v2/model/BatchCopyErrorRsp.ts +12 -0
- package/v2/model/BatchCopyErrorRspError.ts +28 -0
- package/v2/model/BatchCopyResultVo.ts +38 -0
- package/v2/model/CacheRules.ts +88 -0
- package/v2/model/CacheUrlParameterFilter.ts +16 -0
- package/v2/model/CommonRemoteAuth.ts +31 -0
- package/v2/model/Compress.ts +29 -0
- package/v2/model/Configs.ts +304 -0
- package/v2/model/ConfigsGetBody.ts +304 -0
- package/v2/model/CustomArgs.ts +24 -0
- package/v2/model/DomainOriginHost.ts +40 -0
- package/v2/model/Domains.ts +214 -0
- package/v2/model/DomainsWithPort.ts +119 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.ts +96 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.ts +8 -0
- package/v2/model/DownloadStatisticsExcelRequest.ts +92 -0
- package/v2/model/DownloadStatisticsExcelResponse.ts +8 -0
- package/v2/model/EpResourceTag.ts +18 -0
- package/v2/model/ErrMsg.ts +30 -0
- package/v2/model/ErrRsp.ts +13 -0
- package/v2/model/ErrorCodeCache.ts +16 -0
- package/v2/model/ErrorCodeRedirectRules.ts +42 -0
- package/v2/model/FlexibleOrigins.ts +49 -0
- package/v2/model/ForceRedirectConfig.ts +28 -0
- package/v2/model/HttpGetBody.ts +105 -0
- package/v2/model/HttpPutBody.ts +105 -0
- package/v2/model/HttpResponseHeader.ts +23 -0
- package/v2/model/IpFilter.ts +17 -0
- package/v2/model/ListDomainsRequest.ts +105 -0
- package/v2/model/ListDomainsResponse.ts +19 -0
- package/v2/model/ModifyDomainConfigRequestBody.ts +12 -0
- package/v2/model/OriginRequestHeader.ts +23 -0
- package/v2/model/OriginRequestUrlRewrite.ts +47 -0
- package/v2/model/RefererConfig.ts +28 -0
- package/v2/model/RemoteAuthRuleVo.ts +176 -0
- package/v2/model/RequestLimitRules.ts +40 -0
- package/v2/model/SetChargeModesBody.ts +42 -0
- package/v2/model/SetChargeModesRequest.ts +12 -0
- package/v2/model/SetChargeModesResponse.ts +68 -0
- package/v2/model/ShowBandwidthCalcRequest.ts +76 -0
- package/v2/model/ShowBandwidthCalcResponse.ts +19 -0
- package/v2/model/ShowChargeModesRequest.ts +34 -0
- package/v2/model/ShowChargeModesResponse.ts +13 -0
- package/v2/model/ShowDomainDetailByNameRequest.ts +29 -0
- package/v2/model/ShowDomainDetailByNameResponse.ts +14 -0
- package/v2/model/ShowDomainFullConfigRequest.ts +40 -0
- package/v2/model/ShowDomainFullConfigResponse.ts +14 -0
- package/v2/model/ShowDomainLocationStatsRequest.ts +102 -0
- package/v2/model/ShowDomainLocationStatsResponse.ts +24 -0
- package/v2/model/ShowDomainStatsRequest.ts +98 -0
- package/v2/model/ShowDomainStatsResponse.ts +13 -0
- package/v2/model/ShowTopDomainNamesRequest.ts +69 -0
- package/v2/model/ShowTopDomainNamesResponse.ts +19 -0
- package/v2/model/ShowTopUrlRequest.ts +76 -0
- package/v2/model/ShowTopUrlResponse.ts +31 -0
- package/v2/model/Sources.ts +74 -0
- package/v2/model/SourcesConfig.ts +96 -0
- package/v2/model/TopUrlSummary.ts +49 -0
- package/v2/model/UpdateDomainFullConfigRequest.ts +35 -0
- package/v2/model/UpdateDomainFullConfigResponse.ts +8 -0
- package/v2/model/UrlAuth.ts +91 -0
- package/v2/model/UrlAuthGetBody.ts +88 -0
- package/v2/model/UserAgentFilter.ts +28 -0
- package/v2/model/VideoSeek.ts +51 -0
- package/v2/model/WebSocketSeek.ts +18 -0
- package/v2/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-cdn.d.ts +0 -3
- package/huaweicloud-sdk-cdn.js +0 -32
- package/v1/CdnClient.d.ts +0 -1357
- package/v1/CdnRegion.d.ts +0 -6
- package/v1/CdnRegion.js +0 -25
- package/v1/model/BatchDeleteTagsRequest.d.ts +0 -6
- package/v1/model/BatchDeleteTagsRequest.js +0 -13
- package/v1/model/BatchDeleteTagsResponse.d.ts +0 -4
- package/v1/model/BatchDeleteTagsResponse.js +0 -27
- package/v1/model/BlackWhiteListBody.d.ts +0 -9
- package/v1/model/BlackWhiteListBody.js +0 -28
- package/v1/model/CacheConfig.d.ts +0 -17
- package/v1/model/CacheConfig.js +0 -45
- package/v1/model/CacheConfigRequest.d.ts +0 -17
- package/v1/model/CacheConfigRequest.js +0 -45
- package/v1/model/CacheConfigRequestBody.d.ts +0 -8
- package/v1/model/CacheConfigRequestBody.js +0 -24
- package/v1/model/CacheRules.d.ts +0 -31
- package/v1/model/CacheRules.js +0 -107
- package/v1/model/CacheUrlParameterFilter.d.ts +0 -7
- package/v1/model/CacheUrlParameterFilter.js +0 -17
- package/v1/model/CdnIps.d.ts +0 -13
- package/v1/model/CdnIps.js +0 -29
- package/v1/model/Compress.d.ts +0 -7
- package/v1/model/Compress.js +0 -18
- package/v1/model/CompressRequest.d.ts +0 -7
- package/v1/model/CompressRequest.js +0 -23
- package/v1/model/CompressResponse.d.ts +0 -12
- package/v1/model/CompressResponse.js +0 -38
- package/v1/model/CompressRules.d.ts +0 -11
- package/v1/model/CompressRules.js +0 -37
- package/v1/model/Configs.d.ts +0 -86
- package/v1/model/Configs.js +0 -235
- package/v1/model/ConfigsGetBody.d.ts +0 -86
- package/v1/model/ConfigsGetBody.js +0 -235
- package/v1/model/CreateDomainRequest.d.ts +0 -6
- package/v1/model/CreateDomainRequest.js +0 -13
- package/v1/model/CreateDomainRequestBody.d.ts +0 -6
- package/v1/model/CreateDomainRequestBody.js +0 -14
- package/v1/model/CreateDomainResponse.d.ts +0 -7
- package/v1/model/CreateDomainResponse.js +0 -31
- package/v1/model/CreateDomainResponseBodyContent.d.ts +0 -67
- package/v1/model/CreateDomainResponseBodyContent.js +0 -211
- package/v1/model/CreatePreheatingTasksRequest.d.ts +0 -10
- package/v1/model/CreatePreheatingTasksRequest.js +0 -27
- package/v1/model/CreatePreheatingTasksResponse.d.ts +0 -8
- package/v1/model/CreatePreheatingTasksResponse.js +0 -41
- package/v1/model/CreateRefreshTasksRequest.d.ts +0 -10
- package/v1/model/CreateRefreshTasksRequest.js +0 -27
- package/v1/model/CreateRefreshTasksResponse.d.ts +0 -8
- package/v1/model/CreateRefreshTasksResponse.js +0 -41
- package/v1/model/CreateTagsRequest.d.ts +0 -6
- package/v1/model/CreateTagsRequest.js +0 -13
- package/v1/model/CreateTagsRequestBody.d.ts +0 -9
- package/v1/model/CreateTagsRequestBody.js +0 -29
- package/v1/model/CreateTagsResponse.d.ts +0 -4
- package/v1/model/CreateTagsResponse.js +0 -27
- package/v1/model/DeleteDomainRequest.d.ts +0 -11
- package/v1/model/DeleteDomainRequest.js +0 -38
- package/v1/model/DeleteDomainResponse.d.ts +0 -7
- package/v1/model/DeleteDomainResponse.js +0 -31
- package/v1/model/DeleteTagsRequestBody.d.ts +0 -9
- package/v1/model/DeleteTagsRequestBody.js +0 -29
- package/v1/model/DisableDomainRequest.d.ts +0 -11
- package/v1/model/DisableDomainRequest.js +0 -38
- package/v1/model/DisableDomainResponse.d.ts +0 -7
- package/v1/model/DisableDomainResponse.js +0 -31
- package/v1/model/DomainBody.d.ts +0 -41
- package/v1/model/DomainBody.js +0 -94
- package/v1/model/DomainItemDetail.d.ts +0 -21
- package/v1/model/DomainItemDetail.js +0 -55
- package/v1/model/DomainItemLocationDetails.d.ts +0 -18
- package/v1/model/DomainItemLocationDetails.js +0 -55
- package/v1/model/DomainOriginHost.d.ts +0 -15
- package/v1/model/DomainOriginHost.js +0 -52
- package/v1/model/DomainRegion.d.ts +0 -17
- package/v1/model/DomainRegion.js +0 -37
- package/v1/model/Domains.d.ts +0 -91
- package/v1/model/Domains.js +0 -267
- package/v1/model/DomainsWithPort.d.ts +0 -88
- package/v1/model/DomainsWithPort.js +0 -263
- package/v1/model/EnableDomainRequest.d.ts +0 -11
- package/v1/model/EnableDomainRequest.js +0 -38
- package/v1/model/EnableDomainResponse.d.ts +0 -7
- package/v1/model/EnableDomainResponse.js +0 -31
- package/v1/model/EpResourceTag.d.ts +0 -7
- package/v1/model/EpResourceTag.js +0 -19
- package/v1/model/ErrorCodeCache.d.ts +0 -7
- package/v1/model/ErrorCodeCache.js +0 -17
- package/v1/model/ErrorCodeRedirectRules.d.ts +0 -15
- package/v1/model/ErrorCodeRedirectRules.js +0 -54
- package/v1/model/Follow302StatusBody.d.ts +0 -19
- package/v1/model/Follow302StatusBody.js +0 -46
- package/v1/model/Follow302StatusRequest.d.ts +0 -15
- package/v1/model/Follow302StatusRequest.js +0 -33
- package/v1/model/ForceRedirect.d.ts +0 -11
- package/v1/model/ForceRedirect.js +0 -38
- package/v1/model/ForceRedirectConfig.d.ts +0 -11
- package/v1/model/ForceRedirectConfig.js +0 -32
- package/v1/model/HeaderBody.d.ts +0 -6
- package/v1/model/HeaderBody.js +0 -13
- package/v1/model/HeaderMap.d.ts +0 -27
- package/v1/model/HeaderMap.js +0 -93
- package/v1/model/HttpGetBody.d.ts +0 -27
- package/v1/model/HttpGetBody.js +0 -93
- package/v1/model/HttpInfoRequest.d.ts +0 -6
- package/v1/model/HttpInfoRequest.js +0 -14
- package/v1/model/HttpInfoRequestBody.d.ts +0 -32
- package/v1/model/HttpInfoRequestBody.js +0 -103
- package/v1/model/HttpInfoResponseBody.d.ts +0 -36
- package/v1/model/HttpInfoResponseBody.js +0 -115
- package/v1/model/HttpPutBody.d.ts +0 -31
- package/v1/model/HttpPutBody.js +0 -107
- package/v1/model/HttpResponseHeader.d.ts +0 -9
- package/v1/model/HttpResponseHeader.js +0 -23
- package/v1/model/HttpsDetail.d.ts +0 -44
- package/v1/model/HttpsDetail.js +0 -143
- package/v1/model/IpFilter.d.ts +0 -7
- package/v1/model/IpFilter.js +0 -18
- package/v1/model/ListDomainsRequest.d.ts +0 -71
- package/v1/model/ListDomainsRequest.js +0 -170
- package/v1/model/ListDomainsResponse.d.ts +0 -9
- package/v1/model/ListDomainsResponse.js +0 -35
- package/v1/model/LogObject.d.ts +0 -21
- package/v1/model/LogObject.js +0 -63
- package/v1/model/ModelMap.d.ts +0 -7
- package/v1/model/ModelMap.js +0 -18
- package/v1/model/ModifyDomainConfigRequestBody.d.ts +0 -6
- package/v1/model/ModifyDomainConfigRequestBody.js +0 -13
- package/v1/model/OriginHostBody.d.ts +0 -19
- package/v1/model/OriginHostBody.js +0 -47
- package/v1/model/OriginHostRequest.d.ts +0 -8
- package/v1/model/OriginHostRequest.js +0 -24
- package/v1/model/OriginRangeBody.d.ts +0 -19
- package/v1/model/OriginRangeBody.js +0 -46
- package/v1/model/OriginRequest.d.ts +0 -6
- package/v1/model/OriginRequest.js +0 -14
- package/v1/model/OriginRequestHeader.d.ts +0 -9
- package/v1/model/OriginRequestHeader.js +0 -23
- package/v1/model/OriginRequestUrlRewrite.d.ts +0 -17
- package/v1/model/OriginRequestUrlRewrite.js +0 -58
- package/v1/model/PreheatingTaskRequest.d.ts +0 -8
- package/v1/model/PreheatingTaskRequest.js +0 -24
- package/v1/model/PreheatingTaskRequestBody.d.ts +0 -5
- package/v1/model/PreheatingTaskRequestBody.js +0 -14
- package/v1/model/Quotas.d.ts +0 -15
- package/v1/model/Quotas.js +0 -45
- package/v1/model/RangeStatusRequest.d.ts +0 -15
- package/v1/model/RangeStatusRequest.js +0 -33
- package/v1/model/Referer.d.ts +0 -15
- package/v1/model/Referer.js +0 -52
- package/v1/model/RefererBody.d.ts +0 -6
- package/v1/model/RefererBody.js +0 -14
- package/v1/model/RefererConfig.d.ts +0 -11
- package/v1/model/RefererConfig.js +0 -32
- package/v1/model/RefererRsp.d.ts +0 -15
- package/v1/model/RefererRsp.js +0 -51
- package/v1/model/RefreshTaskRequest.d.ts +0 -8
- package/v1/model/RefreshTaskRequest.js +0 -24
- package/v1/model/RefreshTaskRequestBody.d.ts +0 -25
- package/v1/model/RefreshTaskRequestBody.js +0 -40
- package/v1/model/ResourceBody.d.ts +0 -6
- package/v1/model/ResourceBody.js +0 -14
- package/v1/model/Rules.d.ts +0 -17
- package/v1/model/Rules.js +0 -53
- package/v1/model/ShowBlackWhiteListRequest.d.ts +0 -11
- package/v1/model/ShowBlackWhiteListRequest.js +0 -38
- package/v1/model/ShowBlackWhiteListResponse.d.ts +0 -10
- package/v1/model/ShowBlackWhiteListResponse.js +0 -45
- package/v1/model/ShowCacheRulesRequest.d.ts +0 -11
- package/v1/model/ShowCacheRulesRequest.js +0 -38
- package/v1/model/ShowCacheRulesResponse.d.ts +0 -9
- package/v1/model/ShowCacheRulesResponse.js +0 -41
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +0 -23
- package/v1/model/ShowCertificatesHttpsInfoRequest.js +0 -79
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +0 -9
- package/v1/model/ShowCertificatesHttpsInfoResponse.js +0 -35
- package/v1/model/ShowDomainDetailRequest.d.ts +0 -11
- package/v1/model/ShowDomainDetailRequest.js +0 -38
- package/v1/model/ShowDomainDetailResponse.d.ts +0 -7
- package/v1/model/ShowDomainDetailResponse.js +0 -31
- package/v1/model/ShowDomainFullConfigRequest.d.ts +0 -11
- package/v1/model/ShowDomainFullConfigRequest.js +0 -38
- package/v1/model/ShowDomainFullConfigResponse.d.ts +0 -7
- package/v1/model/ShowDomainFullConfigResponse.js +0 -31
- package/v1/model/ShowDomainItemDetailsRequest.d.ts +0 -27
- package/v1/model/ShowDomainItemDetailsRequest.js +0 -97
- package/v1/model/ShowDomainItemDetailsResponse.d.ts +0 -9
- package/v1/model/ShowDomainItemDetailsResponse.js +0 -41
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +0 -27
- package/v1/model/ShowDomainItemLocationDetailsRequest.js +0 -93
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +0 -9
- package/v1/model/ShowDomainItemLocationDetailsResponse.js +0 -41
- package/v1/model/ShowDomainLocationStatsRequest.d.ts +0 -37
- package/v1/model/ShowDomainLocationStatsRequest.js +0 -118
- package/v1/model/ShowDomainLocationStatsResponse.d.ts +0 -14
- package/v1/model/ShowDomainLocationStatsResponse.js +0 -45
- package/v1/model/ShowDomainStatsRequest.d.ts +0 -35
- package/v1/model/ShowDomainStatsRequest.js +0 -120
- package/v1/model/ShowDomainStatsResponse.d.ts +0 -10
- package/v1/model/ShowDomainStatsResponse.js +0 -31
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +0 -27
- package/v1/model/ShowHistoryTaskDetailsRequest.js +0 -88
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +0 -31
- package/v1/model/ShowHistoryTaskDetailsResponse.js +0 -97
- package/v1/model/ShowHistoryTasksRequest.d.ts +0 -53
- package/v1/model/ShowHistoryTasksRequest.js +0 -143
- package/v1/model/ShowHistoryTasksResponse.d.ts +0 -9
- package/v1/model/ShowHistoryTasksResponse.js +0 -35
- package/v1/model/ShowHttpInfoRequest.d.ts +0 -11
- package/v1/model/ShowHttpInfoRequest.js +0 -38
- package/v1/model/ShowHttpInfoResponse.d.ts +0 -7
- package/v1/model/ShowHttpInfoResponse.js +0 -31
- package/v1/model/ShowIpInfoRequest.d.ts +0 -9
- package/v1/model/ShowIpInfoRequest.js +0 -28
- package/v1/model/ShowIpInfoResponse.d.ts +0 -9
- package/v1/model/ShowIpInfoResponse.js +0 -41
- package/v1/model/ShowLogsRequest.d.ts +0 -27
- package/v1/model/ShowLogsRequest.js +0 -94
- package/v1/model/ShowLogsResponse.d.ts +0 -9
- package/v1/model/ShowLogsResponse.js +0 -35
- package/v1/model/ShowOriginHostRequest.d.ts +0 -11
- package/v1/model/ShowOriginHostRequest.js +0 -38
- package/v1/model/ShowOriginHostResponse.d.ts +0 -9
- package/v1/model/ShowOriginHostResponse.js +0 -41
- package/v1/model/ShowQuotaRequest.d.ts +0 -3
- package/v1/model/ShowQuotaRequest.js +0 -9
- package/v1/model/ShowQuotaResponse.d.ts +0 -7
- package/v1/model/ShowQuotaResponse.js +0 -31
- package/v1/model/ShowReferRequest.d.ts +0 -11
- package/v1/model/ShowReferRequest.js +0 -38
- package/v1/model/ShowReferResponse.d.ts +0 -7
- package/v1/model/ShowReferResponse.js +0 -31
- package/v1/model/ShowResponseHeaderRequest.d.ts +0 -11
- package/v1/model/ShowResponseHeaderRequest.js +0 -38
- package/v1/model/ShowResponseHeaderResponse.d.ts +0 -7
- package/v1/model/ShowResponseHeaderResponse.js +0 -31
- package/v1/model/ShowTagsRequest.d.ts +0 -7
- package/v1/model/ShowTagsRequest.js +0 -24
- package/v1/model/ShowTagsResponse.d.ts +0 -6
- package/v1/model/ShowTagsResponse.js +0 -31
- package/v1/model/ShowTopUrlRequest.d.ts +0 -43
- package/v1/model/ShowTopUrlRequest.js +0 -115
- package/v1/model/ShowTopUrlResponse.d.ts +0 -13
- package/v1/model/ShowTopUrlResponse.js +0 -55
- package/v1/model/ShowUrlTaskInfoRequest.d.ts +0 -27
- package/v1/model/ShowUrlTaskInfoRequest.js +0 -81
- package/v1/model/ShowUrlTaskInfoResponse.d.ts +0 -15
- package/v1/model/ShowUrlTaskInfoResponse.js +0 -53
- package/v1/model/SourceWithPort.d.ts +0 -40
- package/v1/model/SourceWithPort.js +0 -120
- package/v1/model/Sources.d.ts +0 -32
- package/v1/model/Sources.js +0 -92
- package/v1/model/SourcesConfig.d.ts +0 -29
- package/v1/model/SourcesConfig.js +0 -100
- package/v1/model/TasksObject.d.ts +0 -43
- package/v1/model/TasksObject.js +0 -93
- package/v1/model/TopUrlSummary.d.ts +0 -19
- package/v1/model/TopUrlSummary.js +0 -59
- package/v1/model/UpdateBlackWhiteListRequest.d.ts +0 -14
- package/v1/model/UpdateBlackWhiteListRequest.js +0 -42
- package/v1/model/UpdateBlackWhiteListResponse.d.ts +0 -10
- package/v1/model/UpdateBlackWhiteListResponse.js +0 -39
- package/v1/model/UpdateCacheRulesRequest.d.ts +0 -14
- package/v1/model/UpdateCacheRulesRequest.js +0 -42
- package/v1/model/UpdateCacheRulesResponse.d.ts +0 -9
- package/v1/model/UpdateCacheRulesResponse.js +0 -41
- package/v1/model/UpdateDomainFullConfigRequest.d.ts +0 -14
- package/v1/model/UpdateDomainFullConfigRequest.js +0 -42
- package/v1/model/UpdateDomainFullConfigResponse.d.ts +0 -4
- package/v1/model/UpdateDomainFullConfigResponse.js +0 -27
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +0 -10
- package/v1/model/UpdateDomainMultiCertificatesRequest.js +0 -27
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +0 -6
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +0 -13
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +0 -40
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +0 -131
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +0 -7
- package/v1/model/UpdateDomainMultiCertificatesResponse.js +0 -31
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +0 -40
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +0 -130
- package/v1/model/UpdateDomainOriginRequest.d.ts +0 -14
- package/v1/model/UpdateDomainOriginRequest.js +0 -42
- package/v1/model/UpdateDomainOriginResponse.d.ts +0 -7
- package/v1/model/UpdateDomainOriginResponse.js +0 -31
- package/v1/model/UpdateFollow302SwitchRequest.d.ts +0 -14
- package/v1/model/UpdateFollow302SwitchRequest.js +0 -42
- package/v1/model/UpdateFollow302SwitchResponse.d.ts +0 -9
- package/v1/model/UpdateFollow302SwitchResponse.js +0 -41
- package/v1/model/UpdateHttpsInfoRequest.d.ts +0 -14
- package/v1/model/UpdateHttpsInfoRequest.js +0 -42
- package/v1/model/UpdateHttpsInfoResponse.d.ts +0 -7
- package/v1/model/UpdateHttpsInfoResponse.js +0 -31
- package/v1/model/UpdateOriginHostRequest.d.ts +0 -14
- package/v1/model/UpdateOriginHostRequest.js +0 -42
- package/v1/model/UpdateOriginHostResponse.d.ts +0 -9
- package/v1/model/UpdateOriginHostResponse.js +0 -41
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts +0 -5
- package/v1/model/UpdatePrivateBucketAccessBody.js +0 -13
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +0 -14
- package/v1/model/UpdatePrivateBucketAccessRequest.js +0 -42
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +0 -6
- package/v1/model/UpdatePrivateBucketAccessResponse.js +0 -31
- package/v1/model/UpdateRangeSwitchRequest.d.ts +0 -14
- package/v1/model/UpdateRangeSwitchRequest.js +0 -42
- package/v1/model/UpdateRangeSwitchResponse.d.ts +0 -9
- package/v1/model/UpdateRangeSwitchResponse.js +0 -41
- package/v1/model/UpdateReferRequest.d.ts +0 -14
- package/v1/model/UpdateReferRequest.js +0 -42
- package/v1/model/UpdateReferResponse.d.ts +0 -7
- package/v1/model/UpdateReferResponse.js +0 -31
- package/v1/model/UpdateResponseHeaderRequest.d.ts +0 -14
- package/v1/model/UpdateResponseHeaderRequest.js +0 -42
- package/v1/model/UpdateResponseHeaderResponse.d.ts +0 -7
- package/v1/model/UpdateResponseHeaderResponse.js +0 -31
- package/v1/model/UrlAuth.d.ts +0 -17
- package/v1/model/UrlAuth.js +0 -50
- package/v1/model/UrlAuthGetBody.d.ts +0 -15
- package/v1/model/UrlAuthGetBody.js +0 -46
- package/v1/model/UrlObject.d.ts +0 -21
- package/v1/model/UrlObject.js +0 -63
- package/v1/model/Urls.d.ts +0 -27
- package/v1/model/Urls.js +0 -81
- package/v1/model/UserAgentFilter.d.ts +0 -7
- package/v1/model/UserAgentFilter.js +0 -18
- package/v1/public-api.js +0 -178
- package/v2/CdnClient.d.ts +0 -650
- package/v2/CdnRegion.d.ts +0 -6
- package/v2/CdnRegion.js +0 -25
- package/v2/model/BackSources.d.ts +0 -23
- package/v2/model/BackSources.js +0 -81
- package/v2/model/BatchCopyConfigs.d.ts +0 -15
- package/v2/model/BatchCopyConfigs.js +0 -54
- package/v2/model/BatchCopyDRequestBody.d.ts +0 -6
- package/v2/model/BatchCopyDRequestBody.js +0 -14
- package/v2/model/BatchCopyDomainRequest.d.ts +0 -6
- package/v2/model/BatchCopyDomainRequest.js +0 -13
- package/v2/model/BatchCopyDomainResponse.d.ts +0 -7
- package/v2/model/BatchCopyDomainResponse.js +0 -31
- package/v2/model/BatchCopyErrorRsp.d.ts +0 -6
- package/v2/model/BatchCopyErrorRsp.js +0 -13
- package/v2/model/BatchCopyErrorRspError.d.ts +0 -11
- package/v2/model/BatchCopyErrorRspError.js +0 -37
- package/v2/model/BatchCopyResultVo.d.ts +0 -19
- package/v2/model/BatchCopyResultVo.js +0 -42
- package/v2/model/CacheRules.d.ts +0 -31
- package/v2/model/CacheRules.js +0 -107
- package/v2/model/CacheUrlParameterFilter.d.ts +0 -7
- package/v2/model/CacheUrlParameterFilter.js +0 -17
- package/v2/model/CommonRemoteAuth.d.ts +0 -12
- package/v2/model/CommonRemoteAuth.js +0 -39
- package/v2/model/Compress.d.ts +0 -11
- package/v2/model/Compress.js +0 -33
- package/v2/model/Configs.d.ts +0 -125
- package/v2/model/Configs.js +0 -351
- package/v2/model/ConfigsGetBody.d.ts +0 -125
- package/v2/model/ConfigsGetBody.js +0 -351
- package/v2/model/CustomArgs.d.ts +0 -9
- package/v2/model/CustomArgs.js +0 -24
- package/v2/model/DomainOriginHost.d.ts +0 -15
- package/v2/model/DomainOriginHost.js +0 -52
- package/v2/model/Domains.d.ts +0 -87
- package/v2/model/Domains.js +0 -253
- package/v2/model/DomainsWithPort.d.ts +0 -51
- package/v2/model/DomainsWithPort.js +0 -137
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +0 -35
- package/v2/model/DownloadRegionCarrierExcelRequest.js +0 -113
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +0 -4
- package/v2/model/DownloadRegionCarrierExcelResponse.js +0 -27
- package/v2/model/DownloadStatisticsExcelRequest.d.ts +0 -33
- package/v2/model/DownloadStatisticsExcelRequest.js +0 -115
- package/v2/model/DownloadStatisticsExcelResponse.d.ts +0 -4
- package/v2/model/DownloadStatisticsExcelResponse.js +0 -27
- package/v2/model/EpResourceTag.d.ts +0 -7
- package/v2/model/EpResourceTag.js +0 -19
- package/v2/model/ErrMsg.d.ts +0 -11
- package/v2/model/ErrMsg.js +0 -39
- package/v2/model/ErrRsp.d.ts +0 -6
- package/v2/model/ErrRsp.js +0 -14
- package/v2/model/ErrorCodeCache.d.ts +0 -7
- package/v2/model/ErrorCodeCache.js +0 -17
- package/v2/model/ErrorCodeRedirectRules.d.ts +0 -15
- package/v2/model/ErrorCodeRedirectRules.js +0 -54
- package/v2/model/FlexibleOrigins.d.ts +0 -18
- package/v2/model/FlexibleOrigins.js +0 -59
- package/v2/model/ForceRedirectConfig.d.ts +0 -11
- package/v2/model/ForceRedirectConfig.js +0 -32
- package/v2/model/HttpGetBody.d.ts +0 -39
- package/v2/model/HttpGetBody.js +0 -135
- package/v2/model/HttpPutBody.d.ts +0 -39
- package/v2/model/HttpPutBody.js +0 -135
- package/v2/model/HttpResponseHeader.d.ts +0 -9
- package/v2/model/HttpResponseHeader.js +0 -23
- package/v2/model/IpFilter.d.ts +0 -7
- package/v2/model/IpFilter.js +0 -18
- package/v2/model/ListDomainsRequest.d.ts +0 -39
- package/v2/model/ListDomainsRequest.js +0 -135
- package/v2/model/ListDomainsResponse.d.ts +0 -9
- package/v2/model/ListDomainsResponse.js +0 -35
- package/v2/model/ModifyDomainConfigRequestBody.d.ts +0 -6
- package/v2/model/ModifyDomainConfigRequestBody.js +0 -13
- package/v2/model/OriginRequestHeader.d.ts +0 -9
- package/v2/model/OriginRequestHeader.js +0 -23
- package/v2/model/OriginRequestUrlRewrite.d.ts +0 -17
- package/v2/model/OriginRequestUrlRewrite.js +0 -58
- package/v2/model/RefererConfig.d.ts +0 -11
- package/v2/model/RefererConfig.js +0 -32
- package/v2/model/RemoteAuthRuleVo.d.ts +0 -62
- package/v2/model/RemoteAuthRuleVo.js +0 -219
- package/v2/model/RequestLimitRules.d.ts +0 -15
- package/v2/model/RequestLimitRules.js +0 -47
- package/v2/model/SetChargeModesBody.d.ts +0 -15
- package/v2/model/SetChargeModesBody.js +0 -54
- package/v2/model/SetChargeModesRequest.d.ts +0 -6
- package/v2/model/SetChargeModesRequest.js +0 -13
- package/v2/model/SetChargeModesResponse.d.ts +0 -26
- package/v2/model/SetChargeModesResponse.js +0 -101
- package/v2/model/ShowBandwidthCalcRequest.d.ts +0 -27
- package/v2/model/ShowBandwidthCalcRequest.js +0 -97
- package/v2/model/ShowBandwidthCalcResponse.d.ts +0 -14
- package/v2/model/ShowBandwidthCalcResponse.js +0 -41
- package/v2/model/ShowChargeModesRequest.d.ts +0 -13
- package/v2/model/ShowChargeModesRequest.js +0 -42
- package/v2/model/ShowChargeModesResponse.d.ts +0 -10
- package/v2/model/ShowChargeModesResponse.js +0 -31
- package/v2/model/ShowDomainDetailByNameRequest.d.ts +0 -11
- package/v2/model/ShowDomainDetailByNameRequest.js +0 -38
- package/v2/model/ShowDomainDetailByNameResponse.d.ts +0 -7
- package/v2/model/ShowDomainDetailByNameResponse.js +0 -31
- package/v2/model/ShowDomainFullConfigRequest.d.ts +0 -15
- package/v2/model/ShowDomainFullConfigRequest.js +0 -52
- package/v2/model/ShowDomainFullConfigResponse.d.ts +0 -7
- package/v2/model/ShowDomainFullConfigResponse.js +0 -31
- package/v2/model/ShowDomainLocationStatsRequest.d.ts +0 -37
- package/v2/model/ShowDomainLocationStatsRequest.js +0 -118
- package/v2/model/ShowDomainLocationStatsResponse.d.ts +0 -14
- package/v2/model/ShowDomainLocationStatsResponse.js +0 -45
- package/v2/model/ShowDomainStatsRequest.d.ts +0 -35
- package/v2/model/ShowDomainStatsRequest.js +0 -120
- package/v2/model/ShowDomainStatsResponse.d.ts +0 -10
- package/v2/model/ShowDomainStatsResponse.js +0 -31
- package/v2/model/ShowTopDomainNamesRequest.d.ts +0 -25
- package/v2/model/ShowTopDomainNamesRequest.js +0 -86
- package/v2/model/ShowTopDomainNamesResponse.d.ts +0 -14
- package/v2/model/ShowTopDomainNamesResponse.js +0 -41
- package/v2/model/ShowTopUrlRequest.d.ts +0 -27
- package/v2/model/ShowTopUrlRequest.js +0 -97
- package/v2/model/ShowTopUrlResponse.d.ts +0 -13
- package/v2/model/ShowTopUrlResponse.js +0 -55
- package/v2/model/Sources.d.ts +0 -32
- package/v2/model/Sources.js +0 -92
- package/v2/model/SourcesConfig.d.ts +0 -35
- package/v2/model/SourcesConfig.js +0 -118
- package/v2/model/TopUrlSummary.d.ts +0 -19
- package/v2/model/TopUrlSummary.js +0 -59
- package/v2/model/UpdateDomainFullConfigRequest.d.ts +0 -14
- package/v2/model/UpdateDomainFullConfigRequest.js +0 -42
- package/v2/model/UpdateDomainFullConfigResponse.d.ts +0 -4
- package/v2/model/UpdateDomainFullConfigResponse.js +0 -27
- package/v2/model/UrlAuth.d.ts +0 -33
- package/v2/model/UrlAuth.js +0 -109
- package/v2/model/UrlAuthGetBody.d.ts +0 -33
- package/v2/model/UrlAuthGetBody.js +0 -106
- package/v2/model/UserAgentFilter.d.ts +0 -11
- package/v2/model/UserAgentFilter.js +0 -32
- package/v2/model/VideoSeek.d.ts +0 -19
- package/v2/model/VideoSeek.js +0 -66
- package/v2/model/WebSocketSeek.d.ts +0 -7
- package/v2/model/WebSocketSeek.js +0 -19
- package/v2/public-api.js +0 -88
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class EnableDomainRequest {
|
4
|
+
private 'domain_id': string | undefined;
|
5
|
+
private 'enterprise_project_id'?: string | undefined;
|
6
|
+
public constructor(domainId?: any) {
|
7
|
+
this['domain_id'] = domainId;
|
8
|
+
}
|
9
|
+
public withDomainId(domainId: string): EnableDomainRequest {
|
10
|
+
this['domain_id'] = domainId;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
public set domainId(domainId: string | undefined) {
|
14
|
+
this['domain_id'] = domainId;
|
15
|
+
}
|
16
|
+
public get domainId() {
|
17
|
+
return this['domain_id'];
|
18
|
+
}
|
19
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): EnableDomainRequest {
|
20
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
24
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
25
|
+
}
|
26
|
+
public get enterpriseProjectId() {
|
27
|
+
return this['enterprise_project_id'];
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { DomainsWithPort } from './DomainsWithPort';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class EnableDomainResponse extends SdkResponse {
|
6
|
+
public domain?: DomainsWithPort;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withDomain(domain: DomainsWithPort): EnableDomainResponse {
|
11
|
+
this['domain'] = domain;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class EpResourceTag {
|
4
|
+
public key: string;
|
5
|
+
public value: string;
|
6
|
+
public constructor(key?: any, value?: any) {
|
7
|
+
this['key'] = key;
|
8
|
+
this['value'] = value;
|
9
|
+
}
|
10
|
+
public withKey(key: string): EpResourceTag {
|
11
|
+
this['key'] = key;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public withValue(value: string): EpResourceTag {
|
15
|
+
this['value'] = value;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ErrorCodeCache {
|
4
|
+
public code?: number;
|
5
|
+
public ttl?: number;
|
6
|
+
public constructor() {
|
7
|
+
}
|
8
|
+
public withCode(code: number): ErrorCodeCache {
|
9
|
+
this['code'] = code;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public withTtl(ttl: number): ErrorCodeCache {
|
13
|
+
this['ttl'] = ttl;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ErrorCodeRedirectRules {
|
4
|
+
private 'error_code': number | undefined;
|
5
|
+
private 'target_code': number | undefined;
|
6
|
+
private 'target_link': string | undefined;
|
7
|
+
public constructor(errorCode?: any, targetCode?: any, targetLink?: any) {
|
8
|
+
this['error_code'] = errorCode;
|
9
|
+
this['target_code'] = targetCode;
|
10
|
+
this['target_link'] = targetLink;
|
11
|
+
}
|
12
|
+
public withErrorCode(errorCode: number): ErrorCodeRedirectRules {
|
13
|
+
this['error_code'] = errorCode;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set errorCode(errorCode: number | undefined) {
|
17
|
+
this['error_code'] = errorCode;
|
18
|
+
}
|
19
|
+
public get errorCode() {
|
20
|
+
return this['error_code'];
|
21
|
+
}
|
22
|
+
public withTargetCode(targetCode: number): ErrorCodeRedirectRules {
|
23
|
+
this['target_code'] = targetCode;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set targetCode(targetCode: number | undefined) {
|
27
|
+
this['target_code'] = targetCode;
|
28
|
+
}
|
29
|
+
public get targetCode() {
|
30
|
+
return this['target_code'];
|
31
|
+
}
|
32
|
+
public withTargetLink(targetLink: string): ErrorCodeRedirectRules {
|
33
|
+
this['target_link'] = targetLink;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set targetLink(targetLink: string | undefined) {
|
37
|
+
this['target_link'] = targetLink;
|
38
|
+
}
|
39
|
+
public get targetLink() {
|
40
|
+
return this['target_link'];
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class Follow302StatusBody {
|
4
|
+
private 'domain_id'?: string | undefined;
|
5
|
+
private 'follow_status'?: Follow302StatusBodyFollowStatusEnum | undefined;
|
6
|
+
public constructor() {
|
7
|
+
}
|
8
|
+
public withDomainId(domainId: string): Follow302StatusBody {
|
9
|
+
this['domain_id'] = domainId;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public set domainId(domainId: string | undefined) {
|
13
|
+
this['domain_id'] = domainId;
|
14
|
+
}
|
15
|
+
public get domainId() {
|
16
|
+
return this['domain_id'];
|
17
|
+
}
|
18
|
+
public withFollowStatus(followStatus: Follow302StatusBodyFollowStatusEnum): Follow302StatusBody {
|
19
|
+
this['follow_status'] = followStatus;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
public set followStatus(followStatus: Follow302StatusBodyFollowStatusEnum | undefined) {
|
23
|
+
this['follow_status'] = followStatus;
|
24
|
+
}
|
25
|
+
public get followStatus() {
|
26
|
+
return this['follow_status'];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
/**
|
31
|
+
* @export
|
32
|
+
* @enum {string}
|
33
|
+
*/
|
34
|
+
export enum Follow302StatusBodyFollowStatusEnum {
|
35
|
+
OFF = 'off',
|
36
|
+
ON = 'on'
|
37
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class Follow302StatusRequest {
|
4
|
+
private 'follow302_status': Follow302StatusRequestFollow302StatusEnum | undefined;
|
5
|
+
public constructor(follow302Status?: any) {
|
6
|
+
this['follow302_status'] = follow302Status;
|
7
|
+
}
|
8
|
+
public withFollow302Status(follow302Status: Follow302StatusRequestFollow302StatusEnum): Follow302StatusRequest {
|
9
|
+
this['follow302_status'] = follow302Status;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public set follow302Status(follow302Status: Follow302StatusRequestFollow302StatusEnum | undefined) {
|
13
|
+
this['follow302_status'] = follow302Status;
|
14
|
+
}
|
15
|
+
public get follow302Status() {
|
16
|
+
return this['follow302_status'];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
/**
|
21
|
+
* @export
|
22
|
+
* @enum {string}
|
23
|
+
*/
|
24
|
+
export enum Follow302StatusRequestFollow302StatusEnum {
|
25
|
+
OFF = 'off',
|
26
|
+
ON = 'on'
|
27
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ForceRedirect {
|
4
|
+
private 'switch': number | undefined;
|
5
|
+
private 'redirect_type'?: string | undefined;
|
6
|
+
public constructor(_switch?: any) {
|
7
|
+
this['switch'] = _switch;
|
8
|
+
}
|
9
|
+
public withSwitch(_switch: number): ForceRedirect {
|
10
|
+
this['switch'] = _switch;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
public set _switch(_switch: number | undefined) {
|
14
|
+
this['switch'] = _switch;
|
15
|
+
}
|
16
|
+
public get _switch() {
|
17
|
+
return this['switch'];
|
18
|
+
}
|
19
|
+
public withRedirectType(redirectType: string): ForceRedirect {
|
20
|
+
this['redirect_type'] = redirectType;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
public set redirectType(redirectType: string | undefined) {
|
24
|
+
this['redirect_type'] = redirectType;
|
25
|
+
}
|
26
|
+
public get redirectType() {
|
27
|
+
return this['redirect_type'];
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ForceRedirectConfig {
|
4
|
+
public status: string;
|
5
|
+
public type?: string;
|
6
|
+
private 'redirect_code'?: number | undefined;
|
7
|
+
public constructor(status?: any) {
|
8
|
+
this['status'] = status;
|
9
|
+
}
|
10
|
+
public withStatus(status: string): ForceRedirectConfig {
|
11
|
+
this['status'] = status;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public withType(type: string): ForceRedirectConfig {
|
15
|
+
this['type'] = type;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
public withRedirectCode(redirectCode: number): ForceRedirectConfig {
|
19
|
+
this['redirect_code'] = redirectCode;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
public set redirectCode(redirectCode: number | undefined) {
|
23
|
+
this['redirect_code'] = redirectCode;
|
24
|
+
}
|
25
|
+
public get redirectCode() {
|
26
|
+
return this['redirect_code'];
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class HeaderMap {
|
4
|
+
private 'Content-Disposition'?: string | undefined;
|
5
|
+
private 'Content-Language'?: string | undefined;
|
6
|
+
private 'Access-Control-Allow-Origin'?: string | undefined;
|
7
|
+
private 'Access-Control-Allow-Methods'?: string | undefined;
|
8
|
+
private 'Access-Control-Max-Age'?: string | undefined;
|
9
|
+
private 'Access-Control-Expose-Headers'?: string | undefined;
|
10
|
+
public constructor() {
|
11
|
+
}
|
12
|
+
public withContentDisposition(contentDisposition: string): HeaderMap {
|
13
|
+
this['Content-Disposition'] = contentDisposition;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set contentDisposition(contentDisposition: string | undefined) {
|
17
|
+
this['Content-Disposition'] = contentDisposition;
|
18
|
+
}
|
19
|
+
public get contentDisposition() {
|
20
|
+
return this['Content-Disposition'];
|
21
|
+
}
|
22
|
+
public withContentLanguage(contentLanguage: string): HeaderMap {
|
23
|
+
this['Content-Language'] = contentLanguage;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set contentLanguage(contentLanguage: string | undefined) {
|
27
|
+
this['Content-Language'] = contentLanguage;
|
28
|
+
}
|
29
|
+
public get contentLanguage() {
|
30
|
+
return this['Content-Language'];
|
31
|
+
}
|
32
|
+
public withAccessControlAllowOrigin(accessControlAllowOrigin: string): HeaderMap {
|
33
|
+
this['Access-Control-Allow-Origin'] = accessControlAllowOrigin;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set accessControlAllowOrigin(accessControlAllowOrigin: string | undefined) {
|
37
|
+
this['Access-Control-Allow-Origin'] = accessControlAllowOrigin;
|
38
|
+
}
|
39
|
+
public get accessControlAllowOrigin() {
|
40
|
+
return this['Access-Control-Allow-Origin'];
|
41
|
+
}
|
42
|
+
public withAccessControlAllowMethods(accessControlAllowMethods: string): HeaderMap {
|
43
|
+
this['Access-Control-Allow-Methods'] = accessControlAllowMethods;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
public set accessControlAllowMethods(accessControlAllowMethods: string | undefined) {
|
47
|
+
this['Access-Control-Allow-Methods'] = accessControlAllowMethods;
|
48
|
+
}
|
49
|
+
public get accessControlAllowMethods() {
|
50
|
+
return this['Access-Control-Allow-Methods'];
|
51
|
+
}
|
52
|
+
public withAccessControlMaxAge(accessControlMaxAge: string): HeaderMap {
|
53
|
+
this['Access-Control-Max-Age'] = accessControlMaxAge;
|
54
|
+
return this;
|
55
|
+
}
|
56
|
+
public set accessControlMaxAge(accessControlMaxAge: string | undefined) {
|
57
|
+
this['Access-Control-Max-Age'] = accessControlMaxAge;
|
58
|
+
}
|
59
|
+
public get accessControlMaxAge() {
|
60
|
+
return this['Access-Control-Max-Age'];
|
61
|
+
}
|
62
|
+
public withAccessControlExposeHeaders(accessControlExposeHeaders: string): HeaderMap {
|
63
|
+
this['Access-Control-Expose-Headers'] = accessControlExposeHeaders;
|
64
|
+
return this;
|
65
|
+
}
|
66
|
+
public set accessControlExposeHeaders(accessControlExposeHeaders: string | undefined) {
|
67
|
+
this['Access-Control-Expose-Headers'] = accessControlExposeHeaders;
|
68
|
+
}
|
69
|
+
public get accessControlExposeHeaders() {
|
70
|
+
return this['Access-Control-Expose-Headers'];
|
71
|
+
}
|
72
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class HttpGetBody {
|
4
|
+
private 'https_status'?: string | undefined;
|
5
|
+
private 'certificate_name'?: string | undefined;
|
6
|
+
private 'certificate_value'?: string | undefined;
|
7
|
+
private 'certificate_source'?: number | undefined;
|
8
|
+
private 'http2_status'?: string | undefined;
|
9
|
+
private 'tls_version'?: string | undefined;
|
10
|
+
public constructor() {
|
11
|
+
}
|
12
|
+
public withHttpsStatus(httpsStatus: string): HttpGetBody {
|
13
|
+
this['https_status'] = httpsStatus;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set httpsStatus(httpsStatus: string | undefined) {
|
17
|
+
this['https_status'] = httpsStatus;
|
18
|
+
}
|
19
|
+
public get httpsStatus() {
|
20
|
+
return this['https_status'];
|
21
|
+
}
|
22
|
+
public withCertificateName(certificateName: string): HttpGetBody {
|
23
|
+
this['certificate_name'] = certificateName;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set certificateName(certificateName: string | undefined) {
|
27
|
+
this['certificate_name'] = certificateName;
|
28
|
+
}
|
29
|
+
public get certificateName() {
|
30
|
+
return this['certificate_name'];
|
31
|
+
}
|
32
|
+
public withCertificateValue(certificateValue: string): HttpGetBody {
|
33
|
+
this['certificate_value'] = certificateValue;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set certificateValue(certificateValue: string | undefined) {
|
37
|
+
this['certificate_value'] = certificateValue;
|
38
|
+
}
|
39
|
+
public get certificateValue() {
|
40
|
+
return this['certificate_value'];
|
41
|
+
}
|
42
|
+
public withCertificateSource(certificateSource: number): HttpGetBody {
|
43
|
+
this['certificate_source'] = certificateSource;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
public set certificateSource(certificateSource: number | undefined) {
|
47
|
+
this['certificate_source'] = certificateSource;
|
48
|
+
}
|
49
|
+
public get certificateSource() {
|
50
|
+
return this['certificate_source'];
|
51
|
+
}
|
52
|
+
public withHttp2Status(http2Status: string): HttpGetBody {
|
53
|
+
this['http2_status'] = http2Status;
|
54
|
+
return this;
|
55
|
+
}
|
56
|
+
public set http2Status(http2Status: string | undefined) {
|
57
|
+
this['http2_status'] = http2Status;
|
58
|
+
}
|
59
|
+
public get http2Status() {
|
60
|
+
return this['http2_status'];
|
61
|
+
}
|
62
|
+
public withTlsVersion(tlsVersion: string): HttpGetBody {
|
63
|
+
this['tls_version'] = tlsVersion;
|
64
|
+
return this;
|
65
|
+
}
|
66
|
+
public set tlsVersion(tlsVersion: string | undefined) {
|
67
|
+
this['tls_version'] = tlsVersion;
|
68
|
+
}
|
69
|
+
public get tlsVersion() {
|
70
|
+
return this['tls_version'];
|
71
|
+
}
|
72
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { HttpInfoRequestBody } from './HttpInfoRequestBody';
|
2
|
+
|
3
|
+
|
4
|
+
export class HttpInfoRequest {
|
5
|
+
public https: HttpInfoRequestBody;
|
6
|
+
public constructor(https?: any) {
|
7
|
+
this['https'] = https;
|
8
|
+
}
|
9
|
+
public withHttps(https: HttpInfoRequestBody): HttpInfoRequest {
|
10
|
+
this['https'] = https;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import { ForceRedirect } from './ForceRedirect';
|
2
|
+
|
3
|
+
|
4
|
+
export class HttpInfoRequestBody {
|
5
|
+
private 'cert_name': string | undefined;
|
6
|
+
private 'https_status': number | undefined;
|
7
|
+
public certificate?: string;
|
8
|
+
private 'private_key'?: string | undefined;
|
9
|
+
public http2?: number;
|
10
|
+
private 'certificate_type'?: number | undefined;
|
11
|
+
private 'force_redirect_https'?: number | undefined;
|
12
|
+
private 'force_redirect_config'?: ForceRedirect | undefined;
|
13
|
+
public constructor(certName?: any, httpsStatus?: any) {
|
14
|
+
this['cert_name'] = certName;
|
15
|
+
this['https_status'] = httpsStatus;
|
16
|
+
}
|
17
|
+
public withCertName(certName: string): HttpInfoRequestBody {
|
18
|
+
this['cert_name'] = certName;
|
19
|
+
return this;
|
20
|
+
}
|
21
|
+
public set certName(certName: string | undefined) {
|
22
|
+
this['cert_name'] = certName;
|
23
|
+
}
|
24
|
+
public get certName() {
|
25
|
+
return this['cert_name'];
|
26
|
+
}
|
27
|
+
public withHttpsStatus(httpsStatus: number): HttpInfoRequestBody {
|
28
|
+
this['https_status'] = httpsStatus;
|
29
|
+
return this;
|
30
|
+
}
|
31
|
+
public set httpsStatus(httpsStatus: number | undefined) {
|
32
|
+
this['https_status'] = httpsStatus;
|
33
|
+
}
|
34
|
+
public get httpsStatus() {
|
35
|
+
return this['https_status'];
|
36
|
+
}
|
37
|
+
public withCertificate(certificate: string): HttpInfoRequestBody {
|
38
|
+
this['certificate'] = certificate;
|
39
|
+
return this;
|
40
|
+
}
|
41
|
+
public withPrivateKey(privateKey: string): HttpInfoRequestBody {
|
42
|
+
this['private_key'] = privateKey;
|
43
|
+
return this;
|
44
|
+
}
|
45
|
+
public set privateKey(privateKey: string | undefined) {
|
46
|
+
this['private_key'] = privateKey;
|
47
|
+
}
|
48
|
+
public get privateKey() {
|
49
|
+
return this['private_key'];
|
50
|
+
}
|
51
|
+
public withHttp2(http2: number): HttpInfoRequestBody {
|
52
|
+
this['http2'] = http2;
|
53
|
+
return this;
|
54
|
+
}
|
55
|
+
public withCertificateType(certificateType: number): HttpInfoRequestBody {
|
56
|
+
this['certificate_type'] = certificateType;
|
57
|
+
return this;
|
58
|
+
}
|
59
|
+
public set certificateType(certificateType: number | undefined) {
|
60
|
+
this['certificate_type'] = certificateType;
|
61
|
+
}
|
62
|
+
public get certificateType() {
|
63
|
+
return this['certificate_type'];
|
64
|
+
}
|
65
|
+
public withForceRedirectHttps(forceRedirectHttps: number): HttpInfoRequestBody {
|
66
|
+
this['force_redirect_https'] = forceRedirectHttps;
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
public set forceRedirectHttps(forceRedirectHttps: number | undefined) {
|
70
|
+
this['force_redirect_https'] = forceRedirectHttps;
|
71
|
+
}
|
72
|
+
public get forceRedirectHttps() {
|
73
|
+
return this['force_redirect_https'];
|
74
|
+
}
|
75
|
+
public withForceRedirectConfig(forceRedirectConfig: ForceRedirect): HttpInfoRequestBody {
|
76
|
+
this['force_redirect_config'] = forceRedirectConfig;
|
77
|
+
return this;
|
78
|
+
}
|
79
|
+
public set forceRedirectConfig(forceRedirectConfig: ForceRedirect | undefined) {
|
80
|
+
this['force_redirect_config'] = forceRedirectConfig;
|
81
|
+
}
|
82
|
+
public get forceRedirectConfig() {
|
83
|
+
return this['force_redirect_config'];
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
import { ForceRedirect } from './ForceRedirect';
|
2
|
+
|
3
|
+
|
4
|
+
export class HttpInfoResponseBody {
|
5
|
+
private 'https_status'?: number | undefined;
|
6
|
+
private 'cert_name'?: string | undefined;
|
7
|
+
public certificate?: string;
|
8
|
+
private 'private_key'?: string | undefined;
|
9
|
+
private 'certificate_type'?: number | undefined;
|
10
|
+
private 'force_redirect_https'?: number | undefined;
|
11
|
+
private 'force_redirect_config'?: ForceRedirect | undefined;
|
12
|
+
public http2?: number;
|
13
|
+
private 'expiration_time'?: number | undefined;
|
14
|
+
public constructor() {
|
15
|
+
}
|
16
|
+
public withHttpsStatus(httpsStatus: number): HttpInfoResponseBody {
|
17
|
+
this['https_status'] = httpsStatus;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
public set httpsStatus(httpsStatus: number | undefined) {
|
21
|
+
this['https_status'] = httpsStatus;
|
22
|
+
}
|
23
|
+
public get httpsStatus() {
|
24
|
+
return this['https_status'];
|
25
|
+
}
|
26
|
+
public withCertName(certName: string): HttpInfoResponseBody {
|
27
|
+
this['cert_name'] = certName;
|
28
|
+
return this;
|
29
|
+
}
|
30
|
+
public set certName(certName: string | undefined) {
|
31
|
+
this['cert_name'] = certName;
|
32
|
+
}
|
33
|
+
public get certName() {
|
34
|
+
return this['cert_name'];
|
35
|
+
}
|
36
|
+
public withCertificate(certificate: string): HttpInfoResponseBody {
|
37
|
+
this['certificate'] = certificate;
|
38
|
+
return this;
|
39
|
+
}
|
40
|
+
public withPrivateKey(privateKey: string): HttpInfoResponseBody {
|
41
|
+
this['private_key'] = privateKey;
|
42
|
+
return this;
|
43
|
+
}
|
44
|
+
public set privateKey(privateKey: string | undefined) {
|
45
|
+
this['private_key'] = privateKey;
|
46
|
+
}
|
47
|
+
public get privateKey() {
|
48
|
+
return this['private_key'];
|
49
|
+
}
|
50
|
+
public withCertificateType(certificateType: number): HttpInfoResponseBody {
|
51
|
+
this['certificate_type'] = certificateType;
|
52
|
+
return this;
|
53
|
+
}
|
54
|
+
public set certificateType(certificateType: number | undefined) {
|
55
|
+
this['certificate_type'] = certificateType;
|
56
|
+
}
|
57
|
+
public get certificateType() {
|
58
|
+
return this['certificate_type'];
|
59
|
+
}
|
60
|
+
public withForceRedirectHttps(forceRedirectHttps: number): HttpInfoResponseBody {
|
61
|
+
this['force_redirect_https'] = forceRedirectHttps;
|
62
|
+
return this;
|
63
|
+
}
|
64
|
+
public set forceRedirectHttps(forceRedirectHttps: number | undefined) {
|
65
|
+
this['force_redirect_https'] = forceRedirectHttps;
|
66
|
+
}
|
67
|
+
public get forceRedirectHttps() {
|
68
|
+
return this['force_redirect_https'];
|
69
|
+
}
|
70
|
+
public withForceRedirectConfig(forceRedirectConfig: ForceRedirect): HttpInfoResponseBody {
|
71
|
+
this['force_redirect_config'] = forceRedirectConfig;
|
72
|
+
return this;
|
73
|
+
}
|
74
|
+
public set forceRedirectConfig(forceRedirectConfig: ForceRedirect | undefined) {
|
75
|
+
this['force_redirect_config'] = forceRedirectConfig;
|
76
|
+
}
|
77
|
+
public get forceRedirectConfig() {
|
78
|
+
return this['force_redirect_config'];
|
79
|
+
}
|
80
|
+
public withHttp2(http2: number): HttpInfoResponseBody {
|
81
|
+
this['http2'] = http2;
|
82
|
+
return this;
|
83
|
+
}
|
84
|
+
public withExpirationTime(expirationTime: number): HttpInfoResponseBody {
|
85
|
+
this['expiration_time'] = expirationTime;
|
86
|
+
return this;
|
87
|
+
}
|
88
|
+
public set expirationTime(expirationTime: number | undefined) {
|
89
|
+
this['expiration_time'] = expirationTime;
|
90
|
+
}
|
91
|
+
public get expirationTime() {
|
92
|
+
return this['expiration_time'];
|
93
|
+
}
|
94
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class HttpPutBody {
|
4
|
+
private 'https_status'?: string | undefined;
|
5
|
+
private 'certificate_name'?: string | undefined;
|
6
|
+
private 'certificate_value'?: string | undefined;
|
7
|
+
private 'private_key'?: string | undefined;
|
8
|
+
private 'certificate_source'?: number | undefined;
|
9
|
+
private 'http2_status'?: string | undefined;
|
10
|
+
private 'tls_version'?: string | undefined;
|
11
|
+
public constructor() {
|
12
|
+
}
|
13
|
+
public withHttpsStatus(httpsStatus: string): HttpPutBody {
|
14
|
+
this['https_status'] = httpsStatus;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
public set httpsStatus(httpsStatus: string | undefined) {
|
18
|
+
this['https_status'] = httpsStatus;
|
19
|
+
}
|
20
|
+
public get httpsStatus() {
|
21
|
+
return this['https_status'];
|
22
|
+
}
|
23
|
+
public withCertificateName(certificateName: string): HttpPutBody {
|
24
|
+
this['certificate_name'] = certificateName;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
public set certificateName(certificateName: string | undefined) {
|
28
|
+
this['certificate_name'] = certificateName;
|
29
|
+
}
|
30
|
+
public get certificateName() {
|
31
|
+
return this['certificate_name'];
|
32
|
+
}
|
33
|
+
public withCertificateValue(certificateValue: string): HttpPutBody {
|
34
|
+
this['certificate_value'] = certificateValue;
|
35
|
+
return this;
|
36
|
+
}
|
37
|
+
public set certificateValue(certificateValue: string | undefined) {
|
38
|
+
this['certificate_value'] = certificateValue;
|
39
|
+
}
|
40
|
+
public get certificateValue() {
|
41
|
+
return this['certificate_value'];
|
42
|
+
}
|
43
|
+
public withPrivateKey(privateKey: string): HttpPutBody {
|
44
|
+
this['private_key'] = privateKey;
|
45
|
+
return this;
|
46
|
+
}
|
47
|
+
public set privateKey(privateKey: string | undefined) {
|
48
|
+
this['private_key'] = privateKey;
|
49
|
+
}
|
50
|
+
public get privateKey() {
|
51
|
+
return this['private_key'];
|
52
|
+
}
|
53
|
+
public withCertificateSource(certificateSource: number): HttpPutBody {
|
54
|
+
this['certificate_source'] = certificateSource;
|
55
|
+
return this;
|
56
|
+
}
|
57
|
+
public set certificateSource(certificateSource: number | undefined) {
|
58
|
+
this['certificate_source'] = certificateSource;
|
59
|
+
}
|
60
|
+
public get certificateSource() {
|
61
|
+
return this['certificate_source'];
|
62
|
+
}
|
63
|
+
public withHttp2Status(http2Status: string): HttpPutBody {
|
64
|
+
this['http2_status'] = http2Status;
|
65
|
+
return this;
|
66
|
+
}
|
67
|
+
public set http2Status(http2Status: string | undefined) {
|
68
|
+
this['http2_status'] = http2Status;
|
69
|
+
}
|
70
|
+
public get http2Status() {
|
71
|
+
return this['http2_status'];
|
72
|
+
}
|
73
|
+
public withTlsVersion(tlsVersion: string): HttpPutBody {
|
74
|
+
this['tls_version'] = tlsVersion;
|
75
|
+
return this;
|
76
|
+
}
|
77
|
+
public set tlsVersion(tlsVersion: string | undefined) {
|
78
|
+
this['tls_version'] = tlsVersion;
|
79
|
+
}
|
80
|
+
public get tlsVersion() {
|
81
|
+
return this['tls_version'];
|
82
|
+
}
|
83
|
+
}
|