oci 2.0.2 → 2.0.3

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.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/oci/audit/models/audit_event.rb +3 -3
  4. data/lib/oci/audit/models/configuration.rb +3 -3
  5. data/lib/oci/audit/models/update_configuration_details.rb +3 -3
  6. data/lib/oci/core/blockstorage_client.rb +155 -0
  7. data/lib/oci/core/compute_client.rb +176 -12
  8. data/lib/oci/core/core.rb +11 -0
  9. data/lib/oci/core/models/attach_boot_volume_details.rb +143 -0
  10. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +3 -3
  11. data/lib/oci/core/models/attach_vnic_details.rb +23 -7
  12. data/lib/oci/core/models/attach_volume_details.rb +3 -3
  13. data/lib/oci/core/models/boot_volume.rb +234 -0
  14. data/lib/oci/core/models/boot_volume_attachment.rb +224 -0
  15. data/lib/oci/core/models/capture_console_history_details.rb +3 -3
  16. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +120 -0
  17. data/lib/oci/core/models/console_history.rb +3 -3
  18. data/lib/oci/core/models/cpe.rb +3 -3
  19. data/lib/oci/core/models/create_cpe_details.rb +3 -3
  20. data/lib/oci/core/models/create_cross_connect_details.rb +3 -3
  21. data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -3
  22. data/lib/oci/core/models/create_dhcp_details.rb +3 -3
  23. data/lib/oci/core/models/create_drg_attachment_details.rb +3 -3
  24. data/lib/oci/core/models/create_drg_details.rb +3 -3
  25. data/lib/oci/core/models/create_image_details.rb +3 -3
  26. data/lib/oci/core/models/create_instance_console_connection_details.rb +5 -5
  27. data/lib/oci/core/models/create_internet_gateway_details.rb +3 -3
  28. data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
  29. data/lib/oci/core/models/create_local_peering_gateway_details.rb +144 -0
  30. data/lib/oci/core/models/create_private_ip_details.rb +3 -3
  31. data/lib/oci/core/models/create_route_table_details.rb +3 -3
  32. data/lib/oci/core/models/create_security_list_details.rb +3 -3
  33. data/lib/oci/core/models/create_subnet_details.rb +3 -3
  34. data/lib/oci/core/models/create_vcn_details.rb +3 -3
  35. data/lib/oci/core/models/create_virtual_circuit_details.rb +3 -3
  36. data/lib/oci/core/models/create_vnic_details.rb +3 -3
  37. data/lib/oci/core/models/create_volume_backup_details.rb +3 -3
  38. data/lib/oci/core/models/create_volume_details.rb +3 -3
  39. data/lib/oci/core/models/cross_connect.rb +3 -3
  40. data/lib/oci/core/models/cross_connect_group.rb +3 -3
  41. data/lib/oci/core/models/cross_connect_location.rb +3 -3
  42. data/lib/oci/core/models/cross_connect_mapping.rb +3 -3
  43. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +3 -3
  44. data/lib/oci/core/models/cross_connect_status.rb +3 -3
  45. data/lib/oci/core/models/dhcp_dns_option.rb +3 -3
  46. data/lib/oci/core/models/dhcp_option.rb +3 -3
  47. data/lib/oci/core/models/dhcp_options.rb +3 -3
  48. data/lib/oci/core/models/dhcp_search_domain_option.rb +3 -3
  49. data/lib/oci/core/models/drg.rb +3 -3
  50. data/lib/oci/core/models/drg_attachment.rb +3 -3
  51. data/lib/oci/core/models/egress_security_rule.rb +3 -3
  52. data/lib/oci/core/models/export_image_details.rb +3 -3
  53. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -3
  54. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +3 -3
  55. data/lib/oci/core/models/fast_connect_provider_service.rb +3 -3
  56. data/lib/oci/core/models/i_scsi_volume_attachment.rb +3 -3
  57. data/lib/oci/core/models/icmp_options.rb +3 -3
  58. data/lib/oci/core/models/image.rb +3 -3
  59. data/lib/oci/core/models/image_source_details.rb +3 -3
  60. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +3 -3
  61. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -3
  62. data/lib/oci/core/models/ingress_security_rule.rb +3 -3
  63. data/lib/oci/core/models/instance.rb +16 -6
  64. data/lib/oci/core/models/instance_console_connection.rb +9 -9
  65. data/lib/oci/core/models/instance_credentials.rb +3 -3
  66. data/lib/oci/core/models/instance_source_details.rb +135 -0
  67. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +128 -0
  68. data/lib/oci/core/models/instance_source_via_image_details.rb +128 -0
  69. data/lib/oci/core/models/internet_gateway.rb +3 -3
  70. data/lib/oci/core/models/ip_sec_connection.rb +3 -3
  71. data/lib/oci/core/models/ip_sec_connection_device_config.rb +3 -3
  72. data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -3
  73. data/lib/oci/core/models/launch_instance_details.rb +19 -6
  74. data/lib/oci/core/models/letter_of_authority.rb +3 -3
  75. data/lib/oci/core/models/local_peering_gateway.rb +271 -0
  76. data/lib/oci/core/models/port_range.rb +3 -3
  77. data/lib/oci/core/models/private_ip.rb +3 -3
  78. data/lib/oci/core/models/route_rule.rb +3 -3
  79. data/lib/oci/core/models/route_table.rb +3 -3
  80. data/lib/oci/core/models/security_list.rb +3 -3
  81. data/lib/oci/core/models/shape.rb +3 -3
  82. data/lib/oci/core/models/subnet.rb +3 -3
  83. data/lib/oci/core/models/tcp_options.rb +3 -3
  84. data/lib/oci/core/models/tunnel_config.rb +3 -3
  85. data/lib/oci/core/models/tunnel_status.rb +3 -3
  86. data/lib/oci/core/models/udp_options.rb +3 -3
  87. data/lib/oci/core/models/update_boot_volume_details.rb +122 -0
  88. data/lib/oci/core/models/update_console_history_details.rb +3 -3
  89. data/lib/oci/core/models/update_cpe_details.rb +3 -3
  90. data/lib/oci/core/models/update_cross_connect_details.rb +3 -3
  91. data/lib/oci/core/models/update_cross_connect_group_details.rb +3 -3
  92. data/lib/oci/core/models/update_dhcp_details.rb +3 -3
  93. data/lib/oci/core/models/update_drg_attachment_details.rb +3 -3
  94. data/lib/oci/core/models/update_drg_details.rb +3 -3
  95. data/lib/oci/core/models/update_image_details.rb +3 -3
  96. data/lib/oci/core/models/update_instance_details.rb +3 -3
  97. data/lib/oci/core/models/update_internet_gateway_details.rb +3 -3
  98. data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -3
  99. data/lib/oci/core/models/update_local_peering_gateway_details.rb +122 -0
  100. data/lib/oci/core/models/update_private_ip_details.rb +3 -3
  101. data/lib/oci/core/models/update_route_table_details.rb +3 -3
  102. data/lib/oci/core/models/update_security_list_details.rb +3 -3
  103. data/lib/oci/core/models/update_subnet_details.rb +3 -3
  104. data/lib/oci/core/models/update_vcn_details.rb +3 -3
  105. data/lib/oci/core/models/update_virtual_circuit_details.rb +3 -3
  106. data/lib/oci/core/models/update_vnic_details.rb +3 -3
  107. data/lib/oci/core/models/update_volume_backup_details.rb +3 -3
  108. data/lib/oci/core/models/update_volume_details.rb +3 -3
  109. data/lib/oci/core/models/vcn.rb +3 -3
  110. data/lib/oci/core/models/virtual_circuit.rb +3 -3
  111. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +3 -3
  112. data/lib/oci/core/models/vnic.rb +3 -3
  113. data/lib/oci/core/models/vnic_attachment.rb +20 -4
  114. data/lib/oci/core/models/volume.rb +3 -3
  115. data/lib/oci/core/models/volume_attachment.rb +3 -3
  116. data/lib/oci/core/models/volume_backup.rb +3 -3
  117. data/lib/oci/core/models/volume_source_details.rb +3 -3
  118. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -3
  119. data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -3
  120. data/lib/oci/core/virtual_network_client.rb +233 -0
  121. data/lib/oci/database/database.rb +3 -0
  122. data/lib/oci/database/database_client.rb +1 -1
  123. data/lib/oci/database/models/backup.rb +3 -3
  124. data/lib/oci/database/models/backup_summary.rb +3 -3
  125. data/lib/oci/database/models/create_backup_details.rb +3 -3
  126. data/lib/oci/database/models/create_data_guard_association_details.rb +3 -3
  127. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +3 -3
  128. data/lib/oci/database/models/create_database_details.rb +3 -3
  129. data/lib/oci/database/models/create_database_from_backup_details.rb +142 -0
  130. data/lib/oci/database/models/create_db_home_details.rb +3 -3
  131. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +173 -0
  132. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -30
  133. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +133 -0
  134. data/lib/oci/database/models/data_guard_association.rb +3 -3
  135. data/lib/oci/database/models/data_guard_association_summary.rb +3 -3
  136. data/lib/oci/database/models/database.rb +3 -3
  137. data/lib/oci/database/models/database_summary.rb +3 -3
  138. data/lib/oci/database/models/db_backup_config.rb +3 -3
  139. data/lib/oci/database/models/db_home.rb +3 -3
  140. data/lib/oci/database/models/db_home_summary.rb +3 -3
  141. data/lib/oci/database/models/db_node.rb +3 -3
  142. data/lib/oci/database/models/db_node_summary.rb +3 -3
  143. data/lib/oci/database/models/db_system.rb +3 -3
  144. data/lib/oci/database/models/db_system_shape_summary.rb +3 -3
  145. data/lib/oci/database/models/db_system_summary.rb +3 -3
  146. data/lib/oci/database/models/db_version_summary.rb +3 -3
  147. data/lib/oci/database/models/failover_data_guard_association_details.rb +3 -3
  148. data/lib/oci/database/models/launch_db_system_details.rb +3 -3
  149. data/lib/oci/database/models/patch.rb +3 -3
  150. data/lib/oci/database/models/patch_details.rb +3 -3
  151. data/lib/oci/database/models/patch_history_entry.rb +3 -3
  152. data/lib/oci/database/models/patch_history_entry_summary.rb +3 -3
  153. data/lib/oci/database/models/patch_summary.rb +3 -3
  154. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +3 -3
  155. data/lib/oci/database/models/restore_database_details.rb +3 -3
  156. data/lib/oci/database/models/switchover_data_guard_association_details.rb +3 -3
  157. data/lib/oci/database/models/update_database_details.rb +3 -3
  158. data/lib/oci/database/models/update_db_home_details.rb +3 -3
  159. data/lib/oci/database/models/update_db_system_details.rb +3 -3
  160. data/lib/oci/identity/models/add_user_to_group_details.rb +3 -3
  161. data/lib/oci/identity/models/api_key.rb +3 -3
  162. data/lib/oci/identity/models/availability_domain.rb +3 -3
  163. data/lib/oci/identity/models/compartment.rb +3 -3
  164. data/lib/oci/identity/models/create_api_key_details.rb +3 -3
  165. data/lib/oci/identity/models/create_compartment_details.rb +3 -3
  166. data/lib/oci/identity/models/create_customer_secret_key_details.rb +3 -3
  167. data/lib/oci/identity/models/create_group_details.rb +3 -3
  168. data/lib/oci/identity/models/create_identity_provider_details.rb +3 -3
  169. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +3 -3
  170. data/lib/oci/identity/models/create_policy_details.rb +3 -3
  171. data/lib/oci/identity/models/create_region_subscription_details.rb +3 -3
  172. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +3 -3
  173. data/lib/oci/identity/models/create_swift_password_details.rb +3 -3
  174. data/lib/oci/identity/models/create_user_details.rb +3 -3
  175. data/lib/oci/identity/models/customer_secret_key.rb +3 -3
  176. data/lib/oci/identity/models/customer_secret_key_summary.rb +3 -3
  177. data/lib/oci/identity/models/group.rb +3 -3
  178. data/lib/oci/identity/models/identity_provider.rb +3 -3
  179. data/lib/oci/identity/models/idp_group_mapping.rb +3 -3
  180. data/lib/oci/identity/models/policy.rb +3 -3
  181. data/lib/oci/identity/models/region.rb +3 -3
  182. data/lib/oci/identity/models/region_subscription.rb +3 -3
  183. data/lib/oci/identity/models/saml2_identity_provider.rb +3 -3
  184. data/lib/oci/identity/models/swift_password.rb +3 -3
  185. data/lib/oci/identity/models/tenancy.rb +3 -3
  186. data/lib/oci/identity/models/ui_password.rb +3 -3
  187. data/lib/oci/identity/models/update_compartment_details.rb +3 -3
  188. data/lib/oci/identity/models/update_customer_secret_key_details.rb +3 -3
  189. data/lib/oci/identity/models/update_group_details.rb +3 -3
  190. data/lib/oci/identity/models/update_identity_provider_details.rb +3 -3
  191. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +3 -3
  192. data/lib/oci/identity/models/update_policy_details.rb +3 -3
  193. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +3 -3
  194. data/lib/oci/identity/models/update_state_details.rb +3 -3
  195. data/lib/oci/identity/models/update_swift_password_details.rb +3 -3
  196. data/lib/oci/identity/models/update_user_details.rb +3 -3
  197. data/lib/oci/identity/models/user.rb +3 -3
  198. data/lib/oci/identity/models/user_group_membership.rb +3 -3
  199. data/lib/oci/load_balancer/load_balancer_client.rb +27 -1
  200. data/lib/oci/load_balancer/models/backend.rb +3 -3
  201. data/lib/oci/load_balancer/models/backend_details.rb +3 -3
  202. data/lib/oci/load_balancer/models/backend_health.rb +4 -4
  203. data/lib/oci/load_balancer/models/backend_set.rb +5 -6
  204. data/lib/oci/load_balancer/models/backend_set_details.rb +5 -6
  205. data/lib/oci/load_balancer/models/backend_set_health.rb +3 -3
  206. data/lib/oci/load_balancer/models/certificate.rb +3 -3
  207. data/lib/oci/load_balancer/models/certificate_details.rb +3 -3
  208. data/lib/oci/load_balancer/models/create_backend_details.rb +3 -3
  209. data/lib/oci/load_balancer/models/create_backend_set_details.rb +5 -5
  210. data/lib/oci/load_balancer/models/create_certificate_details.rb +3 -3
  211. data/lib/oci/load_balancer/models/create_listener_details.rb +3 -3
  212. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +4 -4
  213. data/lib/oci/load_balancer/models/health_check_result.rb +3 -3
  214. data/lib/oci/load_balancer/models/health_checker.rb +3 -3
  215. data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
  216. data/lib/oci/load_balancer/models/ip_address.rb +3 -3
  217. data/lib/oci/load_balancer/models/listener.rb +3 -3
  218. data/lib/oci/load_balancer/models/listener_details.rb +3 -3
  219. data/lib/oci/load_balancer/models/load_balancer.rb +6 -4
  220. data/lib/oci/load_balancer/models/load_balancer_health.rb +5 -5
  221. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +3 -3
  222. data/lib/oci/load_balancer/models/load_balancer_policy.rb +3 -3
  223. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -3
  224. data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -3
  225. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +3 -3
  226. data/lib/oci/load_balancer/models/ssl_configuration.rb +3 -3
  227. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +3 -3
  228. data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
  229. data/lib/oci/load_balancer/models/update_backend_set_details.rb +5 -6
  230. data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
  231. data/lib/oci/load_balancer/models/update_listener_details.rb +3 -3
  232. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -3
  233. data/lib/oci/load_balancer/models/work_request.rb +5 -3
  234. data/lib/oci/load_balancer/models/work_request_error.rb +3 -3
  235. data/lib/oci/object_storage/models/bucket.rb +3 -3
  236. data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
  237. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +3 -3
  238. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +3 -3
  239. data/lib/oci/object_storage/models/create_bucket_details.rb +3 -3
  240. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +3 -3
  241. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -3
  242. data/lib/oci/object_storage/models/list_objects.rb +3 -3
  243. data/lib/oci/object_storage/models/multipart_upload.rb +3 -3
  244. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +3 -3
  245. data/lib/oci/object_storage/models/namespace_metadata.rb +3 -3
  246. data/lib/oci/object_storage/models/object_summary.rb +3 -3
  247. data/lib/oci/object_storage/models/preauthenticated_request.rb +3 -3
  248. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -3
  249. data/lib/oci/object_storage/models/rename_object_details.rb +3 -3
  250. data/lib/oci/object_storage/models/restore_objects_details.rb +3 -3
  251. data/lib/oci/object_storage/models/update_bucket_details.rb +3 -3
  252. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -3
  253. data/lib/oci/version.rb +1 -1
  254. metadata +16 -2
