Name | Type | Description | Notes |
---|---|---|---|
FileNamePrefix | Pointer to string | WARNING: This is a preview API that could change. Audit log file name prefix. Defaults to "". For example, setting this to "yb-platform-" will generate audit log files as "yb-platform-audit.log" instead of "audit.log". | [optional] |
MaxHistory | Pointer to int32 | Max number of days up till which logs are kept | [optional] |
OutputToFile | bool | Flag to enable/disable audit logs output to file | |
OutputToStdout | bool | Flag to enable/disable audit logs output to stdout | |
RolloverPattern | Pointer to string | Rollover Pattern | [optional] |
func NewAuditLoggingConfig(outputToFile bool, outputToStdout bool, ) *AuditLoggingConfig
NewAuditLoggingConfig instantiates a new AuditLoggingConfig 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 NewAuditLoggingConfigWithDefaults() *AuditLoggingConfig
NewAuditLoggingConfigWithDefaults instantiates a new AuditLoggingConfig 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 *AuditLoggingConfig) GetFileNamePrefix() string
GetFileNamePrefix returns the FileNamePrefix field if non-nil, zero value otherwise.
func (o *AuditLoggingConfig) GetFileNamePrefixOk() (*string, bool)
GetFileNamePrefixOk returns a tuple with the FileNamePrefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuditLoggingConfig) SetFileNamePrefix(v string)
SetFileNamePrefix sets FileNamePrefix field to given value.
func (o *AuditLoggingConfig) HasFileNamePrefix() bool
HasFileNamePrefix returns a boolean if a field has been set.
func (o *AuditLoggingConfig) GetMaxHistory() int32
GetMaxHistory returns the MaxHistory field if non-nil, zero value otherwise.
func (o *AuditLoggingConfig) GetMaxHistoryOk() (*int32, bool)
GetMaxHistoryOk returns a tuple with the MaxHistory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuditLoggingConfig) SetMaxHistory(v int32)
SetMaxHistory sets MaxHistory field to given value.
func (o *AuditLoggingConfig) HasMaxHistory() bool
HasMaxHistory returns a boolean if a field has been set.
func (o *AuditLoggingConfig) GetOutputToFile() bool
GetOutputToFile returns the OutputToFile field if non-nil, zero value otherwise.
func (o *AuditLoggingConfig) GetOutputToFileOk() (*bool, bool)
GetOutputToFileOk returns a tuple with the OutputToFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuditLoggingConfig) SetOutputToFile(v bool)
SetOutputToFile sets OutputToFile field to given value.
func (o *AuditLoggingConfig) GetOutputToStdout() bool
GetOutputToStdout returns the OutputToStdout field if non-nil, zero value otherwise.
func (o *AuditLoggingConfig) GetOutputToStdoutOk() (*bool, bool)
GetOutputToStdoutOk returns a tuple with the OutputToStdout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuditLoggingConfig) SetOutputToStdout(v bool)
SetOutputToStdout sets OutputToStdout field to given value.
func (o *AuditLoggingConfig) GetRolloverPattern() string
GetRolloverPattern returns the RolloverPattern field if non-nil, zero value otherwise.
func (o *AuditLoggingConfig) GetRolloverPatternOk() (*string, bool)
GetRolloverPatternOk returns a tuple with the RolloverPattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuditLoggingConfig) SetRolloverPattern(v string)
SetRolloverPattern sets RolloverPattern field to given value.
func (o *AuditLoggingConfig) HasRolloverPattern() bool
HasRolloverPattern returns a boolean if a field has been set.