oci 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,7 +105,7 @@ module OCI
105
105
  # @param [OCI::FileStorage::Models::CreateExportDetails] create_export_details Details for creating a new export.
106
106
  # @param [Hash] opts the optional parameters
107
107
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
108
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
108
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
109
109
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
110
110
  # server error without risk of executing that same action again. Retry tokens expire after 24
111
111
  # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
@@ -121,6 +121,7 @@ module OCI
121
121
  path = '/exports'
122
122
  operation_signing_strategy = :standard
123
123
 
124
+ # rubocop:disable Style/NegatedIf
124
125
  # Query Params
125
126
  query_params = {}
126
127
 
@@ -129,6 +130,7 @@ module OCI
129
130
  header_params['accept'] = 'application/json'
130
131
  header_params['content-type'] = 'application/json'
131
132
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
133
+ # rubocop:enable Style/NegatedIf
132
134
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
133
135
 
134
136
  post_body = @api_client.object_to_http_body(create_export_details)
@@ -187,7 +189,7 @@ module OCI
187
189
  # @param [OCI::FileStorage::Models::CreateFileSystemDetails] create_file_system_details Details for creating a new file system.
188
190
  # @param [Hash] opts the optional parameters
189
191
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
190
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
192
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
191
193
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
192
194
  # server error without risk of executing that same action again. Retry tokens expire after 24
193
195
  # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
@@ -203,6 +205,7 @@ module OCI
203
205
  path = '/fileSystems'
204
206
  operation_signing_strategy = :standard
205
207
 
208
+ # rubocop:disable Style/NegatedIf
206
209
  # Query Params
207
210
  query_params = {}
208
211
 
@@ -211,6 +214,7 @@ module OCI
211
214
  header_params['accept'] = 'application/json'
212
215
  header_params['content-type'] = 'application/json'
213
216
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
217
+ # rubocop:enable Style/NegatedIf
214
218
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
215
219
 
216
220
  post_body = @api_client.object_to_http_body(create_file_system_details)
@@ -275,7 +279,7 @@ module OCI
275
279
  # @param [OCI::FileStorage::Models::CreateMountTargetDetails] create_mount_target_details Details for creating a new mount target.
276
280
  # @param [Hash] opts the optional parameters
277
281
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
278
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
282
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
279
283
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
280
284
  # server error without risk of executing that same action again. Retry tokens expire after 24
281
285
  # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
@@ -291,6 +295,7 @@ module OCI
291
295
  path = '/mountTargets'
292
296
  operation_signing_strategy = :standard
293
297
 
298
+ # rubocop:disable Style/NegatedIf
294
299
  # Query Params
295
300
  query_params = {}
296
301
 
@@ -299,6 +304,7 @@ module OCI
299
304
  header_params['accept'] = 'application/json'
300
305
  header_params['content-type'] = 'application/json'
301
306
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
307
+ # rubocop:enable Style/NegatedIf
302
308
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
303
309
 
304
310
  post_body = @api_client.object_to_http_body(create_mount_target_details)
@@ -333,7 +339,7 @@ module OCI
333
339
  # @param [OCI::FileStorage::Models::CreateSnapshotDetails] create_snapshot_details Details for creating a new snapshot.
334
340
  # @param [Hash] opts the optional parameters
335
341
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
336
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
342
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
337
343
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
338
344
  # server error without risk of executing that same action again. Retry tokens expire after 24
339
345
  # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
@@ -349,6 +355,7 @@ module OCI
349
355
  path = '/snapshots'
350
356
  operation_signing_strategy = :standard
351
357
 
358
+ # rubocop:disable Style/NegatedIf
352
359
  # Query Params
353
360
  query_params = {}
354
361
 
@@ -357,6 +364,7 @@ module OCI
357
364
  header_params['accept'] = 'application/json'
358
365
  header_params['content-type'] = 'application/json'
359
366
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
367
+ # rubocop:enable Style/NegatedIf
360
368
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
361
369
 
362
370
  post_body = @api_client.object_to_http_body(create_snapshot_details)
@@ -390,7 +398,7 @@ module OCI
390
398
  # @param [String] export_id The OCID of the export.
391
399
  # @param [Hash] opts the optional parameters
392
400
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
393
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
401
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
394
402
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
395
403
  # for a resource, set the `if-match` parameter to the value of the
396
404
  # etag from a previous GET or POST response for that resource.