@@ -154,10 +154,10 @@ module OCI
154
154
  # check to ensure the input is an array given that the the attribute
155
155
  # is documented as an array but the input is not
156
156
  if attributes[self.class.attribute_map[key]].is_a?(Array)
157
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
157
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
158
158
  end
159
159
  elsif !attributes[self.class.attribute_map[key]].nil?
160
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
160
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
161
161
  end # or else data not found in attributes(hash), not an issue as the data can be optional
162
162
  end
163
163
 
@@ -175,7 +175,7 @@ module OCI
175
175
  def to_hash
176
176
  hash = {}
177
177
  self.class.attribute_map.each_pair do |attr, param|
178
- value = send(attr)
178
+ value = public_send(attr)
179
179
  next if value.nil? && !instance_variable_defined?("@#{attr}")
180
180
  hash[param] = _to_hash(value)
181
181
  end
@@ -64,10 +64,10 @@ module OCI
64
64
  # check to ensure the input is an array given that the the attribute
65
65
  # is documented as an array but the input is not
66
66
  if attributes[self.class.attribute_map[key]].is_a?(Array)
67
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
67
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
68
68
  end
69
69
  elsif !attributes[self.class.attribute_map[key]].nil?
70
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
70
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
71
71
  end # or else data not found in attributes(hash), not an issue as the data can be optional
