Name | Type | Description | Notes |
---|---|---|---|
Classes | []string | YSQL statement classes | |
Enabled | bool | Enabled | [readonly] |
LogCatalog | bool | Log catalog | |
LogClient | bool | Log client | |
LogLevel | string | Log level. For NOTICE, INFO, DEBUG levels, user also needs to set 'log_min_messages' to the required level for the audit logs to be exported. Default 'log_min_messages' is WARNING. | |
LogParameter | bool | Log parameter | |
LogParameterMaxSize | int32 | Log parameter max size | |
LogRelation | bool | Log relation | |
LogRows | bool | Log rows | |
LogStatement | bool | Log statement | |
LogStatementOnce | bool | Log statement once |
func NewYSQLAuditConfig(classes []string, enabled bool, logCatalog bool, logClient bool, logLevel string, logParameter bool, logParameterMaxSize int32, logRelation bool, logRows bool, logStatement bool, logStatementOnce bool, ) *YSQLAuditConfig
NewYSQLAuditConfig instantiates a new YSQLAuditConfig 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 NewYSQLAuditConfigWithDefaults() *YSQLAuditConfig
NewYSQLAuditConfigWithDefaults instantiates a new YSQLAuditConfig 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 *YSQLAuditConfig) GetClasses() []string
GetClasses returns the Classes field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetClassesOk() (*[]string, bool)
GetClassesOk returns a tuple with the Classes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetClasses(v []string)
SetClasses sets Classes field to given value.
func (o *YSQLAuditConfig) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) 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 *YSQLAuditConfig) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *YSQLAuditConfig) GetLogCatalog() bool
GetLogCatalog returns the LogCatalog field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogCatalogOk() (*bool, bool)
GetLogCatalogOk returns a tuple with the LogCatalog field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogCatalog(v bool)
SetLogCatalog sets LogCatalog field to given value.
func (o *YSQLAuditConfig) GetLogClient() bool
GetLogClient returns the LogClient field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogClientOk() (*bool, bool)
GetLogClientOk returns a tuple with the LogClient field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogClient(v bool)
SetLogClient sets LogClient field to given value.
func (o *YSQLAuditConfig) GetLogLevel() string
GetLogLevel returns the LogLevel field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogLevelOk() (*string, bool)
GetLogLevelOk returns a tuple with the LogLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogLevel(v string)
SetLogLevel sets LogLevel field to given value.
func (o *YSQLAuditConfig) GetLogParameter() bool
GetLogParameter returns the LogParameter field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogParameterOk() (*bool, bool)
GetLogParameterOk returns a tuple with the LogParameter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogParameter(v bool)
SetLogParameter sets LogParameter field to given value.
func (o *YSQLAuditConfig) GetLogParameterMaxSize() int32
GetLogParameterMaxSize returns the LogParameterMaxSize field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogParameterMaxSizeOk() (*int32, bool)
GetLogParameterMaxSizeOk returns a tuple with the LogParameterMaxSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogParameterMaxSize(v int32)
SetLogParameterMaxSize sets LogParameterMaxSize field to given value.
func (o *YSQLAuditConfig) GetLogRelation() bool
GetLogRelation returns the LogRelation field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogRelationOk() (*bool, bool)
GetLogRelationOk returns a tuple with the LogRelation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogRelation(v bool)
SetLogRelation sets LogRelation field to given value.
func (o *YSQLAuditConfig) GetLogRows() bool
GetLogRows returns the LogRows field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogRowsOk() (*bool, bool)
GetLogRowsOk returns a tuple with the LogRows field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogRows(v bool)
SetLogRows sets LogRows field to given value.
func (o *YSQLAuditConfig) GetLogStatement() bool
GetLogStatement returns the LogStatement field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogStatementOk() (*bool, bool)
GetLogStatementOk returns a tuple with the LogStatement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogStatement(v bool)
SetLogStatement sets LogStatement field to given value.
func (o *YSQLAuditConfig) GetLogStatementOnce() bool
GetLogStatementOnce returns the LogStatementOnce field if non-nil, zero value otherwise.
func (o *YSQLAuditConfig) GetLogStatementOnceOk() (*bool, bool)
GetLogStatementOnceOk returns a tuple with the LogStatementOnce field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YSQLAuditConfig) SetLogStatementOnce(v bool)
SetLogStatementOnce sets LogStatementOnce field to given value.