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] |
func NewPolicyRequest(name string, ) *PolicyRequest
NewPolicyRequest instantiates a new PolicyRequest 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 NewPolicyRequestWithDefaults() *PolicyRequest
NewPolicyRequestWithDefaults instantiates a new PolicyRequest 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 *PolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PolicyRequest) 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 *PolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PolicyRequest) GetExecutionLogging() bool
GetExecutionLogging returns the ExecutionLogging field if non-nil, zero value otherwise.
func (o *PolicyRequest) 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 *PolicyRequest) SetExecutionLogging(v bool)
SetExecutionLogging sets ExecutionLogging field to given value.
func (o *PolicyRequest) HasExecutionLogging() bool
HasExecutionLogging returns a boolean if a field has been set.