Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
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] |
Component | string | Get object component so that we know how to edit the object | [readonly] |
VerboseName | string | Return object's verbose_name | [readonly] |
VerboseNamePlural | string | Return object's plural verbose_name | [readonly] |
MetaModelName | string | Return internal model name | [readonly] |
BoundTo | int32 | Return objects policy is bound to | [readonly] |
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 NewEventMatcherPolicy(pk string, name string, component string, verboseName string, verboseNamePlural string, metaModelName string, boundTo int32, ) *EventMatcherPolicy
NewEventMatcherPolicy instantiates a new EventMatcherPolicy 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 NewEventMatcherPolicyWithDefaults() *EventMatcherPolicy
NewEventMatcherPolicyWithDefaults instantiates a new EventMatcherPolicy 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 *EventMatcherPolicy) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) GetPkOk() (*string, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicy) SetPk(v string)
SetPk sets Pk field to given value.
func (o *EventMatcherPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) 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 *EventMatcherPolicy) SetName(v string)
SetName sets Name field to given value.
func (o *EventMatcherPolicy) GetExecutionLogging() bool
GetExecutionLogging returns the ExecutionLogging field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) 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 *EventMatcherPolicy) SetExecutionLogging(v bool)
SetExecutionLogging sets ExecutionLogging field to given value.
func (o *EventMatcherPolicy) HasExecutionLogging() bool
HasExecutionLogging returns a boolean if a field has been set.
func (o *EventMatcherPolicy) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicy) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *EventMatcherPolicy) GetVerboseName() string
GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) GetVerboseNameOk() (*string, bool)
GetVerboseNameOk returns a tuple with the VerboseName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicy) SetVerboseName(v string)
SetVerboseName sets VerboseName field to given value.
func (o *EventMatcherPolicy) GetVerboseNamePlural() string
GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) GetVerboseNamePluralOk() (*string, bool)
GetVerboseNamePluralOk returns a tuple with the VerboseNamePlural field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicy) SetVerboseNamePlural(v string)
SetVerboseNamePlural sets VerboseNamePlural field to given value.
func (o *EventMatcherPolicy) GetMetaModelName() string
GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) GetMetaModelNameOk() (*string, bool)
GetMetaModelNameOk returns a tuple with the MetaModelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicy) SetMetaModelName(v string)
SetMetaModelName sets MetaModelName field to given value.
func (o *EventMatcherPolicy) GetBoundTo() int32
GetBoundTo returns the BoundTo field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) GetBoundToOk() (*int32, bool)
GetBoundToOk returns a tuple with the BoundTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventMatcherPolicy) SetBoundTo(v int32)
SetBoundTo sets BoundTo field to given value.
func (o *EventMatcherPolicy) GetAction() EventActions
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) 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 *EventMatcherPolicy) SetAction(v EventActions)
SetAction sets Action field to given value.
func (o *EventMatcherPolicy) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *EventMatcherPolicy) SetActionNil(b bool)
SetActionNil sets the value for Action to be an explicit nil
func (o *EventMatcherPolicy) UnsetAction()
UnsetAction ensures that no value is present for Action, not even an explicit nil
func (o *EventMatcherPolicy) GetClientIp() string
GetClientIp returns the ClientIp field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) 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 *EventMatcherPolicy) SetClientIp(v string)
SetClientIp sets ClientIp field to given value.
func (o *EventMatcherPolicy) HasClientIp() bool
HasClientIp returns a boolean if a field has been set.
func (o *EventMatcherPolicy) SetClientIpNil(b bool)
SetClientIpNil sets the value for ClientIp to be an explicit nil
func (o *EventMatcherPolicy) UnsetClientIp()
UnsetClientIp ensures that no value is present for ClientIp, not even an explicit nil
func (o *EventMatcherPolicy) GetApp() AppEnum
GetApp returns the App field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) 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 *EventMatcherPolicy) SetApp(v AppEnum)
SetApp sets App field to given value.
func (o *EventMatcherPolicy) HasApp() bool
HasApp returns a boolean if a field has been set.
func (o *EventMatcherPolicy) SetAppNil(b bool)
SetAppNil sets the value for App to be an explicit nil
func (o *EventMatcherPolicy) UnsetApp()
UnsetApp ensures that no value is present for App, not even an explicit nil
func (o *EventMatcherPolicy) GetModel() ModelEnum
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *EventMatcherPolicy) 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 *EventMatcherPolicy) SetModel(v ModelEnum)
SetModel sets Model field to given value.
func (o *EventMatcherPolicy) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *EventMatcherPolicy) SetModelNil(b bool)
SetModelNil sets the value for Model to be an explicit nil
func (o *EventMatcherPolicy) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil