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.
@@ -106,7 +106,7 @@ module OCI
106
106
  # @param [OCI::Dns::Models::CreateZoneDetails] create_zone_details Details for creating a new zone.
107
107
  # @param [Hash] opts the optional parameters
108
108
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
109
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
109
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
110
110
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
111
111
  # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
112
112
  def create_zone(create_zone_details, opts = {})
@@ -117,6 +117,7 @@ module OCI
117
117
  path = '/zones'
118
118
  operation_signing_strategy = :standard
119
119
 
120
+ # rubocop:disable Style/NegatedIf
120
121
  # Query Params
121
122
  query_params = {}
122
123
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -125,6 +126,7 @@ module OCI
125
126
  header_params = {}
126
127
  header_params['accept'] = 'application/json'
127
128
  header_params['content-type'] = 'application/json'
129
+ # rubocop:enable Style/NegatedIf
128
130
 
129
131
  post_body = @api_client.object_to_http_body(create_zone_details)
130
132
 
@@ -157,7 +159,7 @@ module OCI
157
159
  # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
158
160
  # @param [Hash] opts the optional parameters
159
161
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
160
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
162
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
161
163
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
162
164
  # existence of at least one current representation of the target resource,
163
165
  # when the field-value is `*`, or having a current representation of the
@@ -183,6 +185,7 @@ module OCI
183
185
  path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
184
186
  operation_signing_strategy = :standard
185
187
 
188
+ # rubocop:disable Style/NegatedIf
186
189
  # Query Params
187
190
  query_params = {}
188
191
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -193,6 +196,7 @@ module OCI
193
196
  header_params['content-type'] = 'application/json'
194
197
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
195
198
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
199
+ # rubocop:enable Style/NegatedIf
196
200
 
197
201
  post_body = nil
198
202
 
@@ -226,7 +230,7 @@ module OCI
226
230
  # @param [String] rtype The type of the target RRSet within the target zone.
227
231
  # @param [Hash] opts the optional parameters
228
232
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
229
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
233
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
230
234
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
231
235
  # existence of at least one current representation of the target resource,
232
236
  # when the field-value is `*`, or having a current representation of the
@@ -254,6 +258,7 @@ module OCI
254
258
  path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
255
259
  operation_signing_strategy = :standard
256
260
 
261
+ # rubocop:disable Style/NegatedIf
257
262
  # Query Params
258
263
  query_params = {}
259
264
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -264,6 +269,7 @@ module OCI
264
269
  header_params['content-type'] = 'application/json'
265
270
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
266
271
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
272
+ # rubocop:enable Style/NegatedIf
267
273
 
268
274
  post_body = nil
269
275
 
@@ -296,7 +302,7 @@ module OCI
296
302
  # @param [String] zone_name_or_id The name or OCID of the target zone.
297
303
  # @param [Hash] opts the optional parameters
298
304
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
299
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
305
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
300
306
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
301
307
  # existence of at least one current representation of the target resource,
302
308
  # when the field-value is `*`, or having a current representation of the
@@ -320,6 +326,7 @@ module OCI
320
326
  path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
321
327
  operation_signing_strategy = :standard
322
328
 
329
+ # rubocop:disable Style/NegatedIf
323
330
  # Query Params
324
331
  query_params = {}
325
332
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -330,6 +337,7 @@ module OCI
330
337
  header_params['content-type'] = 'application/json'
331
338
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
332
339
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
340
+ # rubocop:enable Style/NegatedIf
333
341
 
334
342
  post_body = nil
335
343
 
@@ -364,7 +372,7 @@ module OCI
364
372
  # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
365
373
  # @param [Hash] opts the optional parameters
366
374
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
367
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
375
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
368
376
  # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
369
377
  # the absence of any current representation of the target resource, when
370
378
  # the field-value is `*`, or having a selected representation with an
@@ -409,6 +417,7 @@ module OCI
409
417
  path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
