@huaweicloud/huaweicloud-sdk-cdn 3.1.44 → 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} +1463 -929
- 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} +685 -466
- 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 -648
- 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 -117
- package/v2/model/Configs.js +0 -323
- package/v2/model/ConfigsGetBody.d.ts +0 -117
- package/v2/model/ConfigsGetBody.js +0 -323
- 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 -33
- package/v2/model/SourcesConfig.js +0 -114
- 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,80 @@
|
|
1
|
+
import { Sources } from './Sources';
|
2
|
+
|
3
|
+
|
4
|
+
export class DomainBody {
|
5
|
+
private 'domain_name': string | undefined;
|
6
|
+
private 'business_type': DomainBodyBusinessTypeEnum | undefined;
|
7
|
+
public sources: Array<Sources>;
|
8
|
+
private 'service_area': DomainBodyServiceAreaEnum | undefined;
|
9
|
+
private 'enterprise_project_id'?: string | undefined;
|
10
|
+
public constructor(domainName?: any, businessType?: any, sources?: any, serviceArea?: any) {
|
11
|
+
this['domain_name'] = domainName;
|
12
|
+
this['business_type'] = businessType;
|
13
|
+
this['sources'] = sources;
|
14
|
+
this['service_area'] = serviceArea;
|
15
|
+
}
|
16
|
+
public withDomainName(domainName: string): DomainBody {
|
17
|
+
this['domain_name'] = domainName;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
public set domainName(domainName: string | undefined) {
|
21
|
+
this['domain_name'] = domainName;
|
22
|
+
}
|
23
|
+
public get domainName() {
|
24
|
+
return this['domain_name'];
|
25
|
+
}
|
26
|
+
public withBusinessType(businessType: DomainBodyBusinessTypeEnum): DomainBody {
|
27
|
+
this['business_type'] = businessType;
|
28
|
+
return this;
|
29
|
+
}
|
30
|
+
public set businessType(businessType: DomainBodyBusinessTypeEnum | undefined) {
|
31
|
+
this['business_type'] = businessType;
|
32
|
+
}
|
33
|
+
public get businessType() {
|
34
|
+
return this['business_type'];
|
35
|
+
}
|
36
|
+
public withSources(sources: Array<Sources>): DomainBody {
|
37
|
+
this['sources'] = sources;
|
38
|
+
return this;
|
39
|
+
}
|
40
|
+
public withServiceArea(serviceArea: DomainBodyServiceAreaEnum): DomainBody {
|
41
|
+
this['service_area'] = serviceArea;
|
42
|
+
return this;
|
43
|
+
}
|
44
|
+
public set serviceArea(serviceArea: DomainBodyServiceAreaEnum | undefined) {
|
45
|
+
this['service_area'] = serviceArea;
|
46
|
+
}
|
47
|
+
public get serviceArea() {
|
48
|
+
return this['service_area'];
|
49
|
+
}
|
50
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): DomainBody {
|
51
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
52
|
+
return this;
|
53
|
+
}
|
54
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
55
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
56
|
+
}
|
57
|
+
public get enterpriseProjectId() {
|
58
|
+
return this['enterprise_project_id'];
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
/**
|
63
|
+
* @export
|
64
|
+
* @enum {string}
|
65
|
+
*/
|
66
|
+
export enum DomainBodyBusinessTypeEnum {
|
67
|
+
WEB = 'web',
|
68
|
+
DOWNLOAD = 'download',
|
69
|
+
VIDEO = 'video',
|
70
|
+
WHOLESITE = 'wholeSite'
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* @export
|
74
|
+
* @enum {string}
|
75
|
+
*/
|
76
|
+
export enum DomainBodyServiceAreaEnum {
|
77
|
+
MAINLAND_CHINA = 'mainland_china',
|
78
|
+
OUTSIDE_MAINLAND_CHINA = 'outside_mainland_china',
|
79
|
+
GLOBAL = 'global'
|
80
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class DomainItemDetail {
|
4
|
+
private 'start_time'?: number | undefined;
|
5
|
+
private 'end_time'?: number | undefined;
|
6
|
+
private 'stat_type'?: string | undefined;
|
7
|
+
public domains?: Array<{ [key: string]: object; }>;
|
8
|
+
public constructor() {
|
9
|
+
}
|
10
|
+
public withStartTime(startTime: number): DomainItemDetail {
|
11
|
+
this['start_time'] = startTime;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public set startTime(startTime: number | undefined) {
|
15
|
+
this['start_time'] = startTime;
|
16
|
+
}
|
17
|
+
public get startTime() {
|
18
|
+
return this['start_time'];
|
19
|
+
}
|
20
|
+
public withEndTime(endTime: number): DomainItemDetail {
|
21
|
+
this['end_time'] = endTime;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
public set endTime(endTime: number | undefined) {
|
25
|
+
this['end_time'] = endTime;
|
26
|
+
}
|
27
|
+
public get endTime() {
|
28
|
+
return this['end_time'];
|
29
|
+
}
|
30
|
+
public withStatType(statType: string): DomainItemDetail {
|
31
|
+
this['stat_type'] = statType;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
public set statType(statType: string | undefined) {
|
35
|
+
this['stat_type'] = statType;
|
36
|
+
}
|
37
|
+
public get statType() {
|
38
|
+
return this['stat_type'];
|
39
|
+
}
|
40
|
+
public withDomains(domains: Array<{ [key: string]: object; }>): DomainItemDetail {
|
41
|
+
this['domains'] = domains;
|
42
|
+
return this;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { DomainRegion } from './DomainRegion';
|
2
|
+
|
3
|
+
|
4
|
+
export class DomainItemLocationDetails {
|
5
|
+
private 'start_time'?: number | undefined;
|
6
|
+
private 'end_time'?: number | undefined;
|
7
|
+
private 'stat_type'?: string | undefined;
|
8
|
+
public domains?: Array<DomainRegion>;
|
9
|
+
public constructor() {
|
10
|
+
}
|
11
|
+
public withStartTime(startTime: number): DomainItemLocationDetails {
|
12
|
+
this['start_time'] = startTime;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public set startTime(startTime: number | undefined) {
|
16
|
+
this['start_time'] = startTime;
|
17
|
+
}
|
18
|
+
public get startTime() {
|
19
|
+
return this['start_time'];
|
20
|
+
}
|
21
|
+
public withEndTime(endTime: number): DomainItemLocationDetails {
|
22
|
+
this['end_time'] = endTime;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
public set endTime(endTime: number | undefined) {
|
26
|
+
this['end_time'] = endTime;
|
27
|
+
}
|
28
|
+
public get endTime() {
|
29
|
+
return this['end_time'];
|
30
|
+
}
|
31
|
+
public withStatType(statType: string): DomainItemLocationDetails {
|
32
|
+
this['stat_type'] = statType;
|
33
|
+
return this;
|
34
|
+
}
|
35
|
+
public set statType(statType: string | undefined) {
|
36
|
+
this['stat_type'] = statType;
|
37
|
+
}
|
38
|
+
public get statType() {
|
39
|
+
return this['stat_type'];
|
40
|
+
}
|
41
|
+
public withDomains(domains: Array<DomainRegion>): DomainItemLocationDetails {
|
42
|
+
this['domains'] = domains;
|
43
|
+
return this;
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class DomainOriginHost {
|
4
|
+
private 'domain_id'?: string | undefined;
|
5
|
+
private 'origin_host_type': string | undefined;
|
6
|
+
private 'customize_domain'?: string | undefined;
|
7
|
+
public constructor(originHostType?: any) {
|
8
|
+
this['origin_host_type'] = originHostType;
|
9
|
+
}
|
10
|
+
public withDomainId(domainId: string): DomainOriginHost {
|
11
|
+
this['domain_id'] = domainId;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public set domainId(domainId: string | undefined) {
|
15
|
+
this['domain_id'] = domainId;
|
16
|
+
}
|
17
|
+
public get domainId() {
|
18
|
+
return this['domain_id'];
|
19
|
+
}
|
20
|
+
public withOriginHostType(originHostType: string): DomainOriginHost {
|
21
|
+
this['origin_host_type'] = originHostType;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
public set originHostType(originHostType: string | undefined) {
|
25
|
+
this['origin_host_type'] = originHostType;
|
26
|
+
}
|
27
|
+
public get originHostType() {
|
28
|
+
return this['origin_host_type'];
|
29
|
+
}
|
30
|
+
public withCustomizeDomain(customizeDomain: string): DomainOriginHost {
|
31
|
+
this['customize_domain'] = customizeDomain;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
public set customizeDomain(customizeDomain: string | undefined) {
|
35
|
+
this['customize_domain'] = customizeDomain;
|
36
|
+
}
|
37
|
+
public get customizeDomain() {
|
38
|
+
return this['customize_domain'];
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class DomainRegion {
|
4
|
+
private 'domain_name'?: string | undefined;
|
5
|
+
private 'region_isp_details'?: Array<{ [key: string]: object; }> | undefined;
|
6
|
+
public constructor() {
|
7
|
+
}
|
8
|
+
public withDomainName(domainName: string): DomainRegion {
|
9
|
+
this['domain_name'] = domainName;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public set domainName(domainName: string | undefined) {
|
13
|
+
this['domain_name'] = domainName;
|
14
|
+
}
|
15
|
+
public get domainName() {
|
16
|
+
return this['domain_name'];
|
17
|
+
}
|
18
|
+
public withRegionIspDetails(regionIspDetails: Array<{ [key: string]: object; }>): DomainRegion {
|
19
|
+
this['region_isp_details'] = regionIspDetails;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
public set regionIspDetails(regionIspDetails: Array<{ [key: string]: object; }> | undefined) {
|
23
|
+
this['region_isp_details'] = regionIspDetails;
|
24
|
+
}
|
25
|
+
public get regionIspDetails() {
|
26
|
+
return this['region_isp_details'];
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,225 @@
|
|
1
|
+
import { DomainOriginHost } from './DomainOriginHost';
|
2
|
+
import { EpResourceTag } from './EpResourceTag';
|
3
|
+
import { Sources } from './Sources';
|
4
|
+
|
5
|
+
|
6
|
+
export class Domains {
|
7
|
+
public id?: string;
|
8
|
+
private 'domain_name'?: string | undefined;
|
9
|
+
private 'business_type'?: string | undefined;
|
10
|
+
private 'user_domain_id'?: string | undefined;
|
11
|
+
private 'domain_status'?: string | undefined;
|
12
|
+
public cname?: string;
|
13
|
+
public sources?: Array<Sources>;
|
14
|
+
private 'domain_origin_host'?: DomainOriginHost | undefined;
|
15
|
+
private 'https_status'?: number | undefined;
|
16
|
+
private 'create_time'?: number | undefined;
|
17
|
+
private 'modify_time'?: number | undefined;
|
18
|
+
public disabled?: number;
|
19
|
+
public locked?: number;
|
20
|
+
private 'auto_refresh_preheat'?: number | undefined;
|
21
|
+
private 'service_area'?: DomainsServiceAreaEnum | undefined;
|
22
|
+
private 'range_status'?: string | undefined;
|
23
|
+
private 'follow_status'?: string | undefined;
|
24
|
+
private 'origin_status'?: string | undefined;
|
25
|
+
private 'banned_reason'?: string | undefined;
|
26
|
+
private 'locked_reason'?: string | undefined;
|
27
|
+
private 'enterprise_project_id'?: string | undefined;
|
28
|
+
public tags?: Array<EpResourceTag>;
|
29
|
+
public constructor() {
|
30
|
+
}
|
31
|
+
public withId(id: string): Domains {
|
32
|
+
this['id'] = id;
|
33
|
+
return this;
|
34
|
+
}
|
35
|
+
public withDomainName(domainName: string): Domains {
|
36
|
+
this['domain_name'] = domainName;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
public set domainName(domainName: string | undefined) {
|
40
|
+
this['domain_name'] = domainName;
|
41
|
+
}
|
42
|
+
public get domainName() {
|
43
|
+
return this['domain_name'];
|
44
|
+
}
|
45
|
+
public withBusinessType(businessType: string): Domains {
|
46
|
+
this['business_type'] = businessType;
|
47
|
+
return this;
|
48
|
+
}
|
49
|
+
public set businessType(businessType: string | undefined) {
|
50
|
+
this['business_type'] = businessType;
|
51
|
+
}
|
52
|
+
public get businessType() {
|
53
|
+
return this['business_type'];
|
54
|
+
}
|
55
|
+
public withUserDomainId(userDomainId: string): Domains {
|
56
|
+
this['user_domain_id'] = userDomainId;
|
57
|
+
return this;
|
58
|
+
}
|
59
|
+
public set userDomainId(userDomainId: string | undefined) {
|
60
|
+
this['user_domain_id'] = userDomainId;
|
61
|
+
}
|
62
|
+
public get userDomainId() {
|
63
|
+
return this['user_domain_id'];
|
64
|
+
}
|
65
|
+
public withDomainStatus(domainStatus: string): Domains {
|
66
|
+
this['domain_status'] = domainStatus;
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
public set domainStatus(domainStatus: string | undefined) {
|
70
|
+
this['domain_status'] = domainStatus;
|
71
|
+
}
|
72
|
+
public get domainStatus() {
|
73
|
+
return this['domain_status'];
|
74
|
+
}
|
75
|
+
public withCname(cname: string): Domains {
|
76
|
+
this['cname'] = cname;
|
77
|
+
return this;
|
78
|
+
}
|
79
|
+
public withSources(sources: Array<Sources>): Domains {
|
80
|
+
this['sources'] = sources;
|
81
|
+
return this;
|
82
|
+
}
|
83
|
+
public withDomainOriginHost(domainOriginHost: DomainOriginHost): Domains {
|
84
|
+
this['domain_origin_host'] = domainOriginHost;
|
85
|
+
return this;
|
86
|
+
}
|
87
|
+
public set domainOriginHost(domainOriginHost: DomainOriginHost | undefined) {
|
88
|
+
this['domain_origin_host'] = domainOriginHost;
|
89
|
+
}
|
90
|
+
public get domainOriginHost() {
|
91
|
+
return this['domain_origin_host'];
|
92
|
+
}
|
93
|
+
public withHttpsStatus(httpsStatus: number): Domains {
|
94
|
+
this['https_status'] = httpsStatus;
|
95
|
+
return this;
|
96
|
+
}
|
97
|
+
public set httpsStatus(httpsStatus: number | undefined) {
|
98
|
+
this['https_status'] = httpsStatus;
|
99
|
+
}
|
100
|
+
public get httpsStatus() {
|
101
|
+
return this['https_status'];
|
102
|
+
}
|
103
|
+
public withCreateTime(createTime: number): Domains {
|
104
|
+
this['create_time'] = createTime;
|
105
|
+
return this;
|
106
|
+
}
|
107
|
+
public set createTime(createTime: number | undefined) {
|
108
|
+
this['create_time'] = createTime;
|
109
|
+
}
|
110
|
+
public get createTime() {
|
111
|
+
return this['create_time'];
|
112
|
+
}
|
113
|
+
public withModifyTime(modifyTime: number): Domains {
|
114
|
+
this['modify_time'] = modifyTime;
|
115
|
+
return this;
|
116
|
+
}
|
117
|
+
public set modifyTime(modifyTime: number | undefined) {
|
118
|
+
this['modify_time'] = modifyTime;
|
119
|
+
}
|
120
|
+
public get modifyTime() {
|
121
|
+
return this['modify_time'];
|
122
|
+
}
|
123
|
+
public withDisabled(disabled: number): Domains {
|
124
|
+
this['disabled'] = disabled;
|
125
|
+
return this;
|
126
|
+
}
|
127
|
+
public withLocked(locked: number): Domains {
|
128
|
+
this['locked'] = locked;
|
129
|
+
return this;
|
130
|
+
}
|
131
|
+
public withAutoRefreshPreheat(autoRefreshPreheat: number): Domains {
|
132
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
133
|
+
return this;
|
134
|
+
}
|
135
|
+
public set autoRefreshPreheat(autoRefreshPreheat: number | undefined) {
|
136
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
137
|
+
}
|
138
|
+
public get autoRefreshPreheat() {
|
139
|
+
return this['auto_refresh_preheat'];
|
140
|
+
}
|
141
|
+
public withServiceArea(serviceArea: DomainsServiceAreaEnum): Domains {
|
142
|
+
this['service_area'] = serviceArea;
|
143
|
+
return this;
|
144
|
+
}
|
145
|
+
public set serviceArea(serviceArea: DomainsServiceAreaEnum | undefined) {
|
146
|
+
this['service_area'] = serviceArea;
|
147
|
+
}
|
148
|
+
public get serviceArea() {
|
149
|
+
return this['service_area'];
|
150
|
+
}
|
151
|
+
public withRangeStatus(rangeStatus: string): Domains {
|
152
|
+
this['range_status'] = rangeStatus;
|
153
|
+
return this;
|
154
|
+
}
|
155
|
+
public set rangeStatus(rangeStatus: string | undefined) {
|
156
|
+
this['range_status'] = rangeStatus;
|
157
|
+
}
|
158
|
+
public get rangeStatus() {
|
159
|
+
return this['range_status'];
|
160
|
+
}
|
161
|
+
public withFollowStatus(followStatus: string): Domains {
|
162
|
+
this['follow_status'] = followStatus;
|
163
|
+
return this;
|
164
|
+
}
|
165
|
+
public set followStatus(followStatus: string | undefined) {
|
166
|
+
this['follow_status'] = followStatus;
|
167
|
+
}
|
168
|
+
public get followStatus() {
|
169
|
+
return this['follow_status'];
|
170
|
+
}
|
171
|
+
public withOriginStatus(originStatus: string): Domains {
|
172
|
+
this['origin_status'] = originStatus;
|
173
|
+
return this;
|
174
|
+
}
|
175
|
+
public set originStatus(originStatus: string | undefined) {
|
176
|
+
this['origin_status'] = originStatus;
|
177
|
+
}
|
178
|
+
public get originStatus() {
|
179
|
+
return this['origin_status'];
|
180
|
+
}
|
181
|
+
public withBannedReason(bannedReason: string): Domains {
|
182
|
+
this['banned_reason'] = bannedReason;
|
183
|
+
return this;
|
184
|
+
}
|
185
|
+
public set bannedReason(bannedReason: string | undefined) {
|
186
|
+
this['banned_reason'] = bannedReason;
|
187
|
+
}
|
188
|
+
public get bannedReason() {
|
189
|
+
return this['banned_reason'];
|
190
|
+
}
|
191
|
+
public withLockedReason(lockedReason: string): Domains {
|
192
|
+
this['locked_reason'] = lockedReason;
|
193
|
+
return this;
|
194
|
+
}
|
195
|
+
public set lockedReason(lockedReason: string | undefined) {
|
196
|
+
this['locked_reason'] = lockedReason;
|
197
|
+
}
|
198
|
+
public get lockedReason() {
|
199
|
+
return this['locked_reason'];
|
200
|
+
}
|
201
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): Domains {
|
202
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
203
|
+
return this;
|
204
|
+
}
|
205
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
206
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
207
|
+
}
|
208
|
+
public get enterpriseProjectId() {
|
209
|
+
return this['enterprise_project_id'];
|
210
|
+
}
|
211
|
+
public withTags(tags: Array<EpResourceTag>): Domains {
|
212
|
+
this['tags'] = tags;
|
213
|
+
return this;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* @export
|
219
|
+
* @enum {string}
|
220
|
+
*/
|
221
|
+
export enum DomainsServiceAreaEnum {
|
222
|
+
MAINLAND_CHINA = 'mainland_china',
|
223
|
+
OUTSIDE_MAINLAND_CHINA = 'outside_mainland_china',
|
224
|
+
GLOBAL = 'global'
|
225
|
+
}
|
@@ -0,0 +1,219 @@
|
|
1
|
+
import { DomainOriginHost } from './DomainOriginHost';
|
2
|
+
import { SourceWithPort } from './SourceWithPort';
|
3
|
+
|
4
|
+
|
5
|
+
export class DomainsWithPort {
|
6
|
+
public id?: string;
|
7
|
+
private 'domain_name'?: string | undefined;
|
8
|
+
private 'business_type'?: string | undefined;
|
9
|
+
private 'user_domain_id'?: string | undefined;
|
10
|
+
private 'domain_status'?: string | undefined;
|
11
|
+
public cname?: string;
|
12
|
+
public sources?: Array<SourceWithPort>;
|
13
|
+
private 'domain_origin_host'?: DomainOriginHost | undefined;
|
14
|
+
private 'https_status'?: number | undefined;
|
15
|
+
private 'create_time'?: number | undefined;
|
16
|
+
private 'modify_time'?: number | undefined;
|
17
|
+
public disabled?: number;
|
18
|
+
public locked?: number;
|
19
|
+
private 'auto_refresh_preheat'?: number | undefined;
|
20
|
+
private 'service_area'?: DomainsWithPortServiceAreaEnum | undefined;
|
21
|
+
private 'range_status'?: string | undefined;
|
22
|
+
private 'follow_status'?: string | undefined;
|
23
|
+
private 'origin_status'?: string | undefined;
|
24
|
+
private 'banned_reason'?: string | undefined;
|
25
|
+
private 'locked_reason'?: string | undefined;
|
26
|
+
private 'enterprise_project_id'?: string | undefined;
|
27
|
+
public constructor() {
|
28
|
+
}
|
29
|
+
public withId(id: string): DomainsWithPort {
|
30
|
+
this['id'] = id;
|
31
|
+
return this;
|
32
|
+
}
|
33
|
+
public withDomainName(domainName: string): DomainsWithPort {
|
34
|
+
this['domain_name'] = domainName;
|
35
|
+
return this;
|
36
|
+
}
|
37
|
+
public set domainName(domainName: string | undefined) {
|
38
|
+
this['domain_name'] = domainName;
|
39
|
+
}
|
40
|
+
public get domainName() {
|
41
|
+
return this['domain_name'];
|
42
|
+
}
|
43
|
+
public withBusinessType(businessType: string): DomainsWithPort {
|
44
|
+
this['business_type'] = businessType;
|
45
|
+
return this;
|
46
|
+
}
|
47
|
+
public set businessType(businessType: string | undefined) {
|
48
|
+
this['business_type'] = businessType;
|
49
|
+
}
|
50
|
+
public get businessType() {
|
51
|
+
return this['business_type'];
|
52
|
+
}
|
53
|
+
public withUserDomainId(userDomainId: string): DomainsWithPort {
|
54
|
+
this['user_domain_id'] = userDomainId;
|
55
|
+
return this;
|
56
|
+
}
|
57
|
+
public set userDomainId(userDomainId: string | undefined) {
|
58
|
+
this['user_domain_id'] = userDomainId;
|
59
|
+
}
|
60
|
+
public get userDomainId() {
|
61
|
+
return this['user_domain_id'];
|
62
|
+
}
|
63
|
+
public withDomainStatus(domainStatus: string): DomainsWithPort {
|
64
|
+
this['domain_status'] = domainStatus;
|
65
|
+
return this;
|
66
|
+
}
|
67
|
+
public set domainStatus(domainStatus: string | undefined) {
|
68
|
+
this['domain_status'] = domainStatus;
|
69
|
+
}
|
70
|
+
public get domainStatus() {
|
71
|
+
return this['domain_status'];
|
72
|
+
}
|
73
|
+
public withCname(cname: string): DomainsWithPort {
|
74
|
+
this['cname'] = cname;
|
75
|
+
return this;
|
76
|
+
}
|
77
|
+
public withSources(sources: Array<SourceWithPort>): DomainsWithPort {
|
78
|
+
this['sources'] = sources;
|
79
|
+
return this;
|
80
|
+
}
|
81
|
+
public withDomainOriginHost(domainOriginHost: DomainOriginHost): DomainsWithPort {
|
82
|
+
this['domain_origin_host'] = domainOriginHost;
|
83
|
+
return this;
|
84
|
+
}
|
85
|
+
public set domainOriginHost(domainOriginHost: DomainOriginHost | undefined) {
|
86
|
+
this['domain_origin_host'] = domainOriginHost;
|
87
|
+
}
|
88
|
+
public get domainOriginHost() {
|
89
|
+
return this['domain_origin_host'];
|
90
|
+
}
|
91
|
+
public withHttpsStatus(httpsStatus: number): DomainsWithPort {
|
92
|
+
this['https_status'] = httpsStatus;
|
93
|
+
return this;
|
94
|
+
}
|
95
|
+
public set httpsStatus(httpsStatus: number | undefined) {
|
96
|
+
this['https_status'] = httpsStatus;
|
97
|
+
}
|
98
|
+
public get httpsStatus() {
|
99
|
+
return this['https_status'];
|
100
|
+
}
|
101
|
+
public withCreateTime(createTime: number): DomainsWithPort {
|
102
|
+
this['create_time'] = createTime;
|
103
|
+
return this;
|
104
|
+
}
|
105
|
+
public set createTime(createTime: number | undefined) {
|
106
|
+
this['create_time'] = createTime;
|
107
|
+
}
|
108
|
+
public get createTime() {
|
109
|
+
return this['create_time'];
|
110
|
+
}
|
111
|
+
public withModifyTime(modifyTime: number): DomainsWithPort {
|
112
|
+
this['modify_time'] = modifyTime;
|
113
|
+
return this;
|
114
|
+
}
|
115
|
+
public set modifyTime(modifyTime: number | undefined) {
|
116
|
+
this['modify_time'] = modifyTime;
|
117
|
+
}
|
118
|
+
public get modifyTime() {
|
119
|
+
return this['modify_time'];
|
120
|
+
}
|
121
|
+
public withDisabled(disabled: number): DomainsWithPort {
|
122
|
+
this['disabled'] = disabled;
|
123
|
+
return this;
|
124
|
+
}
|
125
|
+
public withLocked(locked: number): DomainsWithPort {
|
126
|
+
this['locked'] = locked;
|
127
|
+
return this;
|
128
|
+
}
|
129
|
+
public withAutoRefreshPreheat(autoRefreshPreheat: number): DomainsWithPort {
|
130
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
131
|
+
return this;
|
132
|
+
}
|
133
|
+
public set autoRefreshPreheat(autoRefreshPreheat: number | undefined) {
|
134
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
135
|
+
}
|
136
|
+
public get autoRefreshPreheat() {
|
137
|
+
return this['auto_refresh_preheat'];
|
138
|
+
}
|
139
|
+
public withServiceArea(serviceArea: DomainsWithPortServiceAreaEnum): DomainsWithPort {
|
140
|
+
this['service_area'] = serviceArea;
|
141
|
+
return this;
|
142
|
+
}
|
143
|
+
public set serviceArea(serviceArea: DomainsWithPortServiceAreaEnum | undefined) {
|
144
|
+
this['service_area'] = serviceArea;
|
145
|
+
}
|
146
|
+
public get serviceArea() {
|
147
|
+
return this['service_area'];
|
148
|
+
}
|
149
|
+
public withRangeStatus(rangeStatus: string): DomainsWithPort {
|
150
|
+
this['range_status'] = rangeStatus;
|
151
|
+
return this;
|
152
|
+
}
|
153
|
+
public set rangeStatus(rangeStatus: string | undefined) {
|
154
|
+
this['range_status'] = rangeStatus;
|
155
|
+
}
|
156
|
+
public get rangeStatus() {
|
157
|
+
return this['range_status'];
|
158
|
+
}
|
159
|
+
public withFollowStatus(followStatus: string): DomainsWithPort {
|
160
|
+
this['follow_status'] = followStatus;
|
161
|
+
return this;
|
162
|
+
}
|
163
|
+
public set followStatus(followStatus: string | undefined) {
|
164
|
+
this['follow_status'] = followStatus;
|
165
|
+
}
|
166
|
+
public get followStatus() {
|
167
|
+
return this['follow_status'];
|
168
|
+
}
|
169
|
+
public withOriginStatus(originStatus: string): DomainsWithPort {
|
170
|
+
this['origin_status'] = originStatus;
|
171
|
+
return this;
|
172
|
+
}
|
173
|
+
public set originStatus(originStatus: string | undefined) {
|
174
|
+
this['origin_status'] = originStatus;
|
175
|
+
}
|
176
|
+
public get originStatus() {
|
177
|
+
return this['origin_status'];
|
178
|
+
}
|
179
|
+
public withBannedReason(bannedReason: string): DomainsWithPort {
|
180
|
+
this['banned_reason'] = bannedReason;
|
181
|
+
return this;
|
182
|
+
}
|
183
|
+
public set bannedReason(bannedReason: string | undefined) {
|
184
|
+
this['banned_reason'] = bannedReason;
|
185
|
+
}
|
186
|
+
public get bannedReason() {
|
187
|
+
return this['banned_reason'];
|
188
|
+
}
|
189
|
+
public withLockedReason(lockedReason: string): DomainsWithPort {
|
190
|
+
this['locked_reason'] = lockedReason;
|
191
|
+
return this;
|
192
|
+
}
|
193
|
+
public set lockedReason(lockedReason: string | undefined) {
|
194
|
+
this['locked_reason'] = lockedReason;
|
195
|
+
}
|
196
|
+
public get lockedReason() {
|
197
|
+
return this['locked_reason'];
|
198
|
+
}
|
199
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): DomainsWithPort {
|
200
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
201
|
+
return this;
|
202
|
+
}
|
203
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
204
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
205
|
+
}
|
206
|
+
public get enterpriseProjectId() {
|
207
|
+
return this['enterprise_project_id'];
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
/**
|
212
|
+
* @export
|
213
|
+
* @enum {string}
|
214
|
+
*/
|
215
|
+
export enum DomainsWithPortServiceAreaEnum {
|
216
|
+
MAINLAND_CHINA = 'mainland_china',
|
217
|
+
OUTSIDE_MAINLAND_CHINA = 'outside_mainland_china',
|
218
|
+
GLOBAL = 'global'
|
219
|
+
}
|