@@ -407,6 +415,7 @@ module OCI
407
415
  path = '/exports/{exportId}'.sub('{exportId}', export_id.to_s)
408
416
  operation_signing_strategy = :standard
409
417
 
418
+ # rubocop:disable Style/NegatedIf
410
419
  # Query Params
411
420
  query_params = {}
412
421
 
@@ -415,6 +424,7 @@ module OCI
415
424
  header_params['accept'] = 'application/json'
416
425
  header_params['content-type'] = 'application/json'
417
426
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
427
+ # rubocop:enable Style/NegatedIf
418
428
 
419
429
  post_body = nil
420
430
 
@@ -448,7 +458,7 @@ module OCI
448
458
  # @param [String] file_system_id The OCID of the file system.
449
459
  # @param [Hash] opts the optional parameters
450
460
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
451
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
461
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
452
462
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
453
463
  # for a resource, set the `if-match` parameter to the value of the
454
464
  # etag from a previous GET or POST response for that resource.
@@ -465,6 +475,7 @@ module OCI
465
475
  path = '/fileSystems/{fileSystemId}'.sub('{fileSystemId}', file_system_id.to_s)
466
476
  operation_signing_strategy = :standard
467
477
 
478
+ # rubocop:disable Style/NegatedIf
468
479
  # Query Params
469
480
  query_params = {}
470
481
 
@@ -473,6 +484,7 @@ module OCI
473
484
  header_params['accept'] = 'application/json'
474
485
  header_params['content-type'] = 'application/json'
475
486
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
487
+ # rubocop:enable Style/NegatedIf
476
488
 
477
489
  post_body = nil
478
490
 
@@ -505,7 +517,7 @@ module OCI
505
517
  # @param [String] mount_target_id The OCID of the mount target.
506
518
  # @param [Hash] opts the optional parameters
507
519
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
508
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
520
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
509
521
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
510
522
  # for a resource, set the `if-match` parameter to the value of the
511
523
  # etag from a previous GET or POST response for that resource.
@@ -522,6 +534,7 @@ module OCI
522
534
  path = '/mountTargets/{mountTargetId}'.sub('{mountTargetId}', mount_target_id.to_s)
523
535
  operation_signing_strategy = :standard
524
536
 
537
+ # rubocop:disable Style/NegatedIf
525
538
  # Query Params
526
539
  query_params = {}
527
540
 
@@ -530,6 +543,7 @@ module OCI
530
543
  header_params['accept'] = 'application/json'
531
544
  header_params['content-type'] = 'application/json'
532
545
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
546
+ # rubocop:enable Style/NegatedIf
533
547
 
534
548
  post_body = nil
535
549
 
@@ -561,7 +575,7 @@ module OCI
561
575
  # @param [String] snapshot_id The OCID of the snapshot.
562
576
  # @param [Hash] opts the optional parameters
563
577
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
564
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
578
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
565
579
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
566
580
  # for a resource, set the `if-match` parameter to the value of the
567
581
  # etag from a previous GET or POST response for that resource.
@@ -578,6 +592,7 @@ module OCI
578
592
  path = '/snapshots/{snapshotId}'.sub('{snapshotId}', snapshot_id.to_s)
579
593
  operation_signing_strategy = :standard
580
594
 
595
+ # rubocop:disable Style/NegatedIf
581
596
  # Query Params
582
597
  query_params = {}
583
598
 
@@ -586,6 +601,7 @@ module OCI
586
601
  header_params['accept'] = 'application/json'
587
602
  header_params['content-type'] = 'application/json'
588
603
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
604
+ # rubocop:enable Style/NegatedIf
589
605
 
590
606
  post_body = nil
591
607
 
@@ -617,7 +633,7 @@ module OCI
617
633
  # @param [String] export_id The OCID of the export.
618
634
  # @param [Hash] opts the optional parameters
619
635
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
620
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
636
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
621
637
  # @return [Response] A Response object with data of type {OCI::FileStorage::Models::Export Export}
622
638
  def get_export(export_id, opts = {})
623
639
  logger.debug 'Calling operation FileStorageClient#get_export.' if logger
@@ -628,6 +644,7 @@ module OCI
628
644
  path = '/exports/{exportId}'.sub('{exportId}', export_id.to_s)
629
645
  operation_signing_strategy = :standard
630
646
 
647
+ # rubocop:disable Style/NegatedIf
631
648
  # Query Params
632
649
  query_params = {}
633
650
 
@@ -635,6 +652,7 @@ module OCI
635
652
  header_params = {}
