model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advance

type Advance struct {
	Index *string `json:"index,omitempty"`

	Contents *[]string `json:"contents,omitempty"`
}

高级配置

func (Advance) String

func (o Advance) String() string

type AntiTamperRuleResponseBody

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

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Hostname *string `json:"hostname,omitempty"`

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

func (AntiTamperRuleResponseBody) String

type ApplyCertificateToHostRequest

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

	CertificateId string `json:"certificate_id"`

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

Request Object

func (ApplyCertificateToHostRequest) String

type ApplyCertificateToHostRequestBody

type ApplyCertificateToHostRequestBody struct {
	CloudHostIds *[]string `json:"cloud_host_ids,omitempty"`

	PremiumHostIds *[]string `json:"premium_host_ids,omitempty"`
}

绑定证书和域名的请求体

func (ApplyCertificateToHostRequestBody) String

type ApplyCertificateToHostResponse

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

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

	Timestamp *int64 `json:"timestamp,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	BindHost       *[]CertificateBundingHostBody `json:"bind_host,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (ApplyCertificateToHostResponse) String

type BindHost

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

	Hostname *string `json:"hostname,omitempty"`

	WafType *string `json:"waf_type,omitempty"`

	Mode *string `json:"mode,omitempty"`
}

绑定的域名信息

func (BindHost) String

func (o BindHost) String() string

type BlockPage

type BlockPage struct {
	Template string `json:"template"`

	CustomPage *CustomPage `json:"custom_page,omitempty"`

	RedirectUrl *string `json:"redirect_url,omitempty"`
}

告警页面

func (BlockPage) String

func (o BlockPage) String() string

type CertificateBody

type CertificateBody struct {
	Id string `json:"id"`

	Name string `json:"name"`

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

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp int64 `json:"timestamp"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`
}

func (CertificateBody) String

func (o CertificateBody) String() string

type CertificateBundingHostBody

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

	Hostname *string `json:"hostname,omitempty"`

	WafType *CertificateBundingHostBodyWafType `json:"waf_type,omitempty"`
}

绑定域名列表

func (CertificateBundingHostBody) String

type CertificateBundingHostBodyWafType

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

func (CertificateBundingHostBodyWafType) MarshalJSON

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

func (*CertificateBundingHostBodyWafType) UnmarshalJSON

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

type CertificateBundingHostBodyWafTypeEnum

type CertificateBundingHostBodyWafTypeEnum struct {
	CLOUD   CertificateBundingHostBodyWafType
	PREMIUM CertificateBundingHostBodyWafType
}

func GetCertificateBundingHostBodyWafTypeEnum

func GetCertificateBundingHostBodyWafTypeEnum() CertificateBundingHostBodyWafTypeEnum

type CloudWafHostItem

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

	Hostid *string `json:"hostid,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Proxy *bool `json:"proxy,omitempty"`

	Flag *Flag `json:"flag,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	ExclusiveIp *bool `json:"exclusive_ip,omitempty"`

	PaidType *string `json:"paid_type,omitempty"`
}

func (CloudWafHostItem) String

func (o CloudWafHostItem) String() string

type CloudWafServer

type CloudWafServer struct {
	FrontProtocol CloudWafServerFrontProtocol `json:"front_protocol"`

	BackProtocol CloudWafServerBackProtocol `json:"back_protocol"`

	Address string `json:"address"`

	Port int32 `json:"port"`

	Type CloudWafServerType `json:"type"`
}

独享模式回源服务器配置

func (CloudWafServer) String

func (o CloudWafServer) String() string

type CloudWafServerBackProtocol

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

func (CloudWafServerBackProtocol) MarshalJSON

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

func (*CloudWafServerBackProtocol) UnmarshalJSON

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

type CloudWafServerBackProtocolEnum

type CloudWafServerBackProtocolEnum struct {
	HTTP  CloudWafServerBackProtocol
	HTTPS CloudWafServerBackProtocol
}

func GetCloudWafServerBackProtocolEnum

func GetCloudWafServerBackProtocolEnum() CloudWafServerBackProtocolEnum

type CloudWafServerFrontProtocol

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

func (CloudWafServerFrontProtocol) MarshalJSON

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

func (*CloudWafServerFrontProtocol) UnmarshalJSON

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

type CloudWafServerFrontProtocolEnum

type CloudWafServerFrontProtocolEnum struct {
	HTTP  CloudWafServerFrontProtocol
	HTTPS CloudWafServerFrontProtocol
}

func GetCloudWafServerFrontProtocolEnum

func GetCloudWafServerFrontProtocolEnum() CloudWafServerFrontProtocolEnum

type CloudWafServerType

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

func (CloudWafServerType) MarshalJSON

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

func (*CloudWafServerType) UnmarshalJSON

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

type CloudWafServerTypeEnum

type CloudWafServerTypeEnum struct {
	IPV4 CloudWafServerType
	IPV6 CloudWafServerType
}

func GetCloudWafServerTypeEnum

func GetCloudWafServerTypeEnum() CloudWafServerTypeEnum

type CompositeHostResponse

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

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	PaidType *string `json:"paid_type,omitempty"`

	Flag *HostFlag `json:"flag,omitempty"`

	WafType *string `json:"waf_type,omitempty"`
}

func (CompositeHostResponse) String

func (o CompositeHostResponse) String() string

type CountItem

type CountItem struct {
	Key *string `json:"key,omitempty"`

	Num *int32 `json:"num,omitempty"`
}

攻击事件统计结果

func (CountItem) String

func (o CountItem) String() string

type CreateAntiTamperRuleRequest

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

	PolicyId string `json:"policy_id"`

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

Request Object

func (CreateAntiTamperRuleRequest) String

type CreateAntiTamperRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

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

	Description *string `json:"description,omitempty"`

	Status         *int32 `json:"status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateAntiTamperRuleResponse) String

type CreateAntiTamperRulesRequestBody

type CreateAntiTamperRulesRequestBody struct {
	Hostname string `json:"hostname"`

	Url string `json:"url"`

	Description *string `json:"description,omitempty"`
}

func (CreateAntiTamperRulesRequestBody) String

type CreateCertificateRequest

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

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

Request Object

func (CreateCertificateRequest) String

func (o CreateCertificateRequest) String() string

type CreateCertificateRequestBody

type CreateCertificateRequestBody struct {
	Name string `json:"name"`

	Content string `json:"content"`

	Key string `json:"key"`
}

func (CreateCertificateRequestBody) String

type CreateCertificateResponse

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

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

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

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (CreateCertificateResponse) String

func (o CreateCertificateResponse) String() string

type CreateGeoIpRuleRequestBody

type CreateGeoIpRuleRequestBody struct {
	Geoip string `json:"geoip"`

	White int32 `json:"white"`

	Description *string `json:"description,omitempty"`
}

func (CreateGeoIpRuleRequestBody) String

type CreateGeoipRuleRequest

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

	PolicyId string `json:"policy_id"`

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

Request Object

func (CreateGeoipRuleRequest) String

func (o CreateGeoipRuleRequest) String() string

type CreateGeoipRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White *int32 `json:"white,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateGeoipRuleResponse) String

