oci 2.3.6 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -10
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/api_client.rb +2 -2
  5. data/lib/oci/audit/audit_client.rb +11 -9
  6. data/lib/oci/base_signer.rb +13 -13
  7. data/lib/oci/container_engine/container_engine_client.rb +43 -39
  8. data/lib/oci/container_engine/models/node_error.rb +1 -1
  9. data/lib/oci/container_engine/models/work_request_error.rb +1 -1
  10. data/lib/oci/core/blockstorage_client.rb +421 -75
  11. data/lib/oci/core/compute_client.rb +77 -75
  12. data/lib/oci/core/compute_client_composite_operations.rb +40 -0
  13. data/lib/oci/core/core.rb +4 -0
  14. data/lib/oci/core/models/boot_volume.rb +18 -4
  15. data/lib/oci/core/models/boot_volume_kms_key.rb +152 -0
  16. data/lib/oci/core/models/create_boot_volume_details.rb +15 -1
  17. data/lib/oci/core/models/create_image_details.rb +2 -0
  18. data/lib/oci/core/models/create_volume_details.rb +15 -1
  19. data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
  20. data/lib/oci/core/models/image.rb +2 -0
  21. data/lib/oci/core/models/instance.rb +2 -0
  22. data/lib/oci/core/models/instance_source_via_image_details.rb +18 -4
  23. data/lib/oci/core/models/launch_options.rb +2 -0
  24. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +154 -0
  25. data/lib/oci/core/models/update_volume_kms_key_details.rb +154 -0
  26. data/lib/oci/core/models/volume.rb +15 -1
  27. data/lib/oci/core/models/volume_kms_key.rb +152 -0
  28. data/lib/oci/core/virtual_network_client.rb +233 -231
  29. data/lib/oci/core/virtual_network_client_composite_operations.rb +80 -0
  30. data/lib/oci/database/database_client.rb +123 -121
  31. data/lib/oci/database/database_client_composite_operations.rb +399 -0
  32. data/lib/oci/database/models/patch.rb +1 -1
  33. data/lib/oci/database/models/patch_summary.rb +1 -1
  34. data/lib/oci/dns/dns_client.rb +38 -36
  35. data/lib/oci/email/email_client.rb +21 -19
  36. data/lib/oci/email/models/sender.rb +1 -1
  37. data/lib/oci/email/models/suppression.rb +1 -1
  38. data/lib/oci/file_storage/file_storage_client.rb +49 -47
  39. data/lib/oci/identity/identity_client.rb +151 -149
  40. data/lib/oci/identity/identity_client_composite_operations.rb +40 -0
  41. data/lib/oci/key_management/key_management.rb +40 -0
  42. data/lib/oci/key_management/kms_crypto_client.rb +258 -0
  43. data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +24 -0
  44. data/lib/oci/key_management/kms_management_client.rb +716 -0
  45. data/lib/oci/key_management/kms_management_client_composite_operations.rb +181 -0
  46. data/lib/oci/key_management/kms_vault_client.rb +533 -0
  47. data/lib/oci/key_management/kms_vault_client_composite_operations.rb +182 -0
  48. data/lib/oci/key_management/models/create_key_details.rb +180 -0
  49. data/lib/oci/key_management/models/create_vault_details.rb +194 -0
  50. data/lib/oci/key_management/models/decrypt_data_details.rb +177 -0
  51. data/lib/oci/key_management/models/decrypted_data.rb +160 -0
  52. data/lib/oci/key_management/models/encrypt_data_details.rb +177 -0
  53. data/lib/oci/key_management/models/encrypted_data.rb +146 -0
  54. data/lib/oci/key_management/models/generate_key_details.rb +195 -0
  55. data/lib/oci/key_management/models/generated_key.rb +177 -0
  56. data/lib/oci/key_management/models/key.rb +318 -0
  57. data/lib/oci/key_management/models/key_shape.rb +178 -0
  58. data/lib/oci/key_management/models/key_summary.rb +287 -0
  59. data/lib/oci/key_management/models/key_version.rb +205 -0
  60. data/lib/oci/key_management/models/key_version_summary.rb +205 -0
  61. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +153 -0
  62. data/lib/oci/key_management/models/update_key_details.rb +152 -0
  63. data/lib/oci/key_management/models/update_vault_details.rb +152 -0
  64. data/lib/oci/key_management/models/vault.rb +350 -0
  65. data/lib/oci/key_management/models/vault_summary.rb +334 -0
  66. data/lib/oci/key_management/util.rb +2 -0
  67. data/lib/oci/load_balancer/load_balancer_client.rb +89 -87
  68. data/lib/oci/object_storage/models/bucket.rb +18 -4
  69. data/lib/oci/object_storage/models/create_bucket_details.rb +18 -4
  70. data/lib/oci/object_storage/models/multipart_upload.rb +1 -1
  71. data/lib/oci/object_storage/models/preauthenticated_request.rb +1 -1
  72. data/lib/oci/object_storage/models/update_bucket_details.rb +22 -4
  73. data/lib/oci/object_storage/object_storage_client.rb +63 -58
  74. data/lib/oci/resource_search/resource_search_client.rb +11 -9
  75. data/lib/oci/version.rb +1 -1
  76. metadata +32 -2
