package v1 type WebForwardingRequest struct { WafWebId int `form:"waf_web_id" json:"waf_web_id"` Tag string `form:"tag" json:"tag" binding:"required"` Port int `form:"port" json:"port" binding:"required"` Domain string `form:"domain" json:"domain"` CustomHost string `form:"custom_host" json:"custom_host"` Bps string `form:"bps" json:"bps"` MaxBytesMonth int `form:"max_bytes_month" json:"max_bytes_month"` WafGatewayGroupId int `form:"waf_gateway_group_id" json:"waf_gateway_group_id"` Backend string `form:"backend" json:"backend"` IsHttps bool `form:"is_https" json:"is_https"` HttpsCert string `form:"https_cert" json:"https_cert"` HttpsKey string `form:"https_key" json:"https_key"` AllowIpList string `form:"allow_ip_list" json:"allow_ip_list"` DenyIpList string `form:"deny_ip_list" json:"deny_ip_list"` AccessRule string `form:"access_rule" json:"access_rule"` QpsCount int `form:"qps_count" json:"qps_count"` QpsDuration string `form:"qps_duration" json:"qps_duration" default:"0s"` CcCount int `form:"cc_count" json:"cc_count"` CcDuration string `form:"cc_duration" json:"cc_duration" default:"0s"` CcBlockCount int `form:"cc_block_count" json:"cc_block_count"` CcBlockDuration string `form:"cc_block_duration" json:"cc_block_duration" default:"0s"` Cc4xxCount int `form:"cc_4xx_count" json:"cc4xx_count"` Cc4xxDuration string `form:"cc_4xx_duration" json:"cc4xx_duration" default:"0s"` Cc4xxBlockCount int `form:"cc_4xx_block_count" json:"cc_4xx_block_count"` Cc4xxBlockDuration string `form:"cc_4xx_block_duration" json:"cc_4xx_block_duration" default:"0s"` Cc5xxCount int `form:"cc_5xx_count" json:"cc5xx_count"` Cc5xxDuration string `form:"cc_5xx_duration" json:"cc5xx_duration" default:"0s"` Cc5xxBlockCount int `form:"cc_5xx_block_count" json:"cc_5xx_block_count"` Cc5xxBlockDuration string `form:"cc_5xx_block_duration" json:"cc_5xx_block_duration" default:"0s"` Comment string `form:"comment" json:"comment"` } type DeleteWebForwardingRequest struct { WafWebId int `form:"waf_web_id" json:"waf_web_id" binding:"required"` }