func (o CreateGeoipRuleResponse) String() string

type CreateHostRequest

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

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

Request Object

func (CreateHostRequest) String

func (o CreateHostRequest) String() string

type CreateHostRequestBody

type CreateHostRequestBody struct {
	Hostname string `json:"hostname"`

	Policyid *string `json:"policyid,omitempty"`

	Server []CloudWafServer `json:"server"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Proxy bool `json:"proxy"`

	Description *string `json:"description,omitempty"`
}

域名请求体

func (CreateHostRequestBody) String

func (o CreateHostRequestBody) String() string

type CreateHostResponse

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

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Server *[]CloudWafServer `json:"server,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ExclusiveIp    *bool `json:"exclusive_ip,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CreateHostResponse) String

func (o CreateHostResponse) String() string

type CreatePolicyRequest

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

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

Request Object

func (CreatePolicyRequest) String

func (o CreatePolicyRequest) String() string

type CreatePolicyRequestBody

type CreatePolicyRequestBody struct {
	Name string `json:"name"`
}

func (CreatePolicyRequestBody) String

func (o CreatePolicyRequestBody) String() string

type CreatePolicyResponse

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

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

	Level *int32 `json:"level,omitempty"`

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

	Options *PolicyOption `json:"options,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend         *interface{} `json:"extend,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (CreatePolicyResponse) String

func (o CreatePolicyResponse) String() string

type CreatePremiumHostRequest

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

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

Request Object

func (CreatePremiumHostRequest) String

func (o CreatePremiumHostRequest) String() string

type CreatePremiumHostRequestBody

type CreatePremiumHostRequestBody struct {
	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Hostname string `json:"hostname"`

	Proxy bool `json:"proxy"`

	Policyid *string `json:"policyid,omitempty"`

	Server []PremiumWafServer `json:"server"`
}

创建独享模式域名的请求

func (CreatePremiumHostRequestBody) String

type CreatePremiumHostResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	Projectid *string `json:"projectid,omitempty"`

	Protocol       *string `json:"protocol,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePremiumHostResponse) String

func (o CreatePremiumHostResponse) String() string

type CreatePrivacyRuleRequest

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

	PolicyId string `json:"policy_id"`

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

Request Object

func (CreatePrivacyRuleRequest) String

func (o CreatePrivacyRuleRequest) String() string

type CreatePrivacyRuleRequestBody

type CreatePrivacyRuleRequestBody struct {
	Url string `json:"url"`

	Category CreatePrivacyRuleRequestBodyCategory `json:"category"`

	Index string `json:"index"`

	Description *string `json:"description,omitempty"`
}

func (CreatePrivacyRuleRequestBody) String

type CreatePrivacyRuleRequestBodyCategory

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

func (CreatePrivacyRuleRequestBodyCategory) MarshalJSON

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

func (*CreatePrivacyRuleRequestBodyCategory) UnmarshalJSON

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

type CreatePrivacyRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

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

	Category *CreatePrivacyRuleResponseCategory `json:"category,omitempty"`

	Index          *string `json:"index,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePrivacyRuleResponse) String

func (o CreatePrivacyRuleResponse) String() string

type CreatePrivacyRuleResponseCategory

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

func (CreatePrivacyRuleResponseCategory) MarshalJSON

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

func (*CreatePrivacyRuleResponseCategory) UnmarshalJSON

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

type CreateValueListRequest

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

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

Request Object

func (CreateValueListRequest) String

func (o CreateValueListRequest) String() string

type CreateValueListRequestBody

type CreateValueListRequestBody struct {
	Name string `json:"name"`

	Type CreateValueListRequestBodyType `json:"type"`

	Values []string `json:"values"`

	Description *string `json:"description,omitempty"`
}

创建或更新引用表

func (CreateValueListRequestBody) String

type CreateValueListRequestBodyType

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

func (CreateValueListRequestBodyType) MarshalJSON

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

func (*CreateValueListRequestBodyType) UnmarshalJSON

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

type CreateValueListResponse

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

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

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

	Description *string `json:"description,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Values         *[]string `json:"values,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateValueListResponse) String

func (o CreateValueListResponse) String() string

type CreateWhiteBlackIpRuleRequestBody

type CreateWhiteBlackIpRuleRequestBody struct {
	Name string `json:"name"`

	Addr string `json:"addr"`

	Description *string `json:"description,omitempty"`

	White int32 `json:"white"`
}

创建黑白名单规则body

func (CreateWhiteBlackIpRuleRequestBody) String

type CreateWhiteblackipRuleRequest

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

	PolicyId string `json:"policy_id"`

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

Request Object

func (CreateWhiteblackipRuleRequest) String

type CreateWhiteblackipRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Addr *string `json:"addr,omitempty"`

	White *int32 `json:"white,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateWhiteblackipRuleResponse) String

type CustomPage

type CustomPage struct {
	StatusCode string `json:"status_code"`

	ContentType string `json:"content_type"`

	Content string `json:"content"`
}

自定义告警页面

func (CustomPage) String

func (o CustomPage) String() string

type DeleteAntitamperRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteAntitamperRuleRequest) String

type DeleteAntitamperRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

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

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteAntitamperRuleResponse) String

type DeleteCertificateRequest

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

	CertificateId string `json:"certificate_id"`
}

Request Object

func (DeleteCertificateRequest) String

func (o DeleteCertificateRequest) String() string

type DeleteCertificateResponse

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

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

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

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (DeleteCertificateResponse) String

func (o DeleteCertificateResponse) String() string

type DeleteGeoipRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteGeoipRuleRequest) String

func (o DeleteGeoipRuleRequest) String() string

type DeleteGeoipRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White *int32 `json:"white,omitempty"`

	Description *string `json:"description,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteGeoipRuleResponse) String

func (o DeleteGeoipRuleResponse) String() string

type DeleteHostRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteHostRequest) String

func (o DeleteHostRequest) String() string

type DeleteHostResponse

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

	Hostid *string `json:"hostid,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Proxy *bool `json:"proxy,omitempty"`

	Flag *Flag `json:"flag,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	ExclusiveIp *bool `json:"exclusive_ip,omitempty"`

	PaidType       *string `json:"paid_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteHostResponse) String

func (o DeleteHostResponse) String() string

type DeletePolicyRequest

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

	PolicyId string `json:"policy_id"`
}

Request Object

func (DeletePolicyRequest) String

func (o DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePolicyResponse) String

func (o DeletePolicyResponse) String() string

type DeletePremiumHostRequest

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

	HostId string `json:"host_id"`

	KeepPolicy *bool `json:"keepPolicy,omitempty"`
}

Request Object

func (DeletePremiumHostRequest) String

func (o DeletePremiumHostRequest) String() string

type DeletePremiumHostResponse

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

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds        *[]string `json:"pool_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (DeletePremiumHostResponse) String

func (o DeletePremiumHostResponse) String() string

type DeletePrivacyRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeletePrivacyRuleRequest) String

