Name | Type | Description | Notes |
---|---|---|---|
ActionConfig | RuleHeaderAction | ||
Name | Pointer to string | [optional] | |
Uuid | string | ||
RuleId | Pointer to string | [optional] | |
Url | Pointer to []string | [optional] | |
Domain | Pointer to []string | [optional] | |
Disabled | bool | [default to false] | |
OnlyWithCookie | Pointer to string | [optional] | |
Method | Pointer to string | [optional] | |
MethodIs | Pointer to []string | [optional] | |
MethodIsNot | Pointer to []string | [optional] | |
Ip | Pointer to string | [optional] | |
IpIs | Pointer to []string | [optional] | |
IpIsNot | Pointer to []string | [optional] | |
Country | Pointer to string | [optional] | |
CountryIs | Pointer to []string | [optional] | |
CountryIsNot | Pointer to []string | [optional] | |
Action | string |
func NewRuleHeader(actionConfig RuleHeaderAction, uuid string, disabled bool, action string, ) *RuleHeader
NewRuleHeader instantiates a new RuleHeader 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 NewRuleHeaderWithDefaults() *RuleHeader
NewRuleHeaderWithDefaults instantiates a new RuleHeader 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 *RuleHeader) GetActionConfig() RuleHeaderAction
GetActionConfig returns the ActionConfig field if non-nil, zero value otherwise.
func (o *RuleHeader) GetActionConfigOk() (*RuleHeaderAction, bool)
GetActionConfigOk returns a tuple with the ActionConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetActionConfig(v RuleHeaderAction)
SetActionConfig sets ActionConfig field to given value.
func (o *RuleHeader) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RuleHeader) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetName(v string)
SetName sets Name field to given value.
func (o *RuleHeader) HasName() bool
HasName returns a boolean if a field has been set.
func (o *RuleHeader) GetUuid() string
GetUuid returns the Uuid field if non-nil, zero value otherwise.
func (o *RuleHeader) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetUuid(v string)
SetUuid sets Uuid field to given value.
func (o *RuleHeader) GetRuleId() string
GetRuleId returns the RuleId field if non-nil, zero value otherwise.
func (o *RuleHeader) GetRuleIdOk() (*string, bool)
GetRuleIdOk returns a tuple with the RuleId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetRuleId(v string)
SetRuleId sets RuleId field to given value.
func (o *RuleHeader) HasRuleId() bool
HasRuleId returns a boolean if a field has been set.
func (o *RuleHeader) GetUrl() []string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *RuleHeader) GetUrlOk() (*[]string, 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 *RuleHeader) SetUrl(v []string)
SetUrl sets Url field to given value.
func (o *RuleHeader) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *RuleHeader) GetDomain() []string
GetDomain returns the Domain field if non-nil, zero value otherwise.
func (o *RuleHeader) GetDomainOk() (*[]string, bool)
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetDomain(v []string)
SetDomain sets Domain field to given value.
func (o *RuleHeader) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (o *RuleHeader) GetDisabled() bool
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (o *RuleHeader) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetDisabled(v bool)
SetDisabled sets Disabled field to given value.
func (o *RuleHeader) GetOnlyWithCookie() string
GetOnlyWithCookie returns the OnlyWithCookie field if non-nil, zero value otherwise.
func (o *RuleHeader) GetOnlyWithCookieOk() (*string, bool)
GetOnlyWithCookieOk returns a tuple with the OnlyWithCookie field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetOnlyWithCookie(v string)
SetOnlyWithCookie sets OnlyWithCookie field to given value.
func (o *RuleHeader) HasOnlyWithCookie() bool
HasOnlyWithCookie returns a boolean if a field has been set.
func (o *RuleHeader) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
func (o *RuleHeader) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetMethod(v string)
SetMethod sets Method field to given value.
func (o *RuleHeader) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (o *RuleHeader) GetMethodIs() []string
GetMethodIs returns the MethodIs field if non-nil, zero value otherwise.
func (o *RuleHeader) GetMethodIsOk() (*[]string, bool)
GetMethodIsOk returns a tuple with the MethodIs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetMethodIs(v []string)
SetMethodIs sets MethodIs field to given value.
func (o *RuleHeader) HasMethodIs() bool
HasMethodIs returns a boolean if a field has been set.
func (o *RuleHeader) GetMethodIsNot() []string
GetMethodIsNot returns the MethodIsNot field if non-nil, zero value otherwise.
func (o *RuleHeader) GetMethodIsNotOk() (*[]string, bool)
GetMethodIsNotOk returns a tuple with the MethodIsNot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetMethodIsNot(v []string)
SetMethodIsNot sets MethodIsNot field to given value.
func (o *RuleHeader) HasMethodIsNot() bool
HasMethodIsNot returns a boolean if a field has been set.
func (o *RuleHeader) GetIp() string
GetIp returns the Ip field if non-nil, zero value otherwise.
func (o *RuleHeader) GetIpOk() (*string, 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 *RuleHeader) SetIp(v string)
SetIp sets Ip field to given value.
func (o *RuleHeader) HasIp() bool
HasIp returns a boolean if a field has been set.
func (o *RuleHeader) GetIpIs() []string
GetIpIs returns the IpIs field if non-nil, zero value otherwise.
func (o *RuleHeader) GetIpIsOk() (*[]string, bool)
GetIpIsOk returns a tuple with the IpIs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetIpIs(v []string)
SetIpIs sets IpIs field to given value.
func (o *RuleHeader) HasIpIs() bool
HasIpIs returns a boolean if a field has been set.
func (o *RuleHeader) GetIpIsNot() []string
GetIpIsNot returns the IpIsNot field if non-nil, zero value otherwise.
func (o *RuleHeader) GetIpIsNotOk() (*[]string, bool)
GetIpIsNotOk returns a tuple with the IpIsNot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetIpIsNot(v []string)
SetIpIsNot sets IpIsNot field to given value.
func (o *RuleHeader) HasIpIsNot() bool
HasIpIsNot returns a boolean if a field has been set.
func (o *RuleHeader) GetCountry() string
GetCountry returns the Country field if non-nil, zero value otherwise.
func (o *RuleHeader) GetCountryOk() (*string, 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 *RuleHeader) SetCountry(v string)
SetCountry sets Country field to given value.
func (o *RuleHeader) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *RuleHeader) GetCountryIs() []string
GetCountryIs returns the CountryIs field if non-nil, zero value otherwise.
func (o *RuleHeader) GetCountryIsOk() (*[]string, bool)
GetCountryIsOk returns a tuple with the CountryIs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetCountryIs(v []string)
SetCountryIs sets CountryIs field to given value.
func (o *RuleHeader) HasCountryIs() bool
HasCountryIs returns a boolean if a field has been set.
func (o *RuleHeader) GetCountryIsNot() []string
GetCountryIsNot returns the CountryIsNot field if non-nil, zero value otherwise.
func (o *RuleHeader) GetCountryIsNotOk() (*[]string, bool)
GetCountryIsNotOk returns a tuple with the CountryIsNot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetCountryIsNot(v []string)
SetCountryIsNot sets CountryIsNot field to given value.
func (o *RuleHeader) HasCountryIsNot() bool
HasCountryIsNot returns a boolean if a field has been set.
func (o *RuleHeader) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *RuleHeader) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleHeader) SetAction(v string)
SetAction sets Action field to given value.