Name | Type | Description | Notes |
---|---|---|---|
Ip | Pointer to ConditionIpCondition | [optional] | |
IpRange | Pointer to ConditionIpRangeCondition | [optional] | |
Url | Pointer to ConditionUrlCondition | [optional] | |
UserAgent | Pointer to ConditionUserAgentCondition | [optional] | |
Header | Pointer to ConditionHeaderCondition | [optional] | |
HeaderExists | Pointer to ConditionHeaderExistsCondition | [optional] | |
ResponseHeader | Pointer to ConditionResponseHeaderCondition | [optional] | |
ResponseHeaderExists | Pointer to ConditionResponseHeaderExistsCondition | [optional] | |
HttpMethod | Pointer to ConditionHttpMethodCondition | [optional] | |
FileExtension | Pointer to ConditionFileExtensionCondition | [optional] | |
ContentType | Pointer to ConditionContentTypeCondition | [optional] | |
Country | Pointer to ConditionCountryCondition | [optional] | |
Organization | Pointer to ConditionOrganizationCondition | [optional] | |
RequestRate | Pointer to ConditionRequestRateCondition | [optional] | |
OwnerTypes | Pointer to ConditionOwnerTypeCondition | [optional] | |
Tags | Pointer to ConditionTagCondition | [optional] | |
SessionRequestCount | Pointer to ConditionSessionRequestCountCondition | [optional] | |
Negation | Pointer to bool | Whether or not to apply a boolean NOT operation to the rule's condition | [optional] |
func NewRuleCondition() *RuleCondition
NewRuleCondition instantiates a new RuleCondition 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 NewRuleConditionWithDefaults() *RuleCondition
NewRuleConditionWithDefaults instantiates a new RuleCondition 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 *RuleCondition) GetIp() ConditionIpCondition
GetIp returns the Ip field if non-nil, zero value otherwise.
func (o *RuleCondition) GetIpOk() (*ConditionIpCondition, bool)
GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetIp(v ConditionIpCondition)
SetIp sets Ip field to given value.
func (o *RuleCondition) HasIp() bool
HasIp returns a boolean if a field has been set.
func (o *RuleCondition) GetIpRange() ConditionIpRangeCondition
GetIpRange returns the IpRange field if non-nil, zero value otherwise.
func (o *RuleCondition) GetIpRangeOk() (*ConditionIpRangeCondition, bool)
GetIpRangeOk returns a tuple with the IpRange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetIpRange(v ConditionIpRangeCondition)
SetIpRange sets IpRange field to given value.
func (o *RuleCondition) HasIpRange() bool
HasIpRange returns a boolean if a field has been set.
func (o *RuleCondition) GetUrl() ConditionUrlCondition
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *RuleCondition) GetUrlOk() (*ConditionUrlCondition, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetUrl(v ConditionUrlCondition)
SetUrl sets Url field to given value.
func (o *RuleCondition) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *RuleCondition) GetUserAgent() ConditionUserAgentCondition
GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.
func (o *RuleCondition) GetUserAgentOk() (*ConditionUserAgentCondition, bool)
GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetUserAgent(v ConditionUserAgentCondition)
SetUserAgent sets UserAgent field to given value.
func (o *RuleCondition) HasUserAgent() bool
HasUserAgent returns a boolean if a field has been set.
func (o *RuleCondition) GetHeader() ConditionHeaderCondition
GetHeader returns the Header field if non-nil, zero value otherwise.
func (o *RuleCondition) GetHeaderOk() (*ConditionHeaderCondition, bool)
GetHeaderOk returns a tuple with the Header field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetHeader(v ConditionHeaderCondition)
SetHeader sets Header field to given value.
func (o *RuleCondition) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (o *RuleCondition) GetHeaderExists() ConditionHeaderExistsCondition
GetHeaderExists returns the HeaderExists field if non-nil, zero value otherwise.
func (o *RuleCondition) GetHeaderExistsOk() (*ConditionHeaderExistsCondition, bool)
GetHeaderExistsOk returns a tuple with the HeaderExists field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetHeaderExists(v ConditionHeaderExistsCondition)
SetHeaderExists sets HeaderExists field to given value.
func (o *RuleCondition) HasHeaderExists() bool
HasHeaderExists returns a boolean if a field has been set.
func (o *RuleCondition) GetResponseHeader() ConditionResponseHeaderCondition
GetResponseHeader returns the ResponseHeader field if non-nil, zero value otherwise.
func (o *RuleCondition) GetResponseHeaderOk() (*ConditionResponseHeaderCondition, bool)
GetResponseHeaderOk returns a tuple with the ResponseHeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetResponseHeader(v ConditionResponseHeaderCondition)
SetResponseHeader sets ResponseHeader field to given value.
func (o *RuleCondition) HasResponseHeader() bool
HasResponseHeader returns a boolean if a field has been set.
func (o *RuleCondition) GetResponseHeaderExists() ConditionResponseHeaderExistsCondition
GetResponseHeaderExists returns the ResponseHeaderExists field if non-nil, zero value otherwise.
func (o *RuleCondition) GetResponseHeaderExistsOk() (*ConditionResponseHeaderExistsCondition, bool)
GetResponseHeaderExistsOk returns a tuple with the ResponseHeaderExists field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetResponseHeaderExists(v ConditionResponseHeaderExistsCondition)
SetResponseHeaderExists sets ResponseHeaderExists field to given value.
func (o *RuleCondition) HasResponseHeaderExists() bool
HasResponseHeaderExists returns a boolean if a field has been set.
func (o *RuleCondition) GetHttpMethod() ConditionHttpMethodCondition
GetHttpMethod returns the HttpMethod field if non-nil, zero value otherwise.
func (o *RuleCondition) GetHttpMethodOk() (*ConditionHttpMethodCondition, bool)
GetHttpMethodOk returns a tuple with the HttpMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetHttpMethod(v ConditionHttpMethodCondition)
SetHttpMethod sets HttpMethod field to given value.
func (o *RuleCondition) HasHttpMethod() bool
HasHttpMethod returns a boolean if a field has been set.
func (o *RuleCondition) GetFileExtension() ConditionFileExtensionCondition
GetFileExtension returns the FileExtension field if non-nil, zero value otherwise.
func (o *RuleCondition) GetFileExtensionOk() (*ConditionFileExtensionCondition, bool)
GetFileExtensionOk returns a tuple with the FileExtension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetFileExtension(v ConditionFileExtensionCondition)
SetFileExtension sets FileExtension field to given value.
func (o *RuleCondition) HasFileExtension() bool
HasFileExtension returns a boolean if a field has been set.
func (o *RuleCondition) GetContentType() ConditionContentTypeCondition
GetContentType returns the ContentType field if non-nil, zero value otherwise.
func (o *RuleCondition) GetContentTypeOk() (*ConditionContentTypeCondition, bool)
GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetContentType(v ConditionContentTypeCondition)
SetContentType sets ContentType field to given value.
func (o *RuleCondition) HasContentType() bool
HasContentType returns a boolean if a field has been set.
func (o *RuleCondition) GetCountry() ConditionCountryCondition
GetCountry returns the Country field if non-nil, zero value otherwise.
func (o *RuleCondition) GetCountryOk() (*ConditionCountryCondition, bool)
GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetCountry(v ConditionCountryCondition)
SetCountry sets Country field to given value.
func (o *RuleCondition) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *RuleCondition) GetOrganization() ConditionOrganizationCondition
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *RuleCondition) GetOrganizationOk() (*ConditionOrganizationCondition, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetOrganization(v ConditionOrganizationCondition)
SetOrganization sets Organization field to given value.
func (o *RuleCondition) HasOrganization() bool
HasOrganization returns a boolean if a field has been set.
func (o *RuleCondition) GetRequestRate() ConditionRequestRateCondition
GetRequestRate returns the RequestRate field if non-nil, zero value otherwise.
func (o *RuleCondition) GetRequestRateOk() (*ConditionRequestRateCondition, bool)
GetRequestRateOk returns a tuple with the RequestRate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetRequestRate(v ConditionRequestRateCondition)
SetRequestRate sets RequestRate field to given value.
func (o *RuleCondition) HasRequestRate() bool
HasRequestRate returns a boolean if a field has been set.
func (o *RuleCondition) GetOwnerTypes() ConditionOwnerTypeCondition
GetOwnerTypes returns the OwnerTypes field if non-nil, zero value otherwise.
func (o *RuleCondition) GetOwnerTypesOk() (*ConditionOwnerTypeCondition, bool)
GetOwnerTypesOk returns a tuple with the OwnerTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetOwnerTypes(v ConditionOwnerTypeCondition)
SetOwnerTypes sets OwnerTypes field to given value.
func (o *RuleCondition) HasOwnerTypes() bool
HasOwnerTypes returns a boolean if a field has been set.
func (o *RuleCondition) GetTags() ConditionTagCondition
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *RuleCondition) GetTagsOk() (*ConditionTagCondition, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetTags(v ConditionTagCondition)
SetTags sets Tags field to given value.
func (o *RuleCondition) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *RuleCondition) GetSessionRequestCount() ConditionSessionRequestCountCondition
GetSessionRequestCount returns the SessionRequestCount field if non-nil, zero value otherwise.
func (o *RuleCondition) GetSessionRequestCountOk() (*ConditionSessionRequestCountCondition, bool)
GetSessionRequestCountOk returns a tuple with the SessionRequestCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetSessionRequestCount(v ConditionSessionRequestCountCondition)
SetSessionRequestCount sets SessionRequestCount field to given value.
func (o *RuleCondition) HasSessionRequestCount() bool
HasSessionRequestCount returns a boolean if a field has been set.
func (o *RuleCondition) GetNegation() bool
GetNegation returns the Negation field if non-nil, zero value otherwise.
func (o *RuleCondition) GetNegationOk() (*bool, bool)
GetNegationOk returns a tuple with the Negation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleCondition) SetNegation(v bool)
SetNegation sets Negation field to given value.
func (o *RuleCondition) HasNegation() bool
HasNegation returns a boolean if a field has been set.