@@ -0,0 +1,334 @@
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+ require 'logger'
5
+
6
+ # rubocop:disable Lint/UnneededCopDisableDirective
7
+ module OCI
8
+ # VaultSummary model.
9
+ class KeyManagement::Models::VaultSummary # rubocop:disable Metrics/LineLength
10
+ LIFECYCLE_STATE_ENUM = [
11
+ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
12
+ LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
13
+ LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
14
+ LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
15
+ LIFECYCLE_STATE_PENDING_DELETION = 'PENDING_DELETION'.freeze,
16
+ LIFECYCLE_STATE_SCHEDULING_DELETION = 'SCHEDULING_DELETION'.freeze,
17
+ LIFECYCLE_STATE_CANCELLING_DELETION = 'CANCELLING_DELETION'.freeze,
18
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
19
+ ].freeze
20
+
21
+ VAULT_TYPE_ENUM = [
22
+ VAULT_TYPE_VIRTUAL_PRIVATE = 'VIRTUAL_PRIVATE'.freeze,
23
+ VAULT_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
24
+ ].freeze
25
+
26
+ # **[Required]** The OCID of the compartment that contains this vault.
27
+ # @return [String]
28
+ attr_accessor :compartment_id
29
+
30
+ # **[Required]** The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations.
31
+ #
32
+ # @return [String]
33
+ attr_accessor :crypto_endpoint
34
+
35
+ # Usage of predefined tag keys. These predefined keys are scoped to namespaces.
36
+ # Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
37
+ #
38
+ # @return [Hash<String, Hash<String, Object>>]
39
+ attr_accessor :defined_tags
40
+
41
+ # **[Required]** A user-friendly name for a vault. It does not have to be unique, and it is changeable.
42
+ # Avoid entering confidential information.
43
+ #
44
+ # @return [String]
45
+ attr_accessor :display_name
46
+
47
+ # Simple key-value pair that is applied without any predefined name, type, or scope.
48
+ # Exists for cross-compatibility only.
49
+ # Example: `{\"bar-key\": \"value\"}`
50
+ #
51
+ # @return [Hash<String, String>]
52
+ attr_accessor :freeform_tags
53
+
54
+ # **[Required]** The OCID of a vault.
55
+ # @return [String]
56
+ attr_accessor :id
57
+
58
+ # **[Required]** A vault's current state.
59
+ #
60
+ # Example: `ACTIVE`
61
+ #
62
+ # @return [String]
63
+ attr_reader :lifecycle_state
64
+
65
+ # **[Required]** The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations.
66
+ #
67
+ # @return [String]
68
+ attr_accessor :management_endpoint
69
+
70
+ # **[Required]** The date and time a vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
71
+ #
72
+ # Example: `2018-04-03T21:10:29.600Z`
73
+ #
74
+ # @return [DateTime]
75
+ attr_accessor :time_created
76
+
77
+ # **[Required]** The type of vault. Each type of vault stores keys with different degrees of isolation and has different options and pricing.
78
+ # @return [String]
79
+ attr_reader :vault_type
80
+
81
+ # Attribute mapping from ruby-style variable name to JSON key.
82
+ def self.attribute_map
83
+ {
84
+ # rubocop:disable Style/SymbolLiteral
85
+ 'compartment_id': :'compartmentId',
86
+ 'crypto_endpoint': :'cryptoEndpoint',
87
+ 'defined_tags': :'definedTags',
88
+ 'display_name': :'displayName',
89
+ 'freeform_tags': :'freeformTags',
90
+ 'id': :'id',
91
+ 'lifecycle_state': :'lifecycleState',
92
+ 'management_endpoint': :'managementEndpoint',
93
+ 'time_created': :'timeCreated',
94
+ 'vault_type': :'vaultType'
95
+ # rubocop:enable Style/SymbolLiteral
96
+ }
97
+ end
98
+
99
+ # Attribute type mapping.
100
+ def self.swagger_types
101
+ {
102
+ # rubocop:disable Style/SymbolLiteral
103
+ 'compartment_id': :'String',
104
+ 'crypto_endpoint': :'String',
105
+ 'defined_tags': :'Hash<String, Hash<String, Object>>',
106
+ 'display_name': :'String',
107
+ 'freeform_tags': :'Hash<String, String>',
108
+ 'id': :'String',
109
+ 'lifecycle_state': :'String',
110
+ 'management_endpoint': :'String',
111
+ 'time_created': :'DateTime',
112
+ 'vault_type': :'String'
113
+ # rubocop:enable Style/SymbolLiteral
114
+ }
115
+ end
116
+
117
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
118
+ # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
119
+
120
+
121
+ # Initializes the object
122
+ # @param [Hash] attributes Model attributes in the form of hash
123
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
124
+ # @option attributes [String] :crypto_endpoint The value to assign to the {#crypto_endpoint} property
125
+ # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
126
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
127
+ # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
128
+ # @option attributes [String] :id The value to assign to the {#id} property
129
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
130
+ # @option attributes [String] :management_endpoint The value to assign to the {#management_endpoint} property
131
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
132
+ # @option attributes [String] :vault_type The value to assign to the {#vault_type} property
133
+ def initialize(attributes = {})
134
+ return unless attributes.is_a?(Hash)
135
+
136
+ # convert string to symbol for hash key
137
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
138
+
139
+ self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
140
+
141
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
142
+
143
+ self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
144
+
145
+ self.crypto_endpoint = attributes[:'cryptoEndpoint'] if attributes[:'cryptoEndpoint']
146
+
147
+ raise 'You cannot provide both :cryptoEndpoint and :crypto_endpoint' if attributes.key?(:'cryptoEndpoint') && attributes.key?(:'crypto_endpoint')
148
+
149
+ self.crypto_endpoint = attributes[:'crypto_endpoint'] if attributes[:'crypto_endpoint']
150
+
151
+ self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
152
+
153
+ raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
154
+
155
+ self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
156
+
157
+ self.display_name = attributes[:'displayName'] if attributes[:'displayName']
158
+
159
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
160
+
161
+ self.display_name = attributes[:'display_name'] if attributes[:'display_name']
162
+
163
+ self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
164
+
165
+ raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
166
+
167
+ self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
168
+
169
+ self.id = attributes[:'id'] if attributes[:'id']
170
+
171
+ self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
172
+
173
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
174
+
175
+ self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
176
+
177
+ self.management_endpoint = attributes[:'managementEndpoint'] if attributes[:'managementEndpoint']
178
+
179
+ raise 'You cannot provide both :managementEndpoint and :management_endpoint' if attributes.key?(:'managementEndpoint') && attributes.key?(:'management_endpoint')
180
+
181
+ self.management_endpoint = attributes[:'management_endpoint'] if attributes[:'management_endpoint']
182
+
183
+ self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
184
+
185
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
186
+
187
+ self.time_created = attributes[:'time_created'] if attributes[:'time_created']
188
+
189
+ self.vault_type = attributes[:'vaultType'] if attributes[:'vaultType']
190
+
191
+ raise 'You cannot provide both :vaultType and :vault_type' if attributes.key?(:'vaultType') && attributes.key?(:'vault_type')
192
+
193
+ self.vault_type = attributes[:'vault_type'] if attributes[:'vault_type']
194
+ end
195
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
196
+ # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
197
+
198
+ # Custom attribute writer method checking allowed values (enum).
199
+ # @param [Object] lifecycle_state Object to be assigned
200
+ def lifecycle_state=(lifecycle_state)
201
+ # rubocop:disable Style/ConditionalAssignment
202
+ if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
203
+ # rubocop: disable Metrics/LineLength
204
+ OCI.logger.debug("Unknown value for 'lifecycle_state' [" + lifecycle_state + "]. Mapping to 'LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
205
+ # rubocop: enable Metrics/LineLength
206
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
207
+ else
208
+ @lifecycle_state = lifecycle_state
209
+ end
210
+ # rubocop:enable Style/ConditionalAssignment
211
+ end
212
+
213
+ # Custom attribute writer method checking allowed values (enum).
214
+ # @param [Object] vault_type Object to be assigned
215
+ def vault_type=(vault_type)
216
+ # rubocop:disable Style/ConditionalAssignment
217
+ if vault_type && !VAULT_TYPE_ENUM.include?(vault_type)
218
+ # rubocop: disable Metrics/LineLength
219
+ OCI.logger.debug("Unknown value for 'vault_type' [" + vault_type + "]. Mapping to 'VAULT_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
220
+ # rubocop: enable Metrics/LineLength
221
+ @vault_type = VAULT_TYPE_UNKNOWN_ENUM_VALUE
222
+ else
223
+ @vault_type = vault_type
224
+ end
225
+ # rubocop:enable Style/ConditionalAssignment
226
+ end
227
+
228
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
229
+
230
+
231
+ # Checks equality by comparing each attribute.
232
+ # @param [Object] other the other object to be compared
233
+ def ==(other)
234
+ return true if equal?(other)
235
+ self.class == other.class &&
236
+ compartment_id == other.compartment_id &&
237
+ crypto_endpoint == other.crypto_endpoint &&
238
+ defined_tags == other.defined_tags &&
239
+ display_name == other.display_name &&
240
+ freeform_tags == other.freeform_tags &&
241
+ id == other.id &&
242
+ lifecycle_state == other.lifecycle_state &&
243
+ management_endpoint == other.management_endpoint &&
244
+ time_created == other.time_created &&
245
+ vault_type == other.vault_type
246
+ end
247
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
248
+
249
+ # @see the `==` method
250
+ # @param [Object] other the other object to be compared
251
+ def eql?(other)
252
+ self == other
253
+ end
254
+
255
+ # rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
256
+
257
+
258
+ # Calculates hash code according to all attributes.
259
+ # @return [Fixnum] Hash code
260
+ def hash
261
+ [compartment_id, crypto_endpoint, defined_tags, display_name, freeform_tags, id, lifecycle_state, management_endpoint, time_created, vault_type].hash
262
+ end
263
+ # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
264
+
265
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
266
+
267
+
268
+ # Builds the object from hash
269
+ # @param [Hash] attributes Model attributes in the form of hash
270
+ # @return [Object] Returns the model itself
271
+ def build_from_hash(attributes)
272
+ return nil unless attributes.is_a?(Hash)
273
+ self.class.swagger_types.each_pair do |key, type|
274
+ if type =~ /^Array<(.*)>/i
275
+ # check to ensure the input is an array given that the the attribute
276
+ # is documented as an array but the input is not
277
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
278
+ public_method("#{key}=").call(
279
+ attributes[self.class.attribute_map[key]]
280
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
281
+ )
282
+ end
283
+ elsif !attributes[self.class.attribute_map[key]].nil?
284
+ public_method("#{key}=").call(
285
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
286
+ )
287
+ end
288
+ # or else data not found in attributes(hash), not an issue as the data can be optional
289
+ end
290
+
291
+ self
292
+ end
293
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
294
+
295
+ # Returns the string representation of the object
296
+ # @return [String] String presentation of the object
297
+ def to_s
298
+ to_hash.to_s
299
+ end
300
+
301
+ # Returns the object in the form of hash
302
+ # @return [Hash] Returns the object in the form of hash
303
+ def to_hash
304
+ hash = {}
305
+ self.class.attribute_map.each_pair do |attr, param|
306
+ value = public_method(attr).call
307
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
308
+ hash[param] = _to_hash(value)
309
+ end
310
+ hash
311
+ end
312
+
313
+ private
314
+
315
+ # Outputs non-array value in the form of hash
316
+ # For object, use to_hash. Otherwise, just return the value
317
+ # @param [Object] value Any valid value
318
+ # @return [Hash] Returns the value in the form of hash
319
+ def _to_hash(value)
320
+ if value.is_a?(Array)
321
+ value.compact.map { |v| _to_hash(v) }
322
+ elsif value.is_a?(Hash)
323
+ {}.tap do |hash|
324
+ value.each { |k, v| hash[k] = _to_hash(v) }
325
+ end
326
+ elsif value.respond_to? :to_hash
327
+ value.to_hash
328
+ else
329
+ value
330
+ end
331
+ end
332
+ end
333
+ end
334
+ # rubocop:enable Lint/UnneededCopDisableDirective
@@ -0,0 +1,2 @@
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
+
@@ -29,10 +29,12 @@ module OCI
29
29
 
30
30
 
31
31
  # Creates a new LoadBalancerClient.
32
- # If a config is not specified, then the global OCI.config will be used.
32
+ # Notes:
33
+ # If a config is not specified, then the global OCI.config will be used.
34
+ # This client is not thread-safe
33
35
  #
34
- # A region must be specified in either the config or the region parameter. If specified
35
- # in both, then the region parameter will be used.
36
+ # A region must be specified in either the config or the region parameter. If specified in both,
37
+ # then the region parameter will be used.
36
38
  #
37
39
  # @param [Config] config A Config object.
38
40
  # @param [String] region A region used to determine the service endpoint. This will usually
@@ -137,8 +139,8 @@ module OCI
137
139
 
138
140
  # Header Params
139
141
  header_params = {}
140
- header_params['accept'] = 'application/json'
141
- header_params['content-type'] = 'application/json'
142
+ header_params[:accept] = 'application/json'
143
+ header_params[:'content-type'] = 'application/json'
142
144
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
143
145
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
144
146
  # rubocop:enable Style/NegatedIf
@@ -201,8 +203,8 @@ module OCI
201
203
 
202
204
  # Header Params
203
205
  header_params = {}
204
- header_params['accept'] = 'application/json'
205
- header_params['content-type'] = 'application/json'
206
+ header_params[:accept] = 'application/json'
207
+ header_params[:'content-type'] = 'application/json'
206
208
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
207
209
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
208
210
  # rubocop:enable Style/NegatedIf
@@ -265,8 +267,8 @@ module OCI
265
267
 
266
268
  # Header Params
267
269
  header_params = {}
268
- header_params['accept'] = 'application/json'
269
- header_params['content-type'] = 'application/json'
270
+ header_params[:accept] = 'application/json'
271
+ header_params[:'content-type'] = 'application/json'
270
272
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
271
273
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
272
274
  # rubocop:enable Style/NegatedIf
@@ -331,8 +333,8 @@ module OCI
331
333
 
332
334
  # Header Params
333
335
  header_params = {}
334
- header_params['accept'] = 'application/json'
335
- header_params['content-type'] = 'application/json'
336
+ header_params[:accept] = 'application/json'
337
+ header_params[:'content-type'] = 'application/json'
336
338
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
337
339
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
338
340
  # rubocop:enable Style/NegatedIf
@@ -395,8 +397,8 @@ module OCI
395
397
 
396
398
  # Header Params
397
399
  header_params = {}
398
- header_params['accept'] = 'application/json'
399
- header_params['content-type'] = 'application/json'
400
+ header_params[:accept] = 'application/json'
401
+ header_params[:'content-type'] = 'application/json'
400
402
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
401
403
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
402
404
  # rubocop:enable Style/NegatedIf
@@ -483,8 +485,8 @@ module OCI
483
485
 
484
486
  # Header Params
485
487
  header_params = {}
486
- header_params['accept'] = 'application/json'
487
- header_params['content-type'] = 'application/json'
488
+ header_params[:accept] = 'application/json'
489
+ header_params[:'content-type'] = 'application/json'
488
490
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
489
491
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
490
492
  # rubocop:enable Style/NegatedIf
@@ -549,8 +551,8 @@ module OCI
549
551
 
550
552
  # Header Params
551
553
  header_params = {}
552
- header_params['accept'] = 'application/json'
553
- header_params['content-type'] = 'application/json'
554
+ header_params[:accept] = 'application/json'
555
+ header_params[:'content-type'] = 'application/json'
554
556
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
555
557
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
556
558
  # rubocop:enable Style/NegatedIf
@@ -617,8 +619,8 @@ module OCI
617
619
 
618
620
  # Header Params
619
621
  header_params = {}
620
- header_params['accept'] = 'application/json'
621
- header_params['content-type'] = 'application/json'
622
+ header_params[:accept] = 'application/json'
623
+ header_params[:'content-type'] = 'application/json'
622
624
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
623
625
  # rubocop:enable Style/NegatedIf
624
626
 
@@ -680,8 +682,8 @@ module OCI
680
682
 
681
683
  # Header Params
682
684
  header_params = {}
683
- header_params['accept'] = 'application/json'
684
- header_params['content-type'] = 'application/json'
685
+ header_params[:accept] = 'application/json'
686
+ header_params[:'content-type'] = 'application/json'
685
687
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
686
688
  # rubocop:enable Style/NegatedIf
687
689
 
@@ -742,8 +744,8 @@ module OCI
742
744
 
743
745
  # Header Params
744
746
  header_params = {}
745
- header_params['accept'] = 'application/json'
746
- header_params['content-type'] = 'application/json'
747
+ header_params[:accept] = 'application/json'
748
+ header_params[:'content-type'] = 'application/json'
747
749
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
748
750
  # rubocop:enable Style/NegatedIf
749
751
 
@@ -803,8 +805,8 @@ module OCI
803
805
 
804
806
  # Header Params
805
807
  header_params = {}
806
- header_params['accept'] = 'application/json'
807
- header_params['content-type'] = 'application/json'
808
+ header_params[:accept] = 'application/json'
809
+ header_params[:'content-type'] = 'application/json'
808
810
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
809
811
  # rubocop:enable Style/NegatedIf
810
812
 
@@ -863,8 +865,8 @@ module OCI
863
865
 
864
866
  # Header Params
865
867
  header_params = {}
866
- header_params['accept'] = 'application/json'
867
- header_params['content-type'] = 'application/json'
868
+ header_params[:accept] = 'application/json'
869
+ header_params[:'content-type'] = 'application/json'
868
870
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
869
871
  # rubocop:enable Style/NegatedIf
870
872
 
@@ -917,8 +919,8 @@ module OCI
917
919
 
918
920
  # Header Params
919
921
  header_params = {}
920
- header_params['accept'] = 'application/json'
921
- header_params['content-type'] = 'application/json'
922
+ header_params[:accept] = 'application/json'
923
+ header_params[:'content-type'] = 'application/json'
922
924
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
923
925
  # rubocop:enable Style/NegatedIf
924
926
 
@@ -981,8 +983,8 @@ module OCI
981
983
 
982
984
  # Header Params
983
985
  header_params = {}
984
- header_params['accept'] = 'application/json'
985
- header_params['content-type'] = 'application/json'
986
+ header_params[:accept] = 'application/json'
987
+ header_params[:'content-type'] = 'application/json'
986
988
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
987
989
  # rubocop:enable Style/NegatedIf
988
990
 
@@ -1047,8 +1049,8 @@ module OCI
1047
1049
 
1048
1050
  # Header Params
1049
1051
  header_params = {}
1050
- header_params['accept'] = 'application/json'
1051
- header_params['content-type'] = 'application/json'
1052
+ header_params[:accept] = 'application/json'
1053
+ header_params[:'content-type'] = 'application/json'
1052
1054
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1053
1055
  # rubocop:enable Style/NegatedIf
1054
1056
 
@@ -1114,8 +1116,8 @@ module OCI
1114
1116
 
1115
1117
  # Header Params
1116
1118
  header_params = {}
1117
- header_params['accept'] = 'application/json'
1118
- header_params['content-type'] = 'application/json'
1119
+ header_params[:accept] = 'application/json'
1120
+ header_params[:'content-type'] = 'application/json'
1119
1121
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1120
1122
  # rubocop:enable Style/NegatedIf
1121
1123
 
@@ -1175,8 +1177,8 @@ module OCI
1175
1177
 
1176
1178
  # Header Params
1177
1179
  header_params = {}
1178
- header_params['accept'] = 'application/json'
1179
- header_params['content-type'] = 'application/json'
1180
+ header_params[:accept] = 'application/json'
1181
+ header_params[:'content-type'] = 'application/json'
1180
1182
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1181
1183
  # rubocop:enable Style/NegatedIf
1182
1184
 
@@ -1236,8 +1238,8 @@ module OCI
1236
1238
 
1237
1239
  # Header Params
1238
1240
  header_params = {}
1239
- header_params['accept'] = 'application/json'
1240
- header_params['content-type'] = 'application/json'
1241
+ header_params[:accept] = 'application/json'
1242
+ header_params[:'content-type'] = 'application/json'
1241
1243
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1242
1244
  # rubocop:enable Style/NegatedIf
1243
1245
 
@@ -1297,8 +1299,8 @@ module OCI
1297
1299
 
1298
1300
  # Header Params
1299
1301
  header_params = {}
1300
- header_params['accept'] = 'application/json'
1301
- header_params['content-type'] = 'application/json'
1302
+ header_params[:accept] = 'application/json'
1303
+ header_params[:'content-type'] = 'application/json'
1302
1304
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1303
1305
  # rubocop:enable Style/NegatedIf
1304
1306
 
@@ -1358,8 +1360,8 @@ module OCI
1358
1360
 
1359
1361
  # Header Params
1360
1362
  header_params = {}
1361
- header_params['accept'] = 'application/json'
1362
- header_params['content-type'] = 'application/json'
1363
+ header_params[:accept] = 'application/json'
1364
+ header_params[:'content-type'] = 'application/json'
1363
1365
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1364
1366
  # rubocop:enable Style/NegatedIf
1365
1367
 
@@ -1413,8 +1415,8 @@ module OCI
1413
1415
 
1414
1416
  # Header Params
1415
1417
  header_params = {}
1416
- header_params['accept'] = 'application/json'
1417
- header_params['content-type'] = 'application/json'
1418
+ header_params[:accept] = 'application/json'
1419
+ header_params[:'content-type'] = 'application/json'
1418
1420
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1419
1421
  # rubocop:enable Style/NegatedIf
1420
1422
 
@@ -1468,8 +1470,8 @@ module OCI
1468
1470
 
1469
1471
  # Header Params
1470
1472
  header_params = {}
1471
- header_params['accept'] = 'application/json'
1472
- header_params['content-type'] = 'application/json'
1473
+ header_params[:accept] = 'application/json'
1474
+ header_params[:'content-type'] = 'application/json'
1473
1475
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1474
1476
  # rubocop:enable Style/NegatedIf
1475
1477
 
@@ -1529,8 +1531,8 @@ module OCI
1529
1531
 
1530
1532
  # Header Params
1531
1533
  header_params = {}
1532
- header_params['accept'] = 'application/json'
1533
- header_params['content-type'] = 'application/json'
1534
+ header_params[:accept] = 'application/json'
1535
+ header_params[:'content-type'] = 'application/json'
1534
1536
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1535
1537
  # rubocop:enable Style/NegatedIf
1536
1538
 
@@ -1584,8 +1586,8 @@ module OCI
1584
1586
 
1585
1587
  # Header Params
1586
1588
  header_params = {}
1587
- header_params['accept'] = 'application/json'
1588
- header_params['content-type'] = 'application/json'
1589
+ header_params[:accept] = 'application/json'
1590
+ header_params[:'content-type'] = 'application/json'
1589
1591
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1590
1592
  # rubocop:enable Style/NegatedIf
1591
1593
 
@@ -1639,8 +1641,8 @@ module OCI
1639
1641
 
1640
1642
  # Header Params
1641
1643
  header_params = {}
1642
- header_params['accept'] = 'application/json'
1643
- header_params['content-type'] = 'application/json'
1644
+ header_params[:accept] = 'application/json'
1645
+ header_params[:'content-type'] = 'application/json'
1644
1646
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1645
1647
  # rubocop:enable Style/NegatedIf
1646
1648
 
@@ -1700,8 +1702,8 @@ module OCI
1700
1702
 
1701
1703
  # Header Params
1702
1704
  header_params = {}
1703
- header_params['accept'] = 'application/json'
1704
- header_params['content-type'] = 'application/json'
1705
+ header_params[:accept] = 'application/json'
1706
+ header_params[:'content-type'] = 'application/json'
1705
1707
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1706
1708
  # rubocop:enable Style/NegatedIf
1707
1709
 
@@ -1757,8 +1759,8 @@ module OCI
1757
1759
 
1758
1760
  # Header Params
1759
1761
  header_params = {}
1760
- header_params['accept'] = 'application/json'
1761
- header_params['content-type'] = 'application/json'
1762
+ header_params[:accept] = 'application/json'
1763
+ header_params[:'content-type'] = 'application/json'
1762
1764
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1763
1765
  # rubocop:enable Style/NegatedIf
1764
1766
 
@@ -1814,8 +1816,8 @@ module OCI
1814
1816
 
1815
1817
  # Header Params
1816
1818
  header_params = {}
1817
- header_params['accept'] = 'application/json'
1818
- header_params['content-type'] = 'application/json'
1819
+ header_params[:accept] = 'application/json'
1820
+ header_params[:'content-type'] = 'application/json'
1819
1821
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1820
1822
  # rubocop:enable Style/NegatedIf
1821
1823
 
@@ -1879,8 +1881,8 @@ module OCI
1879
1881
 
1880
1882
  # Header Params
1881
1883
  header_params = {}
1882
- header_params['accept'] = 'application/json'
1883
- header_params['content-type'] = 'application/json'
1884
+ header_params[:accept] = 'application/json'
1885
+ header_params[:'content-type'] = 'application/json'
1884
1886
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1885
1887
  # rubocop:enable Style/NegatedIf
1886
1888
 
@@ -1980,8 +1982,8 @@ module OCI
1980
1982
 
1981
1983
  # Header Params
1982
1984
  header_params = {}
1983
- header_params['accept'] = 'application/json'
1984
- header_params['content-type'] = 'application/json'
1985
+ header_params[:accept] = 'application/json'
1986
+ header_params[:'content-type'] = 'application/json'
1985
1987
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1986
1988
  # rubocop:enable Style/NegatedIf
1987
1989
 
@@ -2037,8 +2039,8 @@ module OCI
2037
2039
 
2038
2040
  # Header Params
2039
2041
  header_params = {}
2040
- header_params['accept'] = 'application/json'
2041
- header_params['content-type'] = 'application/json'
2042
+ header_params[:accept] = 'application/json'
2043
+ header_params[:'content-type'] = 'application/json'
2042
2044
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2043
2045
  # rubocop:enable Style/NegatedIf
2044
2046
 
@@ -2102,8 +2104,8 @@ module OCI
2102
2104
 
2103
2105
  # Header Params
2104
2106
  header_params = {}
2105
- header_params['accept'] = 'application/json'
2106
- header_params['content-type'] = 'application/json'
2107
+ header_params[:accept] = 'application/json'
2108
+ header_params[:'content-type'] = 'application/json'
2107
2109
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2108
2110
  # rubocop:enable Style/NegatedIf
2109
2111
 
@@ -2167,8 +2169,8 @@ module OCI
2167
2169
 
2168
2170
  # Header Params
2169
2171
  header_params = {}
2170
- header_params['accept'] = 'application/json'
2171
- header_params['content-type'] = 'application/json'
2172
+ header_params[:accept] = 'application/json'
2173
+ header_params[:'content-type'] = 'application/json'
2172
2174
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2173
2175
  # rubocop:enable Style/NegatedIf
2174
2176
 
@@ -2232,8 +2234,8 @@ module OCI
2232
2234
 
2233
2235
  # Header Params
2234
2236
  header_params = {}
2235
- header_params['accept'] = 'application/json'
2236
- header_params['content-type'] = 'application/json'
2237
+ header_params[:accept] = 'application/json'
2238
+ header_params[:'content-type'] = 'application/json'
2237
2239
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2238
2240
  # rubocop:enable Style/NegatedIf
2239
2241
 
@@ -2297,8 +2299,8 @@ module OCI
2297
2299
 
2298
2300
  # Header Params
2299
2301
  header_params = {}
2300
- header_params['accept'] = 'application/json'
2301
- header_params['content-type'] = 'application/json'
2302
+ header_params[:accept] = 'application/json'
2303
+ header_params[:'content-type'] = 'application/json'
2302
2304
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2303
2305
  # rubocop:enable Style/NegatedIf
2304
2306
 
@@ -2372,8 +2374,8 @@ module OCI
2372
2374
 
2373
2375
  # Header Params
2374
2376
  header_params = {}
2375
- header_params['accept'] = 'application/json'
2376
- header_params['content-type'] = 'application/json'
2377
+ header_params[:accept] = 'application/json'
2378
+ header_params[:'content-type'] = 'application/json'
2377
2379
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2378
2380
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2379
2381
  # rubocop:enable Style/NegatedIf
@@ -2442,8 +2444,8 @@ module OCI
2442
2444
 
2443
2445
  # Header Params
2444
2446
  header_params = {}
2445
- header_params['accept'] = 'application/json'
2446
- header_params['content-type'] = 'application/json'
2447
+ header_params[:accept] = 'application/json'
2448
+ header_params[:'content-type'] = 'application/json'
2447
2449
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2448
2450
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2449
2451
  # rubocop:enable Style/NegatedIf
@@ -2512,8 +2514,8 @@ module OCI
2512
2514
 
2513
2515
  # Header Params
2514
2516
  header_params = {}
2515
- header_params['accept'] = 'application/json'
2516
- header_params['content-type'] = 'application/json'
2517
+ header_params[:accept] = 'application/json'
2518
+ header_params[:'content-type'] = 'application/json'
2517
2519
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2518
2520
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2519
2521
  # rubocop:enable Style/NegatedIf
@@ -2580,8 +2582,8 @@ module OCI
2580
2582
 
2581
2583
  # Header Params
2582
2584
  header_params = {}
2583
- header_params['accept'] = 'application/json'
2584
- header_params['content-type'] = 'application/json'
2585
+ header_params[:accept] = 'application/json'
2586
+ header_params[:'content-type'] = 'application/json'
2585
2587
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2586
2588
  # rubocop:enable Style/NegatedIf
2587
2589
 
@@ -2648,8 +2650,8 @@ module OCI
2648
2650
 
2649
2651
  # Header Params
2650
2652
  header_params = {}
2651
- header_params['accept'] = 'application/json'
2652
- header_params['content-type'] = 'application/json'
2653
+ header_params[:accept] = 'application/json'
2654
+ header_params[:'content-type'] = 'application/json'
2653
2655
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2654
2656
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2655
2657
  # rubocop:enable Style/NegatedIf
@@ -2712,8 +2714,8 @@ module OCI
2712
2714
 
2713
2715
  # Header Params
2714
2716
  header_params = {}
2715
- header_params['accept'] = 'application/json'
2716
- header_params['content-type'] = 'application/json'
2717
+ header_params[:accept] = 'application/json'
2718
+ header_params[:'content-type'] = 'application/json'
2717
2719
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2718
2720
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2719
2721
  # rubocop:enable Style/NegatedIf
@@ -2788,8 +2790,8 @@ module OCI
2788
2790
 
2789
2791
  # Header Params
2790
2792
  header_params = {}
2791
- header_params['accept'] = 'application/json'
2792
- header_params['content-type'] = 'application/json'
2793
+ header_params[:accept] = 'application/json'
2794
+ header_params[:'content-type'] = 'application/json'
2793
2795
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2794
2796
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2795
2797
  # rubocop:enable Style/NegatedIf