636
653
  header_params['accept'] = 'application/json'
637
654
  header_params['content-type'] = 'application/json'
655
+ # rubocop:enable Style/NegatedIf
638
656
 
639
657
  post_body = nil
640
658
 
@@ -668,7 +686,7 @@ module OCI
668
686
  # @param [String] export_set_id The OCID of the export set.
669
687
  # @param [Hash] opts the optional parameters
670
688
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
671
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
689
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
672
690
  # @return [Response] A Response object with data of type {OCI::FileStorage::Models::ExportSet ExportSet}
673
691
  def get_export_set(export_set_id, opts = {})
674
692
  logger.debug 'Calling operation FileStorageClient#get_export_set.' if logger
@@ -679,6 +697,7 @@ module OCI
679
697
  path = '/exportSets/{exportSetId}'.sub('{exportSetId}', export_set_id.to_s)
680
698
  operation_signing_strategy = :standard
681
699
 
700
+ # rubocop:disable Style/NegatedIf
682
701
  # Query Params
683
702
  query_params = {}
684
703
 
@@ -686,6 +705,7 @@ module OCI
686
705
  header_params = {}
687
706
  header_params['accept'] = 'application/json'
688
707
  header_params['content-type'] = 'application/json'
708
+ # rubocop:enable Style/NegatedIf
689
709
 
690
710
  post_body = nil
691
711
 
@@ -719,7 +739,7 @@ module OCI
719
739
  # @param [String] file_system_id The OCID of the file system.
720
740
  # @param [Hash] opts the optional parameters
721
741
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
722
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
742
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
723
743
  # @return [Response] A Response object with data of type {OCI::FileStorage::Models::FileSystem FileSystem}
724
744
  def get_file_system(file_system_id, opts = {})
725
745
  logger.debug 'Calling operation FileStorageClient#get_file_system.' if logger
@@ -730,6 +750,7 @@ module OCI
730
750
  path = '/fileSystems/{fileSystemId}'.sub('{fileSystemId}', file_system_id.to_s)
731
751
  operation_signing_strategy = :standard
732
752
 
753
+ # rubocop:disable Style/NegatedIf
733
754
  # Query Params
734
755
  query_params = {}
735
756
 
@@ -737,6 +758,7 @@ module OCI
737
758
  header_params = {}
738
759
  header_params['accept'] = 'application/json'
739
760
  header_params['content-type'] = 'application/json'
761
+ # rubocop:enable Style/NegatedIf
740
762
 
741
763
  post_body = nil
742
764
 
@@ -770,7 +792,7 @@ module OCI
770
792
  # @param [String] mount_target_id The OCID of the mount target.
771
793
  # @param [Hash] opts the optional parameters
772
794
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
773
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
795
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
774
796
  # @return [Response] A Response object with data of type {OCI::FileStorage::Models::MountTarget MountTarget}
775
797
  def get_mount_target(mount_target_id, opts = {})
776
798
  logger.debug 'Calling operation FileStorageClient#get_mount_target.' if logger
@@ -781,6 +803,7 @@ module OCI
781
803
  path = '/mountTargets/{mountTargetId}'.sub('{mountTargetId}', mount_target_id.to_s)
782
804
  operation_signing_strategy = :standard
783
805
 
806
+ # rubocop:disable Style/NegatedIf
784
807
  # Query Params
785
808
  query_params = {}
786
809
 
@@ -788,6 +811,7 @@ module OCI
788
811
  header_params = {}
789
812
  header_params['accept'] = 'application/json'
790
813
  header_params['content-type'] = 'application/json'
814
+ # rubocop:enable Style/NegatedIf
791
815
 
792
816
  post_body = nil
793
817
 
@@ -821,7 +845,7 @@ module OCI
821
845
  # @param [String] snapshot_id The OCID of the snapshot.
822
846
  # @param [Hash] opts the optional parameters
823
847
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
824
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
848
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
825
849
  # @return [Response] A Response object with data of type {OCI::FileStorage::Models::Snapshot Snapshot}
826
850
  def get_snapshot(snapshot_id, opts = {})
827
851
  logger.debug 'Calling operation FileStorageClient#get_snapshot.' if logger
@@ -832,6 +856,7 @@ module OCI
832
856
  path = '/snapshots/{snapshotId}'.sub('{snapshotId}', snapshot_id.to_s)
833
857
  operation_signing_strategy = :standard
834
858
 
