Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.96 KB

File metadata and controls

134 lines (73 loc) · 3.96 KB

CreateFilterPolicyRequest

Properties

Name Type Description Notes
Name string
Description Pointer to NullableString [optional]
Enabled Pointer to bool [optional]
Rules []CreateFilterPolicyRequestRulesInner

Methods

NewCreateFilterPolicyRequest

func NewCreateFilterPolicyRequest(name string, rules []CreateFilterPolicyRequestRulesInner, ) *CreateFilterPolicyRequest

NewCreateFilterPolicyRequest instantiates a new CreateFilterPolicyRequest 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

NewCreateFilterPolicyRequestWithDefaults

func NewCreateFilterPolicyRequestWithDefaults() *CreateFilterPolicyRequest

NewCreateFilterPolicyRequestWithDefaults instantiates a new CreateFilterPolicyRequest 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 *CreateFilterPolicyRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetDescription

func (o *CreateFilterPolicyRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *CreateFilterPolicyRequest) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *CreateFilterPolicyRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateFilterPolicyRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *CreateFilterPolicyRequest) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *CreateFilterPolicyRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetEnabled

func (o *CreateFilterPolicyRequest) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *CreateFilterPolicyRequest) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *CreateFilterPolicyRequest) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *CreateFilterPolicyRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetRules

func (o *CreateFilterPolicyRequest) GetRules() []CreateFilterPolicyRequestRulesInner

GetRules returns the Rules field if non-nil, zero value otherwise.

GetRulesOk

func (o *CreateFilterPolicyRequest) GetRulesOk() (*[]CreateFilterPolicyRequestRulesInner, bool)

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

SetRules

func (o *CreateFilterPolicyRequest) SetRules(v []CreateFilterPolicyRequestRulesInner)

SetRules sets Rules field to given value.

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