oci 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -36,11 +36,11 @@ module OCI
|
|
36
36
|
|
37
37
|
# Initializes the object
|
38
38
|
# @param [Hash] attributes Model attributes in the form of hash
|
39
|
-
# @option attributes [String] :
|
39
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
40
40
|
# @option attributes [String] :name The value to assign to the {#name} property
|
41
41
|
# @option attributes [String] :description The value to assign to the {#description} property
|
42
|
-
# @option attributes [Hash<String, String>] :
|
43
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
42
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
43
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
44
44
|
def initialize(attributes = {})
|
45
45
|
return unless attributes.is_a?(Hash)
|
46
46
|
|
@@ -51,6 +51,12 @@ module OCI
|
|
51
51
|
self.compartment_id = attributes[:'compartmentId']
|
52
52
|
end
|
53
53
|
|
54
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
55
|
+
|
56
|
+
if attributes[:'compartment_id']
|
57
|
+
self.compartment_id = attributes[:'compartment_id']
|
58
|
+
end
|
59
|
+
|
54
60
|
if attributes[:'name']
|
55
61
|
self.name = attributes[:'name']
|
56
62
|
end
|
@@ -63,10 +69,22 @@ module OCI
|
|
63
69
|
self.freeform_tags = attributes[:'freeformTags']
|
64
70
|
end
|
65
71
|
|
72
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
73
|
+
|
74
|
+
if attributes[:'freeform_tags']
|
75
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
76
|
+
end
|
77
|
+
|
66
78
|
if attributes[:'definedTags']
|
67
79
|
self.defined_tags = attributes[:'definedTags']
|
68
80
|
end
|
69
81
|
|
82
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
83
|
+
|
84
|
+
if attributes[:'defined_tags']
|
85
|
+
self.defined_tags = attributes[:'defined_tags']
|
86
|
+
end
|
87
|
+
|
70
88
|
end
|
71
89
|
|
72
90
|
# 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 [String] :
|
15
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} 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.display_name = attributes[:'displayName']
|
24
24
|
end
|
25
25
|
|
26
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
27
|
+
|
28
|
+
if attributes[:'display_name']
|
29
|
+
self.display_name = attributes[:'display_name']
|
30
|
+
end
|
31
|
+
|
26
32
|
end
|
27
33
|
|
28
34
|
# Checks equality by comparing each attribute.
|
@@ -28,9 +28,9 @@ module OCI
|
|
28
28
|
|
29
29
|
# Initializes the object
|
30
30
|
# @param [Hash] attributes Model attributes in the form of hash
|
31
|
-
# @option attributes [String] :
|
31
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
32
32
|
# @option attributes [String] :name The value to assign to the {#name} property
|
33
|
-
# @option attributes [String] :
|
33
|
+
# @option attributes [String] :matching_rule The value to assign to the {#matching_rule} property
|
34
34
|
# @option attributes [String] :description The value to assign to the {#description} property
|
35
35
|
def initialize(attributes = {})
|
36
36
|
return unless attributes.is_a?(Hash)
|
@@ -42,6 +42,12 @@ module OCI
|
|
42
42
|
self.compartment_id = attributes[:'compartmentId']
|
43
43
|
end
|
44
44
|
|
45
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
46
|
+
|
47
|
+
if attributes[:'compartment_id']
|
48
|
+
self.compartment_id = attributes[:'compartment_id']
|
49
|
+
end
|
50
|
+
|
45
51
|
if attributes[:'name']
|
46
52
|
self.name = attributes[:'name']
|
47
53
|
end
|
@@ -50,6 +56,12 @@ module OCI
|
|
50
56
|
self.matching_rule = attributes[:'matchingRule']
|
51
57
|
end
|
52
58
|
|
59
|
+
raise 'You cannot provide both :matchingRule and :matching_rule' if attributes.key?(:'matchingRule') && attributes.key?(:'matching_rule')
|
60
|
+
|
61
|
+
if attributes[:'matching_rule']
|
62
|
+
self.matching_rule = attributes[:'matching_rule']
|
63
|
+
end
|
64
|
+
|
53
65
|
if attributes[:'description']
|
54
66
|
self.description = attributes[:'description']
|
55
67
|
end
|
@@ -35,11 +35,11 @@ module OCI
|
|
35
35
|
|
36
36
|
# Initializes the object
|
37
37
|
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
-
# @option attributes [String] :
|
38
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
39
39
|
# @option attributes [String] :name The value to assign to the {#name} property
|
40
40
|
# @option attributes [String] :description The value to assign to the {#description} property
|
41
|
-
# @option attributes [Hash<String, String>] :
|
42
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
41
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
42
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
43
43
|
def initialize(attributes = {})
|
44
44
|
return unless attributes.is_a?(Hash)
|
45
45
|
|
@@ -50,6 +50,12 @@ module OCI
|
|
50
50
|
self.compartment_id = attributes[:'compartmentId']
|
51
51
|
end
|
52
52
|
|
53
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
54
|
+
|
55
|
+
if attributes[:'compartment_id']
|
56
|
+
self.compartment_id = attributes[:'compartment_id']
|
57
|
+
end
|
58
|
+
|
53
59
|
if attributes[:'name']
|
54
60
|
self.name = attributes[:'name']
|
55
61
|
end
|
@@ -62,10 +68,22 @@ module OCI
|
|
62
68
|
self.freeform_tags = attributes[:'freeformTags']
|
63
69
|
end
|
64
70
|
|
71
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
72
|
+
|
73
|
+
if attributes[:'freeform_tags']
|
74
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
75
|
+
end
|
76
|
+
|
65
77
|
if attributes[:'definedTags']
|
66
78
|
self.defined_tags = attributes[:'definedTags']
|
67
79
|
end
|
68
80
|
|
81
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
82
|
+
|
83
|
+
if attributes[:'defined_tags']
|
84
|
+
self.defined_tags = attributes[:'defined_tags']
|
85
|
+
end
|
86
|
+
|
69
87
|
end
|
70
88
|
|
71
89
|
# Checks equality by comparing each attribute.
|
@@ -73,13 +73,13 @@ module OCI
|
|
73
73
|
|
74
74
|
# Initializes the object
|
75
75
|
# @param [Hash] attributes Model attributes in the form of hash
|
76
|
-
# @option attributes [String] :
|
76
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
77
77
|
# @option attributes [String] :name The value to assign to the {#name} property
|
78
78
|
# @option attributes [String] :description The value to assign to the {#description} property
|
79
|
-
# @option attributes [String] :
|
79
|
+
# @option attributes [String] :product_type The value to assign to the {#product_type} property
|
80
80
|
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
81
|
-
# @option attributes [Hash<String, String>] :
|
82
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
81
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
82
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
83
83
|
def initialize(attributes = {})
|
84
84
|
return unless attributes.is_a?(Hash)
|
85
85
|
|
@@ -90,6 +90,12 @@ module OCI
|
|
90
90
|
self.compartment_id = attributes[:'compartmentId']
|
91
91
|
end
|
92
92
|
|
93
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
94
|
+
|
95
|
+
if attributes[:'compartment_id']
|
96
|
+
self.compartment_id = attributes[:'compartment_id']
|
97
|
+
end
|
98
|
+
|
93
99
|
if attributes[:'name']
|
94
100
|
self.name = attributes[:'name']
|
95
101
|
end
|
@@ -102,6 +108,12 @@ module OCI
|
|
102
108
|
self.product_type = attributes[:'productType']
|
103
109
|
end
|
104
110
|
|
111
|
+
raise 'You cannot provide both :productType and :product_type' if attributes.key?(:'productType') && attributes.key?(:'product_type')
|
112
|
+
|
113
|
+
if attributes[:'product_type']
|
114
|
+
self.product_type = attributes[:'product_type']
|
115
|
+
end
|
116
|
+
|
105
117
|
if attributes[:'protocol']
|
106
118
|
self.protocol = attributes[:'protocol']
|
107
119
|
end
|
@@ -110,10 +122,22 @@ module OCI
|
|
110
122
|
self.freeform_tags = attributes[:'freeformTags']
|
111
123
|
end
|
112
124
|
|
125
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
126
|
+
|
127
|
+
if attributes[:'freeform_tags']
|
128
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
129
|
+
end
|
130
|
+
|
113
131
|
if attributes[:'definedTags']
|
114
132
|
self.defined_tags = attributes[:'definedTags']
|
115
133
|
end
|
116
134
|
|
135
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
136
|
+
|
137
|
+
if attributes[:'defined_tags']
|
138
|
+
self.defined_tags = attributes[:'defined_tags']
|
139
|
+
end
|
140
|
+
|
117
141
|
end
|
118
142
|
|
119
143
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -17,8 +17,8 @@ module OCI
|
|
17
17
|
|
18
18
|
# Initializes the object
|
19
19
|
# @param [Hash] attributes Model attributes in the form of hash
|
20
|
-
# @option attributes [String] :
|
21
|
-
# @option attributes [String] :
|
20
|
+
# @option attributes [String] :idp_group_name The value to assign to the {#idp_group_name} property
|
21
|
+
# @option attributes [String] :group_id The value to assign to the {#group_id} property
|
22
22
|
def initialize(attributes = {})
|
23
23
|
return unless attributes.is_a?(Hash)
|
24
24
|
|
@@ -29,10 +29,22 @@ module OCI
|
|
29
29
|
self.idp_group_name = attributes[:'idpGroupName']
|
30
30
|
end
|
31
31
|
|
32
|
+
raise 'You cannot provide both :idpGroupName and :idp_group_name' if attributes.key?(:'idpGroupName') && attributes.key?(:'idp_group_name')
|
33
|
+
|
34
|
+
if attributes[:'idp_group_name']
|
35
|
+
self.idp_group_name = attributes[:'idp_group_name']
|
36
|
+
end
|
37
|
+
|
32
38
|
if attributes[:'groupId']
|
33
39
|
self.group_id = attributes[:'groupId']
|
34
40
|
end
|
35
41
|
|
42
|
+
raise 'You cannot provide both :groupId and :group_id' if attributes.key?(:'groupId') && attributes.key?(:'group_id')
|
43
|
+
|
44
|
+
if attributes[:'group_id']
|
45
|
+
self.group_id = attributes[:'group_id']
|
46
|
+
end
|
47
|
+
|
36
48
|
end
|
37
49
|
|
38
50
|
# Checks equality by comparing each attribute.
|
@@ -50,13 +50,13 @@ module OCI
|
|
50
50
|
|
51
51
|
# Initializes the object
|
52
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
-
# @option attributes [String] :
|
53
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
54
54
|
# @option attributes [String] :name The value to assign to the {#name} property
|
55
55
|
# @option attributes [Array<String>] :statements The value to assign to the {#statements} property
|
56
56
|
# @option attributes [String] :description The value to assign to the {#description} property
|
57
|
-
# @option attributes [DateTime] :
|
58
|
-
# @option attributes [Hash<String, String>] :
|
59
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
57
|
+
# @option attributes [DateTime] :version_date The value to assign to the {#version_date} property
|
58
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
59
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
60
60
|
def initialize(attributes = {})
|
61
61
|
return unless attributes.is_a?(Hash)
|
62
62
|
|
@@ -67,6 +67,12 @@ module OCI
|
|
67
67
|
self.compartment_id = attributes[:'compartmentId']
|
68
68
|
end
|
69
69
|
|
70
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
71
|
+
|
72
|
+
if attributes[:'compartment_id']
|
73
|
+
self.compartment_id = attributes[:'compartment_id']
|
74
|
+
end
|
75
|
+
|
70
76
|
if attributes[:'name']
|
71
77
|
self.name = attributes[:'name']
|
72
78
|
end
|
@@ -83,14 +89,32 @@ module OCI
|
|
83
89
|
self.version_date = attributes[:'versionDate']
|
84
90
|
end
|
85
91
|
|
92
|
+
raise 'You cannot provide both :versionDate and :version_date' if attributes.key?(:'versionDate') && attributes.key?(:'version_date')
|
93
|
+
|
94
|
+
if attributes[:'version_date']
|
95
|
+
self.version_date = attributes[:'version_date']
|
96
|
+
end
|
97
|
+
|
86
98
|
if attributes[:'freeformTags']
|
87
99
|
self.freeform_tags = attributes[:'freeformTags']
|
88
100
|
end
|
89
101
|
|
102
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
103
|
+
|
104
|
+
if attributes[:'freeform_tags']
|
105
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
106
|
+
end
|
107
|
+
|
90
108
|
if attributes[:'definedTags']
|
91
109
|
self.defined_tags = attributes[:'definedTags']
|
92
110
|
end
|
93
111
|
|
112
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
113
|
+
|
114
|
+
if attributes[:'defined_tags']
|
115
|
+
self.defined_tags = attributes[:'defined_tags']
|
116
|
+
end
|
117
|
+
|
94
118
|
end
|
95
119
|
|
96
120
|
# Checks equality by comparing each attribute.
|
@@ -19,7 +19,7 @@ module OCI
|
|
19
19
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
-
# @option attributes [String] :
|
22
|
+
# @option attributes [String] :region_key The value to assign to the {#region_key} property
|
23
23
|
def initialize(attributes = {})
|
24
24
|
return unless attributes.is_a?(Hash)
|
25
25
|
|
@@ -30,6 +30,12 @@ module OCI
|
|
30
30
|
self.region_key = attributes[:'regionKey']
|
31
31
|
end
|
32
32
|
|
33
|
+
raise 'You cannot provide both :regionKey and :region_key' if attributes.key?(:'regionKey') && attributes.key?(:'region_key')
|
34
|
+
|
35
|
+
if attributes[:'region_key']
|
36
|
+
self.region_key = attributes[:'region_key']
|
37
|
+
end
|
38
|
+
|
33
39
|
end
|
34
40
|
|
35
41
|
# Checks equality by comparing each attribute.
|
@@ -19,13 +19,13 @@ module OCI
|
|
19
19
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
-
# @option attributes [String] :
|
22
|
+
# @option attributes [String] :compartment_id The value to assign to the {OCI::Identity::Models::CreateIdentityProviderDetails#compartment_id #compartment_id} proprety
|
23
23
|
# @option attributes [String] :name The value to assign to the {OCI::Identity::Models::CreateIdentityProviderDetails#name #name} proprety
|
24
24
|
# @option attributes [String] :description The value to assign to the {OCI::Identity::Models::CreateIdentityProviderDetails#description #description} proprety
|
25
|
-
# @option attributes [String] :
|
26
|
-
# @option attributes [Hash<String, String>] :
|
27
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
28
|
-
# @option attributes [String] :
|
25
|
+
# @option attributes [String] :product_type The value to assign to the {OCI::Identity::Models::CreateIdentityProviderDetails#product_type #product_type} proprety
|
26
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {OCI::Identity::Models::CreateIdentityProviderDetails#freeform_tags #freeform_tags} proprety
|
27
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {OCI::Identity::Models::CreateIdentityProviderDetails#defined_tags #defined_tags} proprety
|
28
|
+
# @option attributes [String] :metadata_url The value to assign to the {#metadata_url} property
|
29
29
|
# @option attributes [String] :metadata The value to assign to the {#metadata} property
|
30
30
|
def initialize(attributes = {})
|
31
31
|
return unless attributes.is_a?(Hash)
|
@@ -41,6 +41,12 @@ module OCI
|
|
41
41
|
self.metadata_url = attributes[:'metadataUrl']
|
42
42
|
end
|
43
43
|
|
44
|
+
raise 'You cannot provide both :metadataUrl and :metadata_url' if attributes.key?(:'metadataUrl') && attributes.key?(:'metadata_url')
|
45
|
+
|
46
|
+
if attributes[:'metadata_url']
|
47
|
+
self.metadata_url = attributes[:'metadata_url']
|
48
|
+
end
|
49
|
+
|
44
50
|
if attributes[:'metadata']
|
45
51
|
self.metadata = attributes[:'metadata']
|
46
52
|
end
|
@@ -32,8 +32,8 @@ module OCI
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
33
33
|
# @option attributes [String] :name The value to assign to the {#name} property
|
34
34
|
# @option attributes [String] :description The value to assign to the {#description} property
|
35
|
-
# @option attributes [Hash<String, String>] :
|
36
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
35
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
36
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
37
37
|
def initialize(attributes = {})
|
38
38
|
return unless attributes.is_a?(Hash)
|
39
39
|
|
@@ -52,10 +52,22 @@ module OCI
|
|
52
52
|
self.freeform_tags = attributes[:'freeformTags']
|
53
53
|
end
|
54
54
|
|
55
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
56
|
+
|
57
|
+
if attributes[:'freeform_tags']
|
58
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
59
|
+
end
|
60
|
+
|
55
61
|
if attributes[:'definedTags']
|
56
62
|
self.defined_tags = attributes[:'definedTags']
|
57
63
|
end
|
58
64
|
|
65
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
66
|
+
|
67
|
+
if attributes[:'defined_tags']
|
68
|
+
self.defined_tags = attributes[:'defined_tags']
|
69
|
+
end
|
70
|
+
|
59
71
|
end
|
60
72
|
|
61
73
|
# Checks equality by comparing each attribute.
|
@@ -34,11 +34,11 @@ module OCI
|
|
34
34
|
|
35
35
|
# Initializes the object
|
36
36
|
# @param [Hash] attributes Model attributes in the form of hash
|
37
|
-
# @option attributes [String] :
|
37
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
38
38
|
# @option attributes [String] :name The value to assign to the {#name} property
|
39
39
|
# @option attributes [String] :description The value to assign to the {#description} property
|
40
|
-
# @option attributes [Hash<String, String>] :
|
41
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
40
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
41
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
42
42
|
def initialize(attributes = {})
|
43
43
|
return unless attributes.is_a?(Hash)
|
44
44
|
|
@@ -49,6 +49,12 @@ module OCI
|
|
49
49
|
self.compartment_id = attributes[:'compartmentId']
|
50
50
|
end
|
51
51
|
|
52
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
53
|
+
|
54
|
+
if attributes[:'compartment_id']
|
55
|
+
self.compartment_id = attributes[:'compartment_id']
|
56
|
+
end
|
57
|
+
|
52
58
|
if attributes[:'name']
|
53
59
|
self.name = attributes[:'name']
|
54
60
|
end
|
@@ -61,10 +67,22 @@ module OCI
|
|
61
67
|
self.freeform_tags = attributes[:'freeformTags']
|
62
68
|
end
|
63
69
|
|
70
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
71
|
+
|
72
|
+
if attributes[:'freeform_tags']
|
73
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
74
|
+
end
|
75
|
+
|
64
76
|
if attributes[:'definedTags']
|
65
77
|
self.defined_tags = attributes[:'definedTags']
|
66
78
|
end
|
67
79
|
|
80
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
81
|
+
|
82
|
+
if attributes[:'defined_tags']
|
83
|
+
self.defined_tags = attributes[:'defined_tags']
|
84
|
+
end
|
85
|
+
|
68
86
|
end
|
69
87
|
|
70
88
|
# Checks equality by comparing each attribute.
|