859
+ # rubocop:disable Style/NegatedIf
835
860
  # Query Params
836
861
  query_params = {}
837
862
 
@@ -839,6 +864,7 @@ module OCI
839
864
  header_params = {}
840
865
  header_params['accept'] = 'application/json'
841
866
  header_params['content-type'] = 'application/json'
867
+ # rubocop:enable Style/NegatedIf
842
868
 
843
869
  post_body = nil
844
870
 
@@ -876,7 +902,7 @@ module OCI
876
902
  #
877
903
  # @param [Hash] opts the optional parameters
878
904
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
879
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
905
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
880
906
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
881
907
  #
882
908
  # Example: `500`
@@ -926,6 +952,7 @@ module OCI
926
952
  path = '/exportSets'
927
953
  operation_signing_strategy = :standard
928
954
 
955
+ # rubocop:disable Style/NegatedIf
929
956
  # Query Params
930
957
  query_params = {}
931
958
  query_params[:compartmentId] = compartment_id
@@ -942,6 +969,7 @@ module OCI
942
969
  header_params = {}
943
970
  header_params['accept'] = 'application/json'
944
971
  header_params['content-type'] = 'application/json'
972
+ # rubocop:enable Style/NegatedIf
945
973
 
946
974
  post_body = nil
947
975
 
@@ -975,7 +1003,7 @@ module OCI
975
1003
  #
976
1004
  # @param [Hash] opts the optional parameters
977
1005
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
978
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1006
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
979
1007
  # @option opts [String] :compartment_id The OCID of the compartment.
980
1008
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
981
1009
  #
@@ -1022,6 +1050,7 @@ module OCI
1022
1050
  path = '/exports'
1023
1051
  operation_signing_strategy = :standard
1024
1052
 
1053
+ # rubocop:disable Style/NegatedIf
1025
1054
  # Query Params
1026
1055
  query_params = {}
1027
1056
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -1038,6 +1067,7 @@ module OCI
1038
1067
  header_params = {}
1039
1068
  header_params['accept'] = 'application/json'
1040
1069
  header_params['content-type'] = 'application/json'
1070
+ # rubocop:enable Style/NegatedIf
1041
1071
 
1042
1072
  post_body = nil
1043
1073
 
@@ -1074,7 +1104,7 @@ module OCI
1074
1104
  #
1075
1105
  # @param [Hash] opts the optional parameters
1076
1106
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1077
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1107
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1078
1108
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1079
1109
  #
1080
1110
  # Example: `500`
@@ -1124,6 +1154,7 @@ module OCI
1124
1154
  path = '/fileSystems'
1125
1155
  operation_signing_strategy = :standard
1126
1156
 
1157
+ # rubocop:disable Style/NegatedIf
1127
1158
  # Query Params
1128
1159
  query_params = {}
1129
1160
  query_params[:compartmentId] = compartment_id
@@ -1140,6 +1171,7 @@ module OCI
1140
1171
  header_params = {}
1141
1172
  header_params['accept'] = 'application/json'
1142
1173
  header_params['content-type'] = 'application/json'
1174
+ # rubocop:enable Style/NegatedIf
1143
1175
 
1144
1176
  post_body = nil
1145
1177
 
@@ -1176,7 +1208,7 @@ module OCI
1176
1208
  #
1177
1209
  # @param [Hash] opts the optional parameters
1178
1210
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1179
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1211
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1180
1212
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1181
1213
  #
1182
1214
  # Example: `500`
@@ -1227,6 +1259,7 @@ module OCI
1227
1259
  path = '/mountTargets'
1228
1260
  operation_signing_strategy = :standard
1229
1261
 
1262
+ # rubocop:disable Style/NegatedIf
1230
1263
  # Query Params
1231
1264
  query_params = {}
1232
1265
  query_params[:compartmentId] = compartment_id
@@ -1244,6 +1277,7 @@ module OCI
1244
1277
  header_params = {}
1245
1278
  header_params['accept'] = 'application/json'
1246
1279
  header_params['content-type'] = 'application/json'
1280
+ # rubocop:enable Style/NegatedIf
1247
1281
 
1248
1282
  post_body = nil
1249
1283
 
@@ -1276,7 +1310,7 @@ module OCI
1276
1310
  # @param [String] file_system_id The OCID of the file system.
1277
1311
  # @param [Hash] opts the optional parameters
1278
1312
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1279
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1313
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1280
1314
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1281
1315
  #