410
418
  operation_signing_strategy = :standard
411
419
 
420
+ # rubocop:disable Style/NegatedIf
412
421
  # Query Params
413
422
  query_params = {}
414
423
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -425,6 +434,7 @@ module OCI
425
434
  header_params['content-type'] = 'application/json'
426
435
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
427
436
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
437
+ # rubocop:enable Style/NegatedIf
428
438
 
429
439
  post_body = nil
430
440
 
@@ -460,7 +470,7 @@ module OCI
460
470
  # @param [String] rtype The type of the target RRSet within the target zone.
461
471
  # @param [Hash] opts the optional parameters
462
472
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
463
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
473
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
464
474
  # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
465
475
  # the absence of any current representation of the target resource, when
466
476
  # the field-value is `*`, or having a selected representation with an
@@ -492,6 +502,7 @@ module OCI
492
502
  path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
493
503
  operation_signing_strategy = :standard
494
504
 
505
+ # rubocop:disable Style/NegatedIf
495
506
  # Query Params
496
507
  query_params = {}
497
508
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -505,6 +516,7 @@ module OCI
505
516
  header_params['content-type'] = 'application/json'
506
517
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
507
518
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
519
+ # rubocop:enable Style/NegatedIf
508
520
 
509
521
  post_body = nil
510
522
 
@@ -538,7 +550,7 @@ module OCI
538
550
  # @param [String] zone_name_or_id The name or OCID of the target zone.
539
551
  # @param [Hash] opts the optional parameters
540
552
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
541
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
553
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
542
554
  # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
543
555
  # the absence of any current representation of the target resource, when
544
556
  # the field-value is `*`, or having a selected representation with an
@@ -560,6 +572,7 @@ module OCI
560
572
  path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
561
573
  operation_signing_strategy = :standard
562
574
 
575
+ # rubocop:disable Style/NegatedIf
563
576
  # Query Params
564
577
  query_params = {}
565
578
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -570,6 +583,7 @@ module OCI
570
583
  header_params['content-type'] = 'application/json'
571
584
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
572
585
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
586
+ # rubocop:enable Style/NegatedIf
573
587
 
574
588
  post_body = nil
575
589
 
@@ -604,7 +618,7 @@ module OCI
604
618
  # @param [String] zone_name_or_id The name or OCID of the target zone.
605
619
  # @param [Hash] opts the optional parameters
606
620
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
607
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
621
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
608
622
  # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
609
623
  # the absence of any current representation of the target resource, when
610
624
  # the field-value is `*`, or having a selected representation with an
@@ -653,6 +667,7 @@ module OCI
653
667
  path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
654
668
  operation_signing_strategy = :standard
655
669
 
670
+ # rubocop:disable Style/NegatedIf
656
671
  # Query Params
657
672
  query_params = {}
658
673
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -671,6 +686,7 @@ module OCI
671
686
  header_params['content-type'] = 'application/json'
672
687
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
673
688
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
689
+ # rubocop:enable Style/NegatedIf
674
690
 
675
691
  post_body = nil
676
692
 
@@ -704,7 +720,7 @@ module OCI
704
720
  # @param [String] compartment_id The OCID of the compartment the resource belongs to.
705
721
  # @param [Hash] opts the optional parameters
706
722
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
707
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
723
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
708
724
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
709
725
  # (default to 50)
710
726
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
@@ -756,6 +772,7 @@ module OCI
756
772
  path = '/zones'
757
773
  operation_signing_strategy = :standard
758
774
 
775
+ # rubocop:disable Style/NegatedIf
759
776
  # Query Params
760
777
  query_params = {}
761
778
  query_params[:compartmentId] = compartment_id
@@ -774,6 +791,7 @@ module OCI
774
791
  header_params = {}
775
792
  header_params['accept'] = 'application/json'
776
793
  header_params['content-type'] = 'application/json'
794
+ # rubocop:enable Style/NegatedIf
777
795
 
