oci 2.0.7 → 2.0.8

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 (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
@@ -65,13 +65,13 @@ module OCI
65
65
  # Initializes the object
66
66
  # @param [Hash] attributes Model attributes in the form of hash
67
67
  # @option attributes [String] :id The value to assign to the {#id} property
68
- # @option attributes [String] :idpId The value to assign to the {#idp_id} property
69
- # @option attributes [String] :idpGroupName The value to assign to the {#idp_group_name} property
70
- # @option attributes [String] :groupId The value to assign to the {#group_id} property
71
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
72
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
73
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
74
- # @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
68
+ # @option attributes [String] :idp_id The value to assign to the {#idp_id} property
69
+ # @option attributes [String] :idp_group_name The value to assign to the {#idp_group_name} property
70
+ # @option attributes [String] :group_id The value to assign to the {#group_id} property
71
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
72
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
73
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
74
+ # @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
75
75
  def initialize(attributes = {})
76
76
  return unless attributes.is_a?(Hash)
77
77
 
@@ -86,30 +86,72 @@ module OCI
86
86
  self.idp_id = attributes[:'idpId']
87
87
  end
88
88
 
89
+ raise 'You cannot provide both :idpId and :idp_id' if attributes.key?(:'idpId') && attributes.key?(:'idp_id')
90
+
91
+ if attributes[:'idp_id']
92
+ self.idp_id = attributes[:'idp_id']
93
+ end
94
+
89
95
  if attributes[:'idpGroupName']
90
96
  self.idp_group_name = attributes[:'idpGroupName']
91
97
  end
92
98
 
99
+ raise 'You cannot provide both :idpGroupName and :idp_group_name' if attributes.key?(:'idpGroupName') && attributes.key?(:'idp_group_name')
100
+
101
+ if attributes[:'idp_group_name']
102
+ self.idp_group_name = attributes[:'idp_group_name']
103
+ end
104
+
93
105
  if attributes[:'groupId']
94
106
  self.group_id = attributes[:'groupId']
95
107
  end
96
108
 
109
+ raise 'You cannot provide both :groupId and :group_id' if attributes.key?(:'groupId') && attributes.key?(:'group_id')
110
+
111
+ if attributes[:'group_id']
112
+ self.group_id = attributes[:'group_id']
113
+ end
114
+
97
115
  if attributes[:'compartmentId']
98
116
  self.compartment_id = attributes[:'compartmentId']
99
117
  end
100
118
 
119
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
120
+
121
+ if attributes[:'compartment_id']
122
+ self.compartment_id = attributes[:'compartment_id']
123
+ end
124
+
101
125
  if attributes[:'timeCreated']
102
126
  self.time_created = attributes[:'timeCreated']
103
127
  end
104
128
 
129
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
130
+
131
+ if attributes[:'time_created']
132
+ self.time_created = attributes[:'time_created']
133
+ end
134
+
105
135
  if attributes[:'lifecycleState']
106
136
  self.lifecycle_state = attributes[:'lifecycleState']
107
137
  end
108
138
 
139
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
140
+
141
+ if attributes[:'lifecycle_state']
142
+ self.lifecycle_state = attributes[:'lifecycle_state']
143
+ end
144
+
109
145
  if attributes[:'inactiveStatus']
110
146
  self.inactive_status = attributes[:'inactiveStatus']
111
147
  end
112
148
 
149
+ raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
150
+
151
+ if attributes[:'inactive_status']
152
+ self.inactive_status = attributes[:'inactive_status']
153
+ end
154
+
113
155
  end
114
156
 
115
157
  # Custom attribute writer method checking allowed values (enum).
@@ -91,16 +91,16 @@ module OCI
91
91
  # Initializes the object
92
92
  # @param [Hash] attributes Model attributes in the form of hash
93
93
  # @option attributes [String] :id The value to assign to the {#id} property
94
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
94
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
95
95
  # @option attributes [String] :name The value to assign to the {#name} property
96
96
  # @option attributes [Array<String>] :statements The value to assign to the {#statements} property
97
97
  # @option attributes [String] :description The value to assign to the {#description} property
98
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
99
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
100
- # @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
101
- # @option attributes [DateTime] :versionDate The value to assign to the {#version_date} property
102
- # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
103
- # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
98
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
99
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
100
+ # @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
101
+ # @option attributes [DateTime] :version_date The value to assign to the {#version_date} property
102
+ # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
103
+ # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
104
104
  def initialize(attributes = {})
105
105
  return unless attributes.is_a?(Hash)
106
106
 
@@ -115,6 +115,12 @@ module OCI
115
115
  self.compartment_id = attributes[:'compartmentId']
116
116
  end
117
117
 
118
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
119
+
120
+ if attributes[:'compartment_id']
121
+ self.compartment_id = attributes[:'compartment_id']
122
+ end
123
+
118
124
  if attributes[:'name']
119
125
  self.name = attributes[:'name']
120
126
  end
@@ -131,26 +137,62 @@ module OCI
131
137
  self.time_created = attributes[:'timeCreated']
132
138
  end
133
139
 
140
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
141
+
142
+ if attributes[:'time_created']
143
+ self.time_created = attributes[:'time_created']
144
+ end
145
+
134
146
  if attributes[:'lifecycleState']
135
147
  self.lifecycle_state = attributes[:'lifecycleState']
136
148
  end
137
149
 
150
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
151
+
152
+ if attributes[:'lifecycle_state']
153
+ self.lifecycle_state = attributes[:'lifecycle_state']
154
+ end
155
+
138
156
  if attributes[:'inactiveStatus']
139
157
  self.inactive_status = attributes[:'inactiveStatus']
140
158
  end
141
159
 
160
+ raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
161
+
162
+ if attributes[:'inactive_status']
163
+ self.inactive_status = attributes[:'inactive_status']
164
+ end
165
+
142
166
  if attributes[:'versionDate']
143
167
  self.version_date = attributes[:'versionDate']
144
168
  end
145
169
 
170
+ raise 'You cannot provide both :versionDate and :version_date' if attributes.key?(:'versionDate') && attributes.key?(:'version_date')
171
+
172
+ if attributes[:'version_date']
173
+ self.version_date = attributes[:'version_date']
174
+ end
175
+
146
176
  if attributes[:'freeformTags']
147
177
  self.freeform_tags = attributes[:'freeformTags']
148
178
  end
149
179
 
180
+ raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
181
+
182
+ if attributes[:'freeform_tags']
183
+ self.freeform_tags = attributes[:'freeform_tags']
184
+ end
185
+
150
186
  if attributes[:'definedTags']
151
187
  self.defined_tags = attributes[:'definedTags']
152
188
  end
153
189
 
190
+ raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
191
+
192
+ if attributes[:'defined_tags']
193
+ self.defined_tags = attributes[:'defined_tags']
194
+ end
195
+
154
196
  end
155
197
 
156
198
  # Custom attribute writer method checking allowed values (enum).
@@ -47,10 +47,10 @@ module OCI
47
47
 
48
48
  # Initializes the object
49
49
  # @param [Hash] attributes Model attributes in the form of hash
50
- # @option attributes [String] :regionKey The value to assign to the {#region_key} property
51
- # @option attributes [String] :regionName The value to assign to the {#region_name} property
50
+ # @option attributes [String] :region_key The value to assign to the {#region_key} property
51
+ # @option attributes [String] :region_name The value to assign to the {#region_name} property
52
52
  # @option attributes [String] :status The value to assign to the {#status} property
53
- # @option attributes [BOOLEAN] :isHomeRegion The value to assign to the {#is_home_region} property
53
+ # @option attributes [BOOLEAN] :is_home_region The value to assign to the {#is_home_region} property
54
54
  def initialize(attributes = {})
55
55
  return unless attributes.is_a?(Hash)
56
56
 
@@ -61,10 +61,22 @@ module OCI
61
61
  self.region_key = attributes[:'regionKey']
62
62
  end
63
63
 
64
+ raise 'You cannot provide both :regionKey and :region_key' if attributes.key?(:'regionKey') && attributes.key?(:'region_key')
65
+
66
+ if attributes[:'region_key']
67
+ self.region_key = attributes[:'region_key']
68
+ end
69
+
64
70
  if attributes[:'regionName']
65
71
  self.region_name = attributes[:'regionName']
66
72
  end
67
73
 
74
+ raise 'You cannot provide both :regionName and :region_name' if attributes.key?(:'regionName') && attributes.key?(:'region_name')
75
+
76
+ if attributes[:'region_name']
77
+ self.region_name = attributes[:'region_name']
78
+ end
79
+
68
80
  if attributes[:'status']
69
81
  self.status = attributes[:'status']
70
82
  end
@@ -73,6 +85,12 @@ module OCI
73
85
  self.is_home_region = attributes[:'isHomeRegion']
74
86
  end
75
87
 
88
+ raise 'You cannot provide both :isHomeRegion and :is_home_region' if attributes.key?(:'isHomeRegion') && attributes.key?(:'is_home_region')
89
+
90
+ unless attributes[:'is_home_region'].nil?
91
+ self.is_home_region = attributes[:'is_home_region']
92
+ end
93
+
76
94
  end
77
95
 
78
96
  # Custom attribute writer method checking allowed values (enum).
@@ -31,18 +31,18 @@ module OCI
31
31
  # Initializes the object
32
32
  # @param [Hash] attributes Model attributes in the form of hash
33
33
  # @option attributes [String] :id The value to assign to the {OCI::Identity::Models::IdentityProvider#id #id} proprety
34
- # @option attributes [String] :compartmentId The value to assign to the {OCI::Identity::Models::IdentityProvider#compartment_id #compartment_id} proprety
34
+ # @option attributes [String] :compartment_id The value to assign to the {OCI::Identity::Models::IdentityProvider#compartment_id #compartment_id} proprety
35
35
  # @option attributes [String] :name The value to assign to the {OCI::Identity::Models::IdentityProvider#name #name} proprety
36
36
  # @option attributes [String] :description The value to assign to the {OCI::Identity::Models::IdentityProvider#description #description} proprety
37
- # @option attributes [String] :productType The value to assign to the {OCI::Identity::Models::IdentityProvider#product_type #product_type} proprety
38
- # @option attributes [DateTime] :timeCreated The value to assign to the {OCI::Identity::Models::IdentityProvider#time_created #time_created} proprety
39
- # @option attributes [String] :lifecycleState The value to assign to the {OCI::Identity::Models::IdentityProvider#lifecycle_state #lifecycle_state} proprety
40
- # @option attributes [Integer] :inactiveStatus The value to assign to the {OCI::Identity::Models::IdentityProvider#inactive_status #inactive_status} proprety
41
- # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {OCI::Identity::Models::IdentityProvider#freeform_tags #freeform_tags} proprety
42
- # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {OCI::Identity::Models::IdentityProvider#defined_tags #defined_tags} proprety
43
- # @option attributes [String] :metadataUrl The value to assign to the {#metadata_url} property
44
- # @option attributes [String] :signingCertificate The value to assign to the {#signing_certificate} property
45
- # @option attributes [String] :redirectUrl The value to assign to the {#redirect_url} property
37
+ # @option attributes [String] :product_type The value to assign to the {OCI::Identity::Models::IdentityProvider#product_type #product_type} proprety
38
+ # @option attributes [DateTime] :time_created The value to assign to the {OCI::Identity::Models::IdentityProvider#time_created #time_created} proprety
39
+ # @option attributes [String] :lifecycle_state The value to assign to the {OCI::Identity::Models::IdentityProvider#lifecycle_state #lifecycle_state} proprety
40
+ # @option attributes [Integer] :inactive_status The value to assign to the {OCI::Identity::Models::IdentityProvider#inactive_status #inactive_status} proprety
41
+ # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {OCI::Identity::Models::IdentityProvider#freeform_tags #freeform_tags} proprety
42
+ # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {OCI::Identity::Models::IdentityProvider#defined_tags #defined_tags} proprety
43
+ # @option attributes [String] :metadata_url The value to assign to the {#metadata_url} property
44
+ # @option attributes [String] :signing_certificate The value to assign to the {#signing_certificate} property
45
+ # @option attributes [String] :redirect_url The value to assign to the {#redirect_url} property
46
46
  def initialize(attributes = {})
47
47
  return unless attributes.is_a?(Hash)
48
48
 
@@ -57,14 +57,32 @@ module OCI
57
57
  self.metadata_url = attributes[:'metadataUrl']
58
58
  end
59
59
 
60
+ raise 'You cannot provide both :metadataUrl and :metadata_url' if attributes.key?(:'metadataUrl') && attributes.key?(:'metadata_url')
61
+
62
+ if attributes[:'metadata_url']
63
+ self.metadata_url = attributes[:'metadata_url']
64
+ end
65
+
60
66
  if attributes[:'signingCertificate']
61
67
  self.signing_certificate = attributes[:'signingCertificate']
62
68
  end
63
69
 
70
+ raise 'You cannot provide both :signingCertificate and :signing_certificate' if attributes.key?(:'signingCertificate') && attributes.key?(:'signing_certificate')
71
+
72
+ if attributes[:'signing_certificate']
73
+ self.signing_certificate = attributes[:'signing_certificate']
74
+ end
75
+
64
76
  if attributes[:'redirectUrl']
65
77
  self.redirect_url = attributes[:'redirectUrl']
66
78
  end
67
79
 
80
+ raise 'You cannot provide both :redirectUrl and :redirect_url' if attributes.key?(:'redirectUrl') && attributes.key?(:'redirect_url')
81
+
82
+ if attributes[:'redirect_url']
83
+ self.redirect_url = attributes[:'redirect_url']
84
+ end
85
+
68
86
  end
69
87
 
70
88
  # Checks equality by comparing each attribute.
@@ -68,12 +68,12 @@ module OCI
68
68
  # @param [Hash] attributes Model attributes in the form of hash
69
69
  # @option attributes [String] :password The value to assign to the {#password} property
70
70
  # @option attributes [String] :id The value to assign to the {#id} property
71
- # @option attributes [String] :userId The value to assign to the {#user_id} property
71
+ # @option attributes [String] :user_id The value to assign to the {#user_id} property
72
72
  # @option attributes [String] :description The value to assign to the {#description} property
73
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
74
- # @option attributes [DateTime] :expiresOn The value to assign to the {#expires_on} property
75
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
76
- # @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
73
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
74
+ # @option attributes [DateTime] :expires_on The value to assign to the {#expires_on} property
75
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
76
+ # @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
77
77
  def initialize(attributes = {})
78
78
  return unless attributes.is_a?(Hash)
79
79
 
@@ -92,6 +92,12 @@ module OCI
92
92
  self.user_id = attributes[:'userId']
93
93
  end
94
94
 
95
+ raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id')
96
+
97
+ if attributes[:'user_id']
98
+ self.user_id = attributes[:'user_id']
99
+ end
100
+
95
101
  if attributes[:'description']
96
102
  self.description = attributes[:'description']
97
103
  end
@@ -100,18 +106,42 @@ module OCI
100
106
  self.time_created = attributes[:'timeCreated']
101
107
  end
102
108
 
109
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
110
+
111
+ if attributes[:'time_created']
112
+ self.time_created = attributes[:'time_created']
113
+ end
114
+
103
115
  if attributes[:'expiresOn']
104
116
  self.expires_on = attributes[:'expiresOn']
105
117
  end
106
118
 
119
+ raise 'You cannot provide both :expiresOn and :expires_on' if attributes.key?(:'expiresOn') && attributes.key?(:'expires_on')
120
+
121
+ if attributes[:'expires_on']
122
+ self.expires_on = attributes[:'expires_on']
123
+ end
124
+
107
125
  if attributes[:'lifecycleState']
108
126
  self.lifecycle_state = attributes[:'lifecycleState']
109
127
  end
110
128
 
129
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
130
+
131
+ if attributes[:'lifecycle_state']
132
+ self.lifecycle_state = attributes[:'lifecycle_state']
133
+ end
134
+
111
135
  if attributes[:'inactiveStatus']
112
136
  self.inactive_status = attributes[:'inactiveStatus']
113
137
  end
114
138
 
139
+ raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
140
+
141
+ if attributes[:'inactive_status']
142
+ self.inactive_status = attributes[:'inactive_status']
143
+ end
144
+
115
145
  end
116
146
 
117
147
  # Custom attribute writer method checking allowed values (enum).
@@ -63,16 +63,16 @@ module OCI
63
63
 
64
64
  # Initializes the object
65
65
  # @param [Hash] attributes Model attributes in the form of hash
66
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
67
- # @option attributes [String] :tagNamespaceId The value to assign to the {#tag_namespace_id} property
68
- # @option attributes [String] :tagNamespaceName The value to assign to the {#tag_namespace_name} property
66
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
67
+ # @option attributes [String] :tag_namespace_id The value to assign to the {#tag_namespace_id} property
68
+ # @option attributes [String] :tag_namespace_name The value to assign to the {#tag_namespace_name} property
69
69
  # @option attributes [String] :id The value to assign to the {#id} property
70
70
  # @option attributes [String] :name The value to assign to the {#name} property
71
71
  # @option attributes [String] :description The value to assign to the {#description} property
72
- # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
73
- # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
74
- # @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
75
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
72
+ # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
73
+ # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
74
+ # @option attributes [BOOLEAN] :is_retired The value to assign to the {#is_retired} property
75
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
76
76
  def initialize(attributes = {})
77
77
  return unless attributes.is_a?(Hash)
78
78
 
@@ -83,14 +83,32 @@ module OCI
83
83
  self.compartment_id = attributes[:'compartmentId']
84
84
  end
85
85
 
86
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
87
+
88
+ if attributes[:'compartment_id']
89
+ self.compartment_id = attributes[:'compartment_id']
90
+ end
91
+
86
92
  if attributes[:'tagNamespaceId']
87
93
  self.tag_namespace_id = attributes[:'tagNamespaceId']
88
94
  end
89
95
 
96
+ raise 'You cannot provide both :tagNamespaceId and :tag_namespace_id' if attributes.key?(:'tagNamespaceId') && attributes.key?(:'tag_namespace_id')
97
+
98
+ if attributes[:'tag_namespace_id']
99
+ self.tag_namespace_id = attributes[:'tag_namespace_id']
100
+ end
101
+
90
102
  if attributes[:'tagNamespaceName']
91
103
  self.tag_namespace_name = attributes[:'tagNamespaceName']
92
104
  end
93
105
 
106
+ raise 'You cannot provide both :tagNamespaceName and :tag_namespace_name' if attributes.key?(:'tagNamespaceName') && attributes.key?(:'tag_namespace_name')
107
+
108
+ if attributes[:'tag_namespace_name']
109
+ self.tag_namespace_name = attributes[:'tag_namespace_name']
110
+ end
111
+
94
112
  if attributes[:'id']
95
113
  self.id = attributes[:'id']
96
114
  end
@@ -107,18 +125,42 @@ module OCI
107
125
  self.freeform_tags = attributes[:'freeformTags']
108
126
  end
109
127
 
128
+ raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
129
+
130
+ if attributes[:'freeform_tags']
131
+ self.freeform_tags = attributes[:'freeform_tags']
132
+ end
133
+
110
134
  if attributes[:'definedTags']
111
135
  self.defined_tags = attributes[:'definedTags']
112
136
  end
113
137
 
138
+ raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
139
+
140
+ if attributes[:'defined_tags']
141
+ self.defined_tags = attributes[:'defined_tags']
142
+ end
143
+
114
144
  unless attributes[:'isRetired'].nil?
115
145
  self.is_retired = attributes[:'isRetired']
116
146
  end
117
147
 
148
+ raise 'You cannot provide both :isRetired and :is_retired' if attributes.key?(:'isRetired') && attributes.key?(:'is_retired')
149
+
150
+ unless attributes[:'is_retired'].nil?
151
+ self.is_retired = attributes[:'is_retired']
152
+ end
153
+
118
154
  if attributes[:'timeCreated']
119
155
  self.time_created = attributes[:'timeCreated']
120
156
  end
121
157
 
158
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
159
+
160
+ if attributes[:'time_created']
161
+ self.time_created = attributes[:'time_created']
162
+ end
163
+
122
164
  end
123
165
 
124
166
  # Checks equality by comparing each attribute.