| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | ||
| Description | Pointer to NullableString | [optional] | |
| Enabled | Pointer to bool | [optional] | |
| Rules | []CreateFilterPolicyRequestRulesInner |
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
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
func (o *CreateFilterPolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *CreateFilterPolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CreateFilterPolicyRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *CreateFilterPolicyRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateFilterPolicyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateFilterPolicyRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *CreateFilterPolicyRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *CreateFilterPolicyRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
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.
func (o *CreateFilterPolicyRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *CreateFilterPolicyRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *CreateFilterPolicyRequest) GetRules() []CreateFilterPolicyRequestRulesInner
GetRules returns the Rules field if non-nil, zero value otherwise.
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.
func (o *CreateFilterPolicyRequest) SetRules(v []CreateFilterPolicyRequestRulesInner)
SetRules sets Rules field to given value.