Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.63 KB

File metadata and controls

186 lines (101 loc) · 5.63 KB

EarlyoomConfig

Properties

Name Type Description Notes
AvailMemoryKillKb Pointer to int32 [optional]
AvailMemoryKillPercent Pointer to int32 [optional]
AvailMemoryTermKb Pointer to int32 [optional]
AvailMemoryTermPercent Pointer to int32 [optional]
PreferPattern Pointer to string [optional]
ReportInterval Pointer to int32 [optional]

Methods

NewEarlyoomConfig

func NewEarlyoomConfig() *EarlyoomConfig

NewEarlyoomConfig instantiates a new EarlyoomConfig 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

NewEarlyoomConfigWithDefaults

func NewEarlyoomConfigWithDefaults() *EarlyoomConfig

NewEarlyoomConfigWithDefaults instantiates a new EarlyoomConfig 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

GetAvailMemoryKillKb

func (o *EarlyoomConfig) GetAvailMemoryKillKb() int32

GetAvailMemoryKillKb returns the AvailMemoryKillKb field if non-nil, zero value otherwise.

GetAvailMemoryKillKbOk

func (o *EarlyoomConfig) GetAvailMemoryKillKbOk() (*int32, bool)

GetAvailMemoryKillKbOk returns a tuple with the AvailMemoryKillKb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAvailMemoryKillKb

func (o *EarlyoomConfig) SetAvailMemoryKillKb(v int32)

SetAvailMemoryKillKb sets AvailMemoryKillKb field to given value.

HasAvailMemoryKillKb

func (o *EarlyoomConfig) HasAvailMemoryKillKb() bool

HasAvailMemoryKillKb returns a boolean if a field has been set.

GetAvailMemoryKillPercent

func (o *EarlyoomConfig) GetAvailMemoryKillPercent() int32

GetAvailMemoryKillPercent returns the AvailMemoryKillPercent field if non-nil, zero value otherwise.

GetAvailMemoryKillPercentOk

func (o *EarlyoomConfig) GetAvailMemoryKillPercentOk() (*int32, bool)

GetAvailMemoryKillPercentOk returns a tuple with the AvailMemoryKillPercent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAvailMemoryKillPercent

func (o *EarlyoomConfig) SetAvailMemoryKillPercent(v int32)

SetAvailMemoryKillPercent sets AvailMemoryKillPercent field to given value.

HasAvailMemoryKillPercent

func (o *EarlyoomConfig) HasAvailMemoryKillPercent() bool

HasAvailMemoryKillPercent returns a boolean if a field has been set.

GetAvailMemoryTermKb

func (o *EarlyoomConfig) GetAvailMemoryTermKb() int32

GetAvailMemoryTermKb returns the AvailMemoryTermKb field if non-nil, zero value otherwise.

GetAvailMemoryTermKbOk

func (o *EarlyoomConfig) GetAvailMemoryTermKbOk() (*int32, bool)

GetAvailMemoryTermKbOk returns a tuple with the AvailMemoryTermKb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAvailMemoryTermKb

func (o *EarlyoomConfig) SetAvailMemoryTermKb(v int32)

SetAvailMemoryTermKb sets AvailMemoryTermKb field to given value.

HasAvailMemoryTermKb

func (o *EarlyoomConfig) HasAvailMemoryTermKb() bool

HasAvailMemoryTermKb returns a boolean if a field has been set.

GetAvailMemoryTermPercent

func (o *EarlyoomConfig) GetAvailMemoryTermPercent() int32

GetAvailMemoryTermPercent returns the AvailMemoryTermPercent field if non-nil, zero value otherwise.

GetAvailMemoryTermPercentOk

func (o *EarlyoomConfig) GetAvailMemoryTermPercentOk() (*int32, bool)

GetAvailMemoryTermPercentOk returns a tuple with the AvailMemoryTermPercent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAvailMemoryTermPercent

func (o *EarlyoomConfig) SetAvailMemoryTermPercent(v int32)

SetAvailMemoryTermPercent sets AvailMemoryTermPercent field to given value.

HasAvailMemoryTermPercent

func (o *EarlyoomConfig) HasAvailMemoryTermPercent() bool

HasAvailMemoryTermPercent returns a boolean if a field has been set.

GetPreferPattern

func (o *EarlyoomConfig) GetPreferPattern() string

GetPreferPattern returns the PreferPattern field if non-nil, zero value otherwise.

GetPreferPatternOk

func (o *EarlyoomConfig) GetPreferPatternOk() (*string, bool)

GetPreferPatternOk returns a tuple with the PreferPattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPreferPattern

func (o *EarlyoomConfig) SetPreferPattern(v string)

SetPreferPattern sets PreferPattern field to given value.

HasPreferPattern

func (o *EarlyoomConfig) HasPreferPattern() bool

HasPreferPattern returns a boolean if a field has been set.

GetReportInterval

func (o *EarlyoomConfig) GetReportInterval() int32

GetReportInterval returns the ReportInterval field if non-nil, zero value otherwise.

GetReportIntervalOk

func (o *EarlyoomConfig) GetReportIntervalOk() (*int32, bool)

GetReportIntervalOk returns a tuple with the ReportInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReportInterval

func (o *EarlyoomConfig) SetReportInterval(v int32)

SetReportInterval sets ReportInterval field to given value.

HasReportInterval

func (o *EarlyoomConfig) HasReportInterval() bool

HasReportInterval returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]