Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.38 KB

V0039JobRes.md

File metadata and controls

160 lines (87 loc) · 4.38 KB

V0039JobRes

Properties

Name Type Description Notes
Nodes Pointer to string [optional]
AllocatedCores Pointer to int32 [optional]
AllocatedCpus Pointer to int32 [optional]
AllocatedHosts Pointer to int32 [optional]
AllocatedNodes Pointer to []interface{} job node resources [optional]

Methods

NewV0039JobRes

func NewV0039JobRes() *V0039JobRes

NewV0039JobRes instantiates a new V0039JobRes 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

NewV0039JobResWithDefaults

func NewV0039JobResWithDefaults() *V0039JobRes

NewV0039JobResWithDefaults instantiates a new V0039JobRes 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

GetNodes

func (o *V0039JobRes) GetNodes() string

GetNodes returns the Nodes field if non-nil, zero value otherwise.

GetNodesOk

func (o *V0039JobRes) 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.

SetNodes

func (o *V0039JobRes) SetNodes(v string)

SetNodes sets Nodes field to given value.

HasNodes

func (o *V0039JobRes) HasNodes() bool

HasNodes returns a boolean if a field has been set.

GetAllocatedCores

func (o *V0039JobRes) GetAllocatedCores() int32

GetAllocatedCores returns the AllocatedCores field if non-nil, zero value otherwise.

GetAllocatedCoresOk

func (o *V0039JobRes) GetAllocatedCoresOk() (*int32, bool)

GetAllocatedCoresOk returns a tuple with the AllocatedCores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllocatedCores

func (o *V0039JobRes) SetAllocatedCores(v int32)

SetAllocatedCores sets AllocatedCores field to given value.

HasAllocatedCores

func (o *V0039JobRes) HasAllocatedCores() bool

HasAllocatedCores returns a boolean if a field has been set.

GetAllocatedCpus

func (o *V0039JobRes) GetAllocatedCpus() int32

GetAllocatedCpus returns the AllocatedCpus field if non-nil, zero value otherwise.

GetAllocatedCpusOk

func (o *V0039JobRes) 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.

SetAllocatedCpus

func (o *V0039JobRes) SetAllocatedCpus(v int32)

SetAllocatedCpus sets AllocatedCpus field to given value.

HasAllocatedCpus

func (o *V0039JobRes) HasAllocatedCpus() bool

HasAllocatedCpus returns a boolean if a field has been set.

GetAllocatedHosts

func (o *V0039JobRes) GetAllocatedHosts() int32

GetAllocatedHosts returns the AllocatedHosts field if non-nil, zero value otherwise.

GetAllocatedHostsOk

func (o *V0039JobRes) 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.

SetAllocatedHosts

func (o *V0039JobRes) SetAllocatedHosts(v int32)

SetAllocatedHosts sets AllocatedHosts field to given value.

HasAllocatedHosts

func (o *V0039JobRes) HasAllocatedHosts() bool

HasAllocatedHosts returns a boolean if a field has been set.

GetAllocatedNodes

func (o *V0039JobRes) GetAllocatedNodes() []interface{}

GetAllocatedNodes returns the AllocatedNodes field if non-nil, zero value otherwise.

GetAllocatedNodesOk

func (o *V0039JobRes) GetAllocatedNodesOk() (*[]interface{}, 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.

SetAllocatedNodes

func (o *V0039JobRes) SetAllocatedNodes(v []interface{})

SetAllocatedNodes sets AllocatedNodes field to given value.

HasAllocatedNodes

func (o *V0039JobRes) HasAllocatedNodes() bool

HasAllocatedNodes returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]