func (o DeletePrivacyRuleRequest) String() string

type DeletePrivacyRuleResponse

type DeletePrivacyRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePrivacyRuleResponse) String

func (o DeletePrivacyRuleResponse) String() string

type DeleteValueListRequest

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

	Valuelistid string `json:"valuelistid"`
}

Request Object

func (DeleteValueListRequest) String

func (o DeleteValueListRequest) String() string

type DeleteValueListResponse

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

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

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

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteValueListResponse) String

func (o DeleteValueListResponse) String() string

type DeleteWhiteBlackIpRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteWhiteBlackIpRuleRequest) String

type DeleteWhiteBlackIpRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

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

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Addr *string `json:"addr,omitempty"`

	White          *int32 `json:"white,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteWhiteBlackIpRuleResponse) String

type Flag

type Flag struct {
	Pci3ds *FlagPci3ds `json:"pci_3ds,omitempty"`

	PciDss *FlagPciDss `json:"pci_dss,omitempty"`

	Cname *FlagCname `json:"cname,omitempty"`

	IsDualAz *FlagIsDualAz `json:"is_dual_az,omitempty"`
}

WAF支持的认证项

func (Flag) String

func (o Flag) String() string

type FlagCname

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

func (FlagCname) MarshalJSON

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

func (*FlagCname) UnmarshalJSON

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

type FlagCnameEnum

type FlagCnameEnum struct {
	OLD FlagCname
	NEW FlagCname
}

func GetFlagCnameEnum

func GetFlagCnameEnum() FlagCnameEnum

type FlagIsDualAz

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

func (FlagIsDualAz) MarshalJSON

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

func (*FlagIsDualAz) UnmarshalJSON

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

type FlagIsDualAzEnum

type FlagIsDualAzEnum struct {
	TRUE  FlagIsDualAz
	FALSE FlagIsDualAz
}

func GetFlagIsDualAzEnum

func GetFlagIsDualAzEnum() FlagIsDualAzEnum

type FlagPci3ds

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

func (FlagPci3ds) MarshalJSON

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

func (*FlagPci3ds) UnmarshalJSON

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

type FlagPci3dsEnum

type FlagPci3dsEnum struct {
	TRUE  FlagPci3ds
	FALSE FlagPci3ds
}

func GetFlagPci3dsEnum

func GetFlagPci3dsEnum() FlagPci3dsEnum

type FlagPciDss

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

func (FlagPciDss) MarshalJSON

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

func (*FlagPciDss) UnmarshalJSON

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

type FlagPciDssEnum

type FlagPciDssEnum struct {
	TRUE  FlagPciDss
	FALSE FlagPciDss
}

func GetFlagPciDssEnum

func GetFlagPciDssEnum() FlagPciDssEnum

type GeOIpItem

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

	Geoip *string `json:"geoip,omitempty"`

	White *int32 `json:"white,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`
}

地理位置封禁规则

func (GeOIpItem) String

func (o GeOIpItem) String() string

type HostFlag

type HostFlag struct {
	PciDss *string `json:"pci_dss,omitempty"`

	Pci3ds *string `json:"pci_3ds,omitempty"`

	Cname *string `json:"cname,omitempty"`

	IsDualAz *string `json:"is_dual_az,omitempty"`

	Ipv6 *string `json:"ipv6,omitempty"`
}

域名配置

func (HostFlag) String

func (o HostFlag) String() string

type IngnoreItem

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

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

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

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

	Rule *string `json:"rule,omitempty"`

	Domain *[]string `json:"domain,omitempty"`

	UrlLogic *string `json:"url_logic,omitempty"`

	Advanced *Advance `json:"advanced,omitempty"`
}

func (IngnoreItem) String

func (o IngnoreItem) String() string

type ListAntitamperRuleRequest

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

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListAntitamperRuleRequest) String

func (o ListAntitamperRuleRequest) String() string

type ListAntitamperRuleResponse

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

	Items          *[]AntiTamperRuleResponseBody `json:"items,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (ListAntitamperRuleResponse) String

type ListBandwidthTimelineRequest

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

	From *int64 `json:"from,omitempty"`

	To *int64 `json:"to,omitempty"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`

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

Request Object

func (ListBandwidthTimelineRequest) String

type ListBandwidthTimelineResponse

type ListBandwidthTimelineResponse struct {
	Body           *[]StatisticsTimelineItem `json:"body,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListBandwidthTimelineResponse) String

type ListCertificatesRequest

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

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

	Host *bool `json:"host,omitempty"`

	ExpStatus *ListCertificatesRequestExpStatus `json:"exp_status,omitempty"`
}

Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesRequestExpStatus

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

func (ListCertificatesRequestExpStatus) MarshalJSON

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

func (*ListCertificatesRequestExpStatus) UnmarshalJSON

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

type ListCertificatesResponse

type ListCertificatesResponse struct {
	Items *[]CertificateBody `json:"items,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListCompositeHostsRequest

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

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyname *string `json:"policyname,omitempty"`

	ProtectStatus *ListCompositeHostsRequestProtectStatus `json:"protect_status,omitempty"`

	WafType *string `json:"waf_type,omitempty"`

	IsHttps *bool `json:"is_https,omitempty"`
}

Request Object

func (ListCompositeHostsRequest) String

func (o ListCompositeHostsRequest) String() string

type ListCompositeHostsRequestProtectStatus

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

func (ListCompositeHostsRequestProtectStatus) MarshalJSON

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

func (*ListCompositeHostsRequestProtectStatus) UnmarshalJSON

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

type ListCompositeHostsResponse

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

	CloudTotal *int32 `json:"cloud_total,omitempty"`

	PremiumTotal *int32 `json:"premium_total,omitempty"`

	Items          *[]CompositeHostResponse `json:"items,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListCompositeHostsResponse) String

type ListEventItems

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

	Time *int64 `json:"time,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Sip *string `json:"sip,omitempty"`

	Host *string `json:"host,omitempty"`

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

	Attack *string `json:"attack,omitempty"`

	Rule *string `json:"rule,omitempty"`

	Payload *string `json:"payload,omitempty"`

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

	RequestLine *string `json:"request_line,omitempty"`

	Headers *ListEventItemsHeaders `json:"headers,omitempty"`

	Cookie *string `json:"cookie,omitempty"`

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

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

	HostId *string `json:"host_id,omitempty"`

	ResponseTime *int64 `json:"response_time,omitempty"`

	ResponseSize *int32 `json:"response_size,omitempty"`

	ResponseBody *string `json:"response_body,omitempty"`
}

攻击类型

func (ListEventItems) String

func (o ListEventItems) String() string

type ListEventItemsHeaders

type ListEventItemsHeaders struct {
	ContentLength *string `json:"content-length,omitempty"`

	Host *string `json:"host,omitempty"`

	ContentType *string `json:"content-type,omitempty"`

	UserAgent *string `json:"user-agent,omitempty"`

	Accept *string `json:"accept,omitempty"`
}

请求头

func (ListEventItemsHeaders) String

func (o ListEventItemsHeaders) String() string

type ListEventRequest

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

	Recent *ListEventRequestRecent `json:"recent,omitempty"`

	Attacks *[]string `json:"attacks,omitempty"`

	From *int64 `json:"from,omitempty"`

	To *int64 `json:"to,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListEventRequest) String

func (o ListEventRequest) String() string

type ListEventRequestRecent

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

func (ListEventRequestRecent) MarshalJSON

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

func (*ListEventRequestRecent) UnmarshalJSON

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

type ListEventRequestRecentEnum

type ListEventRequestRecentEnum struct {
	YESTERDAY ListEventRequestRecent
	TODAY     ListEventRequestRecent
	E_3DAYS   ListEventRequestRecent
	E_1WEEK   ListEventRequestRecent
	E_1MONTH  ListEventRequestRecent
}

func GetListEventRequestRecentEnum

func GetListEventRequestRecentEnum() ListEventRequestRecentEnum

type ListEventResponse

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

	Items          *[]ListEventItems `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListEventResponse) String

func (o ListEventResponse) String() string

type ListGeoipRuleRequest

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

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListGeoipRuleRequest) String

func (o ListGeoipRuleRequest) String() string

type ListGeoipRuleResponse

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

	Items          *[]GeOIpItem `json:"items,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListGeoipRuleResponse) String

func (o ListGeoipRuleResponse) String() string

type ListHostRequest

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

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyname *string `json:"policyname,omitempty"`
}

