oci 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/api_client.rb +21 -11
  5. data/lib/oci/audit/models/audit_event.rb +133 -19
  6. data/lib/oci/audit/models/configuration.rb +7 -1
  7. data/lib/oci/audit/models/update_configuration_details.rb +7 -1
  8. data/lib/oci/base_signer.rb +1 -2
  9. data/lib/oci/core/models/attach_boot_volume_details.rb +21 -3
  10. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +11 -5
  11. data/lib/oci/core/models/attach_vnic_details.rb +28 -4
  12. data/lib/oci/core/models/attach_volume_details.rb +28 -4
  13. data/lib/oci/core/models/boot_volume.rb +56 -8
  14. data/lib/oci/core/models/boot_volume_attachment.rb +49 -7
  15. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +7 -1
  16. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +7 -1
  17. data/lib/oci/core/models/capture_console_history_details.rb +28 -4
  18. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +7 -1
  19. data/lib/oci/core/models/console_history.rb +56 -8
  20. data/lib/oci/core/models/cpe.rb +28 -4
  21. data/lib/oci/core/models/create_cpe_details.rb +21 -3
  22. data/lib/oci/core/models/create_cross_connect_details.rb +49 -7
  23. data/lib/oci/core/models/create_cross_connect_group_details.rb +14 -2
  24. data/lib/oci/core/models/create_dhcp_details.rb +35 -5
  25. data/lib/oci/core/models/create_drg_attachment_details.rb +21 -3
  26. data/lib/oci/core/models/create_drg_details.rb +14 -2
  27. data/lib/oci/core/models/create_image_details.rb +49 -7
  28. data/lib/oci/core/models/create_instance_console_connection_details.rb +28 -4
  29. data/lib/oci/core/models/create_internet_gateway_details.rb +28 -4
  30. data/lib/oci/core/models/create_ip_sec_connection_details.rb +35 -5
  31. data/lib/oci/core/models/create_local_peering_gateway_details.rb +21 -3
  32. data/lib/oci/core/models/create_private_ip_details.rb +42 -6
  33. data/lib/oci/core/models/create_public_ip_details.rb +21 -3
  34. data/lib/oci/core/models/create_route_table_details.rb +42 -6
  35. data/lib/oci/core/models/create_security_list_details.rb +49 -7
  36. data/lib/oci/core/models/create_subnet_details.rb +84 -12
  37. data/lib/oci/core/models/create_vcn_details.rb +42 -6
  38. data/lib/oci/core/models/create_virtual_circuit_details.rb +70 -10
  39. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +7 -1
  40. data/lib/oci/core/models/create_vnic_details.rb +42 -6
  41. data/lib/oci/core/models/create_volume_backup_details.rb +28 -4
  42. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +14 -2
  43. data/lib/oci/core/models/create_volume_details.rb +70 -10
  44. data/lib/oci/core/models/cross_connect.rb +56 -8
  45. data/lib/oci/core/models/cross_connect_group.rb +28 -4
  46. data/lib/oci/core/models/cross_connect_mapping.rb +28 -4
  47. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +7 -1
  48. data/lib/oci/core/models/cross_connect_status.rb +28 -4
  49. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +7 -1
  50. data/lib/oci/core/models/dhcp_dns_option.rb +14 -2
  51. data/lib/oci/core/models/dhcp_options.rb +49 -7
  52. data/lib/oci/core/models/dhcp_search_domain_option.rb +7 -1
  53. data/lib/oci/core/models/drg.rb +28 -4
  54. data/lib/oci/core/models/drg_attachment.rb +42 -6
  55. data/lib/oci/core/models/egress_security_rule.rb +28 -4
  56. data/lib/oci/core/models/export_image_details.rb +7 -1
  57. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +21 -3
  58. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +7 -1
  59. data/lib/oci/core/models/fast_connect_provider_service.rb +35 -5
  60. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +7 -1
  61. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +7 -1
  62. data/lib/oci/core/models/i_scsi_volume_attachment.rb +22 -10
  63. data/lib/oci/core/models/image.rb +84 -12
  64. data/lib/oci/core/models/image_source_details.rb +14 -2
  65. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +22 -4
  66. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -2
  67. data/lib/oci/core/models/ingress_security_rule.rb +28 -4
  68. data/lib/oci/core/models/instance.rb +91 -13
  69. data/lib/oci/core/models/instance_console_connection.rb +49 -7
  70. data/lib/oci/core/models/instance_source_details.rb +7 -1
  71. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +7 -1
  72. data/lib/oci/core/models/instance_source_via_image_details.rb +7 -1
  73. data/lib/oci/core/models/internet_gateway.rb +42 -6
  74. data/lib/oci/core/models/ip_sec_connection.rb +49 -7
  75. data/lib/oci/core/models/ip_sec_connection_device_config.rb +14 -2
  76. data/lib/oci/core/models/ip_sec_connection_device_status.rb +14 -2
  77. data/lib/oci/core/models/launch_instance_details.rb +84 -12
  78. data/lib/oci/core/models/launch_options.rb +21 -3
  79. data/lib/oci/core/models/letter_of_authority.rb +49 -7
  80. data/lib/oci/core/models/local_peering_gateway.rb +63 -9
  81. data/lib/oci/core/models/private_ip.rb +77 -11
  82. data/lib/oci/core/models/public_ip.rb +49 -7
  83. data/lib/oci/core/models/route_rule.rb +14 -2
  84. data/lib/oci/core/models/route_table.rb +56 -8
  85. data/lib/oci/core/models/security_list.rb +63 -9
  86. data/lib/oci/core/models/subnet.rb +119 -17
  87. data/lib/oci/core/models/tcp_options.rb +14 -2
  88. data/lib/oci/core/models/tunnel_config.rb +21 -3
  89. data/lib/oci/core/models/tunnel_status.rb +28 -4
  90. data/lib/oci/core/models/udp_options.rb +14 -2
  91. data/lib/oci/core/models/update_boot_volume_details.rb +7 -1
  92. data/lib/oci/core/models/update_console_history_details.rb +21 -3
  93. data/lib/oci/core/models/update_cpe_details.rb +7 -1
  94. data/lib/oci/core/models/update_cross_connect_details.rb +14 -2
  95. data/lib/oci/core/models/update_cross_connect_group_details.rb +7 -1
  96. data/lib/oci/core/models/update_dhcp_details.rb +21 -3
  97. data/lib/oci/core/models/update_drg_attachment_details.rb +7 -1
  98. data/lib/oci/core/models/update_drg_details.rb +7 -1
  99. data/lib/oci/core/models/update_image_details.rb +21 -3
  100. data/lib/oci/core/models/update_instance_details.rb +21 -3
  101. data/lib/oci/core/models/update_internet_gateway_details.rb +14 -2
  102. data/lib/oci/core/models/update_ip_sec_connection_details.rb +7 -1
  103. data/lib/oci/core/models/update_local_peering_gateway_details.rb +7 -1
  104. data/lib/oci/core/models/update_private_ip_details.rb +35 -5
  105. data/lib/oci/core/models/update_public_ip_details.rb +14 -2
  106. data/lib/oci/core/models/update_route_table_details.rb +28 -4
  107. data/lib/oci/core/models/update_security_list_details.rb +35 -5
  108. data/lib/oci/core/models/update_subnet_details.rb +21 -3
  109. data/lib/oci/core/models/update_vcn_details.rb +21 -3
  110. data/lib/oci/core/models/update_virtual_circuit_details.rb +49 -7
  111. data/lib/oci/core/models/update_vnic_details.rb +21 -3
  112. data/lib/oci/core/models/update_volume_backup_details.rb +21 -3
  113. data/lib/oci/core/models/update_volume_details.rb +21 -3
  114. data/lib/oci/core/models/vcn.rb +84 -12
  115. data/lib/oci/core/models/virtual_circuit.rb +126 -18
  116. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +7 -1
  117. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +14 -2
  118. data/lib/oci/core/models/vnic.rb +84 -12
  119. data/lib/oci/core/models/vnic_attachment.rb +70 -10
  120. data/lib/oci/core/models/volume.rb +77 -11
  121. data/lib/oci/core/models/volume_attachment.rb +63 -9
  122. data/lib/oci/core/models/volume_backup.rb +98 -14
  123. data/lib/oci/core/models/volume_backup_policy.rb +14 -2
  124. data/lib/oci/core/models/volume_backup_policy_assignment.rb +21 -3
  125. data/lib/oci/core/models/volume_backup_schedule.rb +21 -3
  126. data/lib/oci/database/database_client.rb +2 -2
  127. data/lib/oci/database/models/backup.rb +56 -8
  128. data/lib/oci/database/models/backup_summary.rb +56 -8
  129. data/lib/oci/database/models/create_backup_details.rb +14 -2
  130. data/lib/oci/database/models/create_data_guard_association_details.rb +28 -4
  131. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +10 -4
  132. data/lib/oci/database/models/create_database_details.rb +49 -7
  133. data/lib/oci/database/models/create_database_from_backup_details.rb +21 -3
  134. data/lib/oci/database/models/create_db_home_details.rb +14 -2
  135. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +14 -2
  136. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -3
  137. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -2
  138. data/lib/oci/database/models/data_guard_association.rb +91 -13
  139. data/lib/oci/database/models/data_guard_association_summary.rb +91 -13
  140. data/lib/oci/database/models/database.rb +84 -12
  141. data/lib/oci/database/models/database_summary.rb +84 -12
  142. data/lib/oci/database/models/db_backup_config.rb +7 -1
  143. data/lib/oci/database/models/db_home.rb +49 -7
  144. data/lib/oci/database/models/db_home_summary.rb +49 -7
  145. data/lib/oci/database/models/db_node.rb +42 -6
  146. data/lib/oci/database/models/db_node_summary.rb +42 -6
  147. data/lib/oci/database/models/db_system.rb +161 -23
  148. data/lib/oci/database/models/db_system_shape_summary.rb +7 -1
  149. data/lib/oci/database/models/db_system_summary.rb +161 -23
  150. data/lib/oci/database/models/db_version_summary.rb +7 -1
  151. data/lib/oci/database/models/failover_data_guard_association_details.rb +7 -1
  152. data/lib/oci/database/models/launch_db_system_details.rb +105 -15
  153. data/lib/oci/database/models/patch.rb +35 -5
  154. data/lib/oci/database/models/patch_details.rb +7 -1
  155. data/lib/oci/database/models/patch_history_entry.rb +35 -5
  156. data/lib/oci/database/models/patch_history_entry_summary.rb +35 -5
  157. data/lib/oci/database/models/patch_summary.rb +35 -5
  158. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +7 -1
  159. data/lib/oci/database/models/restore_database_details.rb +7 -1
  160. data/lib/oci/database/models/switchover_data_guard_association_details.rb +7 -1
  161. data/lib/oci/database/models/update_database_details.rb +7 -1
  162. data/lib/oci/database/models/update_db_home_details.rb +7 -1
  163. data/lib/oci/database/models/update_db_system_details.rb +21 -3
  164. data/lib/oci/dns/models/create_zone_details.rb +21 -3
  165. data/lib/oci/dns/models/record.rb +21 -3
  166. data/lib/oci/dns/models/record_details.rb +21 -3
  167. data/lib/oci/dns/models/record_operation.rb +21 -3
  168. data/lib/oci/dns/models/update_zone_details.rb +7 -1
  169. data/lib/oci/dns/models/zone.rb +42 -6
  170. data/lib/oci/dns/models/zone_summary.rb +28 -4
  171. data/lib/oci/file_storage/file_storage.rb +33 -0
  172. data/lib/oci/file_storage/file_storage_client.rb +1117 -0
  173. data/lib/oci/file_storage/models/create_export_details.rb +162 -0
  174. data/lib/oci/file_storage/models/create_file_system_details.rb +170 -0
  175. data/lib/oci/file_storage/models/create_mount_target_details.rb +242 -0
  176. data/lib/oci/file_storage/models/create_snapshot_details.rb +146 -0
  177. data/lib/oci/file_storage/models/export.rb +261 -0
  178. data/lib/oci/file_storage/models/export_set.rb +315 -0
  179. data/lib/oci/file_storage/models/export_set_summary.rb +260 -0
  180. data/lib/oci/file_storage/models/export_summary.rb +233 -0
  181. data/lib/oci/file_storage/models/file_system.rb +273 -0
  182. data/lib/oci/file_storage/models/file_system_summary.rb +265 -0
  183. data/lib/oci/file_storage/models/mount_target.rb +320 -0
  184. data/lib/oci/file_storage/models/mount_target_summary.rb +300 -0
  185. data/lib/oci/file_storage/models/snapshot.rb +217 -0
  186. data/lib/oci/file_storage/models/snapshot_summary.rb +217 -0
  187. data/lib/oci/file_storage/models/update_export_set_details.rb +185 -0
  188. data/lib/oci/file_storage/models/update_file_system_details.rb +131 -0
  189. data/lib/oci/file_storage/models/update_mount_target_details.rb +131 -0
  190. data/lib/oci/file_storage/util.rb +2 -0
  191. data/lib/oci/identity/models/add_user_to_group_details.rb +14 -2
  192. data/lib/oci/identity/models/api_key.rb +42 -6
  193. data/lib/oci/identity/models/availability_domain.rb +7 -1
  194. data/lib/oci/identity/models/compartment.rb +42 -6
  195. data/lib/oci/identity/models/create_compartment_details.rb +21 -3
  196. data/lib/oci/identity/models/create_customer_secret_key_details.rb +7 -1
  197. data/lib/oci/identity/models/create_dynamic_group_details.rb +14 -2
  198. data/lib/oci/identity/models/create_group_details.rb +21 -3
  199. data/lib/oci/identity/models/create_identity_provider_details.rb +28 -4
  200. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +14 -2
  201. data/lib/oci/identity/models/create_policy_details.rb +28 -4
  202. data/lib/oci/identity/models/create_region_subscription_details.rb +7 -1
  203. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
  204. data/lib/oci/identity/models/create_tag_details.rb +14 -2
  205. data/lib/oci/identity/models/create_tag_namespace_details.rb +21 -3
  206. data/lib/oci/identity/models/create_user_details.rb +21 -3
  207. data/lib/oci/identity/models/customer_secret_key.rb +42 -6
  208. data/lib/oci/identity/models/customer_secret_key_summary.rb +42 -6
  209. data/lib/oci/identity/models/dynamic_group.rb +35 -5
  210. data/lib/oci/identity/models/group.rb +42 -6
  211. data/lib/oci/identity/models/identity_provider.rb +49 -7
  212. data/lib/oci/identity/models/idp_group_mapping.rb +49 -7
  213. data/lib/oci/identity/models/policy.rb +49 -7
  214. data/lib/oci/identity/models/region_subscription.rb +21 -3
  215. data/lib/oci/identity/models/saml2_identity_provider.rb +28 -10
  216. data/lib/oci/identity/models/swift_password.rb +35 -5
  217. data/lib/oci/identity/models/tag.rb +49 -7
  218. data/lib/oci/identity/models/tag_namespace.rb +35 -5
  219. data/lib/oci/identity/models/tag_namespace_summary.rb +35 -5
  220. data/lib/oci/identity/models/tag_summary.rb +35 -5
  221. data/lib/oci/identity/models/tenancy.rb +21 -3
  222. data/lib/oci/identity/models/ui_password.rb +28 -4
  223. data/lib/oci/identity/models/update_compartment_details.rb +14 -2
  224. data/lib/oci/identity/models/update_customer_secret_key_details.rb +7 -1
  225. data/lib/oci/identity/models/update_dynamic_group_details.rb +7 -1
  226. data/lib/oci/identity/models/update_group_details.rb +14 -2
  227. data/lib/oci/identity/models/update_identity_provider_details.rb +14 -2
  228. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +14 -2
  229. data/lib/oci/identity/models/update_policy_details.rb +21 -3
  230. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +9 -3
  231. data/lib/oci/identity/models/update_tag_details.rb +21 -3
  232. data/lib/oci/identity/models/update_tag_namespace_details.rb +21 -3
  233. data/lib/oci/identity/models/update_user_details.rb +14 -2
  234. data/lib/oci/identity/models/user.rb +42 -6
  235. data/lib/oci/identity/models/user_group_membership.rb +42 -6
  236. data/lib/oci/load_balancer/models/backend.rb +7 -1
  237. data/lib/oci/load_balancer/models/backend_details.rb +7 -1
  238. data/lib/oci/load_balancer/models/backend_health.rb +7 -1
  239. data/lib/oci/load_balancer/models/backend_set.rb +21 -3
  240. data/lib/oci/load_balancer/models/backend_set_details.rb +21 -3
  241. data/lib/oci/load_balancer/models/backend_set_health.rb +28 -4
  242. data/lib/oci/load_balancer/models/certificate.rb +21 -3
  243. data/lib/oci/load_balancer/models/certificate_details.rb +28 -4
  244. data/lib/oci/load_balancer/models/connection_configuration.rb +7 -1
  245. data/lib/oci/load_balancer/models/create_backend_details.rb +7 -1
  246. data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -3
  247. data/lib/oci/load_balancer/models/create_certificate_details.rb +28 -4
  248. data/lib/oci/load_balancer/models/create_listener_details.rb +28 -4
  249. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -7
  250. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +7 -1
  251. data/lib/oci/load_balancer/models/health_check_result.rb +21 -3
  252. data/lib/oci/load_balancer/models/health_checker.rb +35 -5
  253. data/lib/oci/load_balancer/models/health_checker_details.rb +35 -5
  254. data/lib/oci/load_balancer/models/ip_address.rb +14 -2
  255. data/lib/oci/load_balancer/models/listener.rb +28 -4
  256. data/lib/oci/load_balancer/models/listener_details.rb +28 -4
  257. data/lib/oci/load_balancer/models/load_balancer.rb +70 -10
  258. data/lib/oci/load_balancer/models/load_balancer_health.rb +28 -4
  259. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +7 -1
  260. data/lib/oci/load_balancer/models/path_match_type.rb +7 -1
  261. data/lib/oci/load_balancer/models/path_route.rb +14 -2
  262. data/lib/oci/load_balancer/models/path_route_set.rb +7 -1
  263. data/lib/oci/load_balancer/models/path_route_set_details.rb +7 -1
  264. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +16 -2
  265. data/lib/oci/load_balancer/models/ssl_configuration.rb +23 -3
  266. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +23 -3
  267. data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -3
  268. data/lib/oci/load_balancer/models/update_health_checker_details.rb +35 -5
  269. data/lib/oci/load_balancer/models/update_listener_details.rb +28 -4
  270. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +7 -1
  271. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +7 -1
  272. data/lib/oci/load_balancer/models/work_request.rb +35 -5
  273. data/lib/oci/load_balancer/models/work_request_error.rb +7 -1
  274. data/lib/oci/object_storage/models/bucket.rb +83 -11
  275. data/lib/oci/object_storage/models/bucket_summary.rb +67 -7
  276. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +14 -2
  277. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +7 -1
  278. data/lib/oci/object_storage/models/create_bucket_details.rb +67 -7
  279. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +21 -3
  280. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +21 -3
  281. data/lib/oci/object_storage/models/list_objects.rb +7 -1
  282. data/lib/oci/object_storage/models/multipart_upload.rb +14 -2
  283. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +7 -1
  284. data/lib/oci/object_storage/models/namespace_metadata.rb +14 -2
  285. data/lib/oci/object_storage/models/object_summary.rb +7 -1
  286. data/lib/oci/object_storage/models/preauthenticated_request.rb +35 -5
  287. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +28 -4
  288. data/lib/oci/object_storage/models/rename_object_details.rb +35 -5
  289. data/lib/oci/object_storage/models/restore_objects_details.rb +25 -5
  290. data/lib/oci/object_storage/models/update_bucket_details.rb +60 -6
  291. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +14 -2
  292. data/lib/oci/object_storage/object_storage_client.rb +17 -5
  293. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +11 -3
  294. data/lib/oci/signer.rb +0 -8
  295. data/lib/oci/version.rb +1 -1
  296. data/lib/oci/waiter.rb +1 -0
  297. metadata +22 -2