72
72
  end
73
73
 
@@ -85,7 +85,7 @@ module OCI
85
85
  def to_hash
86
86
  hash = {}
87
87
  self.class.attribute_map.each_pair do |attr, param|
88
- value = send(attr)
88
+ value = public_send(attr)
89
89
  next if value.nil? && !instance_variable_defined?("@#{attr}")
90
90
  hash[param] = _to_hash(value)
91
91
  end
@@ -120,10 +120,10 @@ module OCI
120
120
  # check to ensure the input is an array given that the the attribute
121
121
  # is documented as an array but the input is not
122
122
  if attributes[self.class.attribute_map[key]].is_a?(Array)
123
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
123
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
124
124
  end
125
125
  elsif !attributes[self.class.attribute_map[key]].nil?
126
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
126
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
127
127
  end # or else data not found in attributes(hash), not an issue as the data can be optional
128
128
  end
129
129
 
@@ -141,7 +141,7 @@ module OCI
141
141
  def to_hash
142
142
  hash = {}
143
143
  self.class.attribute_map.each_pair do |attr, param|
144
- value = send(attr)
144
+ value = public_send(attr)
145
145
  next if value.nil? && !instance_variable_defined?("@#{attr}")
146
146
  hash[param] = _to_hash(value)
147
147
  end
