2.7 KiB
AgentGPU
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Memory | Pointer to int64 | VRAM bytes, 0 = unknown | [optional] |
| Model | Pointer to string | "GB10", "8060S", "RTX 4090" | [optional] |
| Vendor | Pointer to string | nvidia | amd |
Methods
NewAgentGPU
func NewAgentGPU() *AgentGPU
NewAgentGPU instantiates a new AgentGPU 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
NewAgentGPUWithDefaults
func NewAgentGPUWithDefaults() *AgentGPU
NewAgentGPUWithDefaults instantiates a new AgentGPU 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
GetMemory
func (o *AgentGPU) GetMemory() int64
GetMemory returns the Memory field if non-nil, zero value otherwise.
GetMemoryOk
func (o *AgentGPU) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMemory
func (o *AgentGPU) SetMemory(v int64)
SetMemory sets Memory field to given value.
HasMemory
func (o *AgentGPU) HasMemory() bool
HasMemory returns a boolean if a field has been set.
GetModel
func (o *AgentGPU) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
GetModelOk
func (o *AgentGPU) 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 *AgentGPU) SetModel(v string)
SetModel sets Model field to given value.
HasModel
func (o *AgentGPU) HasModel() bool
HasModel returns a boolean if a field has been set.
GetVendor
func (o *AgentGPU) GetVendor() string
GetVendor returns the Vendor field if non-nil, zero value otherwise.
GetVendorOk
func (o *AgentGPU) GetVendorOk() (*string, bool)
GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVendor
func (o *AgentGPU) SetVendor(v string)
SetVendor sets Vendor field to given value.
HasVendor
func (o *AgentGPU) HasVendor() bool
HasVendor returns a boolean if a field has been set.