model

package
v0.0.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

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 CdnIps struct {
	Ip *string `json:"ip,omitempty"`

	Belongs *bool `json:"belongs,omitempty"`

	Region *string `json:"region,omitempty"`

	Isp *string `json:"isp,omitempty"`

	Platform *string `json:"platform,omitempty"`
}

func (CdnIps) String

func (o CdnIps) String() string

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"`

	RangeStatus *string `json:"range_status,omitempty"`

	FollowStatus *string `json:"follow_status,omitempty"`

	OriginStatus *string `json:"origin_status,omitempty"`

	AutoRefreshPreheat *int32 `json:"auto_refresh_preheat,omitempty"`
}

创建域名返回信息

func (CreateDomainResponseBodyContent) String

type CreatePreheatingTasksRequest

type CreatePreheatingTasksRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *PreheatingTaskRequest `json:"body,omitempty"`
}

Request Object

func (CreatePreheatingTasksRequest) String

type CreatePreheatingTasksResponse

type CreatePreheatingTasksResponse struct {
	PreheatingTask *string `json:"preheating_task,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePreheatingTasksResponse) 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    *string `json:"refresh_task,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateRefreshTasksResponse) 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         *DomainsWithPort `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         *DomainsWithPort `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 *[]map[string]interface{} `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 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 *[]map[string]interface{} `json:"region_isp_details,omitempty"`
}

func (DomainRegion) String

func (o DomainRegion) 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 *[]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"`

	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"`
}

域名信息

func (Domains) String

func (o Domains) String() string

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 DomainsWithPort added in v0.0.59

type DomainsWithPort 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 *DomainsWithPortServiceArea `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"`
}

域名信息

func (DomainsWithPort) String added in v0.0.59

func (o DomainsWithPort) String() string

type DomainsWithPortServiceArea added in v0.0.59

type DomainsWithPortServiceArea struct {
	// contains filtered or unexported fields
}

func (DomainsWithPortServiceArea) MarshalJSON added in v0.0.59

func (c DomainsWithPortServiceArea) MarshalJSON() ([]byte, error)

func (*DomainsWithPortServiceArea) UnmarshalJSON added in v0.0.59

func (c *DomainsWithPortServiceArea) UnmarshalJSON(b []byte) error

type DomainsWithPortServiceAreaEnum added in v0.0.59

type DomainsWithPortServiceAreaEnum struct {
	MAINLAND_CHINA         DomainsWithPortServiceArea
	OUTSIDE_MAINLAND_CHINA DomainsWithPortServiceArea
	GLOBAL                 DomainsWithPortServiceArea
}

func GetDomainsWithPortServiceAreaEnum added in v0.0.59

func GetDomainsWithPortServiceAreaEnum() DomainsWithPortServiceAreaEnum

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         *DomainsWithPort `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 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\"。

func (HeaderMap) String

func (o HeaderMap) String() string

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 *int32 `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 *int32 `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 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 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 LogObject struct {
	DomainName *string `json:"domain_name,omitempty"`

	StartTime *int64 `json:"start_time,omitempty"`

	EndTime *int64 `json:"end_time,omitempty"`

	Name *string `json:"name,omitempty"`

	Size *int64 `json:"size,omitempty"`

	Link *string `json:"link,omitempty"`
}

func (LogObject) String

func (o LogObject) String() string

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 PreheatingTaskRequest

type PreheatingTaskRequest struct {
	PreheatingTask *PreheatingTaskRequestBody `json:"preheating_task"`
}

func (PreheatingTaskRequest) String

func (o PreheatingTaskRequest) String() string

type PreheatingTaskRequestBody added in v0.0.51

type PreheatingTaskRequestBody struct {
	Urls []string `json:"urls"`
}

func (PreheatingTaskRequestBody) String added in v0.0.51

func (o PreheatingTaskRequestBody) 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 Referer struct {
	RefererType int32 `json:"referer_type"`

	RefererList *string `json:"referer_list,omitempty"`

	IncludeEmpty *bool `json:"include_empty,omitempty"`
}

func (Referer) String

func (o Referer) String() string

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 RefreshTaskRequest

type RefreshTaskRequest struct {
	RefreshTask *RefreshTaskRequestBody `json:"refresh_task"`
}

func (RefreshTaskRequest) String

func (o RefreshTaskRequest) String() string

type RefreshTaskRequestBody

type RefreshTaskRequestBody struct {
	Type *RefreshTaskRequestBodyType `json:"type,omitempty"`

	Urls []string `json:"urls"`
}

func (RefreshTaskRequestBody) String

func (o RefreshTaskRequestBody) String() string

type RefreshTaskRequestBodyType

type RefreshTaskRequestBodyType struct {
	// contains filtered or unexported fields
}

func (RefreshTaskRequestBodyType) MarshalJSON

func (c RefreshTaskRequestBodyType) MarshalJSON() ([]byte, error)

func (*RefreshTaskRequestBodyType) UnmarshalJSON

func (c *RefreshTaskRequestBodyType) UnmarshalJSON(b []byte) error

type RefreshTaskRequestBodyTypeEnum

type RefreshTaskRequestBodyTypeEnum struct {
	FILE      RefreshTaskRequestBodyType
	DIRECTORY RefreshTaskRequestBodyType
}

func GetRefreshTaskRequestBodyTypeEnum

func GetRefreshTaskRequestBodyTypeEnum() RefreshTaskRequestBodyTypeEnum

type ResourceBody

type ResourceBody struct {
	Sources []SourceWithPort `json:"sources"`
}

func (ResourceBody) String

func (o ResourceBody) String() string

type Rules

type Rules struct {
	RuleType int32 `json:"rule_type"`

	Content *string `json:"content,omitempty"`

	Ttl int32 `json:"ttl"`

	TtlType int32 `json:"ttl_type"`

	Priority int32 `json:"priority"`
}

func (Rules) String

func (o Rules) String() string

type ShowBlackWhiteListRequest

type ShowBlackWhiteListRequest struct {
	DomainId string `json:"domain_id"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

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

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

