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] |
Action | Pointer to NullableEventActions | Match created events with this action type. When left empty, all action types will be matched. | [optional] |
ClientIp | Pointer to NullableString | Matches Event's Client IP (strict matching, for network matching use an Expression Policy) | [optional] |
App | Pointer to NullableAppEnum | Match events created by selected application. When left empty, all applications are matched. | [optional] |
Model | Pointer to NullableModelEnum | Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. | [optional] |
func NewEventMatcherPolicyRequest(name string, ) *EventMatcherPolicyRequest
NewEventMatcherPolicyRequest instantiates a new EventMatcherPolicyRequest 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 NewEventMatcherPolicyRequestWithDefaults() *EventMatcherPolicyRequest
NewEventMatcherPolicyRequestWithDefaults instantiates a new EventMatcherPolicyRequest 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 *EventMatcherPolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *EventMatcherPolicyRequest) 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 *EventMatcherPolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *EventMatcherPolicyRequest) GetExecutionLogging() bool
GetExecutionLogging returns the ExecutionLogging field if non-nil, zero value otherwise.
func (o *EventMatcherPolicyRequest) 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.
func (o *EventMatcherPolicyRequest) SetExecutionLogging(v bool)
SetExecutionLogging sets ExecutionLogging field to given value.
func (o *EventMatcherPolicyRequest) HasExecutionLogging() bool
HasExecutionLogging returns a boolean if a field has been set.
func (o *EventMatcherPolicyRequest) GetAction() EventActions
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *EventMatcherPolicyRequest) GetActionOk() (*EventActions, 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 *EventMatcherPolicyRequest) SetAction(v EventActions)
SetAction sets Action field to given value.
func (o *EventMatcherPolicyRequest) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *EventMatcherPolicyRequest) SetActionNil(b bool)
SetActionNil sets the value for Action to be an explicit nil
func (o *EventMatcherPolicyRequest) UnsetAction()
UnsetAction ensures that no value is present for Action, not even an explicit nil
func (o *EventMatcherPolicyRequest) GetClientIp() string
GetClientIp returns the ClientIp field if non-nil, zero value otherwise.
func (o *EventMatcherPolicyRequest) GetClientIpOk() (*string, bool)
GetClientIpOk returns a tuple with the ClientIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicyRequest) SetClientIp(v string)
SetClientIp sets ClientIp field to given value.
func (o *EventMatcherPolicyRequest) HasClientIp() bool
HasClientIp returns a boolean if a field has been set.
func (o *EventMatcherPolicyRequest) SetClientIpNil(b bool)
SetClientIpNil sets the value for ClientIp to be an explicit nil
func (o *EventMatcherPolicyRequest) UnsetClientIp()
UnsetClientIp ensures that no value is present for ClientIp, not even an explicit nil
func (o *EventMatcherPolicyRequest) GetApp() AppEnum
GetApp returns the App field if non-nil, zero value otherwise.
func (o *EventMatcherPolicyRequest) GetAppOk() (*AppEnum, bool)
GetAppOk returns a tuple with the App field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicyRequest) SetApp(v AppEnum)
SetApp sets App field to given value.
func (o *EventMatcherPolicyRequest) HasApp() bool
HasApp returns a boolean if a field has been set.
func (o *EventMatcherPolicyRequest) SetAppNil(b bool)
SetAppNil sets the value for App to be an explicit nil
func (o *EventMatcherPolicyRequest) UnsetApp()
UnsetApp ensures that no value is present for App, not even an explicit nil
func (o *EventMatcherPolicyRequest) GetModel() ModelEnum
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *EventMatcherPolicyRequest) GetModelOk() (*ModelEnum, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicyRequest) SetModel(v ModelEnum)
SetModel sets Model field to given value.
func (o *EventMatcherPolicyRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *EventMatcherPolicyRequest) SetModelNil(b bool)
SetModelNil sets the value for Model to be an explicit nil
func (o *EventMatcherPolicyRequest) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil