Documentation ¶
Index ¶
- type BlackWhiteListBody
- type CacheConfig
- type CacheConfigRequest
- type CacheConfigRequestBody
- type CdnIps
- type CompressRequest
- type CompressResponse
- type CompressRules
- type CreateDomainRequest
- type CreateDomainRequestBody
- type CreateDomainResponse
- type CreateDomainResponseBodyContent
- type CreatePreheatingTasksRequest
- type CreatePreheatingTasksResponse
- type CreateRefreshTasksRequest
- type CreateRefreshTasksResponse
- type DeleteDomainRequest
- type DeleteDomainResponse
- type DisableDomainRequest
- type DisableDomainResponse
- type DomainBody
- type DomainBodyBusinessType
- type DomainBodyBusinessTypeEnum
- type DomainBodyServiceArea
- type DomainBodyServiceAreaEnum
- type DomainItemDetail
- type DomainItemLocationDetails
- type DomainObject
- type DomainOriginHost
- type DomainRegion
- type DomainRegionIspDetail
- type Domains
- type DomainsServiceArea
- type DomainsServiceAreaEnum
- type EnableDomainRequest
- type EnableDomainResponse
- type Follow302StatusBody
- type Follow302StatusBodyFollowStatus
- type Follow302StatusBodyFollowStatusEnum
- type Follow302StatusRequest
- type Follow302StatusRequestFollow302Status
- type Follow302StatusRequestFollow302StatusEnum
- type ForceRedirect
- type HeaderBody
- type HeaderMap
- type HttpInfoRequest
- type HttpInfoRequestBody
- type HttpInfoResponseBody
- type HttpsDetail
- type ListDomainsRequest
- type ListDomainsRequestBusinessType
- type ListDomainsRequestBusinessTypeEnum
- type ListDomainsRequestDomainStatus
- type ListDomainsRequestDomainStatusEnum
- type ListDomainsRequestServiceArea
- type ListDomainsRequestServiceAreaEnum
- type ListDomainsResponse
- type LogObject
- type OriginHostBody
- type OriginHostBodyOriginHostType
- type OriginHostBodyOriginHostTypeEnum
- type OriginHostRequest
- type OriginRangeBody
- type OriginRangeBodyRangeStatus
- type OriginRangeBodyRangeStatusEnum
- type OriginRequest
- type PreheatingTask
- type PreheatingTaskRequest
- type PreheatingTaskRequestPreheatingTask
- type RangeStatusRequest
- type RangeStatusRequestRangeStatus
- type RangeStatusRequestRangeStatusEnum
- type Referer
- type RefererBody
- type RefererRsp
- type RefreshTask
- type RefreshTaskRequest
- type RefreshTaskRequestRefreshTask
- type RefreshTaskRequestRefreshTaskType
- type RefreshTaskRequestRefreshTaskTypeEnum
- type ResourceBody
- type Rules
- type ShowBlackWhiteListRequest
- type ShowBlackWhiteListResponse
- type ShowCacheRulesRequest
- type ShowCacheRulesResponse
- type ShowCertificatesHttpsInfoRequest
- type ShowCertificatesHttpsInfoResponse
- type ShowDomainDetailRequest
- type ShowDomainDetailResponse
- type ShowDomainItemDetailsRequest
- type ShowDomainItemDetailsRequestStatType
- type ShowDomainItemDetailsRequestStatTypeEnum
- type ShowDomainItemDetailsResponse
- type ShowDomainItemLocationDetailsRequest
- type ShowDomainItemLocationDetailsRequestStatType
- type ShowDomainItemLocationDetailsRequestStatTypeEnum
- type ShowDomainItemLocationDetailsResponse
- type ShowHistoryTaskDetailsRequest
- type ShowHistoryTaskDetailsResponse
- type ShowHistoryTasksRequest
- type ShowHistoryTasksRequestFileType
- type ShowHistoryTasksRequestFileTypeEnum
- type ShowHistoryTasksRequestStatus
- type ShowHistoryTasksRequestStatusEnum
- type ShowHistoryTasksResponse
- type ShowHttpInfoRequest
- type ShowHttpInfoResponse
- type ShowIpInfoRequest
- type ShowIpInfoResponse
- type ShowLogsRequest
- type ShowLogsResponse
- type ShowOriginHostRequest
- type ShowOriginHostResponse
- type ShowRefererRequest
- type ShowRefererResponse
- type ShowResponseHeaderRequest
- type ShowResponseHeaderResponse
- type ShowTopUrlRequest
- type ShowTopUrlRequestServiceArea
- type ShowTopUrlRequestServiceAreaEnum
- type ShowTopUrlResponse
- type SourceWithPort
- type SourceWithPortOriginType
- type SourceWithPortOriginTypeEnum
- type Sources
- type SourcesOriginType
- type SourcesOriginTypeEnum
- type TasksObject
- type TasksObjectFileType
- type TasksObjectFileTypeEnum
- type TasksObjectTaskType
- type TasksObjectTaskTypeEnum
- type TopUrlSummary
- type UpdateBlackWhiteListRequest
- type UpdateBlackWhiteListResponse
- type UpdateCacheRulesRequest
- type UpdateCacheRulesResponse
- type UpdateDomainMultiCertificatesRequest
- type UpdateDomainMultiCertificatesRequestBody
- type UpdateDomainMultiCertificatesRequestBodyContent
- type UpdateDomainMultiCertificatesResponse
- type UpdateDomainMultiCertificatesResponseBodyContent
- type UpdateDomainOriginRequest
- type UpdateDomainOriginResponse
- type UpdateFollow302SwitchRequest
- type UpdateFollow302SwitchResponse
- type UpdateHttpsInfoRequest
- type UpdateHttpsInfoResponse
- type UpdateOriginHostRequest
- type UpdateOriginHostResponse
- type UpdatePrivateBucketAccessBody
- type UpdatePrivateBucketAccessRequest
- type UpdatePrivateBucketAccessResponse
- type UpdateRangeSwitchRequest
- type UpdateRangeSwitchResponse
- type UpdateReferRequest
- type UpdateReferResponse
- type UpdateResponseHeaderRequest
- type UpdateResponseHeaderResponse
- type UrlObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackWhiteListBody ¶
type BlackWhiteListBody struct { Type int32 `json:"type"` IpList *[]string `json:"ip_list,omitempty"` }
func (BlackWhiteListBody) String ¶
func (o BlackWhiteListBody) String() string
type CacheConfig ¶
type CacheConfig struct { IgnoreUrlParameter *bool `json:"ignore_url_parameter,omitempty"` FollowOrigin *bool `json:"follow_origin,omitempty"` Compress *CompressResponse `json:"compress,omitempty"` Rules *[]Rules `json:"rules,omitempty"` }
func (CacheConfig) String ¶
func (o CacheConfig) String() string
type CacheConfigRequest ¶
type CacheConfigRequest struct { IgnoreUrlParameter *bool `json:"ignore_url_parameter,omitempty"` FollowOrigin *bool `json:"follow_origin,omitempty"` Compress *CompressRequest `json:"compress,omitempty"` Rules *[]Rules `json:"rules,omitempty"` }
func (CacheConfigRequest) String ¶
func (o CacheConfigRequest) String() string
type CacheConfigRequestBody ¶
type CacheConfigRequestBody struct {
CacheConfig *CacheConfigRequest `json:"cache_config"`
}
This is a auto create Body Object
func (CacheConfigRequestBody) String ¶
func (o CacheConfigRequestBody) String() string
type CdnIps ¶
type CompressRequest ¶
type CompressRequest struct {
CompressSwitch *int32 `json:"compress_switch,omitempty"`
}
func (CompressRequest) String ¶
func (o CompressRequest) String() string
type CompressResponse ¶
type CompressResponse struct { CompressSwitch int32 `json:"compress_switch"` CompressRules *CompressRules `json:"compress_rules,omitempty"` }
func (CompressResponse) String ¶
func (o CompressResponse) String() string
type CompressRules ¶
type CompressRules struct { CompressType *string `json:"compress_type,omitempty"` CompressFileType *string `json:"compress_file_type,omitempty"` }
func (CompressRules) String ¶
func (o CompressRules) String() string
type CreateDomainRequest ¶
type CreateDomainRequest struct {
Body *CreateDomainRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateDomainRequest) String ¶
func (o CreateDomainRequest) String() string
type CreateDomainRequestBody ¶
type CreateDomainRequestBody struct {
Domain *DomainBody `json:"domain"`
}
域名对象
func (CreateDomainRequestBody) String ¶
func (o CreateDomainRequestBody) String() string
type CreateDomainResponse ¶
type CreateDomainResponse struct { Domain *CreateDomainResponseBodyContent `json:"domain,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDomainResponse) String ¶
func (o CreateDomainResponse) String() string
type CreateDomainResponseBodyContent ¶
type CreateDomainResponseBodyContent struct { Id *string `json:"id,omitempty"` DomainName *string `json:"domain_name,omitempty"` BusinessType *string `json:"business_type,omitempty"` ServiceArea *string `json:"service_area,omitempty"` UserDomainId *string `json:"user_domain_id,omitempty"` DomainStatus *string `json:"domain_status,omitempty"` Cname *string `json:"cname,omitempty"` Sources *[]Sources `json:"sources,omitempty"` DomainOriginHost *DomainOriginHost `json:"domain_origin_host,omitempty"` HttpsStatus *int32 `json:"https_status,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` ModifyTime *int64 `json:"modify_time,omitempty"` Disabled *int32 `json:"disabled,omitempty"` Locked *int32 `json:"locked,omitempty"` }
创建域名返回信息
func (CreateDomainResponseBodyContent) String ¶
func (o CreateDomainResponseBodyContent) String() string
type CreatePreheatingTasksRequest ¶
type CreatePreheatingTasksRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *PreheatingTaskRequest `json:"body,omitempty"` }
Request Object
func (CreatePreheatingTasksRequest) String ¶
func (o CreatePreheatingTasksRequest) String() string
type CreatePreheatingTasksResponse ¶
type CreatePreheatingTasksResponse struct { PreheatingTask *PreheatingTask `json:"preheating_task,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePreheatingTasksResponse) String ¶
func (o CreatePreheatingTasksResponse) String() string
type CreateRefreshTasksRequest ¶
type CreateRefreshTasksRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *RefreshTaskRequest `json:"body,omitempty"` }
Request Object
func (CreateRefreshTasksRequest) String ¶
func (o CreateRefreshTasksRequest) String() string
type CreateRefreshTasksResponse ¶
type CreateRefreshTasksResponse struct { RefreshTask *RefreshTask `json:"refresh_task,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRefreshTasksResponse) String ¶
func (o CreateRefreshTasksResponse) String() string
type DeleteDomainRequest ¶
type DeleteDomainRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (DeleteDomainRequest) String ¶
func (o DeleteDomainRequest) String() string
type DeleteDomainResponse ¶
type DeleteDomainResponse struct { Domain *Domains `json:"domain,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDomainResponse) String ¶
func (o DeleteDomainResponse) String() string
type DisableDomainRequest ¶
type DisableDomainRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (DisableDomainRequest) String ¶
func (o DisableDomainRequest) String() string
type DisableDomainResponse ¶
type DisableDomainResponse struct { Domain *Domains `json:"domain,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DisableDomainResponse) String ¶
func (o DisableDomainResponse) String() string
type DomainBody ¶
type DomainBody struct { DomainName string `json:"domain_name"` BusinessType DomainBodyBusinessType `json:"business_type"` Sources []Sources `json:"sources"` ServiceArea DomainBodyServiceArea `json:"service_area"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
创建域名Body
func (DomainBody) String ¶
func (o DomainBody) String() string
type DomainBodyBusinessType ¶
type DomainBodyBusinessType struct {
// contains filtered or unexported fields
}
func (DomainBodyBusinessType) MarshalJSON ¶
func (c DomainBodyBusinessType) MarshalJSON() ([]byte, error)
func (*DomainBodyBusinessType) UnmarshalJSON ¶
func (c *DomainBodyBusinessType) UnmarshalJSON(b []byte) error
type DomainBodyBusinessTypeEnum ¶
type DomainBodyBusinessTypeEnum struct { WEB DomainBodyBusinessType DOWNLOAD DomainBodyBusinessType VIDEO DomainBodyBusinessType WHOLE_SITE DomainBodyBusinessType }
func GetDomainBodyBusinessTypeEnum ¶
func GetDomainBodyBusinessTypeEnum() DomainBodyBusinessTypeEnum
type DomainBodyServiceArea ¶
type DomainBodyServiceArea struct {
// contains filtered or unexported fields
}
func (DomainBodyServiceArea) MarshalJSON ¶
func (c DomainBodyServiceArea) MarshalJSON() ([]byte, error)
func (*DomainBodyServiceArea) UnmarshalJSON ¶
func (c *DomainBodyServiceArea) UnmarshalJSON(b []byte) error
type DomainBodyServiceAreaEnum ¶
type DomainBodyServiceAreaEnum struct { MAINLAND_CHINA DomainBodyServiceArea OUTSIDE_MAINLAND_CHINA DomainBodyServiceArea GLOBAL DomainBodyServiceArea }
func GetDomainBodyServiceAreaEnum ¶
func GetDomainBodyServiceAreaEnum() DomainBodyServiceAreaEnum
type DomainItemDetail ¶
type DomainItemDetail struct { StartTime *int64 `json:"start_time,omitempty"` EndTime *int64 `json:"end_time,omitempty"` StatType *string `json:"stat_type,omitempty"` Domains *[]DomainObject `json:"domains,omitempty"` }
func (DomainItemDetail) String ¶
func (o DomainItemDetail) String() string
type DomainItemLocationDetails ¶
type DomainItemLocationDetails struct { StartTime *int64 `json:"start_time,omitempty"` EndTime *int64 `json:"end_time,omitempty"` StatType *string `json:"stat_type,omitempty"` Domains *[]DomainRegion `json:"domains,omitempty"` }
func (DomainItemLocationDetails) String ¶
func (o DomainItemLocationDetails) String() string
type DomainObject ¶
type DomainObject struct { DomainName *string `json:"domain_name,omitempty"` Flux *[]int32 `json:"flux,omitempty"` }
func (DomainObject) String ¶
func (o DomainObject) String() string
type DomainOriginHost ¶
type DomainOriginHost struct { DomainId *string `json:"domain_id,omitempty"` OriginHostType string `json:"origin_host_type"` CustomizeDomain *string `json:"customize_domain,omitempty"` }
func (DomainOriginHost) String ¶
func (o DomainOriginHost) String() string
type DomainRegion ¶
type DomainRegion struct { DomainName *string `json:"domain_name,omitempty"` RegionIspDetails *[]DomainRegionIspDetail `json:"region_isp_details,omitempty"` }
func (DomainRegion) String ¶
func (o DomainRegion) String() string
type DomainRegionIspDetail ¶
type DomainRegionIspDetail struct { Region *string `json:"region,omitempty"` Isp *string `json:"isp,omitempty"` Flux *[]int32 `json:"flux,omitempty"` }
func (DomainRegionIspDetail) String ¶
func (o DomainRegionIspDetail) String() string
type Domains ¶
type Domains struct { Id *string `json:"id,omitempty"` DomainName *string `json:"domain_name,omitempty"` BusinessType *string `json:"business_type,omitempty"` UserDomainId *string `json:"user_domain_id,omitempty"` DomainStatus *string `json:"domain_status,omitempty"` Cname *string `json:"cname,omitempty"` Sources *[]SourceWithPort `json:"sources,omitempty"` DomainOriginHost *DomainOriginHost `json:"domain_origin_host,omitempty"` HttpsStatus *int32 `json:"https_status,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` ModifyTime *int64 `json:"modify_time,omitempty"` Disabled *int32 `json:"disabled,omitempty"` Locked *int32 `json:"locked,omitempty"` AutoRefreshPreheat *int32 `json:"auto_refresh_preheat,omitempty"` ServiceArea *DomainsServiceArea `json:"service_area,omitempty"` RangeStatus *string `json:"range_status,omitempty"` FollowStatus *string `json:"follow_status,omitempty"` OriginStatus *string `json:"origin_status,omitempty"` BannedReason *string `json:"banned_reason,omitempty"` LockedReason *string `json:"locked_reason,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
域名信息
type DomainsServiceArea ¶
type DomainsServiceArea struct {
// contains filtered or unexported fields
}
func (DomainsServiceArea) MarshalJSON ¶
func (c DomainsServiceArea) MarshalJSON() ([]byte, error)
func (*DomainsServiceArea) UnmarshalJSON ¶
func (c *DomainsServiceArea) UnmarshalJSON(b []byte) error
type DomainsServiceAreaEnum ¶
type DomainsServiceAreaEnum struct { MAINLAND_CHINA DomainsServiceArea OUTSIDE_MAINLAND_CHINA DomainsServiceArea GLOBAL DomainsServiceArea }
func GetDomainsServiceAreaEnum ¶
func GetDomainsServiceAreaEnum() DomainsServiceAreaEnum
type EnableDomainRequest ¶
type EnableDomainRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (EnableDomainRequest) String ¶
func (o EnableDomainRequest) String() string
type EnableDomainResponse ¶
type EnableDomainResponse struct { Domain *Domains `json:"domain,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (EnableDomainResponse) String ¶
func (o EnableDomainResponse) String() string
type Follow302StatusBody ¶
type Follow302StatusBody struct { DomainId *string `json:"domain_id,omitempty"` FollowStatus *Follow302StatusBodyFollowStatus `json:"follow_status,omitempty"` }
func (Follow302StatusBody) String ¶
func (o Follow302StatusBody) String() string
type Follow302StatusBodyFollowStatus ¶
type Follow302StatusBodyFollowStatus struct {
// contains filtered or unexported fields
}
func (Follow302StatusBodyFollowStatus) MarshalJSON ¶
func (c Follow302StatusBodyFollowStatus) MarshalJSON() ([]byte, error)
func (*Follow302StatusBodyFollowStatus) UnmarshalJSON ¶
func (c *Follow302StatusBodyFollowStatus) UnmarshalJSON(b []byte) error
type Follow302StatusBodyFollowStatusEnum ¶
type Follow302StatusBodyFollowStatusEnum struct { OFF Follow302StatusBodyFollowStatus ON Follow302StatusBodyFollowStatus }
func GetFollow302StatusBodyFollowStatusEnum ¶
func GetFollow302StatusBodyFollowStatusEnum() Follow302StatusBodyFollowStatusEnum
type Follow302StatusRequest ¶
type Follow302StatusRequest struct {
Follow302Status Follow302StatusRequestFollow302Status `json:"follow302_status"`
}
This is a auto create Body Object
func (Follow302StatusRequest) String ¶
func (o Follow302StatusRequest) String() string
type Follow302StatusRequestFollow302Status ¶
type Follow302StatusRequestFollow302Status struct {
// contains filtered or unexported fields
}
func (Follow302StatusRequestFollow302Status) MarshalJSON ¶
func (c Follow302StatusRequestFollow302Status) MarshalJSON() ([]byte, error)
func (*Follow302StatusRequestFollow302Status) UnmarshalJSON ¶
func (c *Follow302StatusRequestFollow302Status) UnmarshalJSON(b []byte) error
type Follow302StatusRequestFollow302StatusEnum ¶
type Follow302StatusRequestFollow302StatusEnum struct { OFF Follow302StatusRequestFollow302Status ON Follow302StatusRequestFollow302Status }
func GetFollow302StatusRequestFollow302StatusEnum ¶
func GetFollow302StatusRequestFollow302StatusEnum() Follow302StatusRequestFollow302StatusEnum
type ForceRedirect ¶
type ForceRedirect struct { Switch int32 `json:"switch"` RedirectType *string `json:"redirect_type,omitempty"` }
func (ForceRedirect) String ¶
func (o ForceRedirect) String() string
type HeaderBody ¶
type HeaderBody struct {
Headers *HeaderMap `json:"headers,omitempty"`
}
func (HeaderBody) String ¶
func (o HeaderBody) String() string
type HeaderMap ¶
type HeaderMap struct { ContentDisposition *string `json:"Content-Disposition,omitempty"` ContentLanguage *string `json:"Content-Language,omitempty"` AccessControlAllowOrigin *string `json:"Access-Control-Allow-Origin,omitempty"` AccessControlAllowMethods *string `json:"Access-Control-Allow-Methods,omitempty"` AccessControlMaxAge *string `json:"Access-Control-Max-Age,omitempty"` AccessControlExposeHeaders *string `json:"Access-Control-Expose-Headers,omitempty"` }
设置HTTP头参数。取值:\"Content-Disposition\", \"Content-Language\", \"Access-Control-Allow-Origin\",\"Access-Control-Allow-Methods\", \"Access-Control-Max-Age\", \"Access-Control-Expose-Headers\"。
type HttpInfoRequest ¶
type HttpInfoRequest struct {
Https *HttpInfoRequestBody `json:"https"`
}
func (HttpInfoRequest) String ¶
func (o HttpInfoRequest) String() string
type HttpInfoRequestBody ¶
type HttpInfoRequestBody struct { CertName string `json:"cert_name"` HttpsStatus int32 `json:"https_status"` Certificate *string `json:"certificate,omitempty"` PrivateKey *string `json:"private_key,omitempty"` Http2 *int32 `json:"http2,omitempty"` CertificateType *int32 `json:"certificate_type,omitempty"` ForceRedirectConfig *ForceRedirect `json:"force_redirect_config,omitempty"` }
func (HttpInfoRequestBody) String ¶
func (o HttpInfoRequestBody) String() string
type HttpInfoResponseBody ¶
type HttpInfoResponseBody struct { HttpsStatus *string `json:"https_status,omitempty"` CertName *string `json:"cert_name,omitempty"` Certificate *string `json:"certificate,omitempty"` PrivateKey *string `json:"private_key,omitempty"` CertificateType *int32 `json:"certificate_type,omitempty"` ForceRedirectHttps *int32 `json:"force_redirect_https,omitempty"` ForceRedirectConfig *ForceRedirect `json:"force_redirect_config,omitempty"` Http2 *int32 `json:"http2,omitempty"` ExpirationTime *int64 `json:"expiration_time,omitempty"` }
func (HttpInfoResponseBody) String ¶
func (o HttpInfoResponseBody) String() string
type HttpsDetail ¶
type HttpsDetail struct { DomainId *string `json:"domain_id,omitempty"` DomainName *string `json:"domain_name,omitempty"` CertName *string `json:"cert_name,omitempty"` Certificate *string `json:"certificate,omitempty"` PrivateKey *string `json:"private_key,omitempty"` CertificateType *string `json:"certificate_type,omitempty"` ExpirationTime *int64 `json:"expiration_time,omitempty"` HttpsStatus *int32 `json:"https_status,omitempty"` ForceRedirectHttps *int32 `json:"force_redirect_https,omitempty"` ForceRedirectConfig *ForceRedirect `json:"force_redirect_config,omitempty"` Http2 *int32 `json:"http2,omitempty"` }
func (HttpsDetail) String ¶
func (o HttpsDetail) String() string
type ListDomainsRequest ¶
type ListDomainsRequest struct { DomainName *string `json:"domain_name,omitempty"` BusinessType *ListDomainsRequestBusinessType `json:"business_type,omitempty"` DomainStatus *ListDomainsRequestDomainStatus `json:"domain_status,omitempty"` ServiceArea *ListDomainsRequestServiceArea `json:"service_area,omitempty"` PageSize *int32 `json:"page_size,omitempty"` PageNumber *int32 `json:"page_number,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ListDomainsRequest) String ¶
func (o ListDomainsRequest) String() string
type ListDomainsRequestBusinessType ¶
type ListDomainsRequestBusinessType struct {
// contains filtered or unexported fields
}
func (ListDomainsRequestBusinessType) MarshalJSON ¶
func (c ListDomainsRequestBusinessType) MarshalJSON() ([]byte, error)
func (*ListDomainsRequestBusinessType) UnmarshalJSON ¶
func (c *ListDomainsRequestBusinessType) UnmarshalJSON(b []byte) error
type ListDomainsRequestBusinessTypeEnum ¶
type ListDomainsRequestBusinessTypeEnum struct { WEB ListDomainsRequestBusinessType DOWNLOAD ListDomainsRequestBusinessType VIDEO ListDomainsRequestBusinessType WHOLE_SITE ListDomainsRequestBusinessType }
func GetListDomainsRequestBusinessTypeEnum ¶
func GetListDomainsRequestBusinessTypeEnum() ListDomainsRequestBusinessTypeEnum
type ListDomainsRequestDomainStatus ¶
type ListDomainsRequestDomainStatus struct {
// contains filtered or unexported fields
}
func (ListDomainsRequestDomainStatus) MarshalJSON ¶
func (c ListDomainsRequestDomainStatus) MarshalJSON() ([]byte, error)
func (*ListDomainsRequestDomainStatus) UnmarshalJSON ¶
func (c *ListDomainsRequestDomainStatus) UnmarshalJSON(b []byte) error
type ListDomainsRequestDomainStatusEnum ¶
type ListDomainsRequestDomainStatusEnum struct { ONLINE ListDomainsRequestDomainStatus OFFLINE ListDomainsRequestDomainStatus CONFIGURING ListDomainsRequestDomainStatus CONFIGURE_FAILED ListDomainsRequestDomainStatus CHECKING ListDomainsRequestDomainStatus CHECK_FAILED ListDomainsRequestDomainStatus DELETING ListDomainsRequestDomainStatus }
func GetListDomainsRequestDomainStatusEnum ¶
func GetListDomainsRequestDomainStatusEnum() ListDomainsRequestDomainStatusEnum
type ListDomainsRequestServiceArea ¶
type ListDomainsRequestServiceArea struct {
// contains filtered or unexported fields
}
func (ListDomainsRequestServiceArea) MarshalJSON ¶
func (c ListDomainsRequestServiceArea) MarshalJSON() ([]byte, error)
func (*ListDomainsRequestServiceArea) UnmarshalJSON ¶
func (c *ListDomainsRequestServiceArea) UnmarshalJSON(b []byte) error
type ListDomainsRequestServiceAreaEnum ¶
type ListDomainsRequestServiceAreaEnum struct { MAINLAND_CHINA ListDomainsRequestServiceArea OUTSIDE_MAINLAND_CHINA ListDomainsRequestServiceArea GLOBAL ListDomainsRequestServiceArea }
func GetListDomainsRequestServiceAreaEnum ¶
func GetListDomainsRequestServiceAreaEnum() ListDomainsRequestServiceAreaEnum
type ListDomainsResponse ¶
type ListDomainsResponse struct { Total *int32 `json:"total,omitempty"` Domains *[]Domains `json:"domains,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDomainsResponse) String ¶
func (o ListDomainsResponse) String() string
type LogObject ¶
type OriginHostBody ¶
type OriginHostBody struct { OriginHostType OriginHostBodyOriginHostType `json:"origin_host_type"` CustomizeDomain *string `json:"customize_domain,omitempty"` }
func (OriginHostBody) String ¶
func (o OriginHostBody) String() string
type OriginHostBodyOriginHostType ¶
type OriginHostBodyOriginHostType struct {
// contains filtered or unexported fields
}
func (OriginHostBodyOriginHostType) MarshalJSON ¶
func (c OriginHostBodyOriginHostType) MarshalJSON() ([]byte, error)
func (*OriginHostBodyOriginHostType) UnmarshalJSON ¶
func (c *OriginHostBodyOriginHostType) UnmarshalJSON(b []byte) error
type OriginHostBodyOriginHostTypeEnum ¶
type OriginHostBodyOriginHostTypeEnum struct { ACCELERATE OriginHostBodyOriginHostType CUSTOMIZE OriginHostBodyOriginHostType }
func GetOriginHostBodyOriginHostTypeEnum ¶
func GetOriginHostBodyOriginHostTypeEnum() OriginHostBodyOriginHostTypeEnum
type OriginHostRequest ¶
type OriginHostRequest struct {
OriginHost *OriginHostBody `json:"origin_host"`
}
func (OriginHostRequest) String ¶
func (o OriginHostRequest) String() string
type OriginRangeBody ¶
type OriginRangeBody struct { RangeStatus *OriginRangeBodyRangeStatus `json:"range_status,omitempty"` DomainId *string `json:"domain_id,omitempty"` }
func (OriginRangeBody) String ¶
func (o OriginRangeBody) String() string
type OriginRangeBodyRangeStatus ¶
type OriginRangeBodyRangeStatus struct {
// contains filtered or unexported fields
}
func (OriginRangeBodyRangeStatus) MarshalJSON ¶
func (c OriginRangeBodyRangeStatus) MarshalJSON() ([]byte, error)
func (*OriginRangeBodyRangeStatus) UnmarshalJSON ¶
func (c *OriginRangeBodyRangeStatus) UnmarshalJSON(b []byte) error
type OriginRangeBodyRangeStatusEnum ¶
type OriginRangeBodyRangeStatusEnum struct { OFF OriginRangeBodyRangeStatus ON OriginRangeBodyRangeStatus }
func GetOriginRangeBodyRangeStatusEnum ¶
func GetOriginRangeBodyRangeStatusEnum() OriginRangeBodyRangeStatusEnum
type OriginRequest ¶
type OriginRequest struct {
Origin *ResourceBody `json:"origin"`
}
func (OriginRequest) String ¶
func (o OriginRequest) String() string
type PreheatingTask ¶ added in v0.0.48
type PreheatingTask struct {
Id *string `json:"id,omitempty"`
}
func (PreheatingTask) String ¶ added in v0.0.48
func (o PreheatingTask) String() string
type PreheatingTaskRequest ¶
type PreheatingTaskRequest struct {
PreheatingTask *PreheatingTaskRequestPreheatingTask `json:"preheating_task"`
}
func (PreheatingTaskRequest) String ¶
func (o PreheatingTaskRequest) String() string
type PreheatingTaskRequestPreheatingTask ¶ added in v0.0.48
type PreheatingTaskRequestPreheatingTask struct {
Urls []string `json:"urls"`
}
request
func (PreheatingTaskRequestPreheatingTask) String ¶ added in v0.0.48
func (o PreheatingTaskRequestPreheatingTask) String() string
type RangeStatusRequest ¶
type RangeStatusRequest struct {
RangeStatus RangeStatusRequestRangeStatus `json:"range_status"`
}
func (RangeStatusRequest) String ¶
func (o RangeStatusRequest) String() string
type RangeStatusRequestRangeStatus ¶
type RangeStatusRequestRangeStatus struct {
// contains filtered or unexported fields
}
func (RangeStatusRequestRangeStatus) MarshalJSON ¶
func (c RangeStatusRequestRangeStatus) MarshalJSON() ([]byte, error)
func (*RangeStatusRequestRangeStatus) UnmarshalJSON ¶
func (c *RangeStatusRequestRangeStatus) UnmarshalJSON(b []byte) error
type RangeStatusRequestRangeStatusEnum ¶
type RangeStatusRequestRangeStatusEnum struct { OFF RangeStatusRequestRangeStatus ON RangeStatusRequestRangeStatus }
func GetRangeStatusRequestRangeStatusEnum ¶
func GetRangeStatusRequestRangeStatusEnum() RangeStatusRequestRangeStatusEnum
type Referer ¶
type RefererBody ¶
type RefererBody struct {
Referer *Referer `json:"referer"`
}
func (RefererBody) String ¶
func (o RefererBody) String() string
type RefererRsp ¶
type RefererRsp struct { RefererType *int32 `json:"referer_type,omitempty"` RefererList *string `json:"referer_list,omitempty"` IncludeEmpty *bool `json:"include_empty,omitempty"` }
func (RefererRsp) String ¶
func (o RefererRsp) String() string
type RefreshTask ¶ added in v0.0.48
type RefreshTask struct {
Id *string `json:"id,omitempty"`
}
func (RefreshTask) String ¶ added in v0.0.48
func (o RefreshTask) String() string
type RefreshTaskRequest ¶
type RefreshTaskRequest struct {
RefreshTask *RefreshTaskRequestRefreshTask `json:"refresh_task"`
}
func (RefreshTaskRequest) String ¶
func (o RefreshTaskRequest) String() string
type RefreshTaskRequestRefreshTask ¶ added in v0.0.48
type RefreshTaskRequestRefreshTask struct { Type *RefreshTaskRequestRefreshTaskType `json:"type,omitempty"` Urls []string `json:"urls"` }
request
func (RefreshTaskRequestRefreshTask) String ¶ added in v0.0.48
func (o RefreshTaskRequestRefreshTask) String() string
type RefreshTaskRequestRefreshTaskType ¶ added in v0.0.48
type RefreshTaskRequestRefreshTaskType struct {
// contains filtered or unexported fields
}
func (RefreshTaskRequestRefreshTaskType) MarshalJSON ¶ added in v0.0.48
func (c RefreshTaskRequestRefreshTaskType) MarshalJSON() ([]byte, error)
func (*RefreshTaskRequestRefreshTaskType) UnmarshalJSON ¶ added in v0.0.48
func (c *RefreshTaskRequestRefreshTaskType) UnmarshalJSON(b []byte) error
type RefreshTaskRequestRefreshTaskTypeEnum ¶ added in v0.0.48
type RefreshTaskRequestRefreshTaskTypeEnum struct { FILE RefreshTaskRequestRefreshTaskType DIRECTORY RefreshTaskRequestRefreshTaskType }
func GetRefreshTaskRequestRefreshTaskTypeEnum ¶ added in v0.0.48
func GetRefreshTaskRequestRefreshTaskTypeEnum() RefreshTaskRequestRefreshTaskTypeEnum
type ResourceBody ¶
type ResourceBody struct {
Sources []SourceWithPort `json:"sources"`
}
func (ResourceBody) String ¶
func (o ResourceBody) String() string
type Rules ¶
type ShowBlackWhiteListRequest ¶
type ShowBlackWhiteListRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (ShowBlackWhiteListRequest) String ¶
func (o ShowBlackWhiteListRequest) String() string
type ShowBlackWhiteListResponse ¶
type ShowBlackWhiteListResponse struct { Type *int32 `json:"type,omitempty"` IpList *[]string `json:"ip_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBlackWhiteListResponse) String ¶
func (o ShowBlackWhiteListResponse) String() string
type ShowCacheRulesRequest ¶
type ShowCacheRulesRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowCacheRulesRequest) String ¶
func (o ShowCacheRulesRequest) String() string
type ShowCacheRulesResponse ¶
type ShowCacheRulesResponse struct { CacheConfig *CacheConfig `json:"cache_config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCacheRulesResponse) String ¶
func (o ShowCacheRulesResponse) String() string
type ShowCertificatesHttpsInfoRequest ¶
type ShowCertificatesHttpsInfoRequest struct { PageSize *int32 `json:"page_size,omitempty"` PageNumber *int32 `json:"page_number,omitempty"` DomainName *string `json:"domain_name,omitempty"` UserDomainId *string `json:"user_domain_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowCertificatesHttpsInfoRequest) String ¶
func (o ShowCertificatesHttpsInfoRequest) String() string
type ShowCertificatesHttpsInfoResponse ¶
type ShowCertificatesHttpsInfoResponse struct { Total *int32 `json:"total,omitempty"` Https *[]HttpsDetail `json:"https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCertificatesHttpsInfoResponse) String ¶
func (o ShowCertificatesHttpsInfoResponse) String() string
type ShowDomainDetailRequest ¶
type ShowDomainDetailRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowDomainDetailRequest) String ¶
func (o ShowDomainDetailRequest) String() string
type ShowDomainDetailResponse ¶
type ShowDomainDetailResponse struct { Domain *Domains `json:"domain,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainDetailResponse) String ¶
func (o ShowDomainDetailResponse) String() string
type ShowDomainItemDetailsRequest ¶
type ShowDomainItemDetailsRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` DomainName string `json:"domain_name"` StatType ShowDomainItemDetailsRequestStatType `json:"stat_type"` }
Request Object
func (ShowDomainItemDetailsRequest) String ¶
func (o ShowDomainItemDetailsRequest) String() string
type ShowDomainItemDetailsRequestStatType ¶
type ShowDomainItemDetailsRequestStatType struct {
// contains filtered or unexported fields
}
func (ShowDomainItemDetailsRequestStatType) MarshalJSON ¶
func (c ShowDomainItemDetailsRequestStatType) MarshalJSON() ([]byte, error)
func (*ShowDomainItemDetailsRequestStatType) UnmarshalJSON ¶
func (c *ShowDomainItemDetailsRequestStatType) UnmarshalJSON(b []byte) error
type ShowDomainItemDetailsRequestStatTypeEnum ¶
type ShowDomainItemDetailsRequestStatTypeEnum struct { BW ShowDomainItemDetailsRequestStatType FLUX ShowDomainItemDetailsRequestStatType BS_BW ShowDomainItemDetailsRequestStatType BS_FLUX ShowDomainItemDetailsRequestStatType REQ_NUM ShowDomainItemDetailsRequestStatType HIT_NUM ShowDomainItemDetailsRequestStatType BS_NUM ShowDomainItemDetailsRequestStatType BS_FAIL_NUM ShowDomainItemDetailsRequestStatType HIT_FLUX ShowDomainItemDetailsRequestStatType }
func GetShowDomainItemDetailsRequestStatTypeEnum ¶
func GetShowDomainItemDetailsRequestStatTypeEnum() ShowDomainItemDetailsRequestStatTypeEnum
type ShowDomainItemDetailsResponse ¶
type ShowDomainItemDetailsResponse struct { DomainItemDetails *DomainItemDetail `json:"domain_item_details,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainItemDetailsResponse) String ¶
func (o ShowDomainItemDetailsResponse) String() string
type ShowDomainItemLocationDetailsRequest ¶
type ShowDomainItemLocationDetailsRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` DomainName string `json:"domain_name"` StatType ShowDomainItemLocationDetailsRequestStatType `json:"stat_type"` Region string `json:"region"` Isp string `json:"isp"` }
Request Object
func (ShowDomainItemLocationDetailsRequest) String ¶
func (o ShowDomainItemLocationDetailsRequest) String() string
type ShowDomainItemLocationDetailsRequestStatType ¶
type ShowDomainItemLocationDetailsRequestStatType struct {
// contains filtered or unexported fields
}
func (ShowDomainItemLocationDetailsRequestStatType) MarshalJSON ¶
func (c ShowDomainItemLocationDetailsRequestStatType) MarshalJSON() ([]byte, error)
func (*ShowDomainItemLocationDetailsRequestStatType) UnmarshalJSON ¶
func (c *ShowDomainItemLocationDetailsRequestStatType) UnmarshalJSON(b []byte) error
type ShowDomainItemLocationDetailsRequestStatTypeEnum ¶
type ShowDomainItemLocationDetailsRequestStatTypeEnum struct { BW ShowDomainItemLocationDetailsRequestStatType FLUX ShowDomainItemLocationDetailsRequestStatType REQ_NUM ShowDomainItemLocationDetailsRequestStatType }
func GetShowDomainItemLocationDetailsRequestStatTypeEnum ¶
func GetShowDomainItemLocationDetailsRequestStatTypeEnum() ShowDomainItemLocationDetailsRequestStatTypeEnum
type ShowDomainItemLocationDetailsResponse ¶
type ShowDomainItemLocationDetailsResponse struct { Domains *[]DomainItemLocationDetails `json:"domains,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainItemLocationDetailsResponse) String ¶
func (o ShowDomainItemLocationDetailsResponse) String() string
type ShowHistoryTaskDetailsRequest ¶
type ShowHistoryTaskDetailsRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` HistoryTasksId string `json:"history_tasks_id"` PageSize *int32 `json:"page_size,omitempty"` PageNumber *int32 `json:"page_number,omitempty"` Status *int32 `json:"status,omitempty"` Url *int32 `json:"url,omitempty"` }
Request Object
func (ShowHistoryTaskDetailsRequest) String ¶
func (o ShowHistoryTaskDetailsRequest) String() string
type ShowHistoryTaskDetailsResponse ¶
type ShowHistoryTaskDetailsResponse struct { Id *string `json:"id,omitempty"` TaskType *string `json:"task_type,omitempty"` Status *string `json:"status,omitempty"` Urls *[]UrlObject `json:"urls,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` Processing *int32 `json:"processing,omitempty"` Succeed *int32 `json:"succeed,omitempty"` Failed *int32 `json:"failed,omitempty"` Total *int32 `json:"total,omitempty"` FileType *string `json:"file_type,omitempty"` TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowHistoryTaskDetailsResponse) String ¶
func (o ShowHistoryTaskDetailsResponse) String() string
type ShowHistoryTasksRequest ¶
type ShowHistoryTasksRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` PageSize *int32 `json:"page_size,omitempty"` PageNumber *int32 `json:"page_number,omitempty"` Status *ShowHistoryTasksRequestStatus `json:"status,omitempty"` StartDate *int32 `json:"start_date,omitempty"` EndDate *int32 `json:"end_date,omitempty"` OrderField *string `json:"order_field,omitempty"` OrderType *string `json:"order_type,omitempty"` UserDomainId *string `json:"user_domain_id,omitempty"` FileType *ShowHistoryTasksRequestFileType `json:"file_type,omitempty"` TaskId *string `json:"task_id,omitempty"` }
Request Object
func (ShowHistoryTasksRequest) String ¶
func (o ShowHistoryTasksRequest) String() string
type ShowHistoryTasksRequestFileType ¶
type ShowHistoryTasksRequestFileType struct {
// contains filtered or unexported fields
}
func (ShowHistoryTasksRequestFileType) MarshalJSON ¶
func (c ShowHistoryTasksRequestFileType) MarshalJSON() ([]byte, error)
func (*ShowHistoryTasksRequestFileType) UnmarshalJSON ¶
func (c *ShowHistoryTasksRequestFileType) UnmarshalJSON(b []byte) error
type ShowHistoryTasksRequestFileTypeEnum ¶
type ShowHistoryTasksRequestFileTypeEnum struct { FILE ShowHistoryTasksRequestFileType DIRECTORY ShowHistoryTasksRequestFileType }
func GetShowHistoryTasksRequestFileTypeEnum ¶
func GetShowHistoryTasksRequestFileTypeEnum() ShowHistoryTasksRequestFileTypeEnum
type ShowHistoryTasksRequestStatus ¶
type ShowHistoryTasksRequestStatus struct {
// contains filtered or unexported fields
}
func (ShowHistoryTasksRequestStatus) MarshalJSON ¶
func (c ShowHistoryTasksRequestStatus) MarshalJSON() ([]byte, error)
func (*ShowHistoryTasksRequestStatus) UnmarshalJSON ¶
func (c *ShowHistoryTasksRequestStatus) UnmarshalJSON(b []byte) error
type ShowHistoryTasksRequestStatusEnum ¶
type ShowHistoryTasksRequestStatusEnum struct { TASK_INPROCESS ShowHistoryTasksRequestStatus TASK_DONE ShowHistoryTasksRequestStatus }
func GetShowHistoryTasksRequestStatusEnum ¶
func GetShowHistoryTasksRequestStatusEnum() ShowHistoryTasksRequestStatusEnum
type ShowHistoryTasksResponse ¶
type ShowHistoryTasksResponse struct { Total *int32 `json:"total,omitempty"` Tasks *[]TasksObject `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowHistoryTasksResponse) String ¶
func (o ShowHistoryTasksResponse) String() string
type ShowHttpInfoRequest ¶
type ShowHttpInfoRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowHttpInfoRequest) String ¶
func (o ShowHttpInfoRequest) String() string
type ShowHttpInfoResponse ¶
type ShowHttpInfoResponse struct { Https *HttpInfoResponseBody `json:"https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowHttpInfoResponse) String ¶
func (o ShowHttpInfoResponse) String() string
type ShowIpInfoRequest ¶
type ShowIpInfoRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Ips string `json:"ips"` }
Request Object
func (ShowIpInfoRequest) String ¶
func (o ShowIpInfoRequest) String() string
type ShowIpInfoResponse ¶
type ShowIpInfoResponse struct { CdnIps *[]CdnIps `json:"cdn_ips,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIpInfoResponse) String ¶
func (o ShowIpInfoResponse) String() string
type ShowLogsRequest ¶
type ShowLogsRequest struct { DomainName string `json:"domain_name"` QueryDate int64 `json:"query_date"` PageSize *int32 `json:"page_size,omitempty"` PageNumber *int32 `json:"page_number,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowLogsRequest) String ¶
func (o ShowLogsRequest) String() string
type ShowLogsResponse ¶
type ShowLogsResponse struct { Total *int32 `json:"total,omitempty"` Logs *[]LogObject `json:"logs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowLogsResponse) String ¶
func (o ShowLogsResponse) String() string
type ShowOriginHostRequest ¶
type ShowOriginHostRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowOriginHostRequest) String ¶
func (o ShowOriginHostRequest) String() string
type ShowOriginHostResponse ¶
type ShowOriginHostResponse struct { OriginHost *DomainOriginHost `json:"origin_host,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowOriginHostResponse) String ¶
func (o ShowOriginHostResponse) String() string
type ShowRefererRequest ¶ added in v0.0.48
type ShowRefererRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` DomainId string `json:"domain_id"` }
Request Object
func (ShowRefererRequest) String ¶ added in v0.0.48
func (o ShowRefererRequest) String() string
type ShowRefererResponse ¶ added in v0.0.48
type ShowRefererResponse struct { Referer *RefererRsp `json:"referer,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRefererResponse) String ¶ added in v0.0.48
func (o ShowRefererResponse) String() string
type ShowResponseHeaderRequest ¶
type ShowResponseHeaderRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ShowResponseHeaderRequest) String ¶
func (o ShowResponseHeaderRequest) String() string
type ShowResponseHeaderResponse ¶
type ShowResponseHeaderResponse struct { Headers *HeaderMap `json:"headers,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResponseHeaderResponse) String ¶
func (o ShowResponseHeaderResponse) String() string
type ShowTopUrlRequest ¶
type ShowTopUrlRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` StartTime *int64 `json:"start_time,omitempty"` EndTime *int64 `json:"end_time,omitempty"` DomainName string `json:"domain_name"` ServiceArea *ShowTopUrlRequestServiceArea `json:"service_area,omitempty"` StatType string `json:"stat_type"` }
Request Object
func (ShowTopUrlRequest) String ¶
func (o ShowTopUrlRequest) String() string
type ShowTopUrlRequestServiceArea ¶
type ShowTopUrlRequestServiceArea struct {
// contains filtered or unexported fields
}
func (ShowTopUrlRequestServiceArea) MarshalJSON ¶
func (c ShowTopUrlRequestServiceArea) MarshalJSON() ([]byte, error)
func (*ShowTopUrlRequestServiceArea) UnmarshalJSON ¶
func (c *ShowTopUrlRequestServiceArea) UnmarshalJSON(b []byte) error
type ShowTopUrlRequestServiceAreaEnum ¶
type ShowTopUrlRequestServiceAreaEnum struct {
MAINLAND_CHINA ShowTopUrlRequestServiceArea
}
func GetShowTopUrlRequestServiceAreaEnum ¶
func GetShowTopUrlRequestServiceAreaEnum() ShowTopUrlRequestServiceAreaEnum
type ShowTopUrlResponse ¶
type ShowTopUrlResponse struct { ServiceArea *string `json:"service_area,omitempty"` TopUrlSummary *[]TopUrlSummary `json:"top_url_summary,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTopUrlResponse) String ¶
func (o ShowTopUrlResponse) String() string
type SourceWithPort ¶
type SourceWithPort struct { IpOrDomain string `json:"ip_or_domain"` OriginType SourceWithPortOriginType `json:"origin_type"` ActiveStandby int32 `json:"active_standby"` EnableObsWebHosting *int32 `json:"enable_obs_web_hosting,omitempty"` HttpPort *int32 `json:"http_port,omitempty"` HttpsPort *int32 `json:"https_port,omitempty"` }
源站信息
func (SourceWithPort) String ¶
func (o SourceWithPort) String() string
type SourceWithPortOriginType ¶
type SourceWithPortOriginType struct {
// contains filtered or unexported fields
}
func (SourceWithPortOriginType) MarshalJSON ¶
func (c SourceWithPortOriginType) MarshalJSON() ([]byte, error)
func (*SourceWithPortOriginType) UnmarshalJSON ¶
func (c *SourceWithPortOriginType) UnmarshalJSON(b []byte) error
type SourceWithPortOriginTypeEnum ¶
type SourceWithPortOriginTypeEnum struct { IPADDR SourceWithPortOriginType DOMAIN SourceWithPortOriginType OBS_BUCKET SourceWithPortOriginType }
func GetSourceWithPortOriginTypeEnum ¶
func GetSourceWithPortOriginTypeEnum() SourceWithPortOriginTypeEnum
type Sources ¶
type Sources struct { IpOrDomain string `json:"ip_or_domain"` OriginType SourcesOriginType `json:"origin_type"` ActiveStandby int32 `json:"active_standby"` EnableObsWebHosting *int32 `json:"enable_obs_web_hosting,omitempty"` }
源站信息
type SourcesOriginType ¶
type SourcesOriginType struct {
// contains filtered or unexported fields
}
func (SourcesOriginType) MarshalJSON ¶
func (c SourcesOriginType) MarshalJSON() ([]byte, error)
func (*SourcesOriginType) UnmarshalJSON ¶
func (c *SourcesOriginType) UnmarshalJSON(b []byte) error
type SourcesOriginTypeEnum ¶
type SourcesOriginTypeEnum struct { IPADDR SourcesOriginType DOMAIN SourcesOriginType OBS_BUCKET SourcesOriginType }
func GetSourcesOriginTypeEnum ¶
func GetSourcesOriginTypeEnum() SourcesOriginTypeEnum
type TasksObject ¶
type TasksObject struct { Id *string `json:"id,omitempty"` TaskType *TasksObjectTaskType `json:"task_type,omitempty"` Status *string `json:"status,omitempty"` Processing *int32 `json:"processing,omitempty"` Succeed *int32 `json:"succeed,omitempty"` Failed *int32 `json:"failed,omitempty"` Total *int32 `json:"total,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` Urls *[]string `json:"urls,omitempty"` FileType *TasksObjectFileType `json:"file_type,omitempty"` TaskId *string `json:"task_id,omitempty"` }
func (TasksObject) String ¶
func (o TasksObject) String() string
type TasksObjectFileType ¶
type TasksObjectFileType struct {
// contains filtered or unexported fields
}
func (TasksObjectFileType) MarshalJSON ¶
func (c TasksObjectFileType) MarshalJSON() ([]byte, error)
func (*TasksObjectFileType) UnmarshalJSON ¶
func (c *TasksObjectFileType) UnmarshalJSON(b []byte) error
type TasksObjectFileTypeEnum ¶
type TasksObjectFileTypeEnum struct { FILE TasksObjectFileType DIRECTORY TasksObjectFileType }
func GetTasksObjectFileTypeEnum ¶
func GetTasksObjectFileTypeEnum() TasksObjectFileTypeEnum
type TasksObjectTaskType ¶
type TasksObjectTaskType struct {
// contains filtered or unexported fields
}
func (TasksObjectTaskType) MarshalJSON ¶
func (c TasksObjectTaskType) MarshalJSON() ([]byte, error)
func (*TasksObjectTaskType) UnmarshalJSON ¶
func (c *TasksObjectTaskType) UnmarshalJSON(b []byte) error
type TasksObjectTaskTypeEnum ¶
type TasksObjectTaskTypeEnum struct { REFRESH TasksObjectTaskType PREHEATING TasksObjectTaskType }
func GetTasksObjectTaskTypeEnum ¶
func GetTasksObjectTaskTypeEnum() TasksObjectTaskTypeEnum
type TopUrlSummary ¶
type TopUrlSummary struct { Url *string `json:"url,omitempty"` Value *int32 `json:"value,omitempty"` StartTime *int64 `json:"start_time,omitempty"` EndTime *int64 `json:"end_time,omitempty"` StatType *string `json:"stat_type,omitempty"` }
func (TopUrlSummary) String ¶
func (o TopUrlSummary) String() string
type UpdateBlackWhiteListRequest ¶
type UpdateBlackWhiteListRequest struct { DomainId string `json:"domain_id"` Body *BlackWhiteListBody `json:"body,omitempty"` }
Request Object
func (UpdateBlackWhiteListRequest) String ¶
func (o UpdateBlackWhiteListRequest) String() string
type UpdateBlackWhiteListResponse ¶
type UpdateBlackWhiteListResponse struct { Code *string `json:"code,omitempty"` Result *string `json:"result,omitempty"` Data *interface{} `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateBlackWhiteListResponse) String ¶
func (o UpdateBlackWhiteListResponse) String() string
type UpdateCacheRulesRequest ¶
type UpdateCacheRulesRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *CacheConfigRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateCacheRulesRequest) String ¶
func (o UpdateCacheRulesRequest) String() string
type UpdateCacheRulesResponse ¶
type UpdateCacheRulesResponse struct { CacheConfig *CacheConfig `json:"cache_config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCacheRulesResponse) String ¶
func (o UpdateCacheRulesResponse) String() string
type UpdateDomainMultiCertificatesRequest ¶
type UpdateDomainMultiCertificatesRequest struct {
Body *UpdateDomainMultiCertificatesRequestBody `json:"body,omitempty"`
}
Request Object
func (UpdateDomainMultiCertificatesRequest) String ¶
func (o UpdateDomainMultiCertificatesRequest) String() string
type UpdateDomainMultiCertificatesRequestBody ¶
type UpdateDomainMultiCertificatesRequestBody struct {
Https *UpdateDomainMultiCertificatesRequestBodyContent `json:"https,omitempty"`
}
func (UpdateDomainMultiCertificatesRequestBody) String ¶
func (o UpdateDomainMultiCertificatesRequestBody) String() string
type UpdateDomainMultiCertificatesRequestBodyContent ¶
type UpdateDomainMultiCertificatesRequestBodyContent struct { DomainName string `json:"domain_name"` HttpsSwitch int32 `json:"https_switch"` AccessOriginWay *int32 `json:"access_origin_way,omitempty"` ForceRedirectHttps *int32 `json:"force_redirect_https,omitempty"` Http2 *int32 `json:"http2,omitempty"` CertName *string `json:"cert_name,omitempty"` Certificate *string `json:"certificate,omitempty"` PrivateKey *string `json:"private_key,omitempty"` CertificateType *int32 `json:"certificate_type,omitempty"` }
func (UpdateDomainMultiCertificatesRequestBodyContent) String ¶
func (o UpdateDomainMultiCertificatesRequestBodyContent) String() string
type UpdateDomainMultiCertificatesResponse ¶
type UpdateDomainMultiCertificatesResponse struct { Https *UpdateDomainMultiCertificatesResponseBodyContent `json:"https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainMultiCertificatesResponse) String ¶
func (o UpdateDomainMultiCertificatesResponse) String() string
type UpdateDomainMultiCertificatesResponseBodyContent ¶
type UpdateDomainMultiCertificatesResponseBodyContent struct { DomainName string `json:"domain_name"` HttpsSwitch *int32 `json:"https_switch,omitempty"` AccessOriginWay *int32 `json:"access_origin_way,omitempty"` ForceRedirectHttps *int32 `json:"force_redirect_https,omitempty"` Http2 *int32 `json:"http2,omitempty"` CertName *string `json:"cert_name,omitempty"` Certificate *string `json:"certificate,omitempty"` CertificateType *int32 `json:"certificate_type,omitempty"` ExpirationTime *int64 `json:"expiration_time,omitempty"` }
func (UpdateDomainMultiCertificatesResponseBodyContent) String ¶
func (o UpdateDomainMultiCertificatesResponseBodyContent) String() string
type UpdateDomainOriginRequest ¶
type UpdateDomainOriginRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *OriginRequest `json:"body,omitempty"` }
Request Object
func (UpdateDomainOriginRequest) String ¶
func (o UpdateDomainOriginRequest) String() string
type UpdateDomainOriginResponse ¶
type UpdateDomainOriginResponse struct { Origin *ResourceBody `json:"origin,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainOriginResponse) String ¶
func (o UpdateDomainOriginResponse) String() string
type UpdateFollow302SwitchRequest ¶
type UpdateFollow302SwitchRequest struct { DomainId string `json:"domain_id"` Body *Follow302StatusRequest `json:"body,omitempty"` }
Request Object
func (UpdateFollow302SwitchRequest) String ¶
func (o UpdateFollow302SwitchRequest) String() string
type UpdateFollow302SwitchResponse ¶
type UpdateFollow302SwitchResponse struct { FollowStatus *Follow302StatusBody `json:"follow_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateFollow302SwitchResponse) String ¶
func (o UpdateFollow302SwitchResponse) String() string
type UpdateHttpsInfoRequest ¶
type UpdateHttpsInfoRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *HttpInfoRequest `json:"body,omitempty"` }
Request Object
func (UpdateHttpsInfoRequest) String ¶
func (o UpdateHttpsInfoRequest) String() string
type UpdateHttpsInfoResponse ¶
type UpdateHttpsInfoResponse struct { Https *HttpInfoResponseBody `json:"https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateHttpsInfoResponse) String ¶
func (o UpdateHttpsInfoResponse) String() string
type UpdateOriginHostRequest ¶
type UpdateOriginHostRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *OriginHostRequest `json:"body,omitempty"` }
Request Object
func (UpdateOriginHostRequest) String ¶
func (o UpdateOriginHostRequest) String() string
type UpdateOriginHostResponse ¶
type UpdateOriginHostResponse struct { OriginHost *DomainOriginHost `json:"origin_host,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateOriginHostResponse) String ¶
func (o UpdateOriginHostResponse) String() string
type UpdatePrivateBucketAccessBody ¶
type UpdatePrivateBucketAccessBody struct {
Status *bool `json:"status,omitempty"`
}
修改私有桶开启关闭状态
func (UpdatePrivateBucketAccessBody) String ¶
func (o UpdatePrivateBucketAccessBody) String() string
type UpdatePrivateBucketAccessRequest ¶
type UpdatePrivateBucketAccessRequest struct { DomainId string `json:"domain_id"` Body *UpdatePrivateBucketAccessBody `json:"body,omitempty"` }
Request Object
func (UpdatePrivateBucketAccessRequest) String ¶
func (o UpdatePrivateBucketAccessRequest) String() string
type UpdatePrivateBucketAccessResponse ¶
type UpdatePrivateBucketAccessResponse struct { Status *bool `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePrivateBucketAccessResponse) String ¶
func (o UpdatePrivateBucketAccessResponse) String() string
type UpdateRangeSwitchRequest ¶
type UpdateRangeSwitchRequest struct { DomainId string `json:"domain_id"` Body *RangeStatusRequest `json:"body,omitempty"` }
Request Object
func (UpdateRangeSwitchRequest) String ¶
func (o UpdateRangeSwitchRequest) String() string
type UpdateRangeSwitchResponse ¶
type UpdateRangeSwitchResponse struct { OriginRange *OriginRangeBody `json:"origin_range,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateRangeSwitchResponse) String ¶
func (o UpdateRangeSwitchResponse) String() string
type UpdateReferRequest ¶
type UpdateReferRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` DomainId string `json:"domain_id"` Body *RefererBody `json:"body,omitempty"` }
Request Object
func (UpdateReferRequest) String ¶
func (o UpdateReferRequest) String() string
type UpdateReferResponse ¶
type UpdateReferResponse struct { Referer *RefererRsp `json:"referer,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateReferResponse) String ¶
func (o UpdateReferResponse) String() string
type UpdateResponseHeaderRequest ¶
type UpdateResponseHeaderRequest struct { DomainId string `json:"domain_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *HeaderBody `json:"body,omitempty"` }
Request Object
func (UpdateResponseHeaderRequest) String ¶
func (o UpdateResponseHeaderRequest) String() string
type UpdateResponseHeaderResponse ¶
type UpdateResponseHeaderResponse struct { Headers *HeaderMap `json:"headers,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateResponseHeaderResponse) String ¶
func (o UpdateResponseHeaderResponse) String() string
Source Files ¶
- model_black_white_list_body.go
- model_cache_config.go
- model_cache_config_request.go
- model_cache_config_request_body.go
- model_cdn_ips.go
- model_compress_request.go
- model_compress_response.go
- model_compress_rules.go
- model_create_domain_request.go
- model_create_domain_request_body.go
- model_create_domain_response.go
- model_create_domain_response_body_content.go
- model_create_preheating_tasks_request.go
- model_create_preheating_tasks_response.go
- model_create_refresh_tasks_request.go
- model_create_refresh_tasks_response.go
- model_delete_domain_request.go
- model_delete_domain_response.go
- model_disable_domain_request.go
- model_disable_domain_response.go
- model_domain_body.go
- model_domain_item_detail.go
- model_domain_item_location_details.go
- model_domain_object.go
- model_domain_origin_host.go
- model_domain_region.go
- model_domain_region_isp_detail.go
- model_domains.go
- model_enable_domain_request.go
- model_enable_domain_response.go
- model_follow302_status_body.go
- model_follow302_status_request.go
- model_force_redirect.go
- model_header_body.go
- model_header_map.go
- model_http_info_request.go
- model_http_info_request_body.go
- model_http_info_response_body.go
- model_https_detail.go
- model_list_domains_request.go
- model_list_domains_response.go
- model_log_object.go
- model_origin_host_body.go
- model_origin_host_request.go
- model_origin_range_body.go
- model_origin_request.go
- model_preheating_task.go
- model_preheating_task_request.go
- model_preheating_task_request_preheating_task.go
- model_range_status_request.go
- model_referer.go
- model_referer_body.go
- model_referer_rsp.go
- model_refresh_task.go
- model_refresh_task_request.go
- model_refresh_task_request_refresh_task.go
- model_resource_body.go
- model_rules.go
- model_show_black_white_list_request.go
- model_show_black_white_list_response.go
- model_show_cache_rules_request.go
- model_show_cache_rules_response.go
- model_show_certificates_https_info_request.go
- model_show_certificates_https_info_response.go
- model_show_domain_detail_request.go
- model_show_domain_detail_response.go
- model_show_domain_item_details_request.go
- model_show_domain_item_details_response.go
- model_show_domain_item_location_details_request.go
- model_show_domain_item_location_details_response.go
- model_show_history_task_details_request.go
- model_show_history_task_details_response.go
- model_show_history_tasks_request.go
- model_show_history_tasks_response.go
- model_show_http_info_request.go
- model_show_http_info_response.go
- model_show_ip_info_request.go
- model_show_ip_info_response.go
- model_show_logs_request.go
- model_show_logs_response.go
- model_show_origin_host_request.go
- model_show_origin_host_response.go
- model_show_referer_request.go
- model_show_referer_response.go
- model_show_response_header_request.go
- model_show_response_header_response.go
- model_show_top_url_request.go
- model_show_top_url_response.go
- model_source_with_port.go
- model_sources.go
- model_tasks_object.go
- model_top_url_summary.go
- model_update_black_white_list_request.go
- model_update_black_white_list_response.go
- model_update_cache_rules_request.go
- model_update_cache_rules_response.go
- model_update_domain_multi_certificates_request.go
- model_update_domain_multi_certificates_request_body.go
- model_update_domain_multi_certificates_request_body_content.go
- model_update_domain_multi_certificates_response.go
- model_update_domain_multi_certificates_response_body_content.go
- model_update_domain_origin_request.go
- model_update_domain_origin_response.go
- model_update_follow302_switch_request.go
- model_update_follow302_switch_response.go
- model_update_https_info_request.go
- model_update_https_info_response.go
- model_update_origin_host_request.go
- model_update_origin_host_response.go
- model_update_private_bucket_access_body.go
- model_update_private_bucket_access_request.go
- model_update_private_bucket_access_response.go
- model_update_range_switch_request.go
- model_update_range_switch_response.go
- model_update_refer_request.go
- model_update_refer_response.go
- model_update_response_header_request.go
- model_update_response_header_response.go
- model_url_object.go