Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.55 KB

GeoIPPolicyRequest.md

File metadata and controls

124 lines (67 loc) · 3.55 KB

GeoIPPolicyRequest

Properties

Name Type Description Notes
Name string
ExecutionLogging Pointer to bool When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. [optional]
Asns Pointer to []int32 [optional]
Countries []CountryCodeEnum

Methods

NewGeoIPPolicyRequest

func NewGeoIPPolicyRequest(name string, countries []CountryCodeEnum, ) *GeoIPPolicyRequest

NewGeoIPPolicyRequest instantiates a new GeoIPPolicyRequest 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

NewGeoIPPolicyRequestWithDefaults

func NewGeoIPPolicyRequestWithDefaults() *GeoIPPolicyRequest

NewGeoIPPolicyRequestWithDefaults instantiates a new GeoIPPolicyRequest 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

GetName

func (o *GeoIPPolicyRequest) GetName() string

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

GetNameOk

func (o *GeoIPPolicyRequest) 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 *GeoIPPolicyRequest) SetName(v string)

SetName sets Name field to given value.

GetExecutionLogging

func (o *GeoIPPolicyRequest) GetExecutionLogging() bool

GetExecutionLogging returns the ExecutionLogging field if non-nil, zero value otherwise.

GetExecutionLoggingOk

func (o *GeoIPPolicyRequest) GetExecutionLoggingOk() (*bool, bool)

GetExecutionLoggingOk returns a tuple with the ExecutionLogging field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExecutionLogging

func (o *GeoIPPolicyRequest) SetExecutionLogging(v bool)

SetExecutionLogging sets ExecutionLogging field to given value.

HasExecutionLogging

func (o *GeoIPPolicyRequest) HasExecutionLogging() bool

HasExecutionLogging returns a boolean if a field has been set.

GetAsns

func (o *GeoIPPolicyRequest) GetAsns() []int32

GetAsns returns the Asns field if non-nil, zero value otherwise.

GetAsnsOk

func (o *GeoIPPolicyRequest) GetAsnsOk() (*[]int32, bool)

GetAsnsOk returns a tuple with the Asns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAsns

func (o *GeoIPPolicyRequest) SetAsns(v []int32)

SetAsns sets Asns field to given value.

HasAsns

func (o *GeoIPPolicyRequest) HasAsns() bool

HasAsns returns a boolean if a field has been set.

GetCountries

func (o *GeoIPPolicyRequest) GetCountries() []CountryCodeEnum

GetCountries returns the Countries field if non-nil, zero value otherwise.

GetCountriesOk

func (o *GeoIPPolicyRequest) GetCountriesOk() (*[]CountryCodeEnum, bool)

GetCountriesOk returns a tuple with the Countries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCountries

func (o *GeoIPPolicyRequest) SetCountries(v []CountryCodeEnum)

SetCountries sets Countries field to given value.

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