@@ -64,13 +64,13 @@ module OCI
64
64
 
65
65
  # Initializes the object
66
66
  # @param [Hash] attributes Model attributes in the form of hash
67
- # @option attributes [Array<String>] :availableActions The value to assign to the {#available_actions} property
67
+ # @option attributes [Array<String>] :available_actions The value to assign to the {#available_actions} property
68
68
  # @option attributes [String] :description The value to assign to the {#description} property
69
69
  # @option attributes [String] :id The value to assign to the {#id} property
70
- # @option attributes [String] :lastAction The value to assign to the {#last_action} property
71
- # @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
72
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
73
- # @option attributes [DateTime] :timeReleased The value to assign to the {#time_released} property
70
+ # @option attributes [String] :last_action The value to assign to the {#last_action} property
71
+ # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
72
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
73
+ # @option attributes [DateTime] :time_released The value to assign to the {#time_released} property
74
74
  # @option attributes [String] :version The value to assign to the {#version} property
75
75
  def initialize(attributes = {})
76
76
  return unless attributes.is_a?(Hash)
@@ -82,6 +82,12 @@ module OCI
82
82
  self.available_actions = attributes[:'availableActions']
83
83
  end
84
84
 
85
+ raise 'You cannot provide both :availableActions and :available_actions' if attributes.key?(:'availableActions') && attributes.key?(:'available_actions')
86
+
87
+ if attributes[:'available_actions']
88
+ self.available_actions = attributes[:'available_actions']
89
+ end
90
+
85
91
  if attributes[:'description']