778
796
  post_body = nil
779
797
 
@@ -807,7 +825,7 @@ module OCI
807
825
  # @param [OCI::Dns::Models::PatchDomainRecordsDetails] patch_domain_records_details Operations describing how to modify the collection of records.
808
826
  # @param [Hash] opts the optional parameters
809
827
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
810
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
828
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
811
829
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
812
830
  # existence of at least one current representation of the target resource,
813
831
  # when the field-value is `*`, or having a current representation of the
@@ -834,6 +852,7 @@ module OCI
834
852
  path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
835
853
  operation_signing_strategy = :standard
836
854
 
855
+ # rubocop:disable Style/NegatedIf
837
856
  # Query Params
838
857
  query_params = {}
839
858
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -844,6 +863,7 @@ module OCI
844
863
  header_params['content-type'] = 'application/json'
845
864
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
846
865
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
866
+ # rubocop:enable Style/NegatedIf
847
867
 
848
868
  post_body = @api_client.object_to_http_body(patch_domain_records_details)
849
869
 
@@ -878,7 +898,7 @@ module OCI
878
898
  # @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
879
899
  # @param [Hash] opts the optional parameters
880
900
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
881
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
901
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
882
902
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
883
903
  # existence of at least one current representation of the target resource,
884
904
  # when the field-value is `*`, or having a current representation of the
@@ -907,6 +927,7 @@ module OCI
907
927
  path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
908
928
  operation_signing_strategy = :standard
909
929
 
930
+ # rubocop:disable Style/NegatedIf
910
931
  # Query Params
911
932
  query_params = {}
912
933
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -917,6 +938,7 @@ module OCI
917
938
  header_params['content-type'] = 'application/json'
918
939
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
919
940
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
941
+ # rubocop:enable Style/NegatedIf
920
942
 
921
943
  post_body = @api_client.object_to_http_body(patch_rr_set_details)
922
944
 
@@ -954,7 +976,7 @@ module OCI
954
976
  #
955
977
  # @param [Hash] opts the optional parameters
956
978
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
957
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
979
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
958
980
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
959
981
  # existence of at least one current representation of the target resource,
960
982
  # when the field-value is `*`, or having a current representation of the
@@ -979,6 +1001,7 @@ module OCI
979
1001
  path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
980
1002
  operation_signing_strategy = :standard
981
1003
 
1004
+ # rubocop:disable Style/NegatedIf
982
1005
  # Query Params
983
1006
  query_params = {}
984
1007
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -989,6 +1012,7 @@ module OCI
989
1012
  header_params['content-type'] = 'application/json'
990
1013
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
991
1014
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1015
+ # rubocop:enable Style/NegatedIf
992
1016
 
993
1017
  post_body = @api_client.object_to_http_body(patch_zone_records_details)
994
1018
 
@@ -1028,7 +1052,7 @@ module OCI
1028
1052
  # @param [OCI::Dns::Models::UpdateDomainRecordsDetails] update_domain_records_details A full list of records for the domain.
1029
1053
  # @param [Hash] opts the optional parameters
1030
1054
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1031
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1055
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1032
1056
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1033
1057
  # existence of at least one current representation of the target resource,
1034
1058
  # when the field-value is `*`, or having a current representation of the
@@ -1055,6 +1079,7 @@ module OCI
1055
1079
  path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
1056
1080
  operation_signing_strategy = :standard
1057
1081
 
1082
+ # rubocop:disable Style/NegatedIf
1058
1083
  # Query Params
1059
1084
  query_params = {}
1060
1085
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -1065,6 +1090,7 @@ module OCI
1065
1090
  header_params['content-type'] = 'application/json'
1066
1091
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1067
1092
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1093
+ # rubocop:enable Style/NegatedIf
1068
1094
 
1069
1095
  post_body = @api_client.object_to_http_body(update_domain_records_details)
1070
1096
 
