Name | Type | Description | Notes |
---|---|---|---|
Cmdline | string | ||
CpuMax | float32 | ||
CpuUsage | float32 | ||
MemoryMax | int32 | ||
MemoryUsage | int32 | ||
NodeId | string | ||
NodeName | string | ||
OpenFilesCount | int32 | ||
Pid | int32 | ||
Ppid | int32 | ||
ShortName | string | ||
Threads | int32 |
func NewModelProcess(cmdline string, cpuMax float32, cpuUsage float32, memoryMax int32, memoryUsage int32, nodeId string, nodeName string, openFilesCount int32, pid int32, ppid int32, shortName string, threads int32, ) *ModelProcess
NewModelProcess instantiates a new ModelProcess 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 NewModelProcessWithDefaults() *ModelProcess
NewModelProcessWithDefaults instantiates a new ModelProcess 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 *ModelProcess) GetCmdline() string
GetCmdline returns the Cmdline field if non-nil, zero value otherwise.
func (o *ModelProcess) GetCmdlineOk() (*string, bool)
GetCmdlineOk returns a tuple with the Cmdline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetCmdline(v string)
SetCmdline sets Cmdline field to given value.
func (o *ModelProcess) GetCpuMax() float32
GetCpuMax returns the CpuMax field if non-nil, zero value otherwise.
func (o *ModelProcess) GetCpuMaxOk() (*float32, bool)
GetCpuMaxOk returns a tuple with the CpuMax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetCpuMax(v float32)
SetCpuMax sets CpuMax field to given value.
func (o *ModelProcess) GetCpuUsage() float32
GetCpuUsage returns the CpuUsage field if non-nil, zero value otherwise.
func (o *ModelProcess) GetCpuUsageOk() (*float32, bool)
GetCpuUsageOk returns a tuple with the CpuUsage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetCpuUsage(v float32)
SetCpuUsage sets CpuUsage field to given value.
func (o *ModelProcess) GetMemoryMax() int32
GetMemoryMax returns the MemoryMax field if non-nil, zero value otherwise.
func (o *ModelProcess) GetMemoryMaxOk() (*int32, bool)
GetMemoryMaxOk returns a tuple with the MemoryMax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetMemoryMax(v int32)
SetMemoryMax sets MemoryMax field to given value.
func (o *ModelProcess) GetMemoryUsage() int32
GetMemoryUsage returns the MemoryUsage field if non-nil, zero value otherwise.
func (o *ModelProcess) GetMemoryUsageOk() (*int32, bool)
GetMemoryUsageOk returns a tuple with the MemoryUsage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetMemoryUsage(v int32)
SetMemoryUsage sets MemoryUsage field to given value.
func (o *ModelProcess) GetNodeId() string
GetNodeId returns the NodeId field if non-nil, zero value otherwise.
func (o *ModelProcess) GetNodeIdOk() (*string, bool)
GetNodeIdOk returns a tuple with the NodeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetNodeId(v string)
SetNodeId sets NodeId field to given value.
func (o *ModelProcess) GetNodeName() string
GetNodeName returns the NodeName field if non-nil, zero value otherwise.
func (o *ModelProcess) GetNodeNameOk() (*string, bool)
GetNodeNameOk returns a tuple with the NodeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetNodeName(v string)
SetNodeName sets NodeName field to given value.
func (o *ModelProcess) GetOpenFilesCount() int32
GetOpenFilesCount returns the OpenFilesCount field if non-nil, zero value otherwise.
func (o *ModelProcess) GetOpenFilesCountOk() (*int32, bool)
GetOpenFilesCountOk returns a tuple with the OpenFilesCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetOpenFilesCount(v int32)
SetOpenFilesCount sets OpenFilesCount field to given value.
func (o *ModelProcess) GetPid() int32
GetPid returns the Pid field if non-nil, zero value otherwise.
func (o *ModelProcess) GetPidOk() (*int32, bool)
GetPidOk returns a tuple with the Pid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetPid(v int32)
SetPid sets Pid field to given value.
func (o *ModelProcess) GetPpid() int32
GetPpid returns the Ppid field if non-nil, zero value otherwise.
func (o *ModelProcess) GetPpidOk() (*int32, bool)
GetPpidOk returns a tuple with the Ppid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetPpid(v int32)
SetPpid sets Ppid field to given value.
func (o *ModelProcess) GetShortName() string
GetShortName returns the ShortName field if non-nil, zero value otherwise.
func (o *ModelProcess) GetShortNameOk() (*string, bool)
GetShortNameOk returns a tuple with the ShortName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetShortName(v string)
SetShortName sets ShortName field to given value.
func (o *ModelProcess) GetThreads() int32
GetThreads returns the Threads field if non-nil, zero value otherwise.
func (o *ModelProcess) GetThreadsOk() (*int32, bool)
GetThreadsOk returns a tuple with the Threads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelProcess) SetThreads(v int32)
SetThreads sets Threads field to given value.