-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_v0_0_39_job.go
1460 lines (1249 loc) · 37.1 KB
/
model_v0_0_39_job.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Slurm REST API
API to access and control Slurm
API version: Slurm-24.05.2&openapi/dbv0.0.39&openapi/v0.0.39&openapi/slurmdbd&openapi/slurmctld
Contact: [email protected]
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package slurmrest
import (
"encoding/json"
)
// checks if the V0039Job type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &V0039Job{}
// V0039Job struct for V0039Job
type V0039Job struct {
Account *string `json:"account,omitempty"`
Comment *V0041OpenapiSlurmdbdJobsRespJobsInnerComment `json:"comment,omitempty"`
AllocationNodes *int32 `json:"allocation_nodes,omitempty"`
Array *V0039JobArray `json:"array,omitempty"`
Association *V0039AssocShort `json:"association,omitempty"`
Block *string `json:"block,omitempty"`
Cluster *string `json:"cluster,omitempty"`
Constraints *string `json:"constraints,omitempty"`
Container *string `json:"container,omitempty"`
DerivedExitCode *V0039JobExitCode `json:"derived_exit_code,omitempty"`
Time *V0039JobTime `json:"time,omitempty"`
ExitCode *V0039JobExitCode `json:"exit_code,omitempty"`
Extra *string `json:"extra,omitempty"`
FailedNode *string `json:"failed_node,omitempty"`
Flags []string `json:"flags,omitempty"`
Group *string `json:"group,omitempty"`
Het *V0039JobHet `json:"het,omitempty"`
JobId *int32 `json:"job_id,omitempty"`
Name *string `json:"name,omitempty"`
Licenses *string `json:"licenses,omitempty"`
Mcs *V0041OpenapiSlurmdbdJobsRespJobsInnerMcs `json:"mcs,omitempty"`
Nodes *string `json:"nodes,omitempty"`
Partition *string `json:"partition,omitempty"`
// Hold (true) or release (false) job
Hold *bool `json:"hold,omitempty"`
Priority *V0039Uint32NoVal `json:"priority,omitempty"`
Qos *string `json:"qos,omitempty"`
Required *V0039JobRequired `json:"required,omitempty"`
KillRequestUser *string `json:"kill_request_user,omitempty"`
Reservation *V0041OpenapiSlurmdbdJobsRespJobsInnerReservation `json:"reservation,omitempty"`
Script *string `json:"script,omitempty"`
State *V0039JobState `json:"state,omitempty"`
Steps []V0039Step `json:"steps,omitempty"`
SubmitLine *string `json:"submit_line,omitempty"`
Tres *V0039JobTres `json:"tres,omitempty"`
UsedGres *string `json:"used_gres,omitempty"`
User *string `json:"user,omitempty"`
Wckey *V0039WckeyTag `json:"wckey,omitempty"`
WorkingDirectory *string `json:"working_directory,omitempty"`
}
// NewV0039Job instantiates a new V0039Job 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 NewV0039Job() *V0039Job {
this := V0039Job{}
return &this
}
// NewV0039JobWithDefaults instantiates a new V0039Job 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 NewV0039JobWithDefaults() *V0039Job {
this := V0039Job{}
return &this
}
// GetAccount returns the Account field value if set, zero value otherwise.
func (o *V0039Job) GetAccount() string {
if o == nil || IsNil(o.Account) {
var ret string
return ret
}
return *o.Account
}
// GetAccountOk returns a tuple with the Account field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetAccountOk() (*string, bool) {
if o == nil || IsNil(o.Account) {
return nil, false
}
return o.Account, true
}
// HasAccount returns a boolean if a field has been set.
func (o *V0039Job) HasAccount() bool {
if o != nil && !IsNil(o.Account) {
return true
}
return false
}
// SetAccount gets a reference to the given string and assigns it to the Account field.
func (o *V0039Job) SetAccount(v string) {
o.Account = &v
}
// GetComment returns the Comment field value if set, zero value otherwise.
func (o *V0039Job) GetComment() V0041OpenapiSlurmdbdJobsRespJobsInnerComment {
if o == nil || IsNil(o.Comment) {
var ret V0041OpenapiSlurmdbdJobsRespJobsInnerComment
return ret
}
return *o.Comment
}
// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetCommentOk() (*V0041OpenapiSlurmdbdJobsRespJobsInnerComment, bool) {
if o == nil || IsNil(o.Comment) {
return nil, false
}
return o.Comment, true
}
// HasComment returns a boolean if a field has been set.
func (o *V0039Job) HasComment() bool {
if o != nil && !IsNil(o.Comment) {
return true
}
return false
}
// SetComment gets a reference to the given V0041OpenapiSlurmdbdJobsRespJobsInnerComment and assigns it to the Comment field.
func (o *V0039Job) SetComment(v V0041OpenapiSlurmdbdJobsRespJobsInnerComment) {
o.Comment = &v
}
// GetAllocationNodes returns the AllocationNodes field value if set, zero value otherwise.
func (o *V0039Job) GetAllocationNodes() int32 {
if o == nil || IsNil(o.AllocationNodes) {
var ret int32
return ret
}
return *o.AllocationNodes
}
// GetAllocationNodesOk returns a tuple with the AllocationNodes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetAllocationNodesOk() (*int32, bool) {
if o == nil || IsNil(o.AllocationNodes) {
return nil, false
}
return o.AllocationNodes, true
}
// HasAllocationNodes returns a boolean if a field has been set.
func (o *V0039Job) HasAllocationNodes() bool {
if o != nil && !IsNil(o.AllocationNodes) {
return true
}
return false
}
// SetAllocationNodes gets a reference to the given int32 and assigns it to the AllocationNodes field.
func (o *V0039Job) SetAllocationNodes(v int32) {
o.AllocationNodes = &v
}
// GetArray returns the Array field value if set, zero value otherwise.
func (o *V0039Job) GetArray() V0039JobArray {
if o == nil || IsNil(o.Array) {
var ret V0039JobArray
return ret
}
return *o.Array
}
// GetArrayOk returns a tuple with the Array field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetArrayOk() (*V0039JobArray, bool) {
if o == nil || IsNil(o.Array) {
return nil, false
}
return o.Array, true
}
// HasArray returns a boolean if a field has been set.
func (o *V0039Job) HasArray() bool {
if o != nil && !IsNil(o.Array) {
return true
}
return false
}
// SetArray gets a reference to the given V0039JobArray and assigns it to the Array field.
func (o *V0039Job) SetArray(v V0039JobArray) {
o.Array = &v
}
// GetAssociation returns the Association field value if set, zero value otherwise.
func (o *V0039Job) GetAssociation() V0039AssocShort {
if o == nil || IsNil(o.Association) {
var ret V0039AssocShort
return ret
}
return *o.Association
}
// GetAssociationOk returns a tuple with the Association field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetAssociationOk() (*V0039AssocShort, bool) {
if o == nil || IsNil(o.Association) {
return nil, false
}
return o.Association, true
}
// HasAssociation returns a boolean if a field has been set.
func (o *V0039Job) HasAssociation() bool {
if o != nil && !IsNil(o.Association) {
return true
}
return false
}
// SetAssociation gets a reference to the given V0039AssocShort and assigns it to the Association field.
func (o *V0039Job) SetAssociation(v V0039AssocShort) {
o.Association = &v
}
// GetBlock returns the Block field value if set, zero value otherwise.
func (o *V0039Job) GetBlock() string {
if o == nil || IsNil(o.Block) {
var ret string
return ret
}
return *o.Block
}
// GetBlockOk returns a tuple with the Block field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetBlockOk() (*string, bool) {
if o == nil || IsNil(o.Block) {
return nil, false
}
return o.Block, true
}
// HasBlock returns a boolean if a field has been set.
func (o *V0039Job) HasBlock() bool {
if o != nil && !IsNil(o.Block) {
return true
}
return false
}
// SetBlock gets a reference to the given string and assigns it to the Block field.
func (o *V0039Job) SetBlock(v string) {
o.Block = &v
}
// GetCluster returns the Cluster field value if set, zero value otherwise.
func (o *V0039Job) GetCluster() string {
if o == nil || IsNil(o.Cluster) {
var ret string
return ret
}
return *o.Cluster
}
// GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetClusterOk() (*string, bool) {
if o == nil || IsNil(o.Cluster) {
return nil, false
}
return o.Cluster, true
}
// HasCluster returns a boolean if a field has been set.
func (o *V0039Job) HasCluster() bool {
if o != nil && !IsNil(o.Cluster) {
return true
}
return false
}
// SetCluster gets a reference to the given string and assigns it to the Cluster field.
func (o *V0039Job) SetCluster(v string) {
o.Cluster = &v
}
// GetConstraints returns the Constraints field value if set, zero value otherwise.
func (o *V0039Job) GetConstraints() string {
if o == nil || IsNil(o.Constraints) {
var ret string
return ret
}
return *o.Constraints
}
// GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetConstraintsOk() (*string, bool) {
if o == nil || IsNil(o.Constraints) {
return nil, false
}
return o.Constraints, true
}
// HasConstraints returns a boolean if a field has been set.
func (o *V0039Job) HasConstraints() bool {
if o != nil && !IsNil(o.Constraints) {
return true
}
return false
}
// SetConstraints gets a reference to the given string and assigns it to the Constraints field.
func (o *V0039Job) SetConstraints(v string) {
o.Constraints = &v
}
// GetContainer returns the Container field value if set, zero value otherwise.
func (o *V0039Job) GetContainer() string {
if o == nil || IsNil(o.Container) {
var ret string
return ret
}
return *o.Container
}
// GetContainerOk returns a tuple with the Container field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetContainerOk() (*string, bool) {
if o == nil || IsNil(o.Container) {
return nil, false
}
return o.Container, true
}
// HasContainer returns a boolean if a field has been set.
func (o *V0039Job) HasContainer() bool {
if o != nil && !IsNil(o.Container) {
return true
}
return false
}
// SetContainer gets a reference to the given string and assigns it to the Container field.
func (o *V0039Job) SetContainer(v string) {
o.Container = &v
}
// GetDerivedExitCode returns the DerivedExitCode field value if set, zero value otherwise.
func (o *V0039Job) GetDerivedExitCode() V0039JobExitCode {
if o == nil || IsNil(o.DerivedExitCode) {
var ret V0039JobExitCode
return ret
}
return *o.DerivedExitCode
}
// GetDerivedExitCodeOk returns a tuple with the DerivedExitCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetDerivedExitCodeOk() (*V0039JobExitCode, bool) {
if o == nil || IsNil(o.DerivedExitCode) {
return nil, false
}
return o.DerivedExitCode, true
}
// HasDerivedExitCode returns a boolean if a field has been set.
func (o *V0039Job) HasDerivedExitCode() bool {
if o != nil && !IsNil(o.DerivedExitCode) {
return true
}
return false
}
// SetDerivedExitCode gets a reference to the given V0039JobExitCode and assigns it to the DerivedExitCode field.
func (o *V0039Job) SetDerivedExitCode(v V0039JobExitCode) {
o.DerivedExitCode = &v
}
// GetTime returns the Time field value if set, zero value otherwise.
func (o *V0039Job) GetTime() V0039JobTime {
if o == nil || IsNil(o.Time) {
var ret V0039JobTime
return ret
}
return *o.Time
}
// GetTimeOk returns a tuple with the Time field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetTimeOk() (*V0039JobTime, bool) {
if o == nil || IsNil(o.Time) {
return nil, false
}
return o.Time, true
}
// HasTime returns a boolean if a field has been set.
func (o *V0039Job) HasTime() bool {
if o != nil && !IsNil(o.Time) {
return true
}
return false
}
// SetTime gets a reference to the given V0039JobTime and assigns it to the Time field.
func (o *V0039Job) SetTime(v V0039JobTime) {
o.Time = &v
}
// GetExitCode returns the ExitCode field value if set, zero value otherwise.
func (o *V0039Job) GetExitCode() V0039JobExitCode {
if o == nil || IsNil(o.ExitCode) {
var ret V0039JobExitCode
return ret
}
return *o.ExitCode
}
// GetExitCodeOk returns a tuple with the ExitCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetExitCodeOk() (*V0039JobExitCode, bool) {
if o == nil || IsNil(o.ExitCode) {
return nil, false
}
return o.ExitCode, true
}
// HasExitCode returns a boolean if a field has been set.
func (o *V0039Job) HasExitCode() bool {
if o != nil && !IsNil(o.ExitCode) {
return true
}
return false
}
// SetExitCode gets a reference to the given V0039JobExitCode and assigns it to the ExitCode field.
func (o *V0039Job) SetExitCode(v V0039JobExitCode) {
o.ExitCode = &v
}
// GetExtra returns the Extra field value if set, zero value otherwise.
func (o *V0039Job) GetExtra() string {
if o == nil || IsNil(o.Extra) {
var ret string
return ret
}
return *o.Extra
}
// GetExtraOk returns a tuple with the Extra field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetExtraOk() (*string, bool) {
if o == nil || IsNil(o.Extra) {
return nil, false
}
return o.Extra, true
}
// HasExtra returns a boolean if a field has been set.
func (o *V0039Job) HasExtra() bool {
if o != nil && !IsNil(o.Extra) {
return true
}
return false
}
// SetExtra gets a reference to the given string and assigns it to the Extra field.
func (o *V0039Job) SetExtra(v string) {
o.Extra = &v
}
// GetFailedNode returns the FailedNode field value if set, zero value otherwise.
func (o *V0039Job) GetFailedNode() string {
if o == nil || IsNil(o.FailedNode) {
var ret string
return ret
}
return *o.FailedNode
}
// GetFailedNodeOk returns a tuple with the FailedNode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetFailedNodeOk() (*string, bool) {
if o == nil || IsNil(o.FailedNode) {
return nil, false
}
return o.FailedNode, true
}
// HasFailedNode returns a boolean if a field has been set.
func (o *V0039Job) HasFailedNode() bool {
if o != nil && !IsNil(o.FailedNode) {
return true
}
return false
}
// SetFailedNode gets a reference to the given string and assigns it to the FailedNode field.
func (o *V0039Job) SetFailedNode(v string) {
o.FailedNode = &v
}
// GetFlags returns the Flags field value if set, zero value otherwise.
func (o *V0039Job) GetFlags() []string {
if o == nil || IsNil(o.Flags) {
var ret []string
return ret
}
return o.Flags
}
// GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetFlagsOk() ([]string, bool) {
if o == nil || IsNil(o.Flags) {
return nil, false
}
return o.Flags, true
}
// HasFlags returns a boolean if a field has been set.
func (o *V0039Job) HasFlags() bool {
if o != nil && !IsNil(o.Flags) {
return true
}
return false
}
// SetFlags gets a reference to the given []string and assigns it to the Flags field.
func (o *V0039Job) SetFlags(v []string) {
o.Flags = v
}
// GetGroup returns the Group field value if set, zero value otherwise.
func (o *V0039Job) GetGroup() string {
if o == nil || IsNil(o.Group) {
var ret string
return ret
}
return *o.Group
}
// GetGroupOk returns a tuple with the Group field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetGroupOk() (*string, bool) {
if o == nil || IsNil(o.Group) {
return nil, false
}
return o.Group, true
}
// HasGroup returns a boolean if a field has been set.
func (o *V0039Job) HasGroup() bool {
if o != nil && !IsNil(o.Group) {
return true
}
return false
}
// SetGroup gets a reference to the given string and assigns it to the Group field.
func (o *V0039Job) SetGroup(v string) {
o.Group = &v
}
// GetHet returns the Het field value if set, zero value otherwise.
func (o *V0039Job) GetHet() V0039JobHet {
if o == nil || IsNil(o.Het) {
var ret V0039JobHet
return ret
}
return *o.Het
}
// GetHetOk returns a tuple with the Het field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetHetOk() (*V0039JobHet, bool) {
if o == nil || IsNil(o.Het) {
return nil, false
}
return o.Het, true
}
// HasHet returns a boolean if a field has been set.
func (o *V0039Job) HasHet() bool {
if o != nil && !IsNil(o.Het) {
return true
}
return false
}
// SetHet gets a reference to the given V0039JobHet and assigns it to the Het field.
func (o *V0039Job) SetHet(v V0039JobHet) {
o.Het = &v
}
// GetJobId returns the JobId field value if set, zero value otherwise.
func (o *V0039Job) GetJobId() int32 {
if o == nil || IsNil(o.JobId) {
var ret int32
return ret
}
return *o.JobId
}
// GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetJobIdOk() (*int32, bool) {
if o == nil || IsNil(o.JobId) {
return nil, false
}
return o.JobId, true
}
// HasJobId returns a boolean if a field has been set.
func (o *V0039Job) HasJobId() bool {
if o != nil && !IsNil(o.JobId) {
return true
}
return false
}
// SetJobId gets a reference to the given int32 and assigns it to the JobId field.
func (o *V0039Job) SetJobId(v int32) {
o.JobId = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *V0039Job) GetName() string {
if o == nil || IsNil(o.Name) {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetNameOk() (*string, bool) {
if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *V0039Job) HasName() bool {
if o != nil && !IsNil(o.Name) {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *V0039Job) SetName(v string) {
o.Name = &v
}
// GetLicenses returns the Licenses field value if set, zero value otherwise.
func (o *V0039Job) GetLicenses() string {
if o == nil || IsNil(o.Licenses) {
var ret string
return ret
}
return *o.Licenses
}
// GetLicensesOk returns a tuple with the Licenses field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetLicensesOk() (*string, bool) {
if o == nil || IsNil(o.Licenses) {
return nil, false
}
return o.Licenses, true
}
// HasLicenses returns a boolean if a field has been set.
func (o *V0039Job) HasLicenses() bool {
if o != nil && !IsNil(o.Licenses) {
return true
}
return false
}
// SetLicenses gets a reference to the given string and assigns it to the Licenses field.
func (o *V0039Job) SetLicenses(v string) {
o.Licenses = &v
}
// GetMcs returns the Mcs field value if set, zero value otherwise.
func (o *V0039Job) GetMcs() V0041OpenapiSlurmdbdJobsRespJobsInnerMcs {
if o == nil || IsNil(o.Mcs) {
var ret V0041OpenapiSlurmdbdJobsRespJobsInnerMcs
return ret
}
return *o.Mcs
}
// GetMcsOk returns a tuple with the Mcs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetMcsOk() (*V0041OpenapiSlurmdbdJobsRespJobsInnerMcs, bool) {
if o == nil || IsNil(o.Mcs) {
return nil, false
}
return o.Mcs, true
}
// HasMcs returns a boolean if a field has been set.
func (o *V0039Job) HasMcs() bool {
if o != nil && !IsNil(o.Mcs) {
return true
}
return false
}
// SetMcs gets a reference to the given V0041OpenapiSlurmdbdJobsRespJobsInnerMcs and assigns it to the Mcs field.
func (o *V0039Job) SetMcs(v V0041OpenapiSlurmdbdJobsRespJobsInnerMcs) {
o.Mcs = &v
}
// GetNodes returns the Nodes field value if set, zero value otherwise.
func (o *V0039Job) GetNodes() string {
if o == nil || IsNil(o.Nodes) {
var ret string
return ret
}
return *o.Nodes
}
// GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetNodesOk() (*string, bool) {
if o == nil || IsNil(o.Nodes) {
return nil, false
}
return o.Nodes, true
}
// HasNodes returns a boolean if a field has been set.
func (o *V0039Job) HasNodes() bool {
if o != nil && !IsNil(o.Nodes) {
return true
}
return false
}
// SetNodes gets a reference to the given string and assigns it to the Nodes field.
func (o *V0039Job) SetNodes(v string) {
o.Nodes = &v
}
// GetPartition returns the Partition field value if set, zero value otherwise.
func (o *V0039Job) GetPartition() string {
if o == nil || IsNil(o.Partition) {
var ret string
return ret
}
return *o.Partition
}
// GetPartitionOk returns a tuple with the Partition field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetPartitionOk() (*string, bool) {
if o == nil || IsNil(o.Partition) {
return nil, false
}
return o.Partition, true
}
// HasPartition returns a boolean if a field has been set.
func (o *V0039Job) HasPartition() bool {
if o != nil && !IsNil(o.Partition) {
return true
}
return false
}
// SetPartition gets a reference to the given string and assigns it to the Partition field.
func (o *V0039Job) SetPartition(v string) {
o.Partition = &v
}
// GetHold returns the Hold field value if set, zero value otherwise.
func (o *V0039Job) GetHold() bool {
if o == nil || IsNil(o.Hold) {
var ret bool
return ret
}
return *o.Hold
}
// GetHoldOk returns a tuple with the Hold field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetHoldOk() (*bool, bool) {
if o == nil || IsNil(o.Hold) {
return nil, false
}
return o.Hold, true
}
// HasHold returns a boolean if a field has been set.
func (o *V0039Job) HasHold() bool {
if o != nil && !IsNil(o.Hold) {
return true
}
return false
}
// SetHold gets a reference to the given bool and assigns it to the Hold field.
func (o *V0039Job) SetHold(v bool) {
o.Hold = &v
}
// GetPriority returns the Priority field value if set, zero value otherwise.
func (o *V0039Job) GetPriority() V0039Uint32NoVal {
if o == nil || IsNil(o.Priority) {
var ret V0039Uint32NoVal
return ret
}
return *o.Priority
}
// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetPriorityOk() (*V0039Uint32NoVal, bool) {
if o == nil || IsNil(o.Priority) {
return nil, false
}
return o.Priority, true
}
// HasPriority returns a boolean if a field has been set.
func (o *V0039Job) HasPriority() bool {
if o != nil && !IsNil(o.Priority) {
return true
}
return false
}
// SetPriority gets a reference to the given V0039Uint32NoVal and assigns it to the Priority field.
func (o *V0039Job) SetPriority(v V0039Uint32NoVal) {
o.Priority = &v
}
// GetQos returns the Qos field value if set, zero value otherwise.
func (o *V0039Job) GetQos() string {
if o == nil || IsNil(o.Qos) {
var ret string
return ret
}
return *o.Qos
}
// GetQosOk returns a tuple with the Qos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetQosOk() (*string, bool) {
if o == nil || IsNil(o.Qos) {
return nil, false
}
return o.Qos, true
}
// HasQos returns a boolean if a field has been set.
func (o *V0039Job) HasQos() bool {
if o != nil && !IsNil(o.Qos) {
return true
}
return false
}
// SetQos gets a reference to the given string and assigns it to the Qos field.
func (o *V0039Job) SetQos(v string) {
o.Qos = &v
}
// GetRequired returns the Required field value if set, zero value otherwise.
func (o *V0039Job) GetRequired() V0039JobRequired {
if o == nil || IsNil(o.Required) {
var ret V0039JobRequired
return ret
}
return *o.Required
}
// GetRequiredOk returns a tuple with the Required field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetRequiredOk() (*V0039JobRequired, bool) {
if o == nil || IsNil(o.Required) {
return nil, false
}
return o.Required, true
}
// HasRequired returns a boolean if a field has been set.
func (o *V0039Job) HasRequired() bool {
if o != nil && !IsNil(o.Required) {
return true
}
return false
}
// SetRequired gets a reference to the given V0039JobRequired and assigns it to the Required field.
func (o *V0039Job) SetRequired(v V0039JobRequired) {
o.Required = &v
}
// GetKillRequestUser returns the KillRequestUser field value if set, zero value otherwise.
func (o *V0039Job) GetKillRequestUser() string {
if o == nil || IsNil(o.KillRequestUser) {
var ret string
return ret
}
return *o.KillRequestUser
}
// GetKillRequestUserOk returns a tuple with the KillRequestUser field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetKillRequestUserOk() (*string, bool) {
if o == nil || IsNil(o.KillRequestUser) {
return nil, false
}
return o.KillRequestUser, true
}
// HasKillRequestUser returns a boolean if a field has been set.
func (o *V0039Job) HasKillRequestUser() bool {
if o != nil && !IsNil(o.KillRequestUser) {
return true
}
return false
}
// SetKillRequestUser gets a reference to the given string and assigns it to the KillRequestUser field.
func (o *V0039Job) SetKillRequestUser(v string) {
o.KillRequestUser = &v
}
// GetReservation returns the Reservation field value if set, zero value otherwise.
func (o *V0039Job) GetReservation() V0041OpenapiSlurmdbdJobsRespJobsInnerReservation {
if o == nil || IsNil(o.Reservation) {
var ret V0041OpenapiSlurmdbdJobsRespJobsInnerReservation
return ret
}
return *o.Reservation
}
// GetReservationOk returns a tuple with the Reservation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V0039Job) GetReservationOk() (*V0041OpenapiSlurmdbdJobsRespJobsInnerReservation, bool) {
if o == nil || IsNil(o.Reservation) {
return nil, false
}
return o.Reservation, true
}
// HasReservation returns a boolean if a field has been set.
func (o *V0039Job) HasReservation() bool {
if o != nil && !IsNil(o.Reservation) {
return true
}