1282
1316
  # Example: `500`
@@ -1311,6 +1345,7 @@ module OCI
1311
1345
  path = '/snapshots'
1312
1346
  operation_signing_strategy = :standard
1313
1347
 
1348
+ # rubocop:disable Style/NegatedIf
1314
1349
  # Query Params
1315
1350
  query_params = {}
1316
1351
  query_params[:fileSystemId] = file_system_id
@@ -1324,6 +1359,7 @@ module OCI
1324
1359
  header_params = {}
1325
1360
  header_params['accept'] = 'application/json'
1326
1361
  header_params['content-type'] = 'application/json'
1362
+ # rubocop:enable Style/NegatedIf
1327
1363
 
1328
1364
  post_body = nil
1329
1365
 
@@ -1356,7 +1392,7 @@ module OCI
1356
1392
  # @param [OCI::FileStorage::Models::UpdateExportSetDetails] update_export_set_details Details object for updating an export set.
1357
1393
  # @param [Hash] opts the optional parameters
1358
1394
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1359
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1395
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1360
1396
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1361
1397
  # for a resource, set the `if-match` parameter to the value of the
1362
1398
  # etag from a previous GET or POST response for that resource.
@@ -1374,6 +1410,7 @@ module OCI
1374
1410
  path = '/exportSets/{exportSetId}'.sub('{exportSetId}', export_set_id.to_s)
1375
1411
  operation_signing_strategy = :standard
1376
1412
 
1413
+ # rubocop:disable Style/NegatedIf
1377
1414
  # Query Params
1378
1415
  query_params = {}
1379
1416
 
@@ -1382,6 +1419,7 @@ module OCI
1382
1419
  header_params['accept'] = 'application/json'
1383
1420
  header_params['content-type'] = 'application/json'
1384
1421
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1422
+ # rubocop:enable Style/NegatedIf
1385
1423
 
1386
1424
  post_body = @api_client.object_to_http_body(update_export_set_details)
1387
1425
 
@@ -1416,7 +1454,7 @@ module OCI
1416
1454
  # @param [OCI::FileStorage::Models::UpdateFileSystemDetails] update_file_system_details Details object for updating a file system.
1417
1455
  # @param [Hash] opts the optional parameters
1418
1456
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1419
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1457
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1420
1458
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1421
1459
  # for a resource, set the `if-match` parameter to the value of the
1422
1460
  # etag from a previous GET or POST response for that resource.
@@ -1434,6 +1472,7 @@ module OCI
1434
1472
  path = '/fileSystems/{fileSystemId}'.sub('{fileSystemId}', file_system_id.to_s)
1435
1473
  operation_signing_strategy = :standard
1436
1474
 
1475
+ # rubocop:disable Style/NegatedIf
1437
1476
  # Query Params
1438
1477
  query_params = {}
1439
1478
 
@@ -1442,6 +1481,7 @@ module OCI
1442
1481
  header_params['accept'] = 'application/json'
1443
1482
  header_params['content-type'] = 'application/json'
1444
1483
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1484
+ # rubocop:enable Style/NegatedIf
1445
1485
 
1446
1486
  post_body = @api_client.object_to_http_body(update_file_system_details)
1447
1487
 
@@ -1474,7 +1514,7 @@ module OCI
1474
1514
  # @param [OCI::FileStorage::Models::UpdateMountTargetDetails] update_mount_target_details Details object for updating a mount target.
1475
1515
  # @param [Hash] opts the optional parameters
1476
1516
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1477
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1517
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1478
1518
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1479
1519
  # for a resource, set the `if-match` parameter to the value of the
1480
1520
  # etag from a previous GET or POST response for that resource.
@@ -1492,6 +1532,7 @@ module OCI
1492
1532
  path = '/mountTargets/{mountTargetId}'.sub('{mountTargetId}', mount_target_id.to_s)
1493
1533
  operation_signing_strategy = :standard
1494
1534
 
1535
+ # rubocop:disable Style/NegatedIf
1495
1536
  # Query Params
1496
1537
  query_params = {}
1497
1538
 
@@ -1500,6 +1541,7 @@ module OCI
1500
1541
  header_params['accept'] = 'application/json'
1501
1542
  header_params['content-type'] = 'application/json'
1502
1543
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1544
+ # rubocop:enable Style/NegatedIf
1503
1545
 
1504
1546
  post_body = @api_client.object_to_http_body(update_mount_target_details)
1505
1547