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
|
@@ -71,10 +71,10 @@ module OCI
|
|
|
71
71
|
|
|
72
72
|
# Initializes the object
|
|
73
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
74
|
-
# @option attributes [String] :
|
|
74
|
+
# @option attributes [String] :boot_volume_type The value to assign to the {#boot_volume_type} property
|
|
75
75
|
# @option attributes [String] :firmware The value to assign to the {#firmware} property
|
|
76
|
-
# @option attributes [String] :
|
|
77
|
-
# @option attributes [String] :
|
|
76
|
+
# @option attributes [String] :network_type The value to assign to the {#network_type} property
|
|
77
|
+
# @option attributes [String] :remote_data_volume_type The value to assign to the {#remote_data_volume_type} property
|
|
78
78
|
def initialize(attributes = {})
|
|
79
79
|
return unless attributes.is_a?(Hash)
|
|
80
80
|
|
|
@@ -85,6 +85,12 @@ module OCI
|
|
|
85
85
|
self.boot_volume_type = attributes[:'bootVolumeType']
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
+
raise 'You cannot provide both :bootVolumeType and :boot_volume_type' if attributes.key?(:'bootVolumeType') && attributes.key?(:'boot_volume_type')
|
|
89
|
+
|
|
90
|
+
if attributes[:'boot_volume_type']
|
|
91
|
+
self.boot_volume_type = attributes[:'boot_volume_type']
|
|
92
|
+
end
|
|
93
|
+
|
|
88
94
|
if attributes[:'firmware']
|
|
89
95
|
self.firmware = attributes[:'firmware']
|
|
90
96
|
end
|
|
@@ -93,10 +99,22 @@ module OCI
|
|
|
93
99
|
self.network_type = attributes[:'networkType']
|
|
94
100
|
end
|
|
95
101
|
|
|
102
|
+
raise 'You cannot provide both :networkType and :network_type' if attributes.key?(:'networkType') && attributes.key?(:'network_type')
|
|
103
|
+
|
|
104
|
+
if attributes[:'network_type']
|
|
105
|
+
self.network_type = attributes[:'network_type']
|
|
106
|
+
end
|
|
107
|
+
|
|
96
108
|
if attributes[:'remoteDataVolumeType']
|
|
97
109
|
self.remote_data_volume_type = attributes[:'remoteDataVolumeType']
|
|
98
110
|
end
|
|
99
111
|
|
|
112
|
+
raise 'You cannot provide both :remoteDataVolumeType and :remote_data_volume_type' if attributes.key?(:'remoteDataVolumeType') && attributes.key?(:'remote_data_volume_type')
|
|
113
|
+
|
|
114
|
+
if attributes[:'remote_data_volume_type']
|
|
115
|
+
self.remote_data_volume_type = attributes[:'remote_data_volume_type']
|
|
116
|
+
end
|
|
117
|
+
|
|
100
118
|
end
|
|
101
119
|
|
|
102
120
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -47,13 +47,13 @@ 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] :
|
|
51
|
-
# @option attributes [String] :
|
|
52
|
-
# @option attributes [String] :
|
|
53
|
-
# @option attributes [String] :
|
|
54
|
-
# @option attributes [String] :
|
|
55
|
-
# @option attributes [DateTime] :
|
|
56
|
-
# @option attributes [DateTime] :
|
|
50
|
+
# @option attributes [String] :authorized_entity_name The value to assign to the {#authorized_entity_name} property
|
|
51
|
+
# @option attributes [String] :circuit_type The value to assign to the {#circuit_type} property
|
|
52
|
+
# @option attributes [String] :cross_connect_id The value to assign to the {#cross_connect_id} property
|
|
53
|
+
# @option attributes [String] :facility_location The value to assign to the {#facility_location} property
|
|
54
|
+
# @option attributes [String] :port_name The value to assign to the {#port_name} property
|
|
55
|
+
# @option attributes [DateTime] :time_expires The value to assign to the {#time_expires} property
|
|
56
|
+
# @option attributes [DateTime] :time_issued The value to assign to the {#time_issued} property
|
|
57
57
|
def initialize(attributes = {})
|
|
58
58
|
return unless attributes.is_a?(Hash)
|
|
59
59
|
|
|
@@ -64,30 +64,72 @@ module OCI
|
|
|
64
64
|
self.authorized_entity_name = attributes[:'authorizedEntityName']
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
raise 'You cannot provide both :authorizedEntityName and :authorized_entity_name' if attributes.key?(:'authorizedEntityName') && attributes.key?(:'authorized_entity_name')
|
|
68
|
+
|
|
69
|
+
if attributes[:'authorized_entity_name']
|
|
70
|
+
self.authorized_entity_name = attributes[:'authorized_entity_name']
|
|
71
|
+
end
|
|
72
|
+
|
|
67
73
|
if attributes[:'circuitType']
|
|
68
74
|
self.circuit_type = attributes[:'circuitType']
|
|
69
75
|
end
|
|
70
76
|
|
|
77
|
+
raise 'You cannot provide both :circuitType and :circuit_type' if attributes.key?(:'circuitType') && attributes.key?(:'circuit_type')
|
|
78
|
+
|
|
79
|
+
if attributes[:'circuit_type']
|
|
80
|
+
self.circuit_type = attributes[:'circuit_type']
|
|
81
|
+
end
|
|
82
|
+
|
|
71
83
|
if attributes[:'crossConnectId']
|
|
72
84
|
self.cross_connect_id = attributes[:'crossConnectId']
|
|
73
85
|
end
|
|
74
86
|
|
|
87
|
+
raise 'You cannot provide both :crossConnectId and :cross_connect_id' if attributes.key?(:'crossConnectId') && attributes.key?(:'cross_connect_id')
|
|
88
|
+
|
|
89
|
+
if attributes[:'cross_connect_id']
|
|
90
|
+
self.cross_connect_id = attributes[:'cross_connect_id']
|
|
91
|
+
end
|
|
92
|
+
|
|
75
93
|
if attributes[:'facilityLocation']
|
|
76
94
|
self.facility_location = attributes[:'facilityLocation']
|
|
77
95
|
end
|
|
78
96
|
|
|
97
|
+
raise 'You cannot provide both :facilityLocation and :facility_location' if attributes.key?(:'facilityLocation') && attributes.key?(:'facility_location')
|
|
98
|
+
|
|
99
|
+
if attributes[:'facility_location']
|
|
100
|
+
self.facility_location = attributes[:'facility_location']
|
|
101
|
+
end
|
|
102
|
+
|
|
79
103
|
if attributes[:'portName']
|
|
80
104
|
self.port_name = attributes[:'portName']
|
|
81
105
|
end
|
|
82
106
|
|
|
107
|
+
raise 'You cannot provide both :portName and :port_name' if attributes.key?(:'portName') && attributes.key?(:'port_name')
|
|
108
|
+
|
|
109
|
+
if attributes[:'port_name']
|
|
110
|
+
self.port_name = attributes[:'port_name']
|
|
111
|
+
end
|
|
112
|
+
|
|
83
113
|
if attributes[:'timeExpires']
|
|
84
114
|
self.time_expires = attributes[:'timeExpires']
|
|
85
115
|
end
|
|
86
116
|
|
|
117
|
+
raise 'You cannot provide both :timeExpires and :time_expires' if attributes.key?(:'timeExpires') && attributes.key?(:'time_expires')
|
|
118
|
+
|
|
119
|
+
if attributes[:'time_expires']
|
|
120
|
+
self.time_expires = attributes[:'time_expires']
|
|
121
|
+
end
|
|
122
|
+
|
|
87
123
|
if attributes[:'timeIssued']
|
|
88
124
|
self.time_issued = attributes[:'timeIssued']
|
|
89
125
|
end
|
|
90
126
|
|
|
127
|
+
raise 'You cannot provide both :timeIssued and :time_issued' if attributes.key?(:'timeIssued') && attributes.key?(:'time_issued')
|
|
128
|
+
|
|
129
|
+
if attributes[:'time_issued']
|
|
130
|
+
self.time_issued = attributes[:'time_issued']
|
|
131
|
+
end
|
|
132
|
+
|
|
91
133
|
end
|
|
92
134
|
|
|
93
135
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -89,16 +89,16 @@ module OCI
|
|
|
89
89
|
|
|
90
90
|
# Initializes the object
|
|
91
91
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
92
|
-
# @option attributes [String] :
|
|
93
|
-
# @option attributes [String] :
|
|
92
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
93
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
94
94
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
95
|
-
# @option attributes [BOOLEAN] :
|
|
96
|
-
# @option attributes [String] :
|
|
97
|
-
# @option attributes [String] :
|
|
98
|
-
# @option attributes [String] :
|
|
99
|
-
# @option attributes [String] :
|
|
100
|
-
# @option attributes [DateTime] :
|
|
101
|
-
# @option attributes [String] :
|
|
95
|
+
# @option attributes [BOOLEAN] :is_cross_tenancy_peering The value to assign to the {#is_cross_tenancy_peering} property
|
|
96
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
97
|
+
# @option attributes [String] :peer_advertised_cidr The value to assign to the {#peer_advertised_cidr} property
|
|
98
|
+
# @option attributes [String] :peering_status The value to assign to the {#peering_status} property
|
|
99
|
+
# @option attributes [String] :peering_status_details The value to assign to the {#peering_status_details} property
|
|
100
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
101
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
102
102
|
def initialize(attributes = {})
|
|
103
103
|
return unless attributes.is_a?(Hash)
|
|
104
104
|
|
|
@@ -109,10 +109,22 @@ module OCI
|
|
|
109
109
|
self.compartment_id = attributes[:'compartmentId']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
113
|
+
|
|
114
|
+
if attributes[:'compartment_id']
|
|
115
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
116
|
+
end
|
|
117
|
+
|
|
112
118
|
if attributes[:'displayName']
|
|
113
119
|
self.display_name = attributes[:'displayName']
|
|
114
120
|
end
|
|
115
121
|
|
|
122
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
123
|
+
|
|
124
|
+
if attributes[:'display_name']
|
|
125
|
+
self.display_name = attributes[:'display_name']
|
|
126
|
+
end
|
|
127
|
+
|
|
116
128
|
if attributes[:'id']
|
|
117
129
|
self.id = attributes[:'id']
|
|
118
130
|
end
|
|
@@ -121,30 +133,72 @@ module OCI
|
|
|
121
133
|
self.is_cross_tenancy_peering = attributes[:'isCrossTenancyPeering']
|
|
122
134
|
end
|
|
123
135
|
|
|
136
|
+
raise 'You cannot provide both :isCrossTenancyPeering and :is_cross_tenancy_peering' if attributes.key?(:'isCrossTenancyPeering') && attributes.key?(:'is_cross_tenancy_peering')
|
|
137
|
+
|
|
138
|
+
unless attributes[:'is_cross_tenancy_peering'].nil?
|
|
139
|
+
self.is_cross_tenancy_peering = attributes[:'is_cross_tenancy_peering']
|
|
140
|
+
end
|
|
141
|
+
|
|
124
142
|
if attributes[:'lifecycleState']
|
|
125
143
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
126
144
|
end
|
|
127
145
|
|
|
146
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
147
|
+
|
|
148
|
+
if attributes[:'lifecycle_state']
|
|
149
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
150
|
+
end
|
|
151
|
+
|
|
128
152
|
if attributes[:'peerAdvertisedCidr']
|
|
129
153
|
self.peer_advertised_cidr = attributes[:'peerAdvertisedCidr']
|
|
130
154
|
end
|
|
131
155
|
|
|
156
|
+
raise 'You cannot provide both :peerAdvertisedCidr and :peer_advertised_cidr' if attributes.key?(:'peerAdvertisedCidr') && attributes.key?(:'peer_advertised_cidr')
|
|
157
|
+
|
|
158
|
+
if attributes[:'peer_advertised_cidr']
|
|
159
|
+
self.peer_advertised_cidr = attributes[:'peer_advertised_cidr']
|
|
160
|
+
end
|
|
161
|
+
|
|
132
162
|
if attributes[:'peeringStatus']
|
|
133
163
|
self.peering_status = attributes[:'peeringStatus']
|
|
134
164
|
end
|
|
135
165
|
|
|
166
|
+
raise 'You cannot provide both :peeringStatus and :peering_status' if attributes.key?(:'peeringStatus') && attributes.key?(:'peering_status')
|
|
167
|
+
|
|
168
|
+
if attributes[:'peering_status']
|
|
169
|
+
self.peering_status = attributes[:'peering_status']
|
|
170
|
+
end
|
|
171
|
+
|
|
136
172
|
if attributes[:'peeringStatusDetails']
|
|
137
173
|
self.peering_status_details = attributes[:'peeringStatusDetails']
|
|
138
174
|
end
|
|
139
175
|
|
|
176
|
+
raise 'You cannot provide both :peeringStatusDetails and :peering_status_details' if attributes.key?(:'peeringStatusDetails') && attributes.key?(:'peering_status_details')
|
|
177
|
+
|
|
178
|
+
if attributes[:'peering_status_details']
|
|
179
|
+
self.peering_status_details = attributes[:'peering_status_details']
|
|
180
|
+
end
|
|
181
|
+
|
|
140
182
|
if attributes[:'timeCreated']
|
|
141
183
|
self.time_created = attributes[:'timeCreated']
|
|
142
184
|
end
|
|
143
185
|
|
|
186
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
187
|
+
|
|
188
|
+
if attributes[:'time_created']
|
|
189
|
+
self.time_created = attributes[:'time_created']
|
|
190
|
+
end
|
|
191
|
+
|
|
144
192
|
if attributes[:'vcnId']
|
|
145
193
|
self.vcn_id = attributes[:'vcnId']
|
|
146
194
|
end
|
|
147
195
|
|
|
196
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
197
|
+
|
|
198
|
+
if attributes[:'vcn_id']
|
|
199
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
200
|
+
end
|
|
201
|
+
|
|
148
202
|
end
|
|
149
203
|
|
|
150
204
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -121,18 +121,18 @@ module OCI
|
|
|
121
121
|
|
|
122
122
|
# Initializes the object
|
|
123
123
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
124
|
-
# @option attributes [String] :
|
|
125
|
-
# @option attributes [String] :
|
|
126
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
127
|
-
# @option attributes [String] :
|
|
128
|
-
# @option attributes [Hash<String, String>] :
|
|
129
|
-
# @option attributes [String] :
|
|
124
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
|
125
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
126
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
127
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
128
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
129
|
+
# @option attributes [String] :hostname_label The value to assign to the {#hostname_label} property
|
|
130
130
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
131
|
-
# @option attributes [String] :
|
|
132
|
-
# @option attributes [BOOLEAN] :
|
|
133
|
-
# @option attributes [String] :
|
|
134
|
-
# @option attributes [DateTime] :
|
|
135
|
-
# @option attributes [String] :
|
|
131
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
132
|
+
# @option attributes [BOOLEAN] :is_primary The value to assign to the {#is_primary} property
|
|
133
|
+
# @option attributes [String] :subnet_id The value to assign to the {#subnet_id} property
|
|
134
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
135
|
+
# @option attributes [String] :vnic_id The value to assign to the {#vnic_id} property
|
|
136
136
|
def initialize(attributes = {})
|
|
137
137
|
return unless attributes.is_a?(Hash)
|
|
138
138
|
|
|
@@ -143,26 +143,62 @@ module OCI
|
|
|
143
143
|
self.availability_domain = attributes[:'availabilityDomain']
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
|
147
|
+
|
|
148
|
+
if attributes[:'availability_domain']
|
|
149
|
+
self.availability_domain = attributes[:'availability_domain']
|
|
150
|
+
end
|
|
151
|
+
|
|
146
152
|
if attributes[:'compartmentId']
|
|
147
153
|
self.compartment_id = attributes[:'compartmentId']
|
|
148
154
|
end
|
|
149
155
|
|
|
156
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
157
|
+
|
|
158
|
+
if attributes[:'compartment_id']
|
|
159
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
160
|
+
end
|
|
161
|
+
|
|
150
162
|
if attributes[:'definedTags']
|
|
151
163
|
self.defined_tags = attributes[:'definedTags']
|
|
152
164
|
end
|
|
153
165
|
|
|
166
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
167
|
+
|
|
168
|
+
if attributes[:'defined_tags']
|
|
169
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
170
|
+
end
|
|
171
|
+
|
|
154
172
|
if attributes[:'displayName']
|
|
155
173
|
self.display_name = attributes[:'displayName']
|
|
156
174
|
end
|
|
157
175
|
|
|
176
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
177
|
+
|
|
178
|
+
if attributes[:'display_name']
|
|
179
|
+
self.display_name = attributes[:'display_name']
|
|
180
|
+
end
|
|
181
|
+
|
|
158
182
|
if attributes[:'freeformTags']
|
|
159
183
|
self.freeform_tags = attributes[:'freeformTags']
|
|
160
184
|
end
|
|
161
185
|
|
|
186
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
187
|
+
|
|
188
|
+
if attributes[:'freeform_tags']
|
|
189
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
190
|
+
end
|
|
191
|
+
|
|
162
192
|
if attributes[:'hostnameLabel']
|
|
163
193
|
self.hostname_label = attributes[:'hostnameLabel']
|
|
164
194
|
end
|
|
165
195
|
|
|
196
|
+
raise 'You cannot provide both :hostnameLabel and :hostname_label' if attributes.key?(:'hostnameLabel') && attributes.key?(:'hostname_label')
|
|
197
|
+
|
|
198
|
+
if attributes[:'hostname_label']
|
|
199
|
+
self.hostname_label = attributes[:'hostname_label']
|
|
200
|
+
end
|
|
201
|
+
|
|
166
202
|
if attributes[:'id']
|
|
167
203
|
self.id = attributes[:'id']
|
|
168
204
|
end
|
|
@@ -171,22 +207,52 @@ module OCI
|
|
|
171
207
|
self.ip_address = attributes[:'ipAddress']
|
|
172
208
|
end
|
|
173
209
|
|
|
210
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
211
|
+
|
|
212
|
+
if attributes[:'ip_address']
|
|
213
|
+
self.ip_address = attributes[:'ip_address']
|
|
214
|
+
end
|
|
215
|
+
|
|
174
216
|
unless attributes[:'isPrimary'].nil?
|
|
175
217
|
self.is_primary = attributes[:'isPrimary']
|
|
176
218
|
end
|
|
177
219
|
|
|
220
|
+
raise 'You cannot provide both :isPrimary and :is_primary' if attributes.key?(:'isPrimary') && attributes.key?(:'is_primary')
|
|
221
|
+
|
|
222
|
+
unless attributes[:'is_primary'].nil?
|
|
223
|
+
self.is_primary = attributes[:'is_primary']
|
|
224
|
+
end
|
|
225
|
+
|
|
178
226
|
if attributes[:'subnetId']
|
|
179
227
|
self.subnet_id = attributes[:'subnetId']
|
|
180
228
|
end
|
|
181
229
|
|
|
230
|
+
raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id')
|
|
231
|
+
|
|
232
|
+
if attributes[:'subnet_id']
|
|
233
|
+
self.subnet_id = attributes[:'subnet_id']
|
|
234
|
+
end
|
|
235
|
+
|
|
182
236
|
if attributes[:'timeCreated']
|
|
183
237
|
self.time_created = attributes[:'timeCreated']
|
|
184
238
|
end
|
|
185
239
|
|
|
240
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
241
|
+
|
|
242
|
+
if attributes[:'time_created']
|
|
243
|
+
self.time_created = attributes[:'time_created']
|
|
244
|
+
end
|
|
245
|
+
|
|
186
246
|
if attributes[:'vnicId']
|
|
187
247
|
self.vnic_id = attributes[:'vnicId']
|
|
188
248
|
end
|
|
189
249
|
|
|
250
|
+
raise 'You cannot provide both :vnicId and :vnic_id' if attributes.key?(:'vnicId') && attributes.key?(:'vnic_id')
|
|
251
|
+
|
|
252
|
+
if attributes[:'vnic_id']
|
|
253
|
+
self.vnic_id = attributes[:'vnic_id']
|
|
254
|
+
end
|
|
255
|
+
|
|
190
256
|
end
|
|
191
257
|
|
|
192
258
|
# Checks equality by comparing each attribute.
|
|
@@ -116,16 +116,16 @@ module OCI
|
|
|
116
116
|
|
|
117
117
|
# Initializes the object
|
|
118
118
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
119
|
-
# @option attributes [String] :
|
|
120
|
-
# @option attributes [String] :
|
|
121
|
-
# @option attributes [String] :
|
|
119
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
|
120
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
121
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
122
122
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
123
|
-
# @option attributes [String] :
|
|
124
|
-
# @option attributes [String] :
|
|
123
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
124
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
125
125
|
# @option attributes [String] :lifetime The value to assign to the {#lifetime} property
|
|
126
|
-
# @option attributes [String] :
|
|
126
|
+
# @option attributes [String] :private_ip_id The value to assign to the {#private_ip_id} property
|
|
127
127
|
# @option attributes [String] :scope The value to assign to the {#scope} property
|
|
128
|
-
# @option attributes [DateTime] :
|
|
128
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
129
129
|
def initialize(attributes = {})
|
|
130
130
|
return unless attributes.is_a?(Hash)
|
|
131
131
|
|
|
@@ -136,14 +136,32 @@ module OCI
|
|
|
136
136
|
self.availability_domain = attributes[:'availabilityDomain']
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
|
140
|
+
|
|
141
|
+
if attributes[:'availability_domain']
|
|
142
|
+
self.availability_domain = attributes[:'availability_domain']
|
|
143
|
+
end
|
|
144
|
+
|
|
139
145
|
if attributes[:'compartmentId']
|
|
140
146
|
self.compartment_id = attributes[:'compartmentId']
|
|
141
147
|
end
|
|
142
148
|
|
|
149
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
150
|
+
|
|
151
|
+
if attributes[:'compartment_id']
|
|
152
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
153
|
+
end
|
|
154
|
+
|
|
143
155
|
if attributes[:'displayName']
|
|
144
156
|
self.display_name = attributes[:'displayName']
|
|
145
157
|
end
|
|
146
158
|
|
|
159
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
160
|
+
|
|
161
|
+
if attributes[:'display_name']
|
|
162
|
+
self.display_name = attributes[:'display_name']
|
|
163
|
+
end
|
|
164
|
+
|
|
147
165
|
if attributes[:'id']
|
|
148
166
|
self.id = attributes[:'id']
|
|
149
167
|
end
|
|
@@ -152,10 +170,22 @@ module OCI
|
|
|
152
170
|
self.ip_address = attributes[:'ipAddress']
|
|
153
171
|
end
|
|
154
172
|
|
|
173
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
174
|
+
|
|
175
|
+
if attributes[:'ip_address']
|
|
176
|
+
self.ip_address = attributes[:'ip_address']
|
|
177
|
+
end
|
|
178
|
+
|
|
155
179
|
if attributes[:'lifecycleState']
|
|
156
180
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
157
181
|
end
|
|
158
182
|
|
|
183
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
184
|
+
|
|
185
|
+
if attributes[:'lifecycle_state']
|
|
186
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
187
|
+
end
|
|
188
|
+
|
|
159
189
|
if attributes[:'lifetime']
|
|
160
190
|
self.lifetime = attributes[:'lifetime']
|
|
161
191
|
end
|
|
@@ -164,6 +194,12 @@ module OCI
|
|
|
164
194
|
self.private_ip_id = attributes[:'privateIpId']
|
|
165
195
|
end
|
|
166
196
|
|
|
197
|
+
raise 'You cannot provide both :privateIpId and :private_ip_id' if attributes.key?(:'privateIpId') && attributes.key?(:'private_ip_id')
|
|
198
|
+
|
|
199
|
+
if attributes[:'private_ip_id']
|
|
200
|
+
self.private_ip_id = attributes[:'private_ip_id']
|
|
201
|
+
end
|
|
202
|
+
|
|
167
203
|
if attributes[:'scope']
|
|
168
204
|
self.scope = attributes[:'scope']
|
|
169
205
|
end
|
|
@@ -172,6 +208,12 @@ module OCI
|
|
|
172
208
|
self.time_created = attributes[:'timeCreated']
|
|
173
209
|
end
|
|
174
210
|
|
|
211
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
212
|
+
|
|
213
|
+
if attributes[:'time_created']
|
|
214
|
+
self.time_created = attributes[:'time_created']
|
|
215
|
+
end
|
|
216
|
+
|
|
175
217
|
end
|
|
176
218
|
|
|
177
219
|
# Custom attribute writer method checking allowed values (enum).
|