type ShowCertificatesHttpsInfoResponse

type ShowCertificatesHttpsInfoResponse struct {
	Total *int32 `json:"total,omitempty"`

	Https          *[]HttpsDetail `json:"https,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowCertificatesHttpsInfoResponse) 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         *DomainsWithPort `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"`

	ServiceArea *string `json:"service_area,omitempty"`

	StatType string `json:"stat_type"`
}

Request Object

func (ShowDomainItemDetailsRequest) String

type ShowDomainItemDetailsResponse

type ShowDomainItemDetailsResponse struct {
	DomainItemDetails *DomainItemDetail `json:"domain_item_details,omitempty"`
	HttpStatusCode    int               `json:"-"`
}

Response Object

func (ShowDomainItemDetailsResponse) 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 string `json:"stat_type"`

	Region string `json:"region"`

	Isp string `json:"isp"`
}

Request Object

func (ShowDomainItemLocationDetailsRequest) String

type ShowDomainItemLocationDetailsResponse

type ShowDomainItemLocationDetailsResponse struct {
	DomainItemLocationDetails *DomainItemLocationDetails `json:"domain_item_location_details,omitempty"`
	HttpStatusCode            int                        `json:"-"`
}

Response Object

func (ShowDomainItemLocationDetailsResponse) String

type ShowDomainStatsRequest added in v0.0.60

type ShowDomainStatsRequest struct {
	Action string `json:"action"`

	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	Interval *int64 `json:"interval,omitempty"`

	DomainName string `json:"domain_name"`

	StatType string `json:"stat_type"`

	GroupBy *string `json:"group_by,omitempty"`

	Country *string `json:"country,omitempty"`

	District *string `json:"district,omitempty"`

	Isp *string `json:"isp,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ShowDomainStatsRequest) String added in v0.0.60

func (o ShowDomainStatsRequest) String() string

type ShowDomainStatsResponse added in v0.0.60

type ShowDomainStatsResponse struct {
	StartTime *int64 `json:"start_time,omitempty"`

	EndTime *int64 `json:"end_time,omitempty"`

	Interval *int64 `json:"interval,omitempty"`

	Action *string `json:"action,omitempty"`

	StatType *string `json:"stat_type,omitempty"`

	GroupBy *string `json:"group_by,omitempty"`

	Result         map[string]interface{} `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowDomainStatsResponse) String added in v0.0.60

func (o ShowDomainStatsResponse) 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 *string `json:"status,omitempty"`

	Url *string `json:"url,omitempty"`
}

Request Object

func (ShowHistoryTaskDetailsRequest) 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"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowHistoryTaskDetailsResponse) 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 *int64 `json:"start_date,omitempty"`

	EndDate *int64 `json:"end_date,omitempty"`

	OrderField *string `json:"order_field,omitempty"`

	OrderType *string `json:"order_type,omitempty"`

	FileType *ShowHistoryTasksRequestFileType `json:"file_type,omitempty"`

	CreateTime *int64 `json:"create_time,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 ShowQuotaRequest added in v0.0.49

type ShowQuotaRequest struct {
}

Request Object

func (ShowQuotaRequest) String added in v0.0.49

func (o ShowQuotaRequest) String() string

type ShowQuotaResponse added in v0.0.49

type ShowQuotaResponse struct {
	Quotas         *[]ShowQuotaResponseBodyQuotas `json:"quotas,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

Response Object

func (ShowQuotaResponse) String added in v0.0.49

func (o ShowQuotaResponse) String() string

type ShowQuotaResponseBodyQuotas added in v0.0.49