@@ -152,10 +152,10 @@ module OCI
152
152
  # check to ensure the input is an array given that the the attribute
153
153
  # is documented as an array but the input is not
154
154
  if attributes[self.class.attribute_map[key]].is_a?(Array)
155
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
155
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
156
156
  end
157
157
  elsif !attributes[self.class.attribute_map[key]].nil?
158
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
158
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
159
159
  end # or else data not found in attributes(hash), not an issue as the data can be optional
160
160
  end
161
161
 
@@ -173,7 +173,7 @@ module OCI
173
173
  def to_hash
174
174
  hash = {}
175
175
  self.class.attribute_map.each_pair do |attr, param|
176
- value = send(attr)
176
+ value = public_send(attr)
177
177
  next if value.nil? && !instance_variable_defined?("@#{attr}")
178
178
  hash[param] = _to_hash(value)
179
179
  end
@@ -112,10 +112,10 @@ module OCI
112
112
  # check to ensure the input is an array given that the the attribute
113
113
  # is documented as an array but the input is not
114
114
  if attributes[self.class.attribute_map[key]].is_a?(Array)
115
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
115
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
116
116
  end
117
117
  elsif !attributes[self.class.attribute_map[key]].nil?
118
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
118
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
119
119
  end # or else data not found in attributes(hash), not an issue as the data can be optional
