Name | Type | Description | Notes |
---|---|---|---|
Cpu | Pointer to AllocatedCpuResources | [optional] | |
Devices | Pointer to []AllocatedDeviceResource | [optional] | |
Memory | Pointer to AllocatedMemoryResources | [optional] | |
Networks | Pointer to []NetworkResource | [optional] |
func NewAllocatedTaskResources() *AllocatedTaskResources
NewAllocatedTaskResources instantiates a new AllocatedTaskResources 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
func NewAllocatedTaskResourcesWithDefaults() *AllocatedTaskResources
NewAllocatedTaskResourcesWithDefaults instantiates a new AllocatedTaskResources 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
func (o *AllocatedTaskResources) GetCpu() AllocatedCpuResources
GetCpu returns the Cpu field if non-nil, zero value otherwise.
func (o *AllocatedTaskResources) GetCpuOk() (*AllocatedCpuResources, 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.
func (o *AllocatedTaskResources) SetCpu(v AllocatedCpuResources)
SetCpu sets Cpu field to given value.
func (o *AllocatedTaskResources) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (o *AllocatedTaskResources) GetDevices() []AllocatedDeviceResource
GetDevices returns the Devices field if non-nil, zero value otherwise.
func (o *AllocatedTaskResources) GetDevicesOk() (*[]AllocatedDeviceResource, bool)
GetDevicesOk returns a tuple with the Devices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AllocatedTaskResources) SetDevices(v []AllocatedDeviceResource)
SetDevices sets Devices field to given value.
func (o *AllocatedTaskResources) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (o *AllocatedTaskResources) GetMemory() AllocatedMemoryResources
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *AllocatedTaskResources) GetMemoryOk() (*AllocatedMemoryResources, 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.
func (o *AllocatedTaskResources) SetMemory(v AllocatedMemoryResources)
SetMemory sets Memory field to given value.
func (o *AllocatedTaskResources) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *AllocatedTaskResources) GetNetworks() []NetworkResource
GetNetworks returns the Networks field if non-nil, zero value otherwise.
func (o *AllocatedTaskResources) GetNetworksOk() (*[]NetworkResource, bool)
GetNetworksOk returns a tuple with the Networks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AllocatedTaskResources) SetNetworks(v []NetworkResource)
SetNetworks sets Networks field to given value.
func (o *AllocatedTaskResources) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.