Request Object

func (ListHostRequest) String

func (o ListHostRequest) String() string

type ListHostResponse

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

	Items          *[]CloudWafHostItem `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListHostResponse) String

func (o ListHostResponse) String() string

type ListHostRouteRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ListHostRouteRequest) String

func (o ListHostRouteRequest) String() string

type ListHostRouteResponse

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

	Items          *[]RouteBody `json:"items,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListHostRouteResponse) String

func (o ListHostRouteResponse) String() string

type ListIgnoreRuleRequest

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

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListIgnoreRuleRequest) String

func (o ListIgnoreRuleRequest) String() string

type ListIgnoreRuleResponse

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

	Items          *[]IngnoreItem `json:"items,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListIgnoreRuleResponse) String

func (o ListIgnoreRuleResponse) String() string

type ListPolicyRequest

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

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

Request Object

func (ListPolicyRequest) String

func (o ListPolicyRequest) String() string

type ListPolicyResponse

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

	Items          *[]PolicyResponse `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListPolicyResponse) String

func (o ListPolicyResponse) String() string

type ListPremiumHostRequest

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

	Page *string `json:"page,omitempty"`

	Pagesize *string `json:"pagesize,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyname *string `json:"policyname,omitempty"`

	ProtectStatus *ListPremiumHostRequestProtectStatus `json:"protect_status,omitempty"`
}

Request Object

func (ListPremiumHostRequest) String

func (o ListPremiumHostRequest) String() string

type ListPremiumHostRequestProtectStatus

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

func (ListPremiumHostRequestProtectStatus) MarshalJSON

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

func (*ListPremiumHostRequestProtectStatus) UnmarshalJSON

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

type ListPremiumHostResponse

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

	Items          *[]SimplePremiumWafHost `json:"items,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListPremiumHostResponse) String

func (o ListPremiumHostResponse) String() string

type ListPrivacyRuleRequest

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

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListPrivacyRuleRequest) String

func (o ListPrivacyRuleRequest) String() string

type ListPrivacyRuleResponse

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

	Items          *[]PrivacyResponseBody `json:"items,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListPrivacyRuleResponse) String

func (o ListPrivacyRuleResponse) String() string

type ListQpsTimelineRequest

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

	From *int64 `json:"from,omitempty"`

	To *int64 `json:"to,omitempty"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`

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

Request Object

func (ListQpsTimelineRequest) String

func (o ListQpsTimelineRequest) String() string

type ListQpsTimelineResponse

type ListQpsTimelineResponse struct {
	Body           *[]StatisticsTimelineItem `json:"body,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListQpsTimelineResponse) String

func (o ListQpsTimelineResponse) String() string

type ListStatisticsRequest

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

	From *int64 `json:"from,omitempty"`

	To *int64 `json:"to,omitempty"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`
}

Request Object

func (ListStatisticsRequest) String

func (o ListStatisticsRequest) String() string

type ListStatisticsResponse

