CpuUsage
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CpuUtil | Pointer to int32 | Device CPU utilization | [optional] |
| Mac | Pointer to string | Device MAC | [optional] |
| Model | Pointer to string | Device model | [optional] |
| ModelVersion | Pointer to string | Device model version | [optional] |
| Name | Pointer to string | Device name | [optional] |
| Type | Pointer to string | Device type | [optional] |
Methods
NewCpuUsage
func NewCpuUsage() *CpuUsage
NewCpuUsage instantiates a new CpuUsage 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
NewCpuUsageWithDefaults
func NewCpuUsageWithDefaults() *CpuUsage
NewCpuUsageWithDefaults instantiates a new CpuUsage 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
GetCpuUtil
func (o *CpuUsage) GetCpuUtil() int32
GetCpuUtil returns the CpuUtil field if non-nil, zero value otherwise.
GetCpuUtilOk
func (o *CpuUsage) GetCpuUtilOk() (*int32, bool)
GetCpuUtilOk returns a tuple with the CpuUtil field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCpuUtil
func (o *CpuUsage) SetCpuUtil(v int32)
SetCpuUtil sets CpuUtil field to given value.
HasCpuUtil
func (o *CpuUsage) HasCpuUtil() bool
HasCpuUtil returns a boolean if a field has been set.
GetMac
func (o *CpuUsage) GetMac() string
GetMac returns the Mac field if non-nil, zero value otherwise.
GetMacOk
func (o *CpuUsage) GetMacOk() (*string, bool)
GetMacOk returns a tuple with the Mac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMac
func (o *CpuUsage) SetMac(v string)
SetMac sets Mac field to given value.
HasMac
func (o *CpuUsage) HasMac() bool
HasMac returns a boolean if a field has been set.
GetModel
func (o *CpuUsage) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
GetModelOk
func (o *CpuUsage) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModel
func (o *CpuUsage) SetModel(v string)
SetModel sets Model field to given value.
HasModel
func (o *CpuUsage) HasModel() bool
HasModel returns a boolean if a field has been set.
GetModelVersion
func (o *CpuUsage) GetModelVersion() string
GetModelVersion returns the ModelVersion field if non-nil, zero value otherwise.
GetModelVersionOk
func (o *CpuUsage) GetModelVersionOk() (*string, bool)
GetModelVersionOk returns a tuple with the ModelVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModelVersion
func (o *CpuUsage) SetModelVersion(v string)
SetModelVersion sets ModelVersion field to given value.
HasModelVersion
func (o *CpuUsage) HasModelVersion() bool
HasModelVersion returns a boolean if a field has been set.
GetName
func (o *CpuUsage) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *CpuUsage) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *CpuUsage) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *CpuUsage) HasName() bool
HasName returns a boolean if a field has been set.
GetType
func (o *CpuUsage) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *CpuUsage) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *CpuUsage) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *CpuUsage) HasType() bool
HasType returns a boolean if a field has been set.