-
Notifications
You must be signed in to change notification settings - Fork 218
/
nvme_namespace_collection_get_parameters.go
2244 lines (1720 loc) · 63.3 KB
/
nvme_namespace_collection_get_parameters.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
// Code generated by go-swagger; DO NOT EDIT.
package n_v_me
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// NewNvmeNamespaceCollectionGetParams creates a new NvmeNamespaceCollectionGetParams object,
// with the default timeout for this client.
//
// Default values are not hydrated, since defaults are normally applied by the API server side.
//
// To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewNvmeNamespaceCollectionGetParams() *NvmeNamespaceCollectionGetParams {
return &NvmeNamespaceCollectionGetParams{
timeout: cr.DefaultTimeout,
}
}
// NewNvmeNamespaceCollectionGetParamsWithTimeout creates a new NvmeNamespaceCollectionGetParams object
// with the ability to set a timeout on a request.
func NewNvmeNamespaceCollectionGetParamsWithTimeout(timeout time.Duration) *NvmeNamespaceCollectionGetParams {
return &NvmeNamespaceCollectionGetParams{
timeout: timeout,
}
}
// NewNvmeNamespaceCollectionGetParamsWithContext creates a new NvmeNamespaceCollectionGetParams object
// with the ability to set a context for a request.
func NewNvmeNamespaceCollectionGetParamsWithContext(ctx context.Context) *NvmeNamespaceCollectionGetParams {
return &NvmeNamespaceCollectionGetParams{
Context: ctx,
}
}
// NewNvmeNamespaceCollectionGetParamsWithHTTPClient creates a new NvmeNamespaceCollectionGetParams object
// with the ability to set a custom HTTPClient for a request.
func NewNvmeNamespaceCollectionGetParamsWithHTTPClient(client *http.Client) *NvmeNamespaceCollectionGetParams {
return &NvmeNamespaceCollectionGetParams{
HTTPClient: client,
}
}
/*
NvmeNamespaceCollectionGetParams contains all the parameters to send to the API endpoint
for the nvme namespace collection get operation.
Typically these are written to a http.Request.
*/
type NvmeNamespaceCollectionGetParams struct {
/* AutoDelete.
Filter by auto_delete
*/
AutoDelete *bool
/* Comment.
Filter by comment
*/
Comment *string
/* CreateTime.
Filter by create_time
*/
CreateTime *string
/* Enabled.
Filter by enabled
*/
Enabled *bool
/* Fields.
Specify the fields to return.
*/
Fields []string
/* LocationNamespace.
Filter by location.namespace
*/
LocationNamespace *string
/* LocationNodeName.
Filter by location.node.name
*/
LocationNodeName *string
/* LocationNodeUUID.
Filter by location.node.uuid
*/
LocationNodeUUID *string
/* LocationQtreeID.
Filter by location.qtree.id
*/
LocationQtreeID *int64
/* LocationQtreeName.
Filter by location.qtree.name
*/
LocationQtreeName *string
/* LocationVolumeName.
Filter by location.volume.name
*/
LocationVolumeName *string
/* LocationVolumeUUID.
Filter by location.volume.uuid
*/
LocationVolumeUUID *string
/* MaxRecords.
Limit the number of records returned.
*/
MaxRecords *int64
/* MetricDuration.
Filter by metric.duration
*/
MetricDuration *string
/* MetricIopsOther.
Filter by metric.iops.other
*/
MetricIopsOther *int64
/* MetricIopsRead.
Filter by metric.iops.read
*/
MetricIopsRead *int64
/* MetricIopsTotal.
Filter by metric.iops.total
*/
MetricIopsTotal *int64
/* MetricIopsWrite.
Filter by metric.iops.write
*/
MetricIopsWrite *int64
/* MetricLatencyOther.
Filter by metric.latency.other
*/
MetricLatencyOther *int64
/* MetricLatencyRead.
Filter by metric.latency.read
*/
MetricLatencyRead *int64
/* MetricLatencyTotal.
Filter by metric.latency.total
*/
MetricLatencyTotal *int64
/* MetricLatencyWrite.
Filter by metric.latency.write
*/
MetricLatencyWrite *int64
/* MetricStatus.
Filter by metric.status
*/
MetricStatus *string
/* MetricThroughputRead.
Filter by metric.throughput.read
*/
MetricThroughputRead *int64
/* MetricThroughputTotal.
Filter by metric.throughput.total
*/
MetricThroughputTotal *int64
/* MetricThroughputWrite.
Filter by metric.throughput.write
*/
MetricThroughputWrite *int64
/* MetricTimestamp.
Filter by metric.timestamp
*/
MetricTimestamp *string
/* Name.
Filter by name
*/
Name *string
/* OrderBy.
Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
*/
OrderBy []string
/* OsType.
Filter by os_type
*/
OsType *string
/* ReturnRecords.
The default is true for GET calls. When set to false, only the number of records is returned.
Default: true
*/
ReturnRecords *bool
/* ReturnTimeout.
The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached.
Default: 15
*/
ReturnTimeout *int64
/* SpaceBlockSize.
Filter by space.block_size
*/
SpaceBlockSize *int64
/* SpaceGuaranteeRequested.
Filter by space.guarantee.requested
*/
SpaceGuaranteeRequested *bool
/* SpaceGuaranteeReserved.
Filter by space.guarantee.reserved
*/
SpaceGuaranteeReserved *bool
/* SpaceSize.
Filter by space.size
*/
SpaceSize *int64
/* SpaceUsed.
Filter by space.used
*/
SpaceUsed *int64
/* StatisticsIopsRawOther.
Filter by statistics.iops_raw.other
*/
StatisticsIopsRawOther *int64
/* StatisticsIopsRawRead.
Filter by statistics.iops_raw.read
*/
StatisticsIopsRawRead *int64
/* StatisticsIopsRawTotal.
Filter by statistics.iops_raw.total
*/
StatisticsIopsRawTotal *int64
/* StatisticsIopsRawWrite.
Filter by statistics.iops_raw.write
*/
StatisticsIopsRawWrite *int64
/* StatisticsLatencyRawOther.
Filter by statistics.latency_raw.other
*/
StatisticsLatencyRawOther *int64
/* StatisticsLatencyRawRead.
Filter by statistics.latency_raw.read
*/
StatisticsLatencyRawRead *int64
/* StatisticsLatencyRawTotal.
Filter by statistics.latency_raw.total
*/
StatisticsLatencyRawTotal *int64
/* StatisticsLatencyRawWrite.
Filter by statistics.latency_raw.write
*/
StatisticsLatencyRawWrite *int64
/* StatisticsStatus.
Filter by statistics.status
*/
StatisticsStatus *string
/* StatisticsThroughputRawRead.
Filter by statistics.throughput_raw.read
*/
StatisticsThroughputRawRead *int64
/* StatisticsThroughputRawTotal.
Filter by statistics.throughput_raw.total
*/
StatisticsThroughputRawTotal *int64
/* StatisticsThroughputRawWrite.
Filter by statistics.throughput_raw.write
*/
StatisticsThroughputRawWrite *int64
/* StatisticsTimestamp.
Filter by statistics.timestamp
*/
StatisticsTimestamp *string
/* StatusContainerState.
Filter by status.container_state
*/
StatusContainerState *string
/* StatusMapped.
Filter by status.mapped
*/
StatusMapped *bool
/* StatusReadOnly.
Filter by status.read_only
*/
StatusReadOnly *bool
/* StatusState.
Filter by status.state
*/
StatusState *string
/* SubsystemMapAnagrpid.
Filter by subsystem_map.anagrpid
*/
SubsystemMapAnagrpid *string
/* SubsystemMapNsid.
Filter by subsystem_map.nsid
*/
SubsystemMapNsid *string
/* SubsystemMapSubsystemName.
Filter by subsystem_map.subsystem.name
*/
SubsystemMapSubsystemName *string
/* SubsystemMapSubsystemUUID.
Filter by subsystem_map.subsystem.uuid
*/
SubsystemMapSubsystemUUID *string
/* SvmName.
Filter by svm.name
*/
SvmName *string
/* SvmUUID.
Filter by svm.uuid
*/
SvmUUID *string
/* UUID.
Filter by uuid
*/
UUID *string
timeout time.Duration
Context context.Context
HTTPClient *http.Client
}
// WithDefaults hydrates default values in the nvme namespace collection get params (not the query body).
//
// All values with no default are reset to their zero value.
func (o *NvmeNamespaceCollectionGetParams) WithDefaults() *NvmeNamespaceCollectionGetParams {
o.SetDefaults()
return o
}
// SetDefaults hydrates default values in the nvme namespace collection get params (not the query body).
//
// All values with no default are reset to their zero value.
func (o *NvmeNamespaceCollectionGetParams) SetDefaults() {
var (
returnRecordsDefault = bool(true)
returnTimeoutDefault = int64(15)
)
val := NvmeNamespaceCollectionGetParams{
ReturnRecords: &returnRecordsDefault,
ReturnTimeout: &returnTimeoutDefault,
}
val.timeout = o.timeout
val.Context = o.Context
val.HTTPClient = o.HTTPClient
*o = val
}
// WithTimeout adds the timeout to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithTimeout(timeout time.Duration) *NvmeNamespaceCollectionGetParams {
o.SetTimeout(timeout)
return o
}
// SetTimeout adds the timeout to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
}
// WithContext adds the context to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithContext(ctx context.Context) *NvmeNamespaceCollectionGetParams {
o.SetContext(ctx)
return o
}
// SetContext adds the context to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetContext(ctx context.Context) {
o.Context = ctx
}
// WithHTTPClient adds the HTTPClient to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithHTTPClient(client *http.Client) *NvmeNamespaceCollectionGetParams {
o.SetHTTPClient(client)
return o
}
// SetHTTPClient adds the HTTPClient to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
}
// WithAutoDelete adds the autoDelete to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithAutoDelete(autoDelete *bool) *NvmeNamespaceCollectionGetParams {
o.SetAutoDelete(autoDelete)
return o
}
// SetAutoDelete adds the autoDelete to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetAutoDelete(autoDelete *bool) {
o.AutoDelete = autoDelete
}
// WithComment adds the comment to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithComment(comment *string) *NvmeNamespaceCollectionGetParams {
o.SetComment(comment)
return o
}
// SetComment adds the comment to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetComment(comment *string) {
o.Comment = comment
}
// WithCreateTime adds the createTime to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithCreateTime(createTime *string) *NvmeNamespaceCollectionGetParams {
o.SetCreateTime(createTime)
return o
}
// SetCreateTime adds the createTime to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetCreateTime(createTime *string) {
o.CreateTime = createTime
}
// WithEnabled adds the enabled to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithEnabled(enabled *bool) *NvmeNamespaceCollectionGetParams {
o.SetEnabled(enabled)
return o
}
// SetEnabled adds the enabled to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetEnabled(enabled *bool) {
o.Enabled = enabled
}
// WithFields adds the fields to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithFields(fields []string) *NvmeNamespaceCollectionGetParams {
o.SetFields(fields)
return o
}
// SetFields adds the fields to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetFields(fields []string) {
o.Fields = fields
}
// WithLocationNamespace adds the locationNamespace to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationNamespace(locationNamespace *string) *NvmeNamespaceCollectionGetParams {
o.SetLocationNamespace(locationNamespace)
return o
}
// SetLocationNamespace adds the locationNamespace to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationNamespace(locationNamespace *string) {
o.LocationNamespace = locationNamespace
}
// WithLocationNodeName adds the locationNodeName to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationNodeName(locationNodeName *string) *NvmeNamespaceCollectionGetParams {
o.SetLocationNodeName(locationNodeName)
return o
}
// SetLocationNodeName adds the locationNodeName to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationNodeName(locationNodeName *string) {
o.LocationNodeName = locationNodeName
}
// WithLocationNodeUUID adds the locationNodeUUID to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationNodeUUID(locationNodeUUID *string) *NvmeNamespaceCollectionGetParams {
o.SetLocationNodeUUID(locationNodeUUID)
return o
}
// SetLocationNodeUUID adds the locationNodeUuid to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationNodeUUID(locationNodeUUID *string) {
o.LocationNodeUUID = locationNodeUUID
}
// WithLocationQtreeID adds the locationQtreeID to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationQtreeID(locationQtreeID *int64) *NvmeNamespaceCollectionGetParams {
o.SetLocationQtreeID(locationQtreeID)
return o
}
// SetLocationQtreeID adds the locationQtreeId to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationQtreeID(locationQtreeID *int64) {
o.LocationQtreeID = locationQtreeID
}
// WithLocationQtreeName adds the locationQtreeName to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationQtreeName(locationQtreeName *string) *NvmeNamespaceCollectionGetParams {
o.SetLocationQtreeName(locationQtreeName)
return o
}
// SetLocationQtreeName adds the locationQtreeName to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationQtreeName(locationQtreeName *string) {
o.LocationQtreeName = locationQtreeName
}
// WithLocationVolumeName adds the locationVolumeName to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationVolumeName(locationVolumeName *string) *NvmeNamespaceCollectionGetParams {
o.SetLocationVolumeName(locationVolumeName)
return o
}
// SetLocationVolumeName adds the locationVolumeName to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationVolumeName(locationVolumeName *string) {
o.LocationVolumeName = locationVolumeName
}
// WithLocationVolumeUUID adds the locationVolumeUUID to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithLocationVolumeUUID(locationVolumeUUID *string) *NvmeNamespaceCollectionGetParams {
o.SetLocationVolumeUUID(locationVolumeUUID)
return o
}
// SetLocationVolumeUUID adds the locationVolumeUuid to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetLocationVolumeUUID(locationVolumeUUID *string) {
o.LocationVolumeUUID = locationVolumeUUID
}
// WithMaxRecords adds the maxRecords to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMaxRecords(maxRecords *int64) *NvmeNamespaceCollectionGetParams {
o.SetMaxRecords(maxRecords)
return o
}
// SetMaxRecords adds the maxRecords to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMaxRecords(maxRecords *int64) {
o.MaxRecords = maxRecords
}
// WithMetricDuration adds the metricDuration to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricDuration(metricDuration *string) *NvmeNamespaceCollectionGetParams {
o.SetMetricDuration(metricDuration)
return o
}
// SetMetricDuration adds the metricDuration to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricDuration(metricDuration *string) {
o.MetricDuration = metricDuration
}
// WithMetricIopsOther adds the metricIopsOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricIopsOther(metricIopsOther *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricIopsOther(metricIopsOther)
return o
}
// SetMetricIopsOther adds the metricIopsOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricIopsOther(metricIopsOther *int64) {
o.MetricIopsOther = metricIopsOther
}
// WithMetricIopsRead adds the metricIopsRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricIopsRead(metricIopsRead *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricIopsRead(metricIopsRead)
return o
}
// SetMetricIopsRead adds the metricIopsRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricIopsRead(metricIopsRead *int64) {
o.MetricIopsRead = metricIopsRead
}
// WithMetricIopsTotal adds the metricIopsTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricIopsTotal(metricIopsTotal *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricIopsTotal(metricIopsTotal)
return o
}
// SetMetricIopsTotal adds the metricIopsTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricIopsTotal(metricIopsTotal *int64) {
o.MetricIopsTotal = metricIopsTotal
}
// WithMetricIopsWrite adds the metricIopsWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricIopsWrite(metricIopsWrite *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricIopsWrite(metricIopsWrite)
return o
}
// SetMetricIopsWrite adds the metricIopsWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricIopsWrite(metricIopsWrite *int64) {
o.MetricIopsWrite = metricIopsWrite
}
// WithMetricLatencyOther adds the metricLatencyOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricLatencyOther(metricLatencyOther *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricLatencyOther(metricLatencyOther)
return o
}
// SetMetricLatencyOther adds the metricLatencyOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricLatencyOther(metricLatencyOther *int64) {
o.MetricLatencyOther = metricLatencyOther
}
// WithMetricLatencyRead adds the metricLatencyRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricLatencyRead(metricLatencyRead *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricLatencyRead(metricLatencyRead)
return o
}
// SetMetricLatencyRead adds the metricLatencyRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricLatencyRead(metricLatencyRead *int64) {
o.MetricLatencyRead = metricLatencyRead
}
// WithMetricLatencyTotal adds the metricLatencyTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricLatencyTotal(metricLatencyTotal *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricLatencyTotal(metricLatencyTotal)
return o
}
// SetMetricLatencyTotal adds the metricLatencyTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricLatencyTotal(metricLatencyTotal *int64) {
o.MetricLatencyTotal = metricLatencyTotal
}
// WithMetricLatencyWrite adds the metricLatencyWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricLatencyWrite(metricLatencyWrite *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricLatencyWrite(metricLatencyWrite)
return o
}
// SetMetricLatencyWrite adds the metricLatencyWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricLatencyWrite(metricLatencyWrite *int64) {
o.MetricLatencyWrite = metricLatencyWrite
}
// WithMetricStatus adds the metricStatus to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricStatus(metricStatus *string) *NvmeNamespaceCollectionGetParams {
o.SetMetricStatus(metricStatus)
return o
}
// SetMetricStatus adds the metricStatus to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricStatus(metricStatus *string) {
o.MetricStatus = metricStatus
}
// WithMetricThroughputRead adds the metricThroughputRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricThroughputRead(metricThroughputRead *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricThroughputRead(metricThroughputRead)
return o
}
// SetMetricThroughputRead adds the metricThroughputRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricThroughputRead(metricThroughputRead *int64) {
o.MetricThroughputRead = metricThroughputRead
}
// WithMetricThroughputTotal adds the metricThroughputTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricThroughputTotal(metricThroughputTotal *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricThroughputTotal(metricThroughputTotal)
return o
}
// SetMetricThroughputTotal adds the metricThroughputTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricThroughputTotal(metricThroughputTotal *int64) {
o.MetricThroughputTotal = metricThroughputTotal
}
// WithMetricThroughputWrite adds the metricThroughputWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricThroughputWrite(metricThroughputWrite *int64) *NvmeNamespaceCollectionGetParams {
o.SetMetricThroughputWrite(metricThroughputWrite)
return o
}
// SetMetricThroughputWrite adds the metricThroughputWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricThroughputWrite(metricThroughputWrite *int64) {
o.MetricThroughputWrite = metricThroughputWrite
}
// WithMetricTimestamp adds the metricTimestamp to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithMetricTimestamp(metricTimestamp *string) *NvmeNamespaceCollectionGetParams {
o.SetMetricTimestamp(metricTimestamp)
return o
}
// SetMetricTimestamp adds the metricTimestamp to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetMetricTimestamp(metricTimestamp *string) {
o.MetricTimestamp = metricTimestamp
}
// WithName adds the name to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithName(name *string) *NvmeNamespaceCollectionGetParams {
o.SetName(name)
return o
}
// SetName adds the name to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetName(name *string) {
o.Name = name
}
// WithOrderBy adds the orderBy to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithOrderBy(orderBy []string) *NvmeNamespaceCollectionGetParams {
o.SetOrderBy(orderBy)
return o
}
// SetOrderBy adds the orderBy to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetOrderBy(orderBy []string) {
o.OrderBy = orderBy
}
// WithOsType adds the osType to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithOsType(osType *string) *NvmeNamespaceCollectionGetParams {
o.SetOsType(osType)
return o
}
// SetOsType adds the osType to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetOsType(osType *string) {
o.OsType = osType
}
// WithReturnRecords adds the returnRecords to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithReturnRecords(returnRecords *bool) *NvmeNamespaceCollectionGetParams {
o.SetReturnRecords(returnRecords)
return o
}
// SetReturnRecords adds the returnRecords to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetReturnRecords(returnRecords *bool) {
o.ReturnRecords = returnRecords
}
// WithReturnTimeout adds the returnTimeout to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *NvmeNamespaceCollectionGetParams {
o.SetReturnTimeout(returnTimeout)
return o
}
// SetReturnTimeout adds the returnTimeout to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetReturnTimeout(returnTimeout *int64) {
o.ReturnTimeout = returnTimeout
}
// WithSpaceBlockSize adds the spaceBlockSize to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithSpaceBlockSize(spaceBlockSize *int64) *NvmeNamespaceCollectionGetParams {
o.SetSpaceBlockSize(spaceBlockSize)
return o
}
// SetSpaceBlockSize adds the spaceBlockSize to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetSpaceBlockSize(spaceBlockSize *int64) {
o.SpaceBlockSize = spaceBlockSize
}
// WithSpaceGuaranteeRequested adds the spaceGuaranteeRequested to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithSpaceGuaranteeRequested(spaceGuaranteeRequested *bool) *NvmeNamespaceCollectionGetParams {
o.SetSpaceGuaranteeRequested(spaceGuaranteeRequested)
return o
}
// SetSpaceGuaranteeRequested adds the spaceGuaranteeRequested to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetSpaceGuaranteeRequested(spaceGuaranteeRequested *bool) {
o.SpaceGuaranteeRequested = spaceGuaranteeRequested
}
// WithSpaceGuaranteeReserved adds the spaceGuaranteeReserved to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithSpaceGuaranteeReserved(spaceGuaranteeReserved *bool) *NvmeNamespaceCollectionGetParams {
o.SetSpaceGuaranteeReserved(spaceGuaranteeReserved)
return o
}
// SetSpaceGuaranteeReserved adds the spaceGuaranteeReserved to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetSpaceGuaranteeReserved(spaceGuaranteeReserved *bool) {
o.SpaceGuaranteeReserved = spaceGuaranteeReserved
}
// WithSpaceSize adds the spaceSize to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithSpaceSize(spaceSize *int64) *NvmeNamespaceCollectionGetParams {
o.SetSpaceSize(spaceSize)
return o
}
// SetSpaceSize adds the spaceSize to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetSpaceSize(spaceSize *int64) {
o.SpaceSize = spaceSize
}
// WithSpaceUsed adds the spaceUsed to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithSpaceUsed(spaceUsed *int64) *NvmeNamespaceCollectionGetParams {
o.SetSpaceUsed(spaceUsed)
return o
}
// SetSpaceUsed adds the spaceUsed to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetSpaceUsed(spaceUsed *int64) {
o.SpaceUsed = spaceUsed
}
// WithStatisticsIopsRawOther adds the statisticsIopsRawOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsIopsRawOther(statisticsIopsRawOther *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsIopsRawOther(statisticsIopsRawOther)
return o
}
// SetStatisticsIopsRawOther adds the statisticsIopsRawOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsIopsRawOther(statisticsIopsRawOther *int64) {
o.StatisticsIopsRawOther = statisticsIopsRawOther
}
// WithStatisticsIopsRawRead adds the statisticsIopsRawRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsIopsRawRead(statisticsIopsRawRead *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsIopsRawRead(statisticsIopsRawRead)
return o
}
// SetStatisticsIopsRawRead adds the statisticsIopsRawRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsIopsRawRead(statisticsIopsRawRead *int64) {
o.StatisticsIopsRawRead = statisticsIopsRawRead
}
// WithStatisticsIopsRawTotal adds the statisticsIopsRawTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsIopsRawTotal(statisticsIopsRawTotal *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsIopsRawTotal(statisticsIopsRawTotal)
return o
}
// SetStatisticsIopsRawTotal adds the statisticsIopsRawTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsIopsRawTotal(statisticsIopsRawTotal *int64) {
o.StatisticsIopsRawTotal = statisticsIopsRawTotal
}
// WithStatisticsIopsRawWrite adds the statisticsIopsRawWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsIopsRawWrite(statisticsIopsRawWrite *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsIopsRawWrite(statisticsIopsRawWrite)
return o
}
// SetStatisticsIopsRawWrite adds the statisticsIopsRawWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsIopsRawWrite(statisticsIopsRawWrite *int64) {
o.StatisticsIopsRawWrite = statisticsIopsRawWrite
}
// WithStatisticsLatencyRawOther adds the statisticsLatencyRawOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsLatencyRawOther(statisticsLatencyRawOther *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsLatencyRawOther(statisticsLatencyRawOther)
return o
}
// SetStatisticsLatencyRawOther adds the statisticsLatencyRawOther to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsLatencyRawOther(statisticsLatencyRawOther *int64) {
o.StatisticsLatencyRawOther = statisticsLatencyRawOther
}
// WithStatisticsLatencyRawRead adds the statisticsLatencyRawRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsLatencyRawRead(statisticsLatencyRawRead *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsLatencyRawRead(statisticsLatencyRawRead)
return o
}
// SetStatisticsLatencyRawRead adds the statisticsLatencyRawRead to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsLatencyRawRead(statisticsLatencyRawRead *int64) {
o.StatisticsLatencyRawRead = statisticsLatencyRawRead
}
// WithStatisticsLatencyRawTotal adds the statisticsLatencyRawTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsLatencyRawTotal(statisticsLatencyRawTotal *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsLatencyRawTotal(statisticsLatencyRawTotal)
return o
}
// SetStatisticsLatencyRawTotal adds the statisticsLatencyRawTotal to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsLatencyRawTotal(statisticsLatencyRawTotal *int64) {
o.StatisticsLatencyRawTotal = statisticsLatencyRawTotal
}
// WithStatisticsLatencyRawWrite adds the statisticsLatencyRawWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsLatencyRawWrite(statisticsLatencyRawWrite *int64) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsLatencyRawWrite(statisticsLatencyRawWrite)
return o
}
// SetStatisticsLatencyRawWrite adds the statisticsLatencyRawWrite to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) SetStatisticsLatencyRawWrite(statisticsLatencyRawWrite *int64) {
o.StatisticsLatencyRawWrite = statisticsLatencyRawWrite
}
// WithStatisticsStatus adds the statisticsStatus to the nvme namespace collection get params
func (o *NvmeNamespaceCollectionGetParams) WithStatisticsStatus(statisticsStatus *string) *NvmeNamespaceCollectionGetParams {
o.SetStatisticsStatus(statisticsStatus)
return o