@@ -1099,7 +1125,7 @@ module OCI
1099
1125
  # @param [OCI::Dns::Models::UpdateRRSetDetails] update_rr_set_details A full list of records for the RRSet.
1100
1126
  # @param [Hash] opts the optional parameters
1101
1127
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1102
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1128
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1103
1129
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1104
1130
  # existence of at least one current representation of the target resource,
1105
1131
  # when the field-value is `*`, or having a current representation of the
@@ -1128,6 +1154,7 @@ module OCI
1128
1154
  path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
1129
1155
  operation_signing_strategy = :standard
1130
1156
 
1157
+ # rubocop:disable Style/NegatedIf
1131
1158
  # Query Params
1132
1159
  query_params = {}
1133
1160
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -1138,6 +1165,7 @@ module OCI
1138
1165
  header_params['content-type'] = 'application/json'
1139
1166
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1140
1167
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1168
+ # rubocop:enable Style/NegatedIf
1141
1169
 
1142
1170
  post_body = @api_client.object_to_http_body(update_rr_set_details)
1143
1171
 
@@ -1173,7 +1201,7 @@ module OCI
1173
1201
  # @param [OCI::Dns::Models::UpdateZoneDetails] update_zone_details New data for the zone.
1174
1202
  # @param [Hash] opts the optional parameters
1175
1203
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1176
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1204
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1177
1205
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1178
1206
  # existence of at least one current representation of the target resource,
1179
1207
  # when the field-value is `*`, or having a current representation of the
@@ -1198,6 +1226,7 @@ module OCI
1198
1226
  path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
1199
1227
  operation_signing_strategy = :standard
1200
1228
 
1229
+ # rubocop:disable Style/NegatedIf
1201
1230
  # Query Params
1202
1231
  query_params = {}
1203
1232
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -1208,6 +1237,7 @@ module OCI
1208
1237
  header_params['content-type'] = 'application/json'
1209
1238
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1210
1239
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1240
+ # rubocop:enable Style/NegatedIf
1211
1241
 
1212
1242
  post_body = @api_client.object_to_http_body(update_zone_details)
1213
1243
 
@@ -1245,7 +1275,7 @@ module OCI
1245
1275
  # @param [OCI::Dns::Models::UpdateZoneRecordsDetails] update_zone_records_details A full list of records for the zone.
1246
1276
  # @param [Hash] opts the optional parameters
1247
1277
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1248
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1278
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1249
1279
  # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1250
1280
  # existence of at least one current representation of the target resource,
1251
1281
  # when the field-value is `*`, or having a current representation of the
@@ -1270,6 +1300,7 @@ module OCI
1270
1300
  path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
1271
1301
  operation_signing_strategy = :standard
1272
1302
 
1303
+ # rubocop:disable Style/NegatedIf
1273
1304
  # Query Params
1274
1305
  query_params = {}
1275
1306
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
@@ -1280,6 +1311,7 @@ module OCI
1280
1311
  header_params['content-type'] = 'application/json'
1281
1312
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1282
1313
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1314
+ # rubocop:enable Style/NegatedIf
1283
1315
 
1284
1316
  post_body = @api_client.object_to_http_body(update_zone_records_details)
1285
1317
 
@@ -104,7 +104,7 @@ module OCI
104
104
  # @param [OCI::Email::Models::CreateSenderDetails] create_sender_details Create a sender.
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
107
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
107
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
108
108
  # @return [Response] A Response object with data of type {OCI::Email::Models::Sender Sender}
109
109
  def create_sender(create_sender_details, opts = {})
110
110
  logger.debug 'Calling operation EmailClient#create_sender.' if logger
@@ -114,6 +114,7 @@ module OCI
114
114
  path = '/senders'
115
115
  operation_signing_strategy = :standard
116
116
 
117
+ # rubocop:disable Style/NegatedIf
117
118
  # Query Params
118
119
  query_params = {}
119
120
 
@@ -121,6 +122,7 @@ module OCI
121
122
  header_params = {}
