Files
sdk/docs/AgentResourceUsage.md

4.4 KiB

AgentResourceUsage

Properties

Name Type Description Notes
CostCents Pointer to float64 CostCents would be the window's spend in cents. Always null here — the money a run costs is the metering ledger's, joined by the run id, and repeating it from this side would be a second number that could disagree with the bill. [optional]
CpuVcpuHours Pointer to float64 CPUVcpuHours would be vCPU-hours over the window. Always null: this store holds agent definitions and run I/O, and nothing here meters a CPU. Null is the honest answer and 0 would be a claim. [optional]
MemGbHours Pointer to float64 MemGbHours would be gigabyte-hours of memory. Always null, same reason. [optional]
StorageIoBytes Pointer to float64 StorageIoBytes would be bytes moved to and from storage. Always null, same reason. [optional]

Methods

NewAgentResourceUsage

func NewAgentResourceUsage() *AgentResourceUsage

NewAgentResourceUsage instantiates a new AgentResourceUsage 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

NewAgentResourceUsageWithDefaults

func NewAgentResourceUsageWithDefaults() *AgentResourceUsage

NewAgentResourceUsageWithDefaults instantiates a new AgentResourceUsage 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

GetCostCents

func (o *AgentResourceUsage) GetCostCents() float64

GetCostCents returns the CostCents field if non-nil, zero value otherwise.

GetCostCentsOk

func (o *AgentResourceUsage) GetCostCentsOk() (*float64, bool)

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

SetCostCents

func (o *AgentResourceUsage) SetCostCents(v float64)

SetCostCents sets CostCents field to given value.

HasCostCents

func (o *AgentResourceUsage) HasCostCents() bool

HasCostCents returns a boolean if a field has been set.

GetCpuVcpuHours

func (o *AgentResourceUsage) GetCpuVcpuHours() float64

GetCpuVcpuHours returns the CpuVcpuHours field if non-nil, zero value otherwise.

GetCpuVcpuHoursOk

func (o *AgentResourceUsage) GetCpuVcpuHoursOk() (*float64, bool)

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

SetCpuVcpuHours

func (o *AgentResourceUsage) SetCpuVcpuHours(v float64)

SetCpuVcpuHours sets CpuVcpuHours field to given value.

HasCpuVcpuHours

func (o *AgentResourceUsage) HasCpuVcpuHours() bool

HasCpuVcpuHours returns a boolean if a field has been set.

GetMemGbHours

func (o *AgentResourceUsage) GetMemGbHours() float64

GetMemGbHours returns the MemGbHours field if non-nil, zero value otherwise.

GetMemGbHoursOk

func (o *AgentResourceUsage) GetMemGbHoursOk() (*float64, bool)

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

SetMemGbHours

func (o *AgentResourceUsage) SetMemGbHours(v float64)

SetMemGbHours sets MemGbHours field to given value.

HasMemGbHours

func (o *AgentResourceUsage) HasMemGbHours() bool

HasMemGbHours returns a boolean if a field has been set.

GetStorageIoBytes

func (o *AgentResourceUsage) GetStorageIoBytes() float64

GetStorageIoBytes returns the StorageIoBytes field if non-nil, zero value otherwise.

GetStorageIoBytesOk

func (o *AgentResourceUsage) GetStorageIoBytesOk() (*float64, bool)

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

SetStorageIoBytes

func (o *AgentResourceUsage) SetStorageIoBytes(v float64)

SetStorageIoBytes sets StorageIoBytes field to given value.

HasStorageIoBytes

func (o *AgentResourceUsage) HasStorageIoBytes() bool

HasStorageIoBytes returns a boolean if a field has been set.

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