86
92
  self.description = attributes[:'description']
87
93
  end
@@ -94,18 +100,42 @@ module OCI
94
100
  self.last_action = attributes[:'lastAction']
95
101
  end
96
102
 
103
+ raise 'You cannot provide both :lastAction and :last_action' if attributes.key?(:'lastAction') && attributes.key?(:'last_action')
104
+
105
+ if attributes[:'last_action']
106
+ self.last_action = attributes[:'last_action']
107
+ end
108
+
97
109
  if attributes[:'lifecycleDetails']
98
110
  self.lifecycle_details = attributes[:'lifecycleDetails']
99
111
  end
100
112
 
113
+ raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
114
+
115
+ if attributes[:'lifecycle_details']
116
+ self.lifecycle_details = attributes[:'lifecycle_details']
117
+ end
118
+
101
119
  if attributes[:'lifecycleState']
102
120
  self.lifecycle_state = attributes[:'lifecycleState']
103
121
  end
104
122
 
123
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
124
+
125
+ if attributes[:'lifecycle_state']
126
+ self.lifecycle_state = attributes[:'lifecycle_state']
127
+ end
128
+
105
129
  if attributes[:'timeReleased']
106
130
  self.time_released = attributes[:'timeReleased']
107
131
  end
108
132
 
133
+ raise 'You cannot provide both :timeReleased and :time_released' if attributes.key?(:'timeReleased') && attributes.key?(:'time_released')
134
+
135
+ if attributes[:'time_released']
136
+ self.time_released = attributes[:'time_released']
137
+ end
138
+
109
139
  if attributes[:'version']