type ShowQuotaResponseBodyQuotas struct {
	QuotaLimit *int32 `json:"quota_limit,omitempty"`

	Type *string `json:"type,omitempty"`

	Used *int32 `json:"used,omitempty"`

	UserDomainId *string `json:"user_domain_id,omitempty"`
}

func (ShowQuotaResponseBodyQuotas) String added in v0.0.49

type ShowReferRequest

type ShowReferRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	DomainId string `json:"domain_id"`
}

Request Object

func (ShowReferRequest) String

func (o ShowReferRequest) String() string

type ShowReferResponse

type ShowReferResponse struct {
	Referer        *RefererRsp `json:"referer,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowReferResponse) String

func (o ShowReferResponse) 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

type ShowTopUrlRequest

type ShowTopUrlRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	DomainName string `json:"domain_name"`

	ServiceArea *ShowTopUrlRequestServiceArea `json:"service_area,omitempty"`

	StatType ShowTopUrlRequestStatType `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
	OUTSIDE_MAINLAND_CHINA ShowTopUrlRequestServiceArea
}

func GetShowTopUrlRequestServiceAreaEnum

func GetShowTopUrlRequestServiceAreaEnum() ShowTopUrlRequestServiceAreaEnum

type ShowTopUrlRequestStatType added in v0.0.51

type ShowTopUrlRequestStatType struct {
	// contains filtered or unexported fields
}

func (ShowTopUrlRequestStatType) MarshalJSON added in v0.0.51

func (c ShowTopUrlRequestStatType) MarshalJSON() ([]byte, error)

func (*ShowTopUrlRequestStatType) UnmarshalJSON added in v0.0.51

func (c *ShowTopUrlRequestStatType) UnmarshalJSON(b []byte) error

type ShowTopUrlRequestStatTypeEnum added in v0.0.51

type ShowTopUrlRequestStatTypeEnum struct {
	FLUX    ShowTopUrlRequestStatType
	REQ_NUM ShowTopUrlRequestStatType
}

func GetShowTopUrlRequestStatTypeEnum added in v0.0.51

func GetShowTopUrlRequestStatTypeEnum() ShowTopUrlRequestStatTypeEnum

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"`
}

源站信息

func (Sources) String

func (o Sources) String() string

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"`

	FileType *TasksObjectFileType `json:"file_type,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 *int64 `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"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *BlackWhiteListBody `json:"body,omitempty"`
}

Request Object

func (UpdateBlackWhiteListRequest) 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

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 {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *UpdateDomainMultiCertificatesRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateDomainMultiCertificatesRequest) String

type UpdateDomainMultiCertificatesRequestBody

type UpdateDomainMultiCertificatesRequestBody struct {
	Https *UpdateDomainMultiCertificatesRequestBodyContent `json:"https,omitempty"`
}

func (UpdateDomainMultiCertificatesRequestBody) 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"`

	ForceRedirectConfig *ForceRedirect `json:"force_redirect_config,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

type UpdateDomainMultiCertificatesResponse

type UpdateDomainMultiCertificatesResponse struct {
	Https          *UpdateDomainMultiCertificatesResponseBodyContent `json:"https,omitempty"`
	HttpStatusCode int                                               `json:"-"`
}

Response Object

func (UpdateDomainMultiCertificatesResponse) 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"`

	ForceRedirectConfig *ForceRedirect `json:"force_redirect_config,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

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

type UpdateFollow302SwitchRequest

type UpdateFollow302SwitchRequest struct {
	DomainId string `json:"domain_id"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *Follow302StatusRequest `json:"body,omitempty"`
}

Request Object

func (UpdateFollow302SwitchRequest) String

type UpdateFollow302SwitchResponse

type UpdateFollow302SwitchResponse struct {
	FollowStatus   *Follow302StatusBody `json:"follow_status,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (UpdateFollow302SwitchResponse) 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

type UpdatePrivateBucketAccessRequest

type UpdatePrivateBucketAccessRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	DomainId string `json:"domain_id"`

	Body *UpdatePrivateBucketAccessBody `json:"body,omitempty"`
}

Request Object

func (UpdatePrivateBucketAccessRequest) String

type UpdatePrivateBucketAccessResponse

type UpdatePrivateBucketAccessResponse struct {
	Status         *bool `json:"status,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (UpdatePrivateBucketAccessResponse) String

type UpdateRangeSwitchRequest

type UpdateRangeSwitchRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	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

type UpdateResponseHeaderResponse

type UpdateResponseHeaderResponse struct {
	Headers        *HeaderMap `json:"headers,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (UpdateResponseHeaderResponse) String

type UrlObject

type UrlObject struct {
	Id *string `json:"id,omitempty"`

	Url *string `json:"url,omitempty"`

	Status *string `json:"status,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	TaskId *string `json:"task_id,omitempty"`
}

func (UrlObject) String

func (o UrlObject) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL