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.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/oci.rb +1 -0
- data/lib/oci/api_client.rb +21 -11
- data/lib/oci/audit/models/audit_event.rb +133 -19
- data/lib/oci/audit/models/configuration.rb +7 -1
- data/lib/oci/audit/models/update_configuration_details.rb +7 -1
- data/lib/oci/base_signer.rb +1 -2
- data/lib/oci/core/models/attach_boot_volume_details.rb +21 -3
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +11 -5
- data/lib/oci/core/models/attach_vnic_details.rb +28 -4
- data/lib/oci/core/models/attach_volume_details.rb +28 -4
- data/lib/oci/core/models/boot_volume.rb +56 -8
- data/lib/oci/core/models/boot_volume_attachment.rb +49 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/capture_console_history_details.rb +28 -4
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +7 -1
- data/lib/oci/core/models/console_history.rb +56 -8
- data/lib/oci/core/models/cpe.rb +28 -4
- data/lib/oci/core/models/create_cpe_details.rb +21 -3
- data/lib/oci/core/models/create_cross_connect_details.rb +49 -7
- data/lib/oci/core/models/create_cross_connect_group_details.rb +14 -2
- data/lib/oci/core/models/create_dhcp_details.rb +35 -5
- data/lib/oci/core/models/create_drg_attachment_details.rb +21 -3
- data/lib/oci/core/models/create_drg_details.rb +14 -2
- data/lib/oci/core/models/create_image_details.rb +49 -7
- data/lib/oci/core/models/create_instance_console_connection_details.rb +28 -4
- data/lib/oci/core/models/create_internet_gateway_details.rb +28 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +35 -5
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +21 -3
- data/lib/oci/core/models/create_private_ip_details.rb +42 -6
- data/lib/oci/core/models/create_public_ip_details.rb +21 -3
- data/lib/oci/core/models/create_route_table_details.rb +42 -6
- data/lib/oci/core/models/create_security_list_details.rb +49 -7
- data/lib/oci/core/models/create_subnet_details.rb +84 -12
- data/lib/oci/core/models/create_vcn_details.rb +42 -6
- data/lib/oci/core/models/create_virtual_circuit_details.rb +70 -10
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/create_vnic_details.rb +42 -6
- data/lib/oci/core/models/create_volume_backup_details.rb +28 -4
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +14 -2
- data/lib/oci/core/models/create_volume_details.rb +70 -10
- data/lib/oci/core/models/cross_connect.rb +56 -8
- data/lib/oci/core/models/cross_connect_group.rb +28 -4
- data/lib/oci/core/models/cross_connect_mapping.rb +28 -4
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +7 -1
- data/lib/oci/core/models/cross_connect_status.rb +28 -4
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +14 -2
- data/lib/oci/core/models/dhcp_options.rb +49 -7
- data/lib/oci/core/models/dhcp_search_domain_option.rb +7 -1
- data/lib/oci/core/models/drg.rb +28 -4
- data/lib/oci/core/models/drg_attachment.rb +42 -6
- data/lib/oci/core/models/egress_security_rule.rb +28 -4
- data/lib/oci/core/models/export_image_details.rb +7 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +21 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +7 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +35 -5
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +7 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +7 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +22 -10
- data/lib/oci/core/models/image.rb +84 -12
- data/lib/oci/core/models/image_source_details.rb +14 -2
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +22 -4
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -2
- data/lib/oci/core/models/ingress_security_rule.rb +28 -4
- data/lib/oci/core/models/instance.rb +91 -13
- data/lib/oci/core/models/instance_console_connection.rb +49 -7
- data/lib/oci/core/models/instance_source_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +7 -1
- data/lib/oci/core/models/internet_gateway.rb +42 -6
- data/lib/oci/core/models/ip_sec_connection.rb +49 -7
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +14 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +14 -2
- data/lib/oci/core/models/launch_instance_details.rb +84 -12
- data/lib/oci/core/models/launch_options.rb +21 -3
- data/lib/oci/core/models/letter_of_authority.rb +49 -7
- data/lib/oci/core/models/local_peering_gateway.rb +63 -9
- data/lib/oci/core/models/private_ip.rb +77 -11
- data/lib/oci/core/models/public_ip.rb +49 -7
- data/lib/oci/core/models/route_rule.rb +14 -2
- data/lib/oci/core/models/route_table.rb +56 -8
- data/lib/oci/core/models/security_list.rb +63 -9
- data/lib/oci/core/models/subnet.rb +119 -17
- data/lib/oci/core/models/tcp_options.rb +14 -2
- data/lib/oci/core/models/tunnel_config.rb +21 -3
- data/lib/oci/core/models/tunnel_status.rb +28 -4
- data/lib/oci/core/models/udp_options.rb +14 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/update_console_history_details.rb +21 -3
- data/lib/oci/core/models/update_cpe_details.rb +7 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +14 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +7 -1
- data/lib/oci/core/models/update_dhcp_details.rb +21 -3
- data/lib/oci/core/models/update_drg_attachment_details.rb +7 -1
- data/lib/oci/core/models/update_drg_details.rb +7 -1
- data/lib/oci/core/models/update_image_details.rb +21 -3
- data/lib/oci/core/models/update_instance_details.rb +21 -3
- data/lib/oci/core/models/update_internet_gateway_details.rb +14 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +7 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +7 -1
- data/lib/oci/core/models/update_private_ip_details.rb +35 -5
- data/lib/oci/core/models/update_public_ip_details.rb +14 -2
- data/lib/oci/core/models/update_route_table_details.rb +28 -4
- data/lib/oci/core/models/update_security_list_details.rb +35 -5
- data/lib/oci/core/models/update_subnet_details.rb +21 -3
- data/lib/oci/core/models/update_vcn_details.rb +21 -3
- data/lib/oci/core/models/update_virtual_circuit_details.rb +49 -7
- data/lib/oci/core/models/update_vnic_details.rb +21 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +21 -3
- data/lib/oci/core/models/update_volume_details.rb +21 -3
- data/lib/oci/core/models/vcn.rb +84 -12
- data/lib/oci/core/models/virtual_circuit.rb +126 -18
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +7 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +14 -2
- data/lib/oci/core/models/vnic.rb +84 -12
- data/lib/oci/core/models/vnic_attachment.rb +70 -10
- data/lib/oci/core/models/volume.rb +77 -11
- data/lib/oci/core/models/volume_attachment.rb +63 -9
- data/lib/oci/core/models/volume_backup.rb +98 -14
- data/lib/oci/core/models/volume_backup_policy.rb +14 -2
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +21 -3
- data/lib/oci/core/models/volume_backup_schedule.rb +21 -3
- data/lib/oci/database/database_client.rb +2 -2
- data/lib/oci/database/models/backup.rb +56 -8
- data/lib/oci/database/models/backup_summary.rb +56 -8
- data/lib/oci/database/models/create_backup_details.rb +14 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +28 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +10 -4
- data/lib/oci/database/models/create_database_details.rb +49 -7
- data/lib/oci/database/models/create_database_from_backup_details.rb +21 -3
- data/lib/oci/database/models/create_db_home_details.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -2
- data/lib/oci/database/models/data_guard_association.rb +91 -13
- data/lib/oci/database/models/data_guard_association_summary.rb +91 -13
- data/lib/oci/database/models/database.rb +84 -12
- data/lib/oci/database/models/database_summary.rb +84 -12
- data/lib/oci/database/models/db_backup_config.rb +7 -1
- data/lib/oci/database/models/db_home.rb +49 -7
- data/lib/oci/database/models/db_home_summary.rb +49 -7
- data/lib/oci/database/models/db_node.rb +42 -6
- data/lib/oci/database/models/db_node_summary.rb +42 -6
- data/lib/oci/database/models/db_system.rb +161 -23
- data/lib/oci/database/models/db_system_shape_summary.rb +7 -1
- data/lib/oci/database/models/db_system_summary.rb +161 -23
- data/lib/oci/database/models/db_version_summary.rb +7 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/launch_db_system_details.rb +105 -15
- data/lib/oci/database/models/patch.rb +35 -5
- data/lib/oci/database/models/patch_details.rb +7 -1
- data/lib/oci/database/models/patch_history_entry.rb +35 -5
- data/lib/oci/database/models/patch_history_entry_summary.rb +35 -5
- data/lib/oci/database/models/patch_summary.rb +35 -5
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/restore_database_details.rb +7 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/update_database_details.rb +7 -1
- data/lib/oci/database/models/update_db_home_details.rb +7 -1
- data/lib/oci/database/models/update_db_system_details.rb +21 -3
- data/lib/oci/dns/models/create_zone_details.rb +21 -3
- data/lib/oci/dns/models/record.rb +21 -3
- data/lib/oci/dns/models/record_details.rb +21 -3
- data/lib/oci/dns/models/record_operation.rb +21 -3
- data/lib/oci/dns/models/update_zone_details.rb +7 -1
- data/lib/oci/dns/models/zone.rb +42 -6
- data/lib/oci/dns/models/zone_summary.rb +28 -4
- data/lib/oci/file_storage/file_storage.rb +33 -0
- data/lib/oci/file_storage/file_storage_client.rb +1117 -0
- data/lib/oci/file_storage/models/create_export_details.rb +162 -0
- data/lib/oci/file_storage/models/create_file_system_details.rb +170 -0
- data/lib/oci/file_storage/models/create_mount_target_details.rb +242 -0
- data/lib/oci/file_storage/models/create_snapshot_details.rb +146 -0
- data/lib/oci/file_storage/models/export.rb +261 -0
- data/lib/oci/file_storage/models/export_set.rb +315 -0
- data/lib/oci/file_storage/models/export_set_summary.rb +260 -0
- data/lib/oci/file_storage/models/export_summary.rb +233 -0
- data/lib/oci/file_storage/models/file_system.rb +273 -0
- data/lib/oci/file_storage/models/file_system_summary.rb +265 -0
- data/lib/oci/file_storage/models/mount_target.rb +320 -0
- data/lib/oci/file_storage/models/mount_target_summary.rb +300 -0
- data/lib/oci/file_storage/models/snapshot.rb +217 -0
- data/lib/oci/file_storage/models/snapshot_summary.rb +217 -0
- data/lib/oci/file_storage/models/update_export_set_details.rb +185 -0
- data/lib/oci/file_storage/models/update_file_system_details.rb +131 -0
- data/lib/oci/file_storage/models/update_mount_target_details.rb +131 -0
- data/lib/oci/file_storage/util.rb +2 -0
- data/lib/oci/identity/models/add_user_to_group_details.rb +14 -2
- data/lib/oci/identity/models/api_key.rb +42 -6
- data/lib/oci/identity/models/availability_domain.rb +7 -1
- data/lib/oci/identity/models/compartment.rb +42 -6
- data/lib/oci/identity/models/create_compartment_details.rb +21 -3
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +14 -2
- data/lib/oci/identity/models/create_group_details.rb +21 -3
- data/lib/oci/identity/models/create_identity_provider_details.rb +28 -4
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/create_policy_details.rb +28 -4
- data/lib/oci/identity/models/create_region_subscription_details.rb +7 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
- data/lib/oci/identity/models/create_tag_details.rb +14 -2
- data/lib/oci/identity/models/create_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/create_user_details.rb +21 -3
- data/lib/oci/identity/models/customer_secret_key.rb +42 -6
- data/lib/oci/identity/models/customer_secret_key_summary.rb +42 -6
- data/lib/oci/identity/models/dynamic_group.rb +35 -5
- data/lib/oci/identity/models/group.rb +42 -6
- data/lib/oci/identity/models/identity_provider.rb +49 -7
- data/lib/oci/identity/models/idp_group_mapping.rb +49 -7
- data/lib/oci/identity/models/policy.rb +49 -7
- data/lib/oci/identity/models/region_subscription.rb +21 -3
- data/lib/oci/identity/models/saml2_identity_provider.rb +28 -10
- data/lib/oci/identity/models/swift_password.rb +35 -5
- data/lib/oci/identity/models/tag.rb +49 -7
- data/lib/oci/identity/models/tag_namespace.rb +35 -5
- data/lib/oci/identity/models/tag_namespace_summary.rb +35 -5
- data/lib/oci/identity/models/tag_summary.rb +35 -5
- data/lib/oci/identity/models/tenancy.rb +21 -3
- data/lib/oci/identity/models/ui_password.rb +28 -4
- data/lib/oci/identity/models/update_compartment_details.rb +14 -2
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +7 -1
- data/lib/oci/identity/models/update_group_details.rb +14 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +14 -2
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/update_policy_details.rb +21 -3
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +9 -3
- data/lib/oci/identity/models/update_tag_details.rb +21 -3
- data/lib/oci/identity/models/update_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/update_user_details.rb +14 -2
- data/lib/oci/identity/models/user.rb +42 -6
- data/lib/oci/identity/models/user_group_membership.rb +42 -6
- data/lib/oci/load_balancer/models/backend.rb +7 -1
- data/lib/oci/load_balancer/models/backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/backend_health.rb +7 -1
- data/lib/oci/load_balancer/models/backend_set.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_health.rb +28 -4
- data/lib/oci/load_balancer/models/certificate.rb +21 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/connection_configuration.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/create_certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -7
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +21 -3
- data/lib/oci/load_balancer/models/health_checker.rb +35 -5
- data/lib/oci/load_balancer/models/health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/ip_address.rb +14 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -4
- data/lib/oci/load_balancer/models/listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +70 -10
- data/lib/oci/load_balancer/models/load_balancer_health.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +7 -1
- data/lib/oci/load_balancer/models/path_match_type.rb +7 -1
- data/lib/oci/load_balancer/models/path_route.rb +14 -2
- data/lib/oci/load_balancer/models/path_route_set.rb +7 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +16 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +23 -3
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +23 -3
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/update_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +7 -1
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/work_request.rb +35 -5
- data/lib/oci/load_balancer/models/work_request_error.rb +7 -1
- data/lib/oci/object_storage/models/bucket.rb +83 -11
- data/lib/oci/object_storage/models/bucket_summary.rb +67 -7
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +14 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +7 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +67 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +21 -3
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +21 -3
- data/lib/oci/object_storage/models/list_objects.rb +7 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +14 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +7 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +14 -2
- data/lib/oci/object_storage/models/object_summary.rb +7 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +35 -5
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +28 -4
- data/lib/oci/object_storage/models/rename_object_details.rb +35 -5
- data/lib/oci/object_storage/models/restore_objects_details.rb +25 -5
- data/lib/oci/object_storage/models/update_bucket_details.rb +60 -6
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +14 -2
- data/lib/oci/object_storage/object_storage_client.rb +17 -5
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +11 -3
- data/lib/oci/signer.rb +0 -8
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waiter.rb +1 -0
- metadata +22 -2
|
@@ -15,8 +15,8 @@ module OCI
|
|
|
15
15
|
|
|
16
16
|
# Initializes the object
|
|
17
17
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
18
|
-
# @option attributes [String] :
|
|
19
|
-
# @option attributes [String] :
|
|
18
|
+
# @option attributes [String] :idp_group_name The value to assign to the {#idp_group_name} property
|
|
19
|
+
# @option attributes [String] :group_id The value to assign to the {#group_id} property
|
|
20
20
|
def initialize(attributes = {})
|
|
21
21
|
return unless attributes.is_a?(Hash)
|
|
22
22
|
|
|
@@ -27,10 +27,22 @@ module OCI
|
|
|
27
27
|
self.idp_group_name = attributes[:'idpGroupName']
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
raise 'You cannot provide both :idpGroupName and :idp_group_name' if attributes.key?(:'idpGroupName') && attributes.key?(:'idp_group_name')
|
|
31
|
+
|
|
32
|
+
if attributes[:'idp_group_name']
|
|
33
|
+
self.idp_group_name = attributes[:'idp_group_name']
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
if attributes[:'groupId']
|
|
31
37
|
self.group_id = attributes[:'groupId']
|
|
32
38
|
end
|
|
33
39
|
|
|
40
|
+
raise 'You cannot provide both :groupId and :group_id' if attributes.key?(:'groupId') && attributes.key?(:'group_id')
|
|
41
|
+
|
|
42
|
+
if attributes[:'group_id']
|
|
43
|
+
self.group_id = attributes[:'group_id']
|
|
44
|
+
end
|
|
45
|
+
|
|
34
46
|
end
|
|
35
47
|
|
|
36
48
|
# Checks equality by comparing each attribute.
|
|
@@ -41,9 +41,9 @@ module OCI
|
|
|
41
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
42
42
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
43
43
|
# @option attributes [Array<String>] :statements The value to assign to the {#statements} property
|
|
44
|
-
# @option attributes [DateTime] :
|
|
45
|
-
# @option attributes [Hash<String, String>] :
|
|
46
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
44
|
+
# @option attributes [DateTime] :version_date The value to assign to the {#version_date} property
|
|
45
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
46
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
47
47
|
def initialize(attributes = {})
|
|
48
48
|
return unless attributes.is_a?(Hash)
|
|
49
49
|
|
|
@@ -62,14 +62,32 @@ module OCI
|
|
|
62
62
|
self.version_date = attributes[:'versionDate']
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
raise 'You cannot provide both :versionDate and :version_date' if attributes.key?(:'versionDate') && attributes.key?(:'version_date')
|
|
66
|
+
|
|
67
|
+
if attributes[:'version_date']
|
|
68
|
+
self.version_date = attributes[:'version_date']
|
|
69
|
+
end
|
|
70
|
+
|
|
65
71
|
if attributes[:'freeformTags']
|
|
66
72
|
self.freeform_tags = attributes[:'freeformTags']
|
|
67
73
|
end
|
|
68
74
|
|
|
75
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
76
|
+
|
|
77
|
+
if attributes[:'freeform_tags']
|
|
78
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
79
|
+
end
|
|
80
|
+
|
|
69
81
|
if attributes[:'definedTags']
|
|
70
82
|
self.defined_tags = attributes[:'definedTags']
|
|
71
83
|
end
|
|
72
84
|
|
|
85
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
86
|
+
|
|
87
|
+
if attributes[:'defined_tags']
|
|
88
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
89
|
+
end
|
|
90
|
+
|
|
73
91
|
end
|
|
74
92
|
|
|
75
93
|
# Checks equality by comparing each attribute.
|
|
@@ -20,9 +20,9 @@ module OCI
|
|
|
20
20
|
# Initializes the object
|
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
22
22
|
# @option attributes [String] :description The value to assign to the {OCI::Identity::Models::UpdateIdentityProviderDetails#description #description} proprety
|
|
23
|
-
# @option attributes [Hash<String, String>] :
|
|
24
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
25
|
-
# @option attributes [String] :
|
|
23
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {OCI::Identity::Models::UpdateIdentityProviderDetails#freeform_tags #freeform_tags} proprety
|
|
24
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {OCI::Identity::Models::UpdateIdentityProviderDetails#defined_tags #defined_tags} proprety
|
|
25
|
+
# @option attributes [String] :metadata_url The value to assign to the {#metadata_url} property
|
|
26
26
|
# @option attributes [String] :metadata The value to assign to the {#metadata} property
|
|
27
27
|
def initialize(attributes = {})
|
|
28
28
|
return unless attributes.is_a?(Hash)
|
|
@@ -38,6 +38,12 @@ module OCI
|
|
|
38
38
|
self.metadata_url = attributes[:'metadataUrl']
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
+
raise 'You cannot provide both :metadataUrl and :metadata_url' if attributes.key?(:'metadataUrl') && attributes.key?(:'metadata_url')
|
|
42
|
+
|
|
43
|
+
if attributes[:'metadata_url']
|
|
44
|
+
self.metadata_url = attributes[:'metadata_url']
|
|
45
|
+
end
|
|
46
|
+
|
|
41
47
|
if attributes[:'metadata']
|
|
42
48
|
self.metadata = attributes[:'metadata']
|
|
43
49
|
end
|
|
@@ -32,9 +32,9 @@ module OCI
|
|
|
32
32
|
# Initializes the object
|
|
33
33
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
34
34
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
35
|
-
# @option attributes [BOOLEAN] :
|
|
36
|
-
# @option attributes [Hash<String, String>] :
|
|
37
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
35
|
+
# @option attributes [BOOLEAN] :is_retired The value to assign to the {#is_retired} property
|
|
36
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
37
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
38
38
|
def initialize(attributes = {})
|
|
39
39
|
return unless attributes.is_a?(Hash)
|
|
40
40
|
|
|
@@ -49,14 +49,32 @@ module OCI
|
|
|
49
49
|
self.is_retired = attributes[:'isRetired']
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
raise 'You cannot provide both :isRetired and :is_retired' if attributes.key?(:'isRetired') && attributes.key?(:'is_retired')
|
|
53
|
+
|
|
54
|
+
unless attributes[:'is_retired'].nil?
|
|
55
|
+
self.is_retired = attributes[:'is_retired']
|
|
56
|
+
end
|
|
57
|
+
|
|
52
58
|
if attributes[:'freeformTags']
|
|
53
59
|
self.freeform_tags = attributes[:'freeformTags']
|
|
54
60
|
end
|
|
55
61
|
|
|
62
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
63
|
+
|
|
64
|
+
if attributes[:'freeform_tags']
|
|
65
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
66
|
+
end
|
|
67
|
+
|
|
56
68
|
if attributes[:'definedTags']
|
|
57
69
|
self.defined_tags = attributes[:'definedTags']
|
|
58
70
|
end
|
|
59
71
|
|
|
72
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
73
|
+
|
|
74
|
+
if attributes[:'defined_tags']
|
|
75
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
76
|
+
end
|
|
77
|
+
|
|
60
78
|
end
|
|
61
79
|
|
|
62
80
|
# Checks equality by comparing each attribute.
|
|
@@ -32,9 +32,9 @@ module OCI
|
|
|
32
32
|
# Initializes the object
|
|
33
33
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
34
34
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
35
|
-
# @option attributes [BOOLEAN] :
|
|
36
|
-
# @option attributes [Hash<String, String>] :
|
|
37
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
35
|
+
# @option attributes [BOOLEAN] :is_retired The value to assign to the {#is_retired} property
|
|
36
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
37
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
38
38
|
def initialize(attributes = {})
|
|
39
39
|
return unless attributes.is_a?(Hash)
|
|
40
40
|
|
|
@@ -49,14 +49,32 @@ module OCI
|
|
|
49
49
|
self.is_retired = attributes[:'isRetired']
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
raise 'You cannot provide both :isRetired and :is_retired' if attributes.key?(:'isRetired') && attributes.key?(:'is_retired')
|
|
53
|
+
|
|
54
|
+
unless attributes[:'is_retired'].nil?
|
|
55
|
+
self.is_retired = attributes[:'is_retired']
|
|
56
|
+
end
|
|
57
|
+
|
|
52
58
|
if attributes[:'freeformTags']
|
|
53
59
|
self.freeform_tags = attributes[:'freeformTags']
|
|
54
60
|
end
|
|
55
61
|
|
|
62
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
63
|
+
|
|
64
|
+
if attributes[:'freeform_tags']
|
|
65
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
66
|
+
end
|
|
67
|
+
|
|
56
68
|
if attributes[:'definedTags']
|
|
57
69
|
self.defined_tags = attributes[:'definedTags']
|
|
58
70
|
end
|
|
59
71
|
|
|
72
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
73
|
+
|
|
74
|
+
if attributes[:'defined_tags']
|
|
75
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
76
|
+
end
|
|
77
|
+
|
|
60
78
|
end
|
|
61
79
|
|
|
62
80
|
# Checks equality by comparing each attribute.
|
|
@@ -26,8 +26,8 @@ module OCI
|
|
|
26
26
|
# Initializes the object
|
|
27
27
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
28
28
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
29
|
-
# @option attributes [Hash<String, String>] :
|
|
30
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
29
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
30
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
31
31
|
def initialize(attributes = {})
|
|
32
32
|
return unless attributes.is_a?(Hash)
|
|
33
33
|
|
|
@@ -42,10 +42,22 @@ module OCI
|
|
|
42
42
|
self.freeform_tags = attributes[:'freeformTags']
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
46
|
+
|
|
47
|
+
if attributes[:'freeform_tags']
|
|
48
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
49
|
+
end
|
|
50
|
+
|
|
45
51
|
if attributes[:'definedTags']
|
|
46
52
|
self.defined_tags = attributes[:'definedTags']
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
56
|
+
|
|
57
|
+
if attributes[:'defined_tags']
|
|
58
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
end
|
|
50
62
|
|
|
51
63
|
# Checks equality by comparing each attribute.
|
|
@@ -88,14 +88,14 @@ module OCI
|
|
|
88
88
|
# Initializes the object
|
|
89
89
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
90
90
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
91
|
-
# @option attributes [String] :
|
|
91
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
92
92
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
93
93
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
94
|
-
# @option attributes [DateTime] :
|
|
95
|
-
# @option attributes [String] :
|
|
96
|
-
# @option attributes [Integer] :
|
|
97
|
-
# @option attributes [Hash<String, String>] :
|
|
98
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
94
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
95
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
96
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
|
97
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
98
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
99
99
|
def initialize(attributes = {})
|
|
100
100
|
return unless attributes.is_a?(Hash)
|
|
101
101
|
|
|
@@ -110,6 +110,12 @@ module OCI
|
|
|
110
110
|
self.compartment_id = attributes[:'compartmentId']
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
114
|
+
|
|
115
|
+
if attributes[:'compartment_id']
|
|
116
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
if attributes[:'name']
|
|
114
120
|
self.name = attributes[:'name']
|
|
115
121
|
end
|
|
@@ -122,22 +128,52 @@ module OCI
|
|
|
122
128
|
self.time_created = attributes[:'timeCreated']
|
|
123
129
|
end
|
|
124
130
|
|
|
131
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
132
|
+
|
|
133
|
+
if attributes[:'time_created']
|
|
134
|
+
self.time_created = attributes[:'time_created']
|
|
135
|
+
end
|
|
136
|
+
|
|
125
137
|
if attributes[:'lifecycleState']
|
|
126
138
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
127
139
|
end
|
|
128
140
|
|
|
141
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
142
|
+
|
|
143
|
+
if attributes[:'lifecycle_state']
|
|
144
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
145
|
+
end
|
|
146
|
+
|
|
129
147
|
if attributes[:'inactiveStatus']
|
|
130
148
|
self.inactive_status = attributes[:'inactiveStatus']
|
|
131
149
|
end
|
|
132
150
|
|
|
151
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
|
152
|
+
|
|
153
|
+
if attributes[:'inactive_status']
|
|
154
|
+
self.inactive_status = attributes[:'inactive_status']
|
|
155
|
+
end
|
|
156
|
+
|
|
133
157
|
if attributes[:'freeformTags']
|
|
134
158
|
self.freeform_tags = attributes[:'freeformTags']
|
|
135
159
|
end
|
|
136
160
|
|
|
161
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
162
|
+
|
|
163
|
+
if attributes[:'freeform_tags']
|
|
164
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
165
|
+
end
|
|
166
|
+
|
|
137
167
|
if attributes[:'definedTags']
|
|
138
168
|
self.defined_tags = attributes[:'definedTags']
|
|
139
169
|
end
|
|
140
170
|
|
|
171
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
172
|
+
|
|
173
|
+
if attributes[:'defined_tags']
|
|
174
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
175
|
+
end
|
|
176
|
+
|
|
141
177
|
end
|
|
142
178
|
|
|
143
179
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -52,12 +52,12 @@ module OCI
|
|
|
52
52
|
# Initializes the object
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
54
54
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
55
|
-
# @option attributes [String] :
|
|
56
|
-
# @option attributes [String] :
|
|
57
|
-
# @option attributes [String] :
|
|
58
|
-
# @option attributes [DateTime] :
|
|
59
|
-
# @option attributes [String] :
|
|
60
|
-
# @option attributes [Integer] :
|
|
55
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
56
|
+
# @option attributes [String] :group_id The value to assign to the {#group_id} property
|
|
57
|
+
# @option attributes [String] :user_id The value to assign to the {#user_id} property
|
|
58
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
59
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
60
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
|
61
61
|
def initialize(attributes = {})
|
|
62
62
|
return unless attributes.is_a?(Hash)
|
|
63
63
|
|
|
@@ -72,26 +72,62 @@ module OCI
|
|
|
72
72
|
self.compartment_id = attributes[:'compartmentId']
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
76
|
+
|
|
77
|
+
if attributes[:'compartment_id']
|
|
78
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
79
|
+
end
|
|
80
|
+
|
|
75
81
|
if attributes[:'groupId']
|
|
76
82
|
self.group_id = attributes[:'groupId']
|
|
77
83
|
end
|
|
78
84
|
|
|
85
|
+
raise 'You cannot provide both :groupId and :group_id' if attributes.key?(:'groupId') && attributes.key?(:'group_id')
|
|
86
|
+
|
|
87
|
+
if attributes[:'group_id']
|
|
88
|
+
self.group_id = attributes[:'group_id']
|
|
89
|
+
end
|
|
90
|
+
|
|
79
91
|
if attributes[:'userId']
|
|
80
92
|
self.user_id = attributes[:'userId']
|
|
81
93
|
end
|
|
82
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
|
+
|
|
83
101
|
if attributes[:'timeCreated']
|
|
84
102
|
self.time_created = attributes[:'timeCreated']
|
|
85
103
|
end
|
|
86
104
|
|
|
105
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
106
|
+
|
|
107
|
+
if attributes[:'time_created']
|
|
108
|
+
self.time_created = attributes[:'time_created']
|
|
109
|
+
end
|
|
110
|
+
|
|
87
111
|
if attributes[:'lifecycleState']
|
|
88
112
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
89
113
|
end
|
|
90
114
|
|
|
115
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
116
|
+
|
|
117
|
+
if attributes[:'lifecycle_state']
|
|
118
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
119
|
+
end
|
|
120
|
+
|
|
91
121
|
if attributes[:'inactiveStatus']
|
|
92
122
|
self.inactive_status = attributes[:'inactiveStatus']
|
|
93
123
|
end
|
|
94
124
|
|
|
125
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
|
126
|
+
|
|
127
|
+
if attributes[:'inactive_status']
|
|
128
|
+
self.inactive_status = attributes[:'inactive_status']
|
|
129
|
+
end
|
|
130
|
+
|
|
95
131
|
end
|
|
96
132
|
|
|
97
133
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -68,7 +68,7 @@ module OCI
|
|
|
68
68
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
69
69
|
# @option attributes [BOOLEAN] :backup The value to assign to the {#backup} property
|
|
70
70
|
# @option attributes [BOOLEAN] :drain The value to assign to the {#drain} property
|
|
71
|
-
# @option attributes [String] :
|
|
71
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
72
72
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
73
73
|
# @option attributes [BOOLEAN] :offline The value to assign to the {#offline} property
|
|
74
74
|
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
@@ -95,6 +95,12 @@ module OCI
|
|
|
95
95
|
self.ip_address = attributes[:'ipAddress']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
99
|
+
|
|
100
|
+
if attributes[:'ip_address']
|
|
101
|
+
self.ip_address = attributes[:'ip_address']
|
|
102
|
+
end
|
|
103
|
+
|
|
98
104
|
if attributes[:'name']
|
|
99
105
|
self.name = attributes[:'name']
|
|
100
106
|
end
|
|
@@ -59,7 +59,7 @@ module OCI
|
|
|
59
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
60
|
# @option attributes [BOOLEAN] :backup The value to assign to the {#backup} property
|
|
61
61
|
# @option attributes [BOOLEAN] :drain The value to assign to the {#drain} property
|
|
62
|
-
# @option attributes [String] :
|
|
62
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
63
63
|
# @option attributes [BOOLEAN] :offline The value to assign to the {#offline} property
|
|
64
64
|
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
65
65
|
# @option attributes [Integer] :weight The value to assign to the {#weight} property
|
|
@@ -85,6 +85,12 @@ module OCI
|
|
|
85
85
|
self.ip_address = attributes[:'ipAddress']
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
89
|
+
|
|
90
|
+
if attributes[:'ip_address']
|
|
91
|
+
self.ip_address = attributes[:'ip_address']
|
|
92
|
+
end
|
|
93
|
+
|
|
88
94
|
unless attributes[:'offline'].nil?
|
|
89
95
|
self.offline = attributes[:'offline']
|
|
90
96
|
else
|
|
@@ -34,7 +34,7 @@ module OCI
|
|
|
34
34
|
|
|
35
35
|
# Initializes the object
|
|
36
36
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
|
-
# @option attributes [Array<OCI::LoadBalancer::Models::HealthCheckResult>] :
|
|
37
|
+
# @option attributes [Array<OCI::LoadBalancer::Models::HealthCheckResult>] :health_check_results The value to assign to the {#health_check_results} property
|
|
38
38
|
# @option attributes [String] :status The value to assign to the {#status} property
|
|
39
39
|
def initialize(attributes = {})
|
|
40
40
|
return unless attributes.is_a?(Hash)
|
|
@@ -46,6 +46,12 @@ module OCI
|
|
|
46
46
|
self.health_check_results = attributes[:'healthCheckResults']
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
raise 'You cannot provide both :healthCheckResults and :health_check_results' if attributes.key?(:'healthCheckResults') && attributes.key?(:'health_check_results')
|
|
50
|
+
|
|
51
|
+
if attributes[:'health_check_results']
|
|
52
|
+
self.health_check_results = attributes[:'health_check_results']
|
|
53
|
+
end
|
|
54
|
+
|
|
49
55
|
if attributes[:'status']
|
|
50
56
|
self.status = attributes[:'status']
|
|
51
57
|
end
|