Name | Type | Description | Notes |
---|---|---|---|
Memory | Pointer to int32 | amount of assigned job memory | [optional] |
Cpus | Pointer to int32 | amount of assigned job CPUs | [optional] |
Sockets | Pointer to map[string]interface{} | assignment status of each socket by socket id | [optional] |
Cores | Pointer to map[string]interface{} | assignment status of each core by core id | [optional] |
func NewV0037NodeAllocation() *V0037NodeAllocation
NewV0037NodeAllocation instantiates a new V0037NodeAllocation 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 NewV0037NodeAllocationWithDefaults() *V0037NodeAllocation
NewV0037NodeAllocationWithDefaults instantiates a new V0037NodeAllocation 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 *V0037NodeAllocation) GetMemory() int32
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *V0037NodeAllocation) GetMemoryOk() (*int32, 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 *V0037NodeAllocation) SetMemory(v int32)
SetMemory sets Memory field to given value.
func (o *V0037NodeAllocation) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *V0037NodeAllocation) GetCpus() int32
GetCpus returns the Cpus field if non-nil, zero value otherwise.
func (o *V0037NodeAllocation) GetCpusOk() (*int32, bool)
GetCpusOk returns a tuple with the Cpus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037NodeAllocation) SetCpus(v int32)
SetCpus sets Cpus field to given value.
func (o *V0037NodeAllocation) HasCpus() bool
HasCpus returns a boolean if a field has been set.
func (o *V0037NodeAllocation) GetSockets() map[string]interface{}
GetSockets returns the Sockets field if non-nil, zero value otherwise.
func (o *V0037NodeAllocation) GetSocketsOk() (*map[string]interface{}, bool)
GetSocketsOk returns a tuple with the Sockets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037NodeAllocation) SetSockets(v map[string]interface{})
SetSockets sets Sockets field to given value.
func (o *V0037NodeAllocation) HasSockets() bool
HasSockets returns a boolean if a field has been set.
func (o *V0037NodeAllocation) GetCores() map[string]interface{}
GetCores returns the Cores field if non-nil, zero value otherwise.
func (o *V0037NodeAllocation) GetCoresOk() (*map[string]interface{}, bool)
GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037NodeAllocation) SetCores(v map[string]interface{})
SetCores sets Cores field to given value.
func (o *V0037NodeAllocation) HasCores() bool
HasCores returns a boolean if a field has been set.