type ListStatisticsResponse struct {
	Body           *[]CountItem `json:"body,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListStatisticsResponse) String

func (o ListStatisticsResponse) String() string

type ListTopAbnormalRequest

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

	From *int64 `json:"from,omitempty"`

	To *int64 `json:"to,omitempty"`

	Top *int32 `json:"top,omitempty"`

	Code *int32 `json:"code,omitempty"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`
}

Request Object

func (ListTopAbnormalRequest) String

func (o ListTopAbnormalRequest) String() string

type ListTopAbnormalResponse

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

	Items          *[]UrlCountItem `json:"items,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListTopAbnormalResponse) String

func (o ListTopAbnormalResponse) String() string

type ListValueListRequest

type ListValueListRequest struct {
	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

Request Object

func (ListValueListRequest) String

func (o ListValueListRequest) String() string

type ListValueListResponse

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

	Items          *[]ValueListResponseBody `json:"items,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListValueListResponse) String

func (o ListValueListResponse) String() string

type ListWhiteblackipRuleRequest

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

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

Request Object

func (ListWhiteblackipRuleRequest) String

type ListWhiteblackipRuleResponse

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

	Items          *[]WhiteBlackIpResponseBody `json:"items,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (ListWhiteblackipRuleResponse) String

type PolicyAction

type PolicyAction struct {
	Category *PolicyActionCategory `json:"category,omitempty"`
}

操作

func (PolicyAction) String

func (o PolicyAction) String() string

type PolicyActionCategory

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

func (PolicyActionCategory) MarshalJSON

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

func (*PolicyActionCategory) UnmarshalJSON

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

type PolicyActionCategoryEnum

type PolicyActionCategoryEnum struct {
	BLOCK PolicyActionCategory
	LOG   PolicyActionCategory
}

func GetPolicyActionCategoryEnum

func GetPolicyActionCategoryEnum() PolicyActionCategoryEnum

type PolicyOption

type PolicyOption struct {
	Webattack *bool `json:"webattack,omitempty"`

	Common *bool `json:"common,omitempty"`

	Crawler *bool `json:"crawler,omitempty"`

	CrawlerEngine *bool `json:"crawler_engine,omitempty"`

	CrawlerScanner *bool `json:"crawler_scanner,omitempty"`

	CrawlerScript *bool `json:"crawler_script,omitempty"`

	CrawlerOther *bool `json:"crawler_other,omitempty"`

	Webshell *bool `json:"webshell,omitempty"`

	Cc *bool `json:"cc,omitempty"`

	Custom *bool `json:"custom,omitempty"`

	Whiteblackip *bool `json:"whiteblackip,omitempty"`

	Geoip *bool `json:"geoip,omitempty"`

	Ignore *bool `json:"ignore,omitempty"`

	Privacy *bool `json:"privacy,omitempty"`

	Antitamper *bool `json:"antitamper,omitempty"`

	Antileakage *bool `json:"antileakage,omitempty"`

	BotEnable *bool `json:"bot_enable,omitempty"`

	ModulexEnabled *bool `json:"modulex_enabled,omitempty"`
}

选项

func (PolicyOption) String

func (o PolicyOption) String() string

type PolicyResponse

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

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

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

	Options *PolicyOption `json:"options,omitempty"`

	Level *int32 `json:"level,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`
}

func (PolicyResponse) String

func (o PolicyResponse) String() string

type PremiumWafHost

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

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]PremiumWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *PremiumWafHostTls `json:"tls,omitempty"`

	Cipher *PremiumWafHostCipher `json:"cipher,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	TrafficMark *TrafficMark `json:"traffic_mark,omitempty"`
}

独享模式域名详情

func (PremiumWafHost) String

func (o PremiumWafHost) String() string

type PremiumWafHostCipher

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

func (PremiumWafHostCipher) MarshalJSON

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

func (*PremiumWafHostCipher) UnmarshalJSON

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

type PremiumWafHostCipherEnum

type PremiumWafHostCipherEnum struct {
	CIPHER_1       PremiumWafHostCipher
	CIPHER_2       PremiumWafHostCipher
	CIPHER_3       PremiumWafHostCipher
	CIPHER_4       PremiumWafHostCipher
	CIPHER_DEFAULT PremiumWafHostCipher
}

func GetPremiumWafHostCipherEnum

func GetPremiumWafHostCipherEnum() PremiumWafHostCipherEnum

type PremiumWafHostTls

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

func (PremiumWafHostTls) MarshalJSON

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

func (*PremiumWafHostTls) UnmarshalJSON

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

type PremiumWafHostTlsEnum

type PremiumWafHostTlsEnum struct {
	TLS_V1_0 PremiumWafHostTls
	TLS_V1_1 PremiumWafHostTls
	TLS_V1_2 PremiumWafHostTls
	TLS_V1_3 PremiumWafHostTls
}

func GetPremiumWafHostTlsEnum

func GetPremiumWafHostTlsEnum() PremiumWafHostTlsEnum

type PremiumWafServer

type PremiumWafServer struct {
	FrontProtocol PremiumWafServerFrontProtocol `json:"front_protocol"`

	BackProtocol PremiumWafServerBackProtocol `json:"back_protocol"`

	Address string `json:"address"`

	Port int32 `json:"port"`

	Type string `json:"type"`

	VpcId string `json:"vpc_id"`
}

独享模式回源服务器配置

func (PremiumWafServer) String

func (o PremiumWafServer) String() string

type PremiumWafServerBackProtocol

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

func (PremiumWafServerBackProtocol) MarshalJSON

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

func (*PremiumWafServerBackProtocol) UnmarshalJSON

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

type PremiumWafServerBackProtocolEnum

type PremiumWafServerBackProtocolEnum struct {
	HTTP  PremiumWafServerBackProtocol
	HTTPS PremiumWafServerBackProtocol
}

func GetPremiumWafServerBackProtocolEnum

func GetPremiumWafServerBackProtocolEnum() PremiumWafServerBackProtocolEnum

type PremiumWafServerFrontProtocol

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

func (PremiumWafServerFrontProtocol) MarshalJSON

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

func (*PremiumWafServerFrontProtocol) UnmarshalJSON

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

type PremiumWafServerFrontProtocolEnum

type PremiumWafServerFrontProtocolEnum struct {
	HTTP  PremiumWafServerFrontProtocol
	HTTPS PremiumWafServerFrontProtocol
}

func GetPremiumWafServerFrontProtocolEnum

func GetPremiumWafServerFrontProtocolEnum() PremiumWafServerFrontProtocolEnum

type PrivacyResponseBody

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

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

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

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

	Category *PrivacyResponseBodyCategory `json:"category,omitempty"`

	Index *string `json:"index,omitempty"`
}

隐私屏蔽响应体

func (PrivacyResponseBody) String

func (o PrivacyResponseBody) String() string

type PrivacyResponseBodyCategory

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

func (PrivacyResponseBodyCategory) MarshalJSON

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

func (*PrivacyResponseBodyCategory) UnmarshalJSON

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

type RouteBody

type RouteBody struct {
	Cname *string `json:"cname,omitempty"`

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

	Servers *[]RouteServerBody `json:"servers,omitempty"`
}

修改路由body

func (RouteBody) String

func (o RouteBody) String() string

type RouteServerBody

type RouteServerBody struct {
	BackProtocol *string `json:"back_protocol,omitempty"`

	Address *string `json:"address,omitempty"`

	Port *int32 `json:"port,omitempty"`
}

类型

func (RouteServerBody) String

func (o RouteServerBody) String() string

type ShowCertificateRequest

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

	CertificateId string `json:"certificate_id"`
}

Request Object

func (ShowCertificateRequest) String

func (o ShowCertificateRequest) String() string

type ShowCertificateResponse

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

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

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

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowCertificateResponse) String

func (o ShowCertificateResponse) String() string

type ShowCompositeHostRequest

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

	HostId string `json:"host_id"`
}

Request Object

func (ShowCompositeHostRequest) String

func (o ShowCompositeHostRequest) String() string

type ShowCompositeHostResponse

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

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	PaidType *string `json:"paid_type,omitempty"`

	Flag *HostFlag `json:"flag,omitempty"`

	WafType        *string `json:"waf_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCompositeHostResponse) String

func (o ShowCompositeHostResponse) String() string

type ShowConsoleConfigRequest

type ShowConsoleConfigRequest struct {
}

Request Object

func (ShowConsoleConfigRequest) String

func (o ShowConsoleConfigRequest) String() string

type ShowConsoleConfigResponse

type ShowConsoleConfigResponse struct {
	Eps *bool `json:"eps,omitempty"`

	Tls *bool `json:"tls,omitempty"`

	Ipv6 *bool `json:"ipv6,omitempty"`

	Alert *bool `json:"alert,omitempty"`

	Custom *bool `json:"custom,omitempty"`

	ElbMode *bool `json:"elb_mode,omitempty"`

	EventLts *bool `json:"event_lts,omitempty"`

	MultiDns *bool `json:"multi_dns,omitempty"`

	SearchIp *bool `json:"search_ip,omitempty"`

	CcEnhance *bool `json:"cc_enhance,omitempty"`

	CnameSwitch *bool `json:"cname_switch,omitempty"`

	CustomBlock *bool `json:"custom_block,omitempty"`

	AdvancedIgnore *bool `json:"advanced_ignore,omitempty"`

	JsCrawlerEnable *bool `json:"js_crawler_enable,omitempty"`

	DeepDecodeEnable *bool `json:"deep_decode_enable,omitempty"`

	OverviewBandwidth *bool `json:"overview_bandwidth,omitempty"`

	ProxyUseOldcname *bool `json:"proxy_use_oldcname,omitempty"`

	CheckAllHeadersEnable *bool `json:"check_all_headers_enable,omitempty"`
	HttpStatusCode        int   `json:"-"`
}

