Skip to content

Latest commit

 

History

History
347 lines (188 loc) · 9.96 KB

EventMatcherPolicy.md

File metadata and controls

347 lines (188 loc) · 9.96 KB

EventMatcherPolicy

Properties

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]

Methods

NewEventMatcherPolicy

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

NewEventMatcherPolicyWithDefaults

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

GetPk

func (o *EventMatcherPolicy) GetPk() string

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

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.

SetPk

func (o *EventMatcherPolicy) SetPk(v string)

SetPk sets Pk field to given value.

GetName

func (o *EventMatcherPolicy) GetName() string

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

GetNameOk

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.

SetName

func (o *EventMatcherPolicy) SetName(v string)

SetName sets Name field to given value.

GetExecutionLogging

func (o *EventMatcherPolicy) GetExecutionLogging() bool

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

GetExecutionLoggingOk

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.

SetExecutionLogging

func (o *EventMatcherPolicy) SetExecutionLogging(v bool)

SetExecutionLogging sets ExecutionLogging field to given value.

HasExecutionLogging

func (o *EventMatcherPolicy) HasExecutionLogging() bool

HasExecutionLogging returns a boolean if a field has been set.

GetComponent

func (o *EventMatcherPolicy) GetComponent() string

GetComponent returns the Component field if non-nil, zero value otherwise.

GetComponentOk

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.

SetComponent

func (o *EventMatcherPolicy) SetComponent(v string)

SetComponent sets Component field to given value.

GetVerboseName

func (o *EventMatcherPolicy) GetVerboseName() string

GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.

GetVerboseNameOk

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.

SetVerboseName

func (o *EventMatcherPolicy) SetVerboseName(v string)

SetVerboseName sets VerboseName field to given value.

GetVerboseNamePlural

func (o *EventMatcherPolicy) GetVerboseNamePlural() string

GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.

GetVerboseNamePluralOk

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.

SetVerboseNamePlural

func (o *EventMatcherPolicy) SetVerboseNamePlural(v string)

SetVerboseNamePlural sets VerboseNamePlural field to given value.

GetMetaModelName

func (o *EventMatcherPolicy) GetMetaModelName() string

GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.

GetMetaModelNameOk

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.

SetMetaModelName

func (o *EventMatcherPolicy) SetMetaModelName(v string)

SetMetaModelName sets MetaModelName field to given value.

GetBoundTo

func (o *EventMatcherPolicy) GetBoundTo() int32

GetBoundTo returns the BoundTo field if non-nil, zero value otherwise.

GetBoundToOk

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.

SetBoundTo

func (o *EventMatcherPolicy) SetBoundTo(v int32)

SetBoundTo sets BoundTo field to given value.

GetAction

func (o *EventMatcherPolicy) GetAction() EventActions

GetAction returns the Action field if non-nil, zero value otherwise.

GetActionOk

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.

SetAction

func (o *EventMatcherPolicy) SetAction(v EventActions)

SetAction sets Action field to given value.

HasAction

func (o *EventMatcherPolicy) HasAction() bool

HasAction returns a boolean if a field has been set.

SetActionNil

func (o *EventMatcherPolicy) SetActionNil(b bool)

SetActionNil sets the value for Action to be an explicit nil

UnsetAction

func (o *EventMatcherPolicy) UnsetAction()

UnsetAction ensures that no value is present for Action, not even an explicit nil

GetClientIp

func (o *EventMatcherPolicy) GetClientIp() string

GetClientIp returns the ClientIp field if non-nil, zero value otherwise.

GetClientIpOk

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.

SetClientIp

func (o *EventMatcherPolicy) SetClientIp(v string)

SetClientIp sets ClientIp field to given value.

HasClientIp

func (o *EventMatcherPolicy) HasClientIp() bool

HasClientIp returns a boolean if a field has been set.

SetClientIpNil

func (o *EventMatcherPolicy) SetClientIpNil(b bool)

SetClientIpNil sets the value for ClientIp to be an explicit nil

UnsetClientIp

func (o *EventMatcherPolicy) UnsetClientIp()

UnsetClientIp ensures that no value is present for ClientIp, not even an explicit nil

GetApp

func (o *EventMatcherPolicy) GetApp() AppEnum

GetApp returns the App field if non-nil, zero value otherwise.

GetAppOk

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.

SetApp

func (o *EventMatcherPolicy) SetApp(v AppEnum)

SetApp sets App field to given value.

HasApp

func (o *EventMatcherPolicy) HasApp() bool

HasApp returns a boolean if a field has been set.

SetAppNil

func (o *EventMatcherPolicy) SetAppNil(b bool)

SetAppNil sets the value for App to be an explicit nil

UnsetApp

func (o *EventMatcherPolicy) UnsetApp()

UnsetApp ensures that no value is present for App, not even an explicit nil

GetModel

func (o *EventMatcherPolicy) GetModel() ModelEnum

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

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.

SetModel

func (o *EventMatcherPolicy) SetModel(v ModelEnum)

SetModel sets Model field to given value.

HasModel

func (o *EventMatcherPolicy) HasModel() bool

HasModel returns a boolean if a field has been set.

SetModelNil

func (o *EventMatcherPolicy) SetModelNil(b bool)

SetModelNil sets the value for Model to be an explicit nil

UnsetModel

func (o *EventMatcherPolicy) UnsetModel()

UnsetModel ensures that no value is present for Model, not even an explicit nil

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