Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 5.69 KB

File metadata and controls

238 lines (129 loc) · 5.69 KB

ProcessStat

Properties

Name Type Description Notes
Command Pointer to string [optional]
Cpu Pointer to int64 [optional]
Directory Pointer to string [optional]
ListenSockets Pointer to []ListenSocket [optional]
Pid Pointer to int64 [optional]
Rss Pointer to int64 [optional]
Rtime Pointer to int64 [optional]
Stime Pointer to int64 [optional]

Methods

NewProcessStat

func NewProcessStat() *ProcessStat

NewProcessStat instantiates a new ProcessStat 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

NewProcessStatWithDefaults

func NewProcessStatWithDefaults() *ProcessStat

NewProcessStatWithDefaults instantiates a new ProcessStat 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

GetCommand

func (o *ProcessStat) GetCommand() string

GetCommand returns the Command field if non-nil, zero value otherwise.

GetCommandOk

func (o *ProcessStat) GetCommandOk() (*string, bool)

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

SetCommand

func (o *ProcessStat) SetCommand(v string)

SetCommand sets Command field to given value.

HasCommand

func (o *ProcessStat) HasCommand() bool

HasCommand returns a boolean if a field has been set.

GetCpu

func (o *ProcessStat) GetCpu() int64

GetCpu returns the Cpu field if non-nil, zero value otherwise.

GetCpuOk

func (o *ProcessStat) GetCpuOk() (*int64, bool)

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

SetCpu

func (o *ProcessStat) SetCpu(v int64)

SetCpu sets Cpu field to given value.

HasCpu

func (o *ProcessStat) HasCpu() bool

HasCpu returns a boolean if a field has been set.

GetDirectory

func (o *ProcessStat) GetDirectory() string

GetDirectory returns the Directory field if non-nil, zero value otherwise.

GetDirectoryOk

func (o *ProcessStat) GetDirectoryOk() (*string, bool)

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

SetDirectory

func (o *ProcessStat) SetDirectory(v string)

SetDirectory sets Directory field to given value.

HasDirectory

func (o *ProcessStat) HasDirectory() bool

HasDirectory returns a boolean if a field has been set.

GetListenSockets

func (o *ProcessStat) GetListenSockets() []ListenSocket

GetListenSockets returns the ListenSockets field if non-nil, zero value otherwise.

GetListenSocketsOk

func (o *ProcessStat) GetListenSocketsOk() (*[]ListenSocket, bool)

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

SetListenSockets

func (o *ProcessStat) SetListenSockets(v []ListenSocket)

SetListenSockets sets ListenSockets field to given value.

HasListenSockets

func (o *ProcessStat) HasListenSockets() bool

HasListenSockets returns a boolean if a field has been set.

GetPid

func (o *ProcessStat) GetPid() int64

GetPid returns the Pid field if non-nil, zero value otherwise.

GetPidOk

func (o *ProcessStat) GetPidOk() (*int64, 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.

SetPid

func (o *ProcessStat) SetPid(v int64)

SetPid sets Pid field to given value.

HasPid

func (o *ProcessStat) HasPid() bool

HasPid returns a boolean if a field has been set.

GetRss

func (o *ProcessStat) GetRss() int64

GetRss returns the Rss field if non-nil, zero value otherwise.

GetRssOk

func (o *ProcessStat) GetRssOk() (*int64, bool)

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

SetRss

func (o *ProcessStat) SetRss(v int64)

SetRss sets Rss field to given value.

HasRss

func (o *ProcessStat) HasRss() bool

HasRss returns a boolean if a field has been set.

GetRtime

func (o *ProcessStat) GetRtime() int64

GetRtime returns the Rtime field if non-nil, zero value otherwise.

GetRtimeOk

func (o *ProcessStat) GetRtimeOk() (*int64, bool)

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

SetRtime

func (o *ProcessStat) SetRtime(v int64)

SetRtime sets Rtime field to given value.

HasRtime

func (o *ProcessStat) HasRtime() bool

HasRtime returns a boolean if a field has been set.

GetStime

func (o *ProcessStat) GetStime() int64

GetStime returns the Stime field if non-nil, zero value otherwise.

GetStimeOk

func (o *ProcessStat) GetStimeOk() (*int64, bool)

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

SetStime

func (o *ProcessStat) SetStime(v int64)

SetStime sets Stime field to given value.

HasStime

func (o *ProcessStat) HasStime() bool

HasStime returns a boolean if a field has been set.

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