Response Object

func (ShowConsoleConfigResponse) String

func (o ShowConsoleConfigResponse) String() string

type ShowEventItems

type ShowEventItems struct {
	Time *int64 `json:"time,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Sip *string `json:"sip,omitempty"`

	Host *string `json:"host,omitempty"`

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

	Attack *string `json:"attack,omitempty"`

	Rule *string `json:"rule,omitempty"`

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

	Cookie *interface{} `json:"cookie,omitempty"`

	Headers *string `json:"headers,omitempty"`

	HostId *string `json:"host_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Payload *string `json:"payload,omitempty"`

	PayloadLocation *string `json:"payload_location,omitempty"`

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

	RequestLine *string `json:"request_line,omitempty"`

	ResponseSize *string `json:"response_size,omitempty"`

	ResponseTime *string `json:"response_time,omitempty"`

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

攻击类型

func (ShowEventItems) String

func (o ShowEventItems) String() string

type ShowEventRequest

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

	Eventid string `json:"eventid"`
}

Request Object

func (ShowEventRequest) String

func (o ShowEventRequest) String() string

type ShowEventResponse

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

	Items          *[]ShowEventItems `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowEventResponse) String

func (o ShowEventResponse) String() string

type ShowHostRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowHostRequest) String

func (o ShowHostRequest) String() string

type ShowHostResponse

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

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Server *[]CloudWafServer `json:"server,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ExclusiveIp    *bool `json:"exclusive_ip,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowHostResponse) String

func (o ShowHostResponse) String() string

type ShowPolicyRequest

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

	PolicyId string `json:"policy_id"`
}

Request Object

func (ShowPolicyRequest) String

func (o ShowPolicyRequest) String() string

type ShowPolicyResponse

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

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

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

	Options *PolicyOption `json:"options,omitempty"`

	Level *int32 `json:"level,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend         map[string]string `json:"extend,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowPolicyResponse) String

func (o ShowPolicyResponse) String() string

type ShowPremiumHostRequest

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

	HostId string `json:"host_id"`
}

Request Object

func (ShowPremiumHostRequest) String

func (o ShowPremiumHostRequest) String() string

type ShowPremiumHostResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]PremiumWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *ShowPremiumHostResponseTls `json:"tls,omitempty"`

	Cipher *ShowPremiumHostResponseCipher `json:"cipher,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	TrafficMark *TrafficMark `json:"traffic_mark,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds        *[]string `json:"pool_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowPremiumHostResponse) String

func (o ShowPremiumHostResponse) String() string

type ShowPremiumHostResponseCipher

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

func (ShowPremiumHostResponseCipher) MarshalJSON

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

func (*ShowPremiumHostResponseCipher) UnmarshalJSON

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

type ShowPremiumHostResponseTls

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

func (ShowPremiumHostResponseTls) MarshalJSON

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

func (*ShowPremiumHostResponseTls) UnmarshalJSON

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

type ShowPremiumHostResponseTlsEnum

type ShowPremiumHostResponseTlsEnum struct {
	TLS_V1_0 ShowPremiumHostResponseTls
	TLS_V1_1 ShowPremiumHostResponseTls
	TLS_V1_2 ShowPremiumHostResponseTls
	TLS_V1_3 ShowPremiumHostResponseTls
}

func GetShowPremiumHostResponseTlsEnum

func GetShowPremiumHostResponseTlsEnum() ShowPremiumHostResponseTlsEnum

type SimplePremiumWafHost

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

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds *[]string `json:"pool_ids,omitempty"`
}

独享模式域名部分详情

func (SimplePremiumWafHost) String

func (o SimplePremiumWafHost) String() string

type StatisticsTimelineItem

type StatisticsTimelineItem struct {
	Key *string `json:"key,omitempty"`

	Timeline *[]TimeLineItem `json:"timeline,omitempty"`
}

时间线

func (StatisticsTimelineItem) String

func (o StatisticsTimelineItem) String() string

type TimeLineItem

type TimeLineItem struct {
	Time *int64 `json:"time,omitempty"`

	Num *int32 `json:"num,omitempty"`
}

func (TimeLineItem) String

func (o TimeLineItem) String() string

type TrafficMark

type TrafficMark struct {
	Sip *[]string `json:"sip,omitempty"`

	Cookie *string `json:"cookie,omitempty"`

	Params *string `json:"params,omitempty"`
}

流量标识(用于攻击惩罚)

func (TrafficMark) String

func (o TrafficMark) String() string

type UpdateCertificateRequest

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

	CertificateId string `json:"certificate_id"`

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

Request Object

func (UpdateCertificateRequest) String

func (o UpdateCertificateRequest) String() string

type UpdateCertificateRequestBody

type UpdateCertificateRequestBody struct {
	Name *string `json:"name,omitempty"`
}

func (UpdateCertificateRequestBody) String

type UpdateCertificateResponse

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

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

	ExpireTime *int64 `json:"expire_time,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateCertificateResponse) String

func (o UpdateCertificateResponse) String() string

type UpdateCloudWafServer

type UpdateCloudWafServer struct {
	FrontProtocol *UpdateCloudWafServerFrontProtocol `json:"front_protocol,omitempty"`

	BackProtocol *UpdateCloudWafServerBackProtocol `json:"back_protocol,omitempty"`

	Address *string `json:"address,omitempty"`

	Port *int32 `json:"port,omitempty"`

	Type *UpdateCloudWafServerType `json:"type,omitempty"`
}

独享模式回源服务器配置

func (UpdateCloudWafServer) String

func (o UpdateCloudWafServer) String() string

type UpdateCloudWafServerBackProtocol

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

func (UpdateCloudWafServerBackProtocol) MarshalJSON

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

func (*UpdateCloudWafServerBackProtocol) UnmarshalJSON

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

type UpdateCloudWafServerBackProtocolEnum

type UpdateCloudWafServerBackProtocolEnum struct {
	HTTP  UpdateCloudWafServerBackProtocol
	HTTPS UpdateCloudWafServerBackProtocol
}

func GetUpdateCloudWafServerBackProtocolEnum

func GetUpdateCloudWafServerBackProtocolEnum() UpdateCloudWafServerBackProtocolEnum

type UpdateCloudWafServerFrontProtocol

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

func (UpdateCloudWafServerFrontProtocol) MarshalJSON

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

func (*UpdateCloudWafServerFrontProtocol) UnmarshalJSON

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

type UpdateCloudWafServerFrontProtocolEnum

type UpdateCloudWafServerFrontProtocolEnum struct {
	HTTP  UpdateCloudWafServerFrontProtocol
	HTTPS UpdateCloudWafServerFrontProtocol
}

func GetUpdateCloudWafServerFrontProtocolEnum

func GetUpdateCloudWafServerFrontProtocolEnum() UpdateCloudWafServerFrontProtocolEnum

type UpdateCloudWafServerType

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

func (UpdateCloudWafServerType) MarshalJSON

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

func (*UpdateCloudWafServerType) UnmarshalJSON

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

type UpdateCloudWafServerTypeEnum

type UpdateCloudWafServerTypeEnum struct {
	IPV4 UpdateCloudWafServerType
	IPV6 UpdateCloudWafServerType
}

func GetUpdateCloudWafServerTypeEnum

func GetUpdateCloudWafServerTypeEnum() UpdateCloudWafServerTypeEnum

type UpdateGeoipRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`

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