120
120
  end
121
121
 
@@ -133,7 +133,7 @@ module OCI
133
133
  def to_hash
134
134
  hash = {}
135
135
  self.class.attribute_map.each_pair do |attr, param|
136
- value = send(attr)
136
+ value = public_send(attr)
137
137
  next if value.nil? && !instance_variable_defined?("@#{attr}")
138
138
  hash[param] = _to_hash(value)
139
139
  end
@@ -65,10 +65,10 @@ module OCI
65
65
  # check to ensure the input is an array given that the the attribute
66
66
  # is documented as an array but the input is not
67
67
  if attributes[self.class.attribute_map[key]].is_a?(Array)
68
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
68
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
69
69
  end
70
70
  elsif !attributes[self.class.attribute_map[key]].nil?
71
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
71
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
72
72
  end # or else data not found in attributes(hash), not an issue as the data can be optional
73
73
  end
74
74
 
@@ -86,7 +86,7 @@ module OCI
86
86
  def to_hash
87
87
  hash = {}
88
88
  self.class.attribute_map.each_pair do |attr, param|
89
- value = send(attr)
89
+ value = public_send(attr)
90
90
  next if value.nil? && !instance_variable_defined?("@#{attr}")
91
91
  hash[param] = _to_hash(value)
92
92
  end
