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] |
Expression | string |
func NewExpressionPolicyRequest(name string, expression string, ) *ExpressionPolicyRequest
NewExpressionPolicyRequest instantiates a new ExpressionPolicyRequest 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 NewExpressionPolicyRequestWithDefaults() *ExpressionPolicyRequest
NewExpressionPolicyRequestWithDefaults instantiates a new ExpressionPolicyRequest 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 *ExpressionPolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ExpressionPolicyRequest) 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 *ExpressionPolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ExpressionPolicyRequest) GetExecutionLogging() bool
GetExecutionLogging returns the ExecutionLogging field if non-nil, zero value otherwise.
func (o *ExpressionPolicyRequest) 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 *ExpressionPolicyRequest) SetExecutionLogging(v bool)
SetExecutionLogging sets ExecutionLogging field to given value.
func (o *ExpressionPolicyRequest) HasExecutionLogging() bool
HasExecutionLogging returns a boolean if a field has been set.
func (o *ExpressionPolicyRequest) GetExpression() string
GetExpression returns the Expression field if non-nil, zero value otherwise.
func (o *ExpressionPolicyRequest) GetExpressionOk() (*string, bool)
GetExpressionOk returns a tuple with the Expression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExpressionPolicyRequest) SetExpression(v string)
SetExpression sets Expression field to given value.