Request Object

func (UpdateGeoipRuleRequest) String

func (o UpdateGeoipRuleRequest) String() string

type UpdateGeoipRuleRequestBody

type UpdateGeoipRuleRequestBody struct {
	Geoip string `json:"geoip"`

	White int32 `json:"white"`
}

地理位置封禁请求体

func (UpdateGeoipRuleRequestBody) String

type UpdateGeoipRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White          *int32 `json:"white,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateGeoipRuleResponse) String

func (o UpdateGeoipRuleResponse) String() string

type UpdateHostProtectStatusRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateHostProtectStatusRequest) String

type UpdateHostProtectStatusRequestBody

type UpdateHostProtectStatusRequestBody struct {
	ProtectStatus int32 `json:"protect_status"`
}

修改域名防护状态请求体

func (UpdateHostProtectStatusRequestBody) String

type UpdateHostProtectStatusResponse

type UpdateHostProtectStatusResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateHostProtectStatusResponse) String

type UpdateHostRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateHostRequest) String

func (o UpdateHostRequest) String() string

type UpdateHostRequestBody

type UpdateHostRequestBody struct {
	Proxy *bool `json:"proxy,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Server *[]UpdateCloudWafServer `json:"server,omitempty"`

	Tls *UpdateHostRequestBodyTls `json:"tls,omitempty"`

	Cipher *UpdateHostRequestBodyCipher `json:"cipher,omitempty"`
}

修改云模式域名的请求体

func (UpdateHostRequestBody) String

func (o UpdateHostRequestBody) String() string

type UpdateHostRequestBodyCipher

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

func (UpdateHostRequestBodyCipher) MarshalJSON

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

func (*UpdateHostRequestBodyCipher) UnmarshalJSON

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

type UpdateHostRequestBodyCipherEnum

type UpdateHostRequestBodyCipherEnum struct {
	CIPHER_1       UpdateHostRequestBodyCipher
	CIPHER_2       UpdateHostRequestBodyCipher
	CIPHER_3       UpdateHostRequestBodyCipher
	CIPHER_4       UpdateHostRequestBodyCipher
	CIPHER_DEFAULT UpdateHostRequestBodyCipher
}

func GetUpdateHostRequestBodyCipherEnum

func GetUpdateHostRequestBodyCipherEnum() UpdateHostRequestBodyCipherEnum

type UpdateHostRequestBodyTls

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

func (UpdateHostRequestBodyTls) MarshalJSON

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

func (*UpdateHostRequestBodyTls) UnmarshalJSON

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

type UpdateHostRequestBodyTlsEnum

type UpdateHostRequestBodyTlsEnum struct {
	TLS_V1_0 UpdateHostRequestBodyTls
	TLS_V1_1 UpdateHostRequestBodyTls
	TLS_V1_2 UpdateHostRequestBodyTls
	TLS_V1_3 UpdateHostRequestBodyTls
}

func GetUpdateHostRequestBodyTlsEnum

func GetUpdateHostRequestBodyTlsEnum() UpdateHostRequestBodyTlsEnum

type UpdateHostResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]CloudWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Tls *UpdateHostResponseTls `json:"tls,omitempty"`

	Cipher *UpdateHostResponseCipher `json:"cipher,omitempty"`

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

	BlockPage *BlockPage `json:"block_page,omitempty"`

	WebTag *bool `json:"web_tag,omitempty"`

	Flag *Flag `json:"flag,omitempty"`

	ExclusiveIp *bool `json:"exclusive_ip,omitempty"`

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateHostResponse) String

func (o UpdateHostResponse) String() string

type UpdateHostResponseCipher

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

func (UpdateHostResponseCipher) MarshalJSON

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

func (*UpdateHostResponseCipher) UnmarshalJSON

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

type UpdateHostResponseCipherEnum

type UpdateHostResponseCipherEnum struct {
	CIPHER_1       UpdateHostResponseCipher
	CIPHER_2       UpdateHostResponseCipher
	CIPHER_3       UpdateHostResponseCipher
	CIPHER_4       UpdateHostResponseCipher
	CIPHER_DEFAULT UpdateHostResponseCipher
}

func GetUpdateHostResponseCipherEnum

func GetUpdateHostResponseCipherEnum() UpdateHostResponseCipherEnum

type UpdateHostResponseTls

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

func (UpdateHostResponseTls) MarshalJSON

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

func (*UpdateHostResponseTls) UnmarshalJSON

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

type UpdateHostResponseTlsEnum

type UpdateHostResponseTlsEnum struct {
	TLS_V1_0 UpdateHostResponseTls
	TLS_V1_1 UpdateHostResponseTls
	TLS_V1_2 UpdateHostResponseTls
	TLS_V1_3 UpdateHostResponseTls
}

func GetUpdateHostResponseTlsEnum

func GetUpdateHostResponseTlsEnum() UpdateHostResponseTlsEnum

type UpdatePolicyProtectHostRequest

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

	PolicyId string `json:"policy_id"`

	Hosts string `json:"hosts"`
}

Request Object

func (UpdatePolicyProtectHostRequest) String

type UpdatePolicyProtectHostResponse

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

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

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

	Options *PolicyOption `json:"options,omitempty"`

	Level *int32 `json:"level,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend         map[string]string `json:"extend,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (UpdatePolicyProtectHostResponse) String

type UpdatePolicyRequest

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

	PolicyId string `json:"policy_id"`

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

Request Object

func (UpdatePolicyRequest) String

func (o UpdatePolicyRequest) String() string

type UpdatePolicyRequestBody

type UpdatePolicyRequestBody struct {
	Name *string `json:"name,omitempty"`

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

	Options *PolicyOption `json:"options,omitempty"`
}

func (UpdatePolicyRequestBody) String

func (o UpdatePolicyRequestBody) String() string

