Skip to content

Latest commit

 

History

History
478 lines (257 loc) · 11.5 KB

RuleHeader.md

File metadata and controls

478 lines (257 loc) · 11.5 KB

RuleHeader

Properties

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

Methods

NewRuleHeader

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

NewRuleHeaderWithDefaults

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

GetActionConfig

func (o *RuleHeader) GetActionConfig() RuleHeaderAction

GetActionConfig returns the ActionConfig field if non-nil, zero value otherwise.

GetActionConfigOk

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.

SetActionConfig

func (o *RuleHeader) SetActionConfig(v RuleHeaderAction)

SetActionConfig sets ActionConfig field to given value.

GetName

func (o *RuleHeader) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *RuleHeader) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *RuleHeader) HasName() bool

HasName returns a boolean if a field has been set.

GetUuid

func (o *RuleHeader) GetUuid() string

GetUuid returns the Uuid field if non-nil, zero value otherwise.

GetUuidOk

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.

SetUuid

func (o *RuleHeader) SetUuid(v string)

SetUuid sets Uuid field to given value.

GetRuleId

func (o *RuleHeader) GetRuleId() string

GetRuleId returns the RuleId field if non-nil, zero value otherwise.

GetRuleIdOk

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.

SetRuleId

func (o *RuleHeader) SetRuleId(v string)

SetRuleId sets RuleId field to given value.

HasRuleId

func (o *RuleHeader) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

GetUrl

func (o *RuleHeader) GetUrl() []string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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.

SetUrl

func (o *RuleHeader) SetUrl(v []string)

SetUrl sets Url field to given value.

HasUrl

func (o *RuleHeader) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetDomain

func (o *RuleHeader) GetDomain() []string

GetDomain returns the Domain field if non-nil, zero value otherwise.

GetDomainOk

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.

SetDomain

func (o *RuleHeader) SetDomain(v []string)

SetDomain sets Domain field to given value.

HasDomain

func (o *RuleHeader) HasDomain() bool

HasDomain returns a boolean if a field has been set.

GetDisabled

func (o *RuleHeader) GetDisabled() bool

GetDisabled returns the Disabled field if non-nil, zero value otherwise.

GetDisabledOk

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.

SetDisabled

func (o *RuleHeader) SetDisabled(v bool)

SetDisabled sets Disabled field to given value.

GetOnlyWithCookie

func (o *RuleHeader) GetOnlyWithCookie() string

GetOnlyWithCookie returns the OnlyWithCookie field if non-nil, zero value otherwise.

GetOnlyWithCookieOk

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.

SetOnlyWithCookie

func (o *RuleHeader) SetOnlyWithCookie(v string)

SetOnlyWithCookie sets OnlyWithCookie field to given value.

HasOnlyWithCookie

func (o *RuleHeader) HasOnlyWithCookie() bool

HasOnlyWithCookie returns a boolean if a field has been set.

GetMethod

func (o *RuleHeader) GetMethod() string

GetMethod returns the Method field if non-nil, zero value otherwise.

GetMethodOk

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.

SetMethod

func (o *RuleHeader) SetMethod(v string)

SetMethod sets Method field to given value.

HasMethod

func (o *RuleHeader) HasMethod() bool

HasMethod returns a boolean if a field has been set.

GetMethodIs

func (o *RuleHeader) GetMethodIs() []string

GetMethodIs returns the MethodIs field if non-nil, zero value otherwise.

GetMethodIsOk

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.

SetMethodIs

func (o *RuleHeader) SetMethodIs(v []string)

SetMethodIs sets MethodIs field to given value.

HasMethodIs

func (o *RuleHeader) HasMethodIs() bool

HasMethodIs returns a boolean if a field has been set.

GetMethodIsNot

func (o *RuleHeader) GetMethodIsNot() []string

GetMethodIsNot returns the MethodIsNot field if non-nil, zero value otherwise.

GetMethodIsNotOk

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.

SetMethodIsNot

func (o *RuleHeader) SetMethodIsNot(v []string)

SetMethodIsNot sets MethodIsNot field to given value.

HasMethodIsNot

func (o *RuleHeader) HasMethodIsNot() bool

HasMethodIsNot returns a boolean if a field has been set.

GetIp

func (o *RuleHeader) GetIp() string

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

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.

SetIp

func (o *RuleHeader) SetIp(v string)

SetIp sets Ip field to given value.

HasIp

func (o *RuleHeader) HasIp() bool

HasIp returns a boolean if a field has been set.

GetIpIs

func (o *RuleHeader) GetIpIs() []string

GetIpIs returns the IpIs field if non-nil, zero value otherwise.

GetIpIsOk

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.

SetIpIs

func (o *RuleHeader) SetIpIs(v []string)

SetIpIs sets IpIs field to given value.

HasIpIs

func (o *RuleHeader) HasIpIs() bool

HasIpIs returns a boolean if a field has been set.

GetIpIsNot

func (o *RuleHeader) GetIpIsNot() []string

GetIpIsNot returns the IpIsNot field if non-nil, zero value otherwise.

GetIpIsNotOk

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.

SetIpIsNot

func (o *RuleHeader) SetIpIsNot(v []string)

SetIpIsNot sets IpIsNot field to given value.

HasIpIsNot

func (o *RuleHeader) HasIpIsNot() bool

HasIpIsNot returns a boolean if a field has been set.

GetCountry

func (o *RuleHeader) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

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.

SetCountry

func (o *RuleHeader) SetCountry(v string)

SetCountry sets Country field to given value.

HasCountry

func (o *RuleHeader) HasCountry() bool

HasCountry returns a boolean if a field has been set.

GetCountryIs

func (o *RuleHeader) GetCountryIs() []string

GetCountryIs returns the CountryIs field if non-nil, zero value otherwise.

GetCountryIsOk

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.

SetCountryIs

func (o *RuleHeader) SetCountryIs(v []string)

SetCountryIs sets CountryIs field to given value.

HasCountryIs

func (o *RuleHeader) HasCountryIs() bool

HasCountryIs returns a boolean if a field has been set.

GetCountryIsNot

func (o *RuleHeader) GetCountryIsNot() []string

GetCountryIsNot returns the CountryIsNot field if non-nil, zero value otherwise.

GetCountryIsNotOk

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.

SetCountryIsNot

func (o *RuleHeader) SetCountryIsNot(v []string)

SetCountryIsNot sets CountryIsNot field to given value.

HasCountryIsNot

func (o *RuleHeader) HasCountryIsNot() bool

HasCountryIsNot returns a boolean if a field has been set.

GetAction

func (o *RuleHeader) GetAction() string

GetAction returns the Action field if non-nil, zero value otherwise.

GetActionOk

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.

SetAction

func (o *RuleHeader) SetAction(v string)

SetAction sets Action field to given value.

[Back to Model list] [Back to API list] [Back to README]