| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | The new name for the resource. | [optional] |
| Enabled | Pointer to bool | If set to `true`, enables the policy. If set to `false`, disables the policy. | [optional] |
| LogTargets | Pointer to []ReferenceNoIdWithType | A list of targets to which audit logs will be sent. This list, if sent, overrides existing target list. | [optional] |
func NewPolicyAuditFilePatch() *PolicyAuditFilePatch
NewPolicyAuditFilePatch instantiates a new PolicyAuditFilePatch 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 NewPolicyAuditFilePatchWithDefaults() *PolicyAuditFilePatch
NewPolicyAuditFilePatchWithDefaults instantiates a new PolicyAuditFilePatch 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 *PolicyAuditFilePatch) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PolicyAuditFilePatch) 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 *PolicyAuditFilePatch) SetName(v string)
SetName sets Name field to given value.
func (o *PolicyAuditFilePatch) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PolicyAuditFilePatch) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *PolicyAuditFilePatch) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyAuditFilePatch) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *PolicyAuditFilePatch) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *PolicyAuditFilePatch) GetLogTargets() []ReferenceNoIdWithType
GetLogTargets returns the LogTargets field if non-nil, zero value otherwise.
func (o *PolicyAuditFilePatch) GetLogTargetsOk() (*[]ReferenceNoIdWithType, bool)
GetLogTargetsOk returns a tuple with the LogTargets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyAuditFilePatch) SetLogTargets(v []ReferenceNoIdWithType)
SetLogTargets sets LogTargets field to given value.
func (o *PolicyAuditFilePatch) HasLogTargets() bool
HasLogTargets returns a boolean if a field has been set.