110
140
  self.version = attributes[:'version']
111
141
  end
@@ -24,7 +24,7 @@ module OCI
24
24
  # Initializes the object
25
25
  # @param [Hash] attributes Model attributes in the form of hash
26
26
  # @option attributes [String] :action The value to assign to the {#action} property
27
- # @option attributes [String] :patchId The value to assign to the {#patch_id} property
27
+ # @option attributes [String] :patch_id The value to assign to the {#patch_id} property
28
28
  def initialize(attributes = {})
29
29
  return unless attributes.is_a?(Hash)
30
30
 
@@ -39,6 +39,12 @@ module OCI
39
39
  self.patch_id = attributes[:'patchId']
40
40
  end
41
41
 
42
+ raise 'You cannot provide both :patchId and :patch_id' if attributes.key?(:'patchId') && attributes.key?(:'patch_id')
43
+
44
+ if attributes[:'patch_id']
45
+ self.patch_id = attributes[:'patch_id']
46
+ end
47
+
42
48
  end
43
49
 
44
50
  # Custom attribute writer method checking allowed values (enum).
@@ -51,11 +51,11 @@ module OCI
51
51
  # @param [Hash] attributes Model attributes in the form of hash
52
52
  # @option attributes [String] :action The value to assign to the {#action} property
53
53
  # @option attributes [String] :id The value to assign to the {#id} property