@@ -115,10 +115,10 @@ module OCI
115
115
  # check to ensure the input is an array given that the the attribute
116
116
  # is documented as an array but the input is not
117
117
  if attributes[self.class.attribute_map[key]].is_a?(Array)
118
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
118
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
119
119
  end
120
120
  elsif !attributes[self.class.attribute_map[key]].nil?
121
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
121
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
122
122
  end # or else data not found in attributes(hash), not an issue as the data can be optional
123
123
  end
124
124
 
@@ -136,7 +136,7 @@ module OCI
136
136
  def to_hash
137
137
  hash = {}
138
138
  self.class.attribute_map.each_pair do |attr, param|
139
- value = send(attr)
139
+ value = public_send(attr)
140
140
  next if value.nil? && !instance_variable_defined?("@#{attr}")
141
141
  hash[param] = _to_hash(value)
142
142
  end
@@ -68,10 +68,10 @@ module OCI
68
68
  # check to ensure the input is an array given that the the attribute
69
69
  # is documented as an array but the input is not
70
70
  if attributes[self.class.attribute_map[key]].is_a?(Array)
71
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
71
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
72
72
  end
73
73
  elsif !attributes[self.class.attribute_map[key]].nil?
74
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
74
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
75
75
  end # or else data not found in attributes(hash), not an issue as the data can be optional
76
76
  end
77
77
 
@@ -89,7 +89,7 @@ module OCI
89
89
  def to_hash
90
90
  hash = {}
91
91
  self.class.attribute_map.each_pair do |attr, param|
92
- value = send(attr)
92
+ value = public_send(attr)
93
93
  next if value.nil? && !instance_variable_defined?("@#{attr}")
94
94
  hash[param] = _to_hash(value)
95
95
  end
@@ -127,10 +127,10 @@ module OCI
127
127
  # check to ensure the input is an array given that the the attribute
128
128
  # is documented as an array but the input is not
129
129
  if attributes[self.class.attribute_map[key]].is_a?(Array)
130
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
130
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
131
131
  end
132
132
  elsif !attributes[self.class.attribute_map[key]].nil?
133
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
133
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
134
134
  end # or else data not found in attributes(hash), not an issue as the data can be optional
135
135
  end
136
136
 
@@ -148,7 +148,7 @@ module OCI
148
148
  def to_hash
149
149
  hash = {}
150
150
  self.class.attribute_map.each_pair do |attr, param|
151
- value = send(attr)
151
+ value = public_send(attr)
152
152
  next if value.nil? && !instance_variable_defined?("@#{attr}")
153
153
  hash[param] = _to_hash(value)
154
154
  end
@@ -100,10 +100,10 @@ module OCI
100
100
  # check to ensure the input is an array given that the the attribute
101
101
  # is documented as an array but the input is not
102
102
  if attributes[self.class.attribute_map[key]].is_a?(Array)
103
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
103
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
104
104
  end
105
105
  elsif !attributes[self.class.attribute_map[key]].nil?
106
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
106
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
107
107
  end # or else data not found in attributes(hash), not an issue as the data can be optional
108
108
  end
109
109
 
@@ -121,7 +121,7 @@ module OCI
121
121
  def to_hash
122
122
  hash = {}
123
123
  self.class.attribute_map.each_pair do |attr, param|
124
- value = send(attr)
124
+ value = public_send(attr)
125
125
  next if value.nil? && !instance_variable_defined?("@#{attr}")
126
126
  hash[param] = _to_hash(value)
127
127
  end
@@ -68,10 +68,10 @@ module OCI
68
68
  # check to ensure the input is an array given that the the attribute
69
69
  # is documented as an array but the input is not
70
70
  if attributes[self.class.attribute_map[key]].is_a?(Array)
71
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
71
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
72
72
  end
73
73
  elsif !attributes[self.class.attribute_map[key]].nil?
74
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
74
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
75
75
  end # or else data not found in attributes(hash), not an issue as the data can be optional
76
76
  end
77
77
 
@@ -89,7 +89,7 @@ module OCI
89
89
  def to_hash
90
90
  hash = {}
91
91
  self.class.attribute_map.each_pair do |attr, param|
