1.7 KiB
ComputeGpuList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Gpus | Pointer to []ComputeGpuView | GPUs is every accelerator the org has, from Visor GPU droplets and from BYO workers alike. | [optional] |
Methods
NewComputeGpuList
func NewComputeGpuList() *ComputeGpuList
NewComputeGpuList instantiates a new ComputeGpuList 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
NewComputeGpuListWithDefaults
func NewComputeGpuListWithDefaults() *ComputeGpuList
NewComputeGpuListWithDefaults instantiates a new ComputeGpuList 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
GetGpus
func (o *ComputeGpuList) GetGpus() []ComputeGpuView
GetGpus returns the Gpus field if non-nil, zero value otherwise.
GetGpusOk
func (o *ComputeGpuList) GetGpusOk() (*[]ComputeGpuView, bool)
GetGpusOk returns a tuple with the Gpus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGpus
func (o *ComputeGpuList) SetGpus(v []ComputeGpuView)
SetGpus sets Gpus field to given value.
HasGpus
func (o *ComputeGpuList) HasGpus() bool
HasGpus returns a boolean if a field has been set.