54
- # @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
55
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
56
- # @option attributes [String] :patchId The value to assign to the {#patch_id} property
57
- # @option attributes [DateTime] :timeEnded The value to assign to the {#time_ended} property
58
- # @option attributes [DateTime] :timeStarted The value to assign to the {#time_started} property
54
+ # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
55
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
56
+ # @option attributes [String] :patch_id The value to assign to the {#patch_id} property
57
+ # @option attributes [DateTime] :time_ended The value to assign to the {#time_ended} property
58
+ # @option attributes [DateTime] :time_started The value to assign to the {#time_started} property
59
59
  def initialize(attributes = {})
60
60
  return unless attributes.is_a?(Hash)
61
61
 
@@ -74,22 +74,52 @@ module OCI
74
74
  self.lifecycle_details = attributes[:'lifecycleDetails']
75
75
  end
76
76
 
77
+ raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
78
+
79
+ if attributes[:'lifecycle_details']
80
+ self.lifecycle_details = attributes[:'lifecycle_details']
81
+ end
82
+
77
83
  if attributes[:'lifecycleState']
78
84
  self.lifecycle_state = attributes[:'lifecycleState']
79
85
  end
80
86
 
87
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
88
+
89
+ if attributes[:'lifecycle_state']
90
+ self.lifecycle_state = attributes[:'lifecycle_state']
91
+ end
92
+
81
93
  if attributes[:'patchId']
