@@ -10,29 +10,29 @@ import (
1010
1111// IncapRule is a struct that encompasses all the properties of an IncapRule
1212type IncapRule struct {
13- Name string `json:"name"`
14- Action string `json:"action"`
15- Filter string `json:"filter,omitempty"`
16- ResponseCode int `json:"response_code,omitempty"`
17- AddMissing bool `json:"add_missing,omitempty"`
18- RewriteExisting * bool `json:"rewrite_existing,omitempty"`
19- From string `json:"from,omitempty"`
20- To string `json:"to,omitempty"`
21- RewriteName string `json:"rewrite_name,omitempty"`
22- DCID int `json:"dc_id,omitempty"`
23- PortForwardingContext string `json:"port_forwarding_context,omitempty"`
24- PortForwardingValue string `json:"port_forwarding_value,omitempty"`
25- RateContext string `json:"rate_context,omitempty"`
26- RateInterval int `json:"rate_interval,omitempty"`
27- ErrorType string `json:"error_type,omitempty"`
28- ErrorResponseFormat string `json:"error_response_format,omitempty"`
29- ErrorResponseData string `json:"error_response_data,omitempty"`
30- MultipleDeletions bool `json:"multiple_deletions,omitempty"`
31- OverrideWafRule string `json:"overrideWafRule,omitempty"`
32- OverrideWafAction string `json:"overrideWafAction,omitempty"`
33- Enabled bool `json:"enabled"`
34- SendNotifications * bool `json:"sendNotifications,omitempty"`
35- BlockDurationDetails BlockDurationDetails `json:"blockDurationDetails,omitempty"`
13+ Name string `json:"name"`
14+ Action string `json:"action"`
15+ Filter string `json:"filter,omitempty"`
16+ ResponseCode int `json:"response_code,omitempty"`
17+ AddMissing bool `json:"add_missing,omitempty"`
18+ RewriteExisting * bool `json:"rewrite_existing,omitempty"`
19+ From string `json:"from,omitempty"`
20+ To string `json:"to,omitempty"`
21+ RewriteName string `json:"rewrite_name,omitempty"`
22+ DCID int `json:"dc_id,omitempty"`
23+ PortForwardingContext string `json:"port_forwarding_context,omitempty"`
24+ PortForwardingValue string `json:"port_forwarding_value,omitempty"`
25+ RateContext string `json:"rate_context,omitempty"`
26+ RateInterval int `json:"rate_interval,omitempty"`
27+ ErrorType string `json:"error_type,omitempty"`
28+ ErrorResponseFormat string `json:"error_response_format,omitempty"`
29+ ErrorResponseData string `json:"error_response_data,omitempty"`
30+ MultipleDeletions bool `json:"multiple_deletions,omitempty"`
31+ OverrideWafRule string `json:"overrideWafRule,omitempty"`
32+ OverrideWafAction string `json:"overrideWafAction,omitempty"`
33+ Enabled bool `json:"enabled"`
34+ SendNotifications * bool `json:"sendNotifications,omitempty"`
35+ BlockDurationDetails * BlockDurationDetails `json:"blockDurationDetails,omitempty"`
3636}
3737
3838type BlockDurationDetails struct {
0 commit comments