Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openstack/waf/v1/ccattackprotection_rules/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ type CreateOptsBuilder interface {
// CreateOpts contains all the values needed to create a new cc attack protection rule.
type CreateOpts struct {
Url string `json:"url" required:"true"`
LimitNum int `json:"limit_num" required:"true"`
LimitPeriod int `json:"limit_period" required:"true"`
LockTime int `json:"lock_time,omitempty"`
LimitNum *int `json:"limit_num" required:"true"`
LimitPeriod *int `json:"limit_period" required:"true"`
LockTime *int `json:"lock_time,omitempty"`
TagType string `json:"tag_type" required:"true"`
TagIndex string `json:"tag_index,omitempty"`
TagCondition TagCondition `json:"tag_condition,omitempty"`
Expand Down