82
94
  self.patch_id = attributes[:'patchId']
83
95
  end
84
96
 
97
+ raise 'You cannot provide both :patchId and :patch_id' if attributes.key?(:'patchId') && attributes.key?(:'patch_id')
98
+
99
+ if attributes[:'patch_id']
100
+ self.patch_id = attributes[:'patch_id']
101
+ end
102
+
85
103
  if attributes[:'timeEnded']
86
104
  self.time_ended = attributes[:'timeEnded']
87
105
  end
88
106
 
107
+ raise 'You cannot provide both :timeEnded and :time_ended' if attributes.key?(:'timeEnded') && attributes.key?(:'time_ended')
108
+
109
+ if attributes[:'time_ended']
110
+ self.time_ended = attributes[:'time_ended']
111
+ end
112
+
89
113
  if attributes[:'timeStarted']
90
114
  self.time_started = attributes[:'timeStarted']
91
115
  end
92
116
 
117
+ raise 'You cannot provide both :timeStarted and :time_started' if attributes.key?(:'timeStarted') && attributes.key?(:'time_started')
118
+
119
+ if attributes[:'time_started']
120
+ self.time_started = attributes[:'time_started']
121
+ end
122
+
93
123
  end
94
124
 
95
125
  # Custom attribute writer method checking allowed values (enum).
@@ -51,11 +51,11 @@ module OCI
51
51
  # @param [Hash] attributes Model attributes in the form of hash
52
52
  # @option attributes [String] :action The value to assign to the {#action} property
53
53
  # @option attributes [String] :id The value to assign to the {#id} property
54
- # @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
55
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
56
- # @option attributes [String] :patchId The value to assign to the {#patch_id} property
57
- # @option attributes [DateTime] :timeEnded The value to assign to the {#time_ended} property
58
- # @option attributes [DateTime] :timeStarted The value to assign to the {#time_started} property
54
+ # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
55
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
56
+ # @option attributes [String] :patch_id The value to assign to the {#patch_id} property
57
+ # @option attributes [DateTime] :time_ended The value to assign to the {#time_ended} property
58
+ # @option attributes [DateTime] :time_started The value to assign to the {#time_started} property
59
59
  def initialize(attributes = {})
60
60
  return unless attributes.is_a?(Hash)
61
61
 
@@ -74,22 +74,52 @@ module OCI
74
74
  self.lifecycle_details = attributes[:'lifecycleDetails']
75
75
  end
76
76
 
77
+ raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
78
+
79
+ if attributes[:'lifecycle_details']
80
+ self.lifecycle_details = attributes[:'lifecycle_details']
81
+ end
82
+
77
83
  if attributes[:'lifecycleState']
78
84
  self.lifecycle_state = attributes[:'lifecycleState']
79
85
  end
80
86
 
87
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
88
+
89
+ if attributes[:'lifecycle_state']
90
+ self.lifecycle_state = attributes[:'lifecycle_state']
91
+ end
92
+
81
93
  if attributes[:'patchId']
82
94
  self.patch_id = attributes[:'patchId']
83
95
  end
84
96
 
97
+ raise 'You cannot provide both :patchId and :patch_id' if attributes.key?(:'patchId') && attributes.key?(:'patch_id')
98
+
99
+ if attributes[:'patch_id']
100
+ self.patch_id = attributes[:'patch_id']
101
+ end
102
+
85
103
  if attributes[:'timeEnded']
86
104
  self.time_ended = attributes[:'timeEnded']
87
105
  end
88
106
 
107
+ raise 'You cannot provide both :timeEnded and :time_ended' if attributes.key?(:'timeEnded') && attributes.key?(:'time_ended')
108
+
109
+ if attributes[:'time_ended']
110
+ self.time_ended = attributes[:'time_ended']
111
+ end
112
+
89
113
  if attributes[:'timeStarted']
90
114
  self.time_started = attributes[:'timeStarted']
91
115
  end
92
116
 
117
+ raise 'You cannot provide both :timeStarted and :time_started' if attributes.key?(:'timeStarted') && attributes.key?(:'time_started')
118
+
119
+ if attributes[:'time_started']
120
+ self.time_started = attributes[:'time_started']
121
+ end
122
+
93
123
  end
94
124
 
95
125
  # Custom attribute writer method checking allowed values (enum).
@@ -64,13 +64,13 @@ module OCI
64
64
 
65
65
  # Initializes the object
66
66
  # @param [Hash] attributes Model attributes in the form of hash
67
- # @option attributes [Array<String>] :availableActions The value to assign to the {#available_actions} property
67
+ # @option attributes [Array<String>] :available_actions The value to assign to the {#available_actions} property
68
68
  # @option attributes [String] :description The value to assign to the {#description} property
69
69
  # @option attributes [String] :id The value to assign to the {#id} property
