package v1

type WebLimitRequest struct {
	QpsCount    int    `json:"qps_count" form:"qps_count" default:"0"`
	QpsDuration string `json:"qps_duration" form:"qps_duration"  default:"0s"`
}

type WebLimitDeleteRequest struct {
	WafWebLimitId int `json:"waf_web_limit_id" form:"waf_web_limit_id"`
}

type WebLimitSendRequest struct {
	WafWebLimitId int    `json:"waf_web_limit_id" form:"waf_web_limit_id"`
	Tag           string `json:"tag" form:"tag" binding:"required"`
	QpsCount      int    `json:"qps_count" form:"qps_count" default:"0"`
	QpsDuration   string `json:"qps_duration" form:"qps_duration"  default:"0s"`
	RuleId        int    `json:"waf_common_limit_id" form:"waf_common_limit_id"`
	Comment       string `form:"comment" json:"comment"`
}