type UpdatePolicyResponse

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

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

	Level *int32 `json:"level,omitempty"`

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

	Options *PolicyOption `json:"options,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (UpdatePolicyResponse) String

func (o UpdatePolicyResponse) String() string

type UpdatePolicyRuleStatusRequest

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

	PolicyId string `json:"policy_id"`

	Ruletype UpdatePolicyRuleStatusRequestRuletype `json:"ruletype"`

	RuleId string `json:"rule_id"`

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

Request Object

func (UpdatePolicyRuleStatusRequest) String

type UpdatePolicyRuleStatusRequestBody

type UpdatePolicyRuleStatusRequestBody struct {
	Status *int32 `json:"status,omitempty"`
}

func (UpdatePolicyRuleStatusRequestBody) String

type UpdatePolicyRuleStatusRequestRuletype

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

func (UpdatePolicyRuleStatusRequestRuletype) MarshalJSON

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

func (*UpdatePolicyRuleStatusRequestRuletype) UnmarshalJSON

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

type UpdatePolicyRuleStatusResponse

type UpdatePolicyRuleStatusResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdatePolicyRuleStatusResponse) String

type UpdatePremiumHostProtectStatusRequest

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

	HostId string `json:"host_id"`

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

Request Object

func (UpdatePremiumHostProtectStatusRequest) String

type UpdatePremiumHostProtectStatusRequestBody

type UpdatePremiumHostProtectStatusRequestBody struct {
	ProtectStatus int32 `json:"protect_status"`
}

防护状态

func (UpdatePremiumHostProtectStatusRequestBody) String

type UpdatePremiumHostProtectStatusResponse

type UpdatePremiumHostProtectStatusResponse struct {
	ProtectStatus  *int32 `json:"protect_status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdatePremiumHostProtectStatusResponse) String

type UpdatePremiumHostRequest

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

	HostId string `json:"host_id"`

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

Request Object

func (UpdatePremiumHostRequest) String

func (o UpdatePremiumHostRequest) String() string

type UpdatePremiumHostRequestBody

type UpdatePremiumHostRequestBody struct {
	Proxy *bool `json:"proxy,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *UpdatePremiumHostRequestBodyTls `json:"tls,omitempty"`

	Cipher *UpdatePremiumHostRequestBodyCipher `json:"cipher,omitempty"`
}

修改独享模式域名的请求

func (UpdatePremiumHostRequestBody) String

type UpdatePremiumHostRequestBodyCipher

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

func (UpdatePremiumHostRequestBodyCipher) MarshalJSON

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

func (*UpdatePremiumHostRequestBodyCipher) UnmarshalJSON

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

type UpdatePremiumHostRequestBodyTls

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

func (UpdatePremiumHostRequestBodyTls) MarshalJSON

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

func (*UpdatePremiumHostRequestBodyTls) UnmarshalJSON

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

type UpdatePremiumHostResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]PremiumWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *UpdatePremiumHostResponseTls `json:"tls,omitempty"`

	Cipher *UpdatePremiumHostResponseCipher `json:"cipher,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	TrafficMark *TrafficMark `json:"traffic_mark,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds        *[]string `json:"pool_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdatePremiumHostResponse) String

func (o UpdatePremiumHostResponse) String() string

type UpdatePremiumHostResponseCipher

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

func (UpdatePremiumHostResponseCipher) MarshalJSON

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

func (*UpdatePremiumHostResponseCipher) UnmarshalJSON

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

type UpdatePremiumHostResponseTls

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

func (UpdatePremiumHostResponseTls) MarshalJSON

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

func (*UpdatePremiumHostResponseTls) UnmarshalJSON

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

type UpdatePremiumHostResponseTlsEnum

type UpdatePremiumHostResponseTlsEnum struct {
	TLS_V1_0 UpdatePremiumHostResponseTls
	TLS_V1_1 UpdatePremiumHostResponseTls
	TLS_V1_2 UpdatePremiumHostResponseTls
	TLS_V1_3 UpdatePremiumHostResponseTls
}

func GetUpdatePremiumHostResponseTlsEnum

func GetUpdatePremiumHostResponseTlsEnum() UpdatePremiumHostResponseTlsEnum

type UpdatePrivacyRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`

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

Request Object

func (UpdatePrivacyRuleRequest) String

func (o UpdatePrivacyRuleRequest) String() string

type UpdatePrivacyRuleRequestBody

type UpdatePrivacyRuleRequestBody struct {
	Url string `json:"url"`

	Category UpdatePrivacyRuleRequestBodyCategory `json:"category"`

	Index string `json:"index"`

	Description *string `json:"description,omitempty"`
}

func (UpdatePrivacyRuleRequestBody) String

type UpdatePrivacyRuleRequestBodyCategory

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

func (UpdatePrivacyRuleRequestBodyCategory) MarshalJSON

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

func (*UpdatePrivacyRuleRequestBodyCategory) UnmarshalJSON

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

type UpdatePrivacyRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

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

	Category *UpdatePrivacyRuleResponseCategory `json:"category,omitempty"`

	Index          *string `json:"index,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePrivacyRuleResponse) String

func (o UpdatePrivacyRuleResponse) String() string

type UpdatePrivacyRuleResponseCategory

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

func (UpdatePrivacyRuleResponseCategory) MarshalJSON

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

func (*UpdatePrivacyRuleResponseCategory) UnmarshalJSON

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

type UpdateValueListRequest

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

	Valuelistid string `json:"valuelistid"`

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

Request Object

func (UpdateValueListRequest) String

func (o UpdateValueListRequest) String() string

type UpdateValueListRequestBody

type UpdateValueListRequestBody struct {
	Name string `json:"name"`

	Type UpdateValueListRequestBodyType `json:"type"`

	Values *[]string `json:"values,omitempty"`

	Description *string `json:"description,omitempty"`
}

创建或更新引用表

func (UpdateValueListRequestBody) String

type UpdateValueListRequestBodyType

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

func (UpdateValueListRequestBodyType) MarshalJSON

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

func (*UpdateValueListRequestBodyType) UnmarshalJSON

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

type UpdateValueListResponse

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

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

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

	Description *string `json:"description,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Values *[]string `json:"values,omitempty"`

	Producer       *int32 `json:"producer,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateValueListResponse) String

func (o UpdateValueListResponse) String() string

type UpdateWhiteBlackIpRuleRequestBody

type UpdateWhiteBlackIpRuleRequestBody struct {
	Name string `json:"name"`

	Addr string `json:"addr"`

	Description *string `json:"description,omitempty"`

	White int32 `json:"white"`
}

更新黑白名单规则body

func (UpdateWhiteBlackIpRuleRequestBody) String

type UpdateWhiteblackipRuleRequest

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

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`

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

Request Object

func (UpdateWhiteblackipRuleRequest) String

type UpdateWhiteblackipRuleResponse

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

	Policyid *string `json:"policyid,omitempty"`

	Addr *string `json:"addr,omitempty"`

	Description *string `json:"description,omitempty"`

	White          *int32 `json:"white,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateWhiteblackipRuleResponse) String

type UrlCountItem

type UrlCountItem struct {
	Key *string `json:"key,omitempty"`

	Num *int32 `json:"num,omitempty"`

	Host *string `json:"host,omitempty"`
}

func (UrlCountItem) String

func (o UrlCountItem) String() string

type ValueListResponseBody

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

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

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

	Description *string `json:"description,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

引用表

func (ValueListResponseBody) String

func (o ValueListResponseBody) String() string

type WhiteBlackIpResponseBody

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

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Ip *string `json:"ip,omitempty"`

	White *int32 `json:"white,omitempty"`
}

func (WhiteBlackIpResponseBody) String

func (o WhiteBlackIpResponseBody) String() string

Source Files

Jump to

Keyboard shortcuts

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