70
- # @option attributes [String] :lastAction The value to assign to the {#last_action} property
71
- # @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
72
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
73
- # @option attributes [DateTime] :timeReleased The value to assign to the {#time_released} property
70
+ # @option attributes [String] :last_action The value to assign to the {#last_action} property
71
+ # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
72
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
73
+ # @option attributes [DateTime] :time_released The value to assign to the {#time_released} property
74
74
  # @option attributes [String] :version The value to assign to the {#version} property
75
75
  def initialize(attributes = {})
76
76
  return unless attributes.is_a?(Hash)
@@ -82,6 +82,12 @@ module OCI
82
82
  self.available_actions = attributes[:'availableActions']
83
83
  end
84
84
 
85
+ raise 'You cannot provide both :availableActions and :available_actions' if attributes.key?(:'availableActions') && attributes.key?(:'available_actions')
86
+
87
+ if attributes[:'available_actions']
88
+ self.available_actions = attributes[:'available_actions']
89
+ end
90
+
85
91
  if attributes[:'description']
86
92
  self.description = attributes[:'description']
87
93
  end
@@ -94,18 +100,42 @@ module OCI
94
100
  self.last_action = attributes[:'lastAction']
95
101
  end
96
102
 
103
+ raise 'You cannot provide both :lastAction and :last_action' if attributes.key?(:'lastAction') && attributes.key?(:'last_action')
104
+
105
+ if attributes[:'last_action']
106
+ self.last_action = attributes[:'last_action']
107
+ end
108
+
97
109
  if attributes[:'lifecycleDetails']
98
110
  self.lifecycle_details = attributes[:'lifecycleDetails']
99
111
  end
100
112
 
113
+ raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
114
+
115
+ if attributes[:'lifecycle_details']
116
+ self.lifecycle_details = attributes[:'lifecycle_details']
117
+ end
118
+
101
119
  if attributes[:'lifecycleState']
102
120
  self.lifecycle_state = attributes[:'lifecycleState']
103
121
  end
104
122
 
123
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
124
+
125
+ if attributes[:'lifecycle_state']
126
+ self.lifecycle_state = attributes[:'lifecycle_state']
127
+ end
128
+
105
129
  if attributes[:'timeReleased']
106
130
  self.time_released = attributes[:'timeReleased']
107
131
  end
108
132
 
133
+ raise 'You cannot provide both :timeReleased and :time_released' if attributes.key?(:'timeReleased') && attributes.key?(:'time_released')
134
+
135
+ if attributes[:'time_released']
136
+ self.time_released = attributes[:'time_released']
137
+ end
138
+
109
139
  if attributes[:'version']
110
140
  self.version = attributes[:'version']
111
141
  end
@@ -13,7 +13,7 @@ module OCI
13
13
 
14
14
  # Initializes the object
15
15
  # @param [Hash] attributes Model attributes in the form of hash
16
- # @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
16
+ # @option attributes [String] :database_admin_password The value to assign to the {#database_admin_password} property
17
17
  def initialize(attributes = {})
18
18
  return unless attributes.is_a?(Hash)
19
19
 
@@ -24,6 +24,12 @@ module OCI
24
24
  self.database_admin_password = attributes[:'databaseAdminPassword']
25
25
  end
26
26
 
27
+ raise 'You cannot provide both :databaseAdminPassword and :database_admin_password' if attributes.key?(:'databaseAdminPassword') && attributes.key?(:'database_admin_password')
28
+
29
+ if attributes[:'database_admin_password']
30
+ self.database_admin_password = attributes[:'database_admin_password']
31
+ end
32
+
27
33
  end
28
34
 
29
35
  # Checks equality by comparing each attribute.
@@ -22,7 +22,7 @@ module OCI
22
22
 
23
23
  # Initializes the object
24
24
  # @param [Hash] attributes Model attributes in the form of hash
25
- # @option attributes [String] :databaseSCN The value to assign to the {#database_scn} property
25
+ # @option attributes [String] :database_scn The value to assign to the {#database_scn} property
26
26
  # @option attributes [BOOLEAN] :latest The value to assign to the {#latest} property
27
27
  # @option attributes [DateTime] :timestamp The value to assign to the {#timestamp} property
28
28
  def initialize(attributes = {})
@@ -35,6 +35,12 @@ module OCI
35
35
  self.database_scn = attributes[:'databaseSCN']
36
36
  end
37
37
 
38
+ raise 'You cannot provide both :databaseSCN and :database_scn' if attributes.key?(:'databaseSCN') && attributes.key?(:'database_scn')
39
+
40
+ if attributes[:'database_scn']
41
+ self.database_scn = attributes[:'database_scn']
42
+ end
43
+
38
44
  unless attributes[:'latest'].nil?
39
45
  self.latest = attributes[:'latest']
40
46
  end
@@ -13,7 +13,7 @@ module OCI
13
13
 
14
14
  # Initializes the object
15
15
  # @param [Hash] attributes Model attributes in the form of hash
16
- # @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
16
+ # @option attributes [String] :database_admin_password The value to assign to the {#database_admin_password} property
17
17
  def initialize(attributes = {})
18
18
  return unless attributes.is_a?(Hash)
19
19
 
@@ -24,6 +24,12 @@ module OCI
24
24
  self.database_admin_password = attributes[:'databaseAdminPassword']
25
25
  end