122
123
  header_params['accept'] = 'application/json'
123
124
  header_params['content-type'] = 'application/json'
125
+ # rubocop:enable Style/NegatedIf
124
126
 
125
127
  post_body = @api_client.object_to_http_body(create_sender_details)
126
128
 
@@ -156,7 +158,7 @@ module OCI
156
158
  #
157
159
  # @param [Hash] opts the optional parameters
158
160
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
159
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
161
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
160
162
  # @return [Response] A Response object with data of type {OCI::Email::Models::Suppression Suppression}
161
163
  def create_suppression(create_suppression_details, opts = {})
162
164
  logger.debug 'Calling operation EmailClient#create_suppression.' if logger
@@ -166,6 +168,7 @@ module OCI
166
168
  path = '/suppressions'
167
169
  operation_signing_strategy = :standard
168
170
 
171
+ # rubocop:disable Style/NegatedIf
169
172
  # Query Params
170
173
  query_params = {}
171
174
 
@@ -173,6 +176,7 @@ module OCI
173
176
  header_params = {}
174
177
  header_params['accept'] = 'application/json'
175
178
  header_params['content-type'] = 'application/json'
179
+ # rubocop:enable Style/NegatedIf
176
180
 
177
181
  post_body = @api_client.object_to_http_body(create_suppression_details)
178
182
 
@@ -208,7 +212,7 @@ module OCI
208
212
  # @param [String] sender_id The unique OCID of the sender.
209
213
  # @param [Hash] opts the optional parameters
210
214
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
211
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
215
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
212
216
  # @return [Response] A Response object with data of type nil
213
217
  def delete_sender(sender_id, opts = {})
214
218
  logger.debug 'Calling operation EmailClient#delete_sender.' if logger
@@ -219,6 +223,7 @@ module OCI
219
223
  path = '/senders/{senderId}'.sub('{senderId}', sender_id.to_s)
220
224
  operation_signing_strategy = :standard
221
225
 
226
+ # rubocop:disable Style/NegatedIf
222
227
  # Query Params
223
228
  query_params = {}
224
229
 
@@ -226,6 +231,7 @@ module OCI
226
231
  header_params = {}
227
232
  header_params['accept'] = 'application/json'
228
233
  header_params['content-type'] = 'application/json'
234
+ # rubocop:enable Style/NegatedIf
229
235
 
230
236
  post_body = nil
231
237
 
@@ -260,7 +266,7 @@ module OCI
260
266
  # @param [String] suppression_id The unique OCID of the suppression.
261
267
  # @param [Hash] opts the optional parameters
262
268
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
263
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
269
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
264
270
  # @return [Response] A Response object with data of type nil
265
271
  def delete_suppression(suppression_id, opts = {})
266
272
  logger.debug 'Calling operation EmailClient#delete_suppression.' if logger
@@ -271,6 +277,7 @@ module OCI
271
277
  path = '/suppressions/{suppressionId}'.sub('{suppressionId}', suppression_id.to_s)
272
278
  operation_signing_strategy = :standard
273
279
 
280
+ # rubocop:disable Style/NegatedIf
274
281
  # Query Params
275
282
  query_params = {}
276
283
 
@@ -278,6 +285,7 @@ module OCI
278
285
  header_params = {}
279
286
  header_params['accept'] = 'application/json'
280
287
  header_params['content-type'] = 'application/json'
288
+ # rubocop:enable Style/NegatedIf
281
289
 
282
290
  post_body = nil
283
291
 
@@ -310,7 +318,7 @@ module OCI
310
318
  # @param [String] sender_id The unique OCID of the sender.
311
319
  # @param [Hash] opts the optional parameters
312
320
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
313
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
321
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
314
322
  # @return [Response] A Response object with data of type {OCI::Email::Models::Sender Sender}
315
323
  def get_sender(sender_id, opts = {})
316
324
  logger.debug 'Calling operation EmailClient#get_sender.' if logger