92
- value = send(attr)
92
+ value = public_send(attr)
93
93
  next if value.nil? && !instance_variable_defined?("@#{attr}")
94
94
  hash[param] = _to_hash(value)
95
95
  end
@@ -129,10 +129,10 @@ module OCI
129
129
  # check to ensure the input is an array given that the the attribute
130
130
  # is documented as an array but the input is not
131
131
  if attributes[self.class.attribute_map[key]].is_a?(Array)
132
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
132
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
133
133
  end
134
134
  elsif !attributes[self.class.attribute_map[key]].nil?
135
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
135
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
136
136
  end # or else data not found in attributes(hash), not an issue as the data can be optional
137
137
  end
138
138
 
@@ -150,7 +150,7 @@ module OCI
150
150
  def to_hash
151
151
  hash = {}
152
152
  self.class.attribute_map.each_pair do |attr, param|
153
- value = send(attr)
153
+ value = public_send(attr)
154
154
  next if value.nil? && !instance_variable_defined?("@#{attr}")
155
155
  hash[param] = _to_hash(value)
156
156
  end
@@ -72,10 +72,10 @@ module OCI
72
72
  # check to ensure the input is an array given that the the attribute
73
73
  # is documented as an array but the input is not
74
74
  if attributes[self.class.attribute_map[key]].is_a?(Array)
75
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
75
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
76
76
  end
77
77
  elsif !attributes[self.class.attribute_map[key]].nil?
78
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
78
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
79
79
  end # or else data not found in attributes(hash), not an issue as the data can be optional
80
80
  end
81
81
 
@@ -93,7 +93,7 @@ module OCI
93
93
  def to_hash
94
94
  hash = {}
95
95
  self.class.attribute_map.each_pair do |attr, param|
96
- value = send(attr)
96
+ value = public_send(attr)
97
97
  next if value.nil? && !instance_variable_defined?("@#{attr}")
98
98
  hash[param] = _to_hash(value)
99
99
  end
@@ -111,10 +111,10 @@ module OCI
111
111
  # check to ensure the input is an array given that the the attribute
112
112
  # is documented as an array but the input is not
113
113
  if attributes[self.class.attribute_map[key]].is_a?(Array)
114
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
114
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
115
115
  end
116
116
  elsif !attributes[self.class.attribute_map[key]].nil?
117
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
117
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
118
118
  end # or else data not found in attributes(hash), not an issue as the data can be optional
119
119
  end
120
120
 
@@ -132,7 +132,7 @@ module OCI
132
132
  def to_hash
133
133
  hash = {}
134
134
  self.class.attribute_map.each_pair do |attr, param|
135
- value = send(attr)
135
+ value = public_send(attr)
136
136
  next if value.nil? && !instance_variable_defined?("@#{attr}")
137
137
  hash[param] = _to_hash(value)
138
138
  end
@@ -129,10 +129,10 @@ module OCI
129
129
  # check to ensure the input is an array given that the the attribute
130
130
  # is documented as an array but the input is not
131
131
  if attributes[self.class.attribute_map[key]].is_a?(Array)
132
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
132
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
133
133
  end
134
134
  elsif !attributes[self.class.attribute_map[key]].nil?
135
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
135
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
136
136
  end # or else data not found in attributes(hash), not an issue as the data can be optional
137
137
  end
138
138
 
@@ -150,7 +150,7 @@ module OCI
150
150
  def to_hash
151
151
  hash = {}
152
152
  self.class.attribute_map.each_pair do |attr, param|
153
- value = send(attr)
153
+ value = public_send(attr)
154
154
  next if value.nil? && !instance_variable_defined?("@#{attr}")
155
155
  hash[param] = _to_hash(value)
156
156
  end
@@ -121,10 +121,10 @@ module OCI
121
121
  # check to ensure the input is an array given that the the attribute
122
122
  # is documented as an array but the input is not
123
123
  if attributes[self.class.attribute_map[key]].is_a?(Array)
124
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
124
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
125
125
  end
126
126
  elsif !attributes[self.class.attribute_map[key]].nil?
127
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
127
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
128
128
  end # or else data not found in attributes(hash), not an issue as the data can be optional
129
129
  end
130
130
 
@@ -142,7 +142,7 @@ module OCI
142
142
  def to_hash
143
143
  hash = {}
144
144
  self.class.attribute_map.each_pair do |attr, param|
145
- value = send(attr)
145
+ value = public_send(attr)
146
146
  next if value.nil? && !instance_variable_defined?("@#{attr}")