26
26
 
27
+ raise 'You cannot provide both :databaseAdminPassword and :database_admin_password' if attributes.key?(:'databaseAdminPassword') && attributes.key?(:'database_admin_password')
28
+
29
+ if attributes[:'database_admin_password']
30
+ self.database_admin_password = attributes[:'database_admin_password']
31
+ end
32
+
27
33
  end
28
34
 
29
35
  # Checks equality by comparing each attribute.
@@ -10,7 +10,7 @@ module OCI
10
10
 
11
11
  # Initializes the object
12
12
  # @param [Hash] attributes Model attributes in the form of hash
13
- # @option attributes [OCI::Database::Models::DbBackupConfig] :dbBackupConfig The value to assign to the {#db_backup_config} property
13
+ # @option attributes [OCI::Database::Models::DbBackupConfig] :db_backup_config The value to assign to the {#db_backup_config} property
14
14
  def initialize(attributes = {})
15
15
  return unless attributes.is_a?(Hash)
16
16
 
@@ -21,6 +21,12 @@ module OCI
21
21
  self.db_backup_config = attributes[:'dbBackupConfig']
22
22
  end
23
23
 
24
+ raise 'You cannot provide both :dbBackupConfig and :db_backup_config' if attributes.key?(:'dbBackupConfig') && attributes.key?(:'db_backup_config')
25
+
26
+ if attributes[:'db_backup_config']
27
+ self.db_backup_config = attributes[:'db_backup_config']
28
+ end
29
+
24
30
  end
25
31
 
26
32
  # Checks equality by comparing each attribute.
@@ -12,7 +12,7 @@ module OCI
12
12
 
13
13
  # Initializes the object
14
14
  # @param [Hash] attributes Model attributes in the form of hash
15
- # @option attributes [OCI::Database::Models::PatchDetails] :dbVersion The value to assign to the {#db_version} property
15
+ # @option attributes [OCI::Database::Models::PatchDetails] :db_version The value to assign to the {#db_version} property
16
16
  def initialize(attributes = {})
17
17
  return unless attributes.is_a?(Hash)
18
18
 
@@ -23,6 +23,12 @@ module OCI
23
23
  self.db_version = attributes[:'dbVersion']
24
24
  end
25
25
 
26
+ raise 'You cannot provide both :dbVersion and :db_version' if attributes.key?(:'dbVersion') && attributes.key?(:'db_version')
27
+
28
+ if attributes[:'db_version']
29
+ self.db_version = attributes[:'db_version']
30
+ end
31
+
26
32
  end
27
33
 
28
34
  # Checks equality by comparing each attribute.
@@ -25,9 +25,9 @@ module OCI
25
25
 
26
26
  # Initializes the object
27
27
  # @param [Hash] attributes Model attributes in the form of hash
28
- # @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
29
- # @option attributes [Integer] :dataStorageSizeInGBs The value to assign to the {#data_storage_size_in_gbs} property
30
- # @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
28
+ # @option attributes [Integer] :cpu_core_count The value to assign to the {#cpu_core_count} property
29
+ # @option attributes [Integer] :data_storage_size_in_gbs The value to assign to the {#data_storage_size_in_gbs} property
30
+ # @option attributes [Array<String>] :ssh_public_keys The value to assign to the {#ssh_public_keys} property
31
31
  # @option attributes [OCI::Database::Models::PatchDetails] :version The value to assign to the {#version} property
32
32
  def initialize(attributes = {})
33
33
  return unless attributes.is_a?(Hash)
@@ -39,14 +39,32 @@ module OCI
39
39
  self.cpu_core_count = attributes[:'cpuCoreCount']
40
40
  end
41
41
 
42
+ raise 'You cannot provide both :cpuCoreCount and :cpu_core_count' if attributes.key?(:'cpuCoreCount') && attributes.key?(:'cpu_core_count')
43
+
44
+ if attributes[:'cpu_core_count']
45
+ self.cpu_core_count = attributes[:'cpu_core_count']
46
+ end
47
+
42
48
  if attributes[:'dataStorageSizeInGBs']
43
49
  self.data_storage_size_in_gbs = attributes[:'dataStorageSizeInGBs']
44
50
  end
45
51
 
52
+ raise 'You cannot provide both :dataStorageSizeInGBs and :data_storage_size_in_gbs' if attributes.key?(:'dataStorageSizeInGBs') && attributes.key?(:'data_storage_size_in_gbs')
53
+
54
+ if attributes[:'data_storage_size_in_gbs']
55
+ self.data_storage_size_in_gbs = attributes[:'data_storage_size_in_gbs']
56
+ end
57
+
46
58
  if attributes[:'sshPublicKeys']
47
59
  self.ssh_public_keys = attributes[:'sshPublicKeys']
48
60
  end
49
61
 
62
+ raise 'You cannot provide both :sshPublicKeys and :ssh_public_keys' if attributes.key?(:'sshPublicKeys') && attributes.key?(:'ssh_public_keys')
63
+
64
+ if attributes[:'ssh_public_keys']
65
+ self.ssh_public_keys = attributes[:'ssh_public_keys']
66
+ end
67
+
50
68
  if attributes[:'version']
51
69
  self.version = attributes[:'version']
52
70
  end