@@ -321,6 +329,7 @@ module OCI
321
329
  path = '/senders/{senderId}'.sub('{senderId}', sender_id.to_s)
322
330
  operation_signing_strategy = :standard
323
331
 
332
+ # rubocop:disable Style/NegatedIf
324
333
  # Query Params
325
334
  query_params = {}
326
335
 
@@ -328,6 +337,7 @@ module OCI
328
337
  header_params = {}
329
338
  header_params['accept'] = 'application/json'
330
339
  header_params['content-type'] = 'application/json'
340
+ # rubocop:enable Style/NegatedIf
331
341
 
332
342
  post_body = nil
333
343
 
@@ -363,7 +373,7 @@ module OCI
363
373
  # @param [String] suppression_id The unique OCID of the suppression.
364
374
  # @param [Hash] opts the optional parameters
365
375
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
366
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
376
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
367
377
  # @return [Response] A Response object with data of type {OCI::Email::Models::Suppression Suppression}
368
378
  def get_suppression(suppression_id, opts = {})
369
379
  logger.debug 'Calling operation EmailClient#get_suppression.' if logger
@@ -374,6 +384,7 @@ module OCI
374
384
  path = '/suppressions/{suppressionId}'.sub('{suppressionId}', suppression_id.to_s)
375
385
  operation_signing_strategy = :standard
376
386
 
387
+ # rubocop:disable Style/NegatedIf
377
388
  # Query Params
378
389
  query_params = {}
379
390
 
@@ -381,6 +392,7 @@ module OCI
381
392
  header_params = {}
382
393
  header_params['accept'] = 'application/json'
383
394
  header_params['content-type'] = 'application/json'
395
+ # rubocop:enable Style/NegatedIf
384
396
 
385
397
  post_body = nil
386
398
 
@@ -414,7 +426,7 @@ module OCI
414
426
  # @param [String] compartment_id The OCID for the compartment.
415
427
  # @param [Hash] opts the optional parameters
416
428
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
417
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
429
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
418
430
  # @option opts [String] :lifecycle_state The current state of a sender.
419
431
  # @option opts [String] :email_address The email address of the approved sender.
420
432
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous
@@ -452,6 +464,7 @@ module OCI
452
464
  path = '/senders'
453
465
  operation_signing_strategy = :standard
454
466
 
467
+ # rubocop:disable Style/NegatedIf
455
468
  # Query Params
456
469
  query_params = {}
457
470
  query_params[:compartmentId] = compartment_id
@@ -466,6 +479,7 @@ module OCI
466
479
  header_params = {}
467
480
  header_params['accept'] = 'application/json'
468
481
  header_params['content-type'] = 'application/json'
482
+ # rubocop:enable Style/NegatedIf
469
483
 
470
484
  post_body = nil
471
485
 
@@ -500,7 +514,7 @@ module OCI
500
514
  # @param [String] compartment_id The OCID for the compartment.
501
515
  # @param [Hash] opts the optional parameters
502
516
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
503
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
517
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
504
518
  # @option opts [String] :email_address The email address of the suppression.
505
519
  # @option opts [DateTime] :time_created_greater_than_or_equal_to Search for suppressions that were created within a specific date range,
506
520
  # using this parameter to specify the earliest creation date for the
@@ -551,6 +565,7 @@ module OCI
551
565
  path = '/suppressions'
552
566
  operation_signing_strategy = :standard
553
567
 
568
+ # rubocop:disable Style/NegatedIf
554
569
  # Query Params
555
570
  query_params = {}
556
571
  query_params[:compartmentId] = compartment_id
@@ -566,6 +581,7 @@ module OCI
566
581
  header_params = {}
567
582
  header_params['accept'] = 'application/json'
568
583
  header_params['content-type'] = 'application/json'
584
+ # rubocop:enable Style/NegatedIf
569
585
 
570
586
  post_body = nil
571
587