147
147
  hash[param] = _to_hash(value)
148
148
  end
@@ -67,10 +67,10 @@ module OCI
67
67
  # check to ensure the input is an array given that the the attribute
68
68
  # is documented as an array but the input is not
69
69
  if attributes[self.class.attribute_map[key]].is_a?(Array)
70
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
70
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
71
71
  end
72
72
  elsif !attributes[self.class.attribute_map[key]].nil?
73
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
73
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
74
74
  end # or else data not found in attributes(hash), not an issue as the data can be optional
75
75
  end
76
76
 
@@ -88,7 +88,7 @@ module OCI
88
88
  def to_hash
89
89
  hash = {}
90
90
  self.class.attribute_map.each_pair do |attr, param|
91
- value = send(attr)
91
+ value = public_send(attr)
92
92
  next if value.nil? && !instance_variable_defined?("@#{attr}")
93
93
  hash[param] = _to_hash(value)
94
94
  end
@@ -77,10 +77,10 @@ module OCI
77
77
  # check to ensure the input is an array given that the the attribute
78
78
  # is documented as an array but the input is not
79
79
  if attributes[self.class.attribute_map[key]].is_a?(Array)
80
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
80
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
81
81
  end
82
82
  elsif !attributes[self.class.attribute_map[key]].nil?
83
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
83
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
84
84
  end # or else data not found in attributes(hash), not an issue as the data can be optional
85
85
  end
86
86
 
@@ -98,7 +98,7 @@ module OCI
98
98
  def to_hash
99
99
  hash = {}
100
100
  self.class.attribute_map.each_pair do |attr, param|
101
- value = send(attr)
101
+ value = public_send(attr)
102
102
  next if value.nil? && !instance_variable_defined?("@#{attr}")
103
103
  hash[param] = _to_hash(value)
104
104
  end
@@ -61,10 +61,10 @@ module OCI
61
61
  # check to ensure the input is an array given that the the attribute
62
62
  # is documented as an array but the input is not
63
63
  if attributes[self.class.attribute_map[key]].is_a?(Array)
64
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
64
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
65
65
  end
66
66
  elsif !attributes[self.class.attribute_map[key]].nil?
67
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
67
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
68
68
  end # or else data not found in attributes(hash), not an issue as the data can be optional
69
69
  end
70
70
 
@@ -82,7 +82,7 @@ module OCI
82
82
  def to_hash
83
83
  hash = {}
84
84
  self.class.attribute_map.each_pair do |attr, param|
85
- value = send(attr)
85
+ value = public_send(attr)
86
86
  next if value.nil? && !instance_variable_defined?("@#{attr}")
87
87
  hash[param] = _to_hash(value)
88
88
  end
@@ -74,10 +74,10 @@ module OCI
74
74
  # check to ensure the input is an array given that the the attribute
75
75
  # is documented as an array but the input is not
76
76
  if attributes[self.class.attribute_map[key]].is_a?(Array)
77
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
77
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
78
78
  end
79
79
  elsif !attributes[self.class.attribute_map[key]].nil?
80
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
80
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
81
81
  end # or else data not found in attributes(hash), not an issue as the data can be optional
82
82
  end
83
83
 
@@ -95,7 +95,7 @@ module OCI
95
95
  def to_hash
96
96
  hash = {}
97
97
  self.class.attribute_map.each_pair do |attr, param|
98
- value = send(attr)
98
+ value = public_send(attr)
99
99
  next if value.nil? && !instance_variable_defined?("@#{attr}")
100
100
  hash[param] = _to_hash(value)
101
101
  end
@@ -119,10 +119,10 @@ module OCI
119
119
  # check to ensure the input is an array given that the the attribute
120
120
  # is documented as an array but the input is not
121
121
  if attributes[self.class.attribute_map[key]].is_a?(Array)
122
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
122
+ self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
123
123
  end
124
124
  elsif !attributes[self.class.attribute_map[key]].nil?
125
- self.send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
125
+ self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
126
126
  end # or else data not found in attributes(hash), not an issue as the data can be optional
127
127
  end
128
128
 
@@ -140,7 +140,7 @@ module OCI
140
140
  def to_hash
141
141
  hash = {}
142
142
  self.class.attribute_map.each_pair do |attr, param|
143
- value = send(attr)
143
+ value = public_send(attr)
144
144
  next if value.nil? && !instance_variable_defined?("@#{attr}")
145
145
  hash[param] = _to_hash(value)
146
146
  end