Name | Type | Description | Notes |
---|---|---|---|
Timestamp | Pointer to time.Time | The date and time traffic metrics were recorded for | [optional] |
PolicyCount | Pointer to WafTrafficPolicy | [optional] | |
PolicyBlocked | Pointer to WafTrafficPolicy | [optional] | |
RuleCount | Pointer to string | The number of requests analyzed by rules | [optional] |
RuleBlocked | Pointer to string | The number of requests blocked by rules | [optional] |
PassedToOrigin | Pointer to TrafficPassedToOrigin | [optional] | |
Ddos | Pointer to string | The number of requests handled by the layer 7 DDOS engine | [optional] |
OriginError4xx | Pointer to string | The number of HTTP 4xx errors received from the origin | [optional] |
OriginError5xx | Pointer to string | The number of HTTP 5xx errors received from the origin | [optional] |
OriginTimeout | Pointer to string | The number of request timeouts from the WAF to the origin | [optional] |
ResponseTime | Pointer to string | Average response time to the origin in milliseconds | [optional] |
func NewWafTraffic() *WafTraffic
NewWafTraffic instantiates a new WafTraffic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWafTrafficWithDefaults() *WafTraffic
NewWafTrafficWithDefaults instantiates a new WafTraffic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *WafTraffic) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *WafTraffic) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.
func (o *WafTraffic) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (o *WafTraffic) GetPolicyCount() WafTrafficPolicy
GetPolicyCount returns the PolicyCount field if non-nil, zero value otherwise.
func (o *WafTraffic) GetPolicyCountOk() (*WafTrafficPolicy, bool)
GetPolicyCountOk returns a tuple with the PolicyCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetPolicyCount(v WafTrafficPolicy)
SetPolicyCount sets PolicyCount field to given value.
func (o *WafTraffic) HasPolicyCount() bool
HasPolicyCount returns a boolean if a field has been set.
func (o *WafTraffic) GetPolicyBlocked() WafTrafficPolicy
GetPolicyBlocked returns the PolicyBlocked field if non-nil, zero value otherwise.
func (o *WafTraffic) GetPolicyBlockedOk() (*WafTrafficPolicy, bool)
GetPolicyBlockedOk returns a tuple with the PolicyBlocked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetPolicyBlocked(v WafTrafficPolicy)
SetPolicyBlocked sets PolicyBlocked field to given value.
func (o *WafTraffic) HasPolicyBlocked() bool
HasPolicyBlocked returns a boolean if a field has been set.
func (o *WafTraffic) GetRuleCount() string
GetRuleCount returns the RuleCount field if non-nil, zero value otherwise.
func (o *WafTraffic) GetRuleCountOk() (*string, bool)
GetRuleCountOk returns a tuple with the RuleCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetRuleCount(v string)
SetRuleCount sets RuleCount field to given value.
func (o *WafTraffic) HasRuleCount() bool
HasRuleCount returns a boolean if a field has been set.
func (o *WafTraffic) GetRuleBlocked() string
GetRuleBlocked returns the RuleBlocked field if non-nil, zero value otherwise.
func (o *WafTraffic) GetRuleBlockedOk() (*string, bool)
GetRuleBlockedOk returns a tuple with the RuleBlocked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetRuleBlocked(v string)
SetRuleBlocked sets RuleBlocked field to given value.
func (o *WafTraffic) HasRuleBlocked() bool
HasRuleBlocked returns a boolean if a field has been set.
func (o *WafTraffic) GetPassedToOrigin() TrafficPassedToOrigin
GetPassedToOrigin returns the PassedToOrigin field if non-nil, zero value otherwise.
func (o *WafTraffic) GetPassedToOriginOk() (*TrafficPassedToOrigin, bool)
GetPassedToOriginOk returns a tuple with the PassedToOrigin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetPassedToOrigin(v TrafficPassedToOrigin)
SetPassedToOrigin sets PassedToOrigin field to given value.
func (o *WafTraffic) HasPassedToOrigin() bool
HasPassedToOrigin returns a boolean if a field has been set.
func (o *WafTraffic) GetDdos() string
GetDdos returns the Ddos field if non-nil, zero value otherwise.
func (o *WafTraffic) GetDdosOk() (*string, bool)
GetDdosOk returns a tuple with the Ddos field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetDdos(v string)
SetDdos sets Ddos field to given value.
func (o *WafTraffic) HasDdos() bool
HasDdos returns a boolean if a field has been set.
func (o *WafTraffic) GetOriginError4xx() string
GetOriginError4xx returns the OriginError4xx field if non-nil, zero value otherwise.
func (o *WafTraffic) GetOriginError4xxOk() (*string, bool)
GetOriginError4xxOk returns a tuple with the OriginError4xx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetOriginError4xx(v string)
SetOriginError4xx sets OriginError4xx field to given value.
func (o *WafTraffic) HasOriginError4xx() bool
HasOriginError4xx returns a boolean if a field has been set.
func (o *WafTraffic) GetOriginError5xx() string
GetOriginError5xx returns the OriginError5xx field if non-nil, zero value otherwise.
func (o *WafTraffic) GetOriginError5xxOk() (*string, bool)
GetOriginError5xxOk returns a tuple with the OriginError5xx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetOriginError5xx(v string)
SetOriginError5xx sets OriginError5xx field to given value.
func (o *WafTraffic) HasOriginError5xx() bool
HasOriginError5xx returns a boolean if a field has been set.
func (o *WafTraffic) GetOriginTimeout() string
GetOriginTimeout returns the OriginTimeout field if non-nil, zero value otherwise.
func (o *WafTraffic) GetOriginTimeoutOk() (*string, bool)
GetOriginTimeoutOk returns a tuple with the OriginTimeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetOriginTimeout(v string)
SetOriginTimeout sets OriginTimeout field to given value.
func (o *WafTraffic) HasOriginTimeout() bool
HasOriginTimeout returns a boolean if a field has been set.
func (o *WafTraffic) GetResponseTime() string
GetResponseTime returns the ResponseTime field if non-nil, zero value otherwise.
func (o *WafTraffic) GetResponseTimeOk() (*string, bool)
GetResponseTimeOk returns a tuple with the ResponseTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafTraffic) SetResponseTime(v string)
SetResponseTime sets ResponseTime field to given value.
func (o *WafTraffic) HasResponseTime() bool
HasResponseTime returns a boolean if a field has been set.