Name | Type | Description | Notes |
---|---|---|---|
Nodes | Pointer to string | list of assigned job nodes | [optional] |
AllocatedCpus | Pointer to int32 | number of assigned job cpus | [optional] |
AllocatedHosts | Pointer to int32 | number of assigned job hosts | [optional] |
AllocatedNodes | Pointer to map[string]V0037NodeAllocation | node allocations | [optional] |
func NewV0037JobResources() *V0037JobResources
NewV0037JobResources instantiates a new V0037JobResources 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 NewV0037JobResourcesWithDefaults() *V0037JobResources
NewV0037JobResourcesWithDefaults instantiates a new V0037JobResources 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 *V0037JobResources) GetNodes() string
GetNodes returns the Nodes field if non-nil, zero value otherwise.
func (o *V0037JobResources) GetNodesOk() (*string, bool)
GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037JobResources) SetNodes(v string)
SetNodes sets Nodes field to given value.
func (o *V0037JobResources) HasNodes() bool
HasNodes returns a boolean if a field has been set.
func (o *V0037JobResources) GetAllocatedCpus() int32
GetAllocatedCpus returns the AllocatedCpus field if non-nil, zero value otherwise.
func (o *V0037JobResources) GetAllocatedCpusOk() (*int32, bool)
GetAllocatedCpusOk returns a tuple with the AllocatedCpus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037JobResources) SetAllocatedCpus(v int32)
SetAllocatedCpus sets AllocatedCpus field to given value.
func (o *V0037JobResources) HasAllocatedCpus() bool
HasAllocatedCpus returns a boolean if a field has been set.
func (o *V0037JobResources) GetAllocatedHosts() int32
GetAllocatedHosts returns the AllocatedHosts field if non-nil, zero value otherwise.
func (o *V0037JobResources) GetAllocatedHostsOk() (*int32, bool)
GetAllocatedHostsOk returns a tuple with the AllocatedHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037JobResources) SetAllocatedHosts(v int32)
SetAllocatedHosts sets AllocatedHosts field to given value.
func (o *V0037JobResources) HasAllocatedHosts() bool
HasAllocatedHosts returns a boolean if a field has been set.
func (o *V0037JobResources) GetAllocatedNodes() map[string]V0037NodeAllocation
GetAllocatedNodes returns the AllocatedNodes field if non-nil, zero value otherwise.
func (o *V0037JobResources) GetAllocatedNodesOk() (*map[string]V0037NodeAllocation, bool)
GetAllocatedNodesOk returns a tuple with the AllocatedNodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V0037JobResources) SetAllocatedNodes(v map[string]V0037NodeAllocation)
SetAllocatedNodes sets AllocatedNodes field to given value.
func (o *V0037JobResources) HasAllocatedNodes() bool
HasAllocatedNodes returns a boolean if a field has been set.