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
|
@@ -32,9 +32,9 @@ module OCI
|
|
|
32
32
|
|
|
33
33
|
# Initializes the object
|
|
34
34
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
35
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
36
|
-
# @option attributes [String] :
|
|
37
|
-
# @option attributes [Hash<String, String>] :
|
|
35
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
36
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
37
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
38
38
|
def initialize(attributes = {})
|
|
39
39
|
return unless attributes.is_a?(Hash)
|
|
40
40
|
|
|
@@ -45,14 +45,32 @@ module OCI
|
|
|
45
45
|
self.defined_tags = attributes[:'definedTags']
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
49
|
+
|
|
50
|
+
if attributes[:'defined_tags']
|
|
51
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
52
|
+
end
|
|
53
|
+
|
|
48
54
|
if attributes[:'displayName']
|
|
49
55
|
self.display_name = attributes[:'displayName']
|
|
50
56
|
end
|
|
51
57
|
|
|
58
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
59
|
+
|
|
60
|
+
if attributes[:'display_name']
|
|
61
|
+
self.display_name = attributes[:'display_name']
|
|
62
|
+
end
|
|
63
|
+
|
|
52
64
|
if attributes[:'freeformTags']
|
|
53
65
|
self.freeform_tags = attributes[:'freeformTags']
|
|
54
66
|
end
|
|
55
67
|
|
|
68
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
69
|
+
|
|
70
|
+
if attributes[:'freeform_tags']
|
|
71
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
72
|
+
end
|
|
73
|
+
|
|
56
74
|
end
|
|
57
75
|
|
|
58
76
|
# Checks equality by comparing each attribute.
|
|
@@ -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 [BOOLEAN] :
|
|
20
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
21
|
+
# @option attributes [BOOLEAN] :is_enabled The value to assign to the {#is_enabled} 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.display_name = attributes[:'displayName']
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
33
|
+
|
|
34
|
+
if attributes[:'display_name']
|
|
35
|
+
self.display_name = attributes[:'display_name']
|
|
36
|
+
end
|
|
37
|
+
|
|
32
38
|
unless attributes[:'isEnabled'].nil?
|
|
33
39
|
self.is_enabled = attributes[:'isEnabled']
|
|
34
40
|
end
|
|
35
41
|
|
|
42
|
+
raise 'You cannot provide both :isEnabled and :is_enabled' if attributes.key?(:'isEnabled') && attributes.key?(:'is_enabled')
|
|
43
|
+
|
|
44
|
+
unless attributes[:'is_enabled'].nil?
|
|
45
|
+
self.is_enabled = attributes[:'is_enabled']
|
|
46
|
+
end
|
|
47
|
+
|
|
36
48
|
end
|
|
37
49
|
|
|
38
50
|
# Checks equality by comparing each attribute.
|
|
@@ -13,7 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
-
# @option attributes [String] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -13,7 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
-
# @option attributes [String] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -51,11 +51,11 @@ module OCI
|
|
|
51
51
|
|
|
52
52
|
# Initializes the object
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
54
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
55
|
-
# @option attributes [String] :
|
|
56
|
-
# @option attributes [Hash<String, String>] :
|
|
57
|
-
# @option attributes [String] :
|
|
58
|
-
# @option attributes [String] :
|
|
54
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
55
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
56
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
57
|
+
# @option attributes [String] :hostname_label The value to assign to the {#hostname_label} property
|
|
58
|
+
# @option attributes [String] :vnic_id The value to assign to the {#vnic_id} property
|
|
59
59
|
def initialize(attributes = {})
|
|
60
60
|
return unless attributes.is_a?(Hash)
|
|
61
61
|
|
|
@@ -66,22 +66,52 @@ module OCI
|
|
|
66
66
|
self.defined_tags = attributes[:'definedTags']
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
70
|
+
|
|
71
|
+
if attributes[:'defined_tags']
|
|
72
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
73
|
+
end
|
|
74
|
+
|
|
69
75
|
if attributes[:'displayName']
|
|
70
76
|
self.display_name = attributes[:'displayName']
|
|
71
77
|
end
|
|
72
78
|
|
|
79
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
80
|
+
|
|
81
|
+
if attributes[:'display_name']
|
|
82
|
+
self.display_name = attributes[:'display_name']
|
|
83
|
+
end
|
|
84
|
+
|
|
73
85
|
if attributes[:'freeformTags']
|
|
74
86
|
self.freeform_tags = attributes[:'freeformTags']
|
|
75
87
|
end
|
|
76
88
|
|
|
89
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
90
|
+
|
|
91
|
+
if attributes[:'freeform_tags']
|
|
92
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
93
|
+
end
|
|
94
|
+
|
|
77
95
|
if attributes[:'hostnameLabel']
|
|
78
96
|
self.hostname_label = attributes[:'hostnameLabel']
|
|
79
97
|
end
|
|
80
98
|
|
|
99
|
+
raise 'You cannot provide both :hostnameLabel and :hostname_label' if attributes.key?(:'hostnameLabel') && attributes.key?(:'hostname_label')
|
|
100
|
+
|
|
101
|
+
if attributes[:'hostname_label']
|
|
102
|
+
self.hostname_label = attributes[:'hostname_label']
|
|
103
|
+
end
|
|
104
|
+
|
|
81
105
|
if attributes[:'vnicId']
|
|
82
106
|
self.vnic_id = attributes[:'vnicId']
|
|
83
107
|
end
|
|
84
108
|
|
|
109
|
+
raise 'You cannot provide both :vnicId and :vnic_id' if attributes.key?(:'vnicId') && attributes.key?(:'vnic_id')
|
|
110
|
+
|
|
111
|
+
if attributes[:'vnic_id']
|
|
112
|
+
self.vnic_id = attributes[:'vnic_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
85
115
|
end
|
|
86
116
|
|
|
87
117
|
# Checks equality by comparing each attribute.
|
|
@@ -22,8 +22,8 @@ module OCI
|
|
|
22
22
|
|
|
23
23
|
# Initializes the object
|
|
24
24
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
25
|
-
# @option attributes [String] :
|
|
26
|
-
# @option attributes [String] :
|
|
25
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
26
|
+
# @option attributes [String] :private_ip_id The value to assign to the {#private_ip_id} property
|
|
27
27
|
def initialize(attributes = {})
|
|
28
28
|
return unless attributes.is_a?(Hash)
|
|
29
29
|
|
|
@@ -34,10 +34,22 @@ module OCI
|
|
|
34
34
|
self.display_name = attributes[:'displayName']
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
38
|
+
|
|
39
|
+
if attributes[:'display_name']
|
|
40
|
+
self.display_name = attributes[:'display_name']
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
if attributes[:'privateIpId']
|
|
38
44
|
self.private_ip_id = attributes[:'privateIpId']
|
|
39
45
|
end
|
|
40
46
|
|
|
47
|
+
raise 'You cannot provide both :privateIpId and :private_ip_id' if attributes.key?(:'privateIpId') && attributes.key?(:'private_ip_id')
|
|
48
|
+
|
|
49
|
+
if attributes[:'private_ip_id']
|
|
50
|
+
self.private_ip_id = attributes[:'private_ip_id']
|
|
51
|
+
end
|
|
52
|
+
|
|
41
53
|
end
|
|
42
54
|
|
|
43
55
|
# Checks equality by comparing each attribute.
|
|
@@ -34,10 +34,10 @@ module OCI
|
|
|
34
34
|
|
|
35
35
|
# Initializes the object
|
|
36
36
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
38
|
-
# @option attributes [String] :
|
|
39
|
-
# @option attributes [Hash<String, String>] :
|
|
40
|
-
# @option attributes [Array<OCI::Core::Models::RouteRule>] :
|
|
37
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
38
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
39
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
40
|
+
# @option attributes [Array<OCI::Core::Models::RouteRule>] :route_rules The value to assign to the {#route_rules} property
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
return unless attributes.is_a?(Hash)
|
|
43
43
|
|
|
@@ -48,18 +48,42 @@ module OCI
|
|
|
48
48
|
self.defined_tags = attributes[:'definedTags']
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
52
|
+
|
|
53
|
+
if attributes[:'defined_tags']
|
|
54
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
55
|
+
end
|
|
56
|
+
|
|
51
57
|
if attributes[:'displayName']
|
|
52
58
|
self.display_name = attributes[:'displayName']
|
|
53
59
|
end
|
|
54
60
|
|
|
61
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
62
|
+
|
|
63
|
+
if attributes[:'display_name']
|
|
64
|
+
self.display_name = attributes[:'display_name']
|
|
65
|
+
end
|
|
66
|
+
|
|
55
67
|
if attributes[:'freeformTags']
|
|
56
68
|
self.freeform_tags = attributes[:'freeformTags']
|
|
57
69
|
end
|
|
58
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
|
+
|
|
59
77
|
if attributes[:'routeRules']
|
|
60
78
|
self.route_rules = attributes[:'routeRules']
|
|
61
79
|
end
|
|
62
80
|
|
|
81
|
+
raise 'You cannot provide both :routeRules and :route_rules' if attributes.key?(:'routeRules') && attributes.key?(:'route_rules')
|
|
82
|
+
|
|
83
|
+
if attributes[:'route_rules']
|
|
84
|
+
self.route_rules = attributes[:'route_rules']
|
|
85
|
+
end
|
|
86
|
+
|
|
63
87
|
end
|
|
64
88
|
|
|
65
89
|
# Checks equality by comparing each attribute.
|
|
@@ -38,11 +38,11 @@ module OCI
|
|
|
38
38
|
|
|
39
39
|
# Initializes the object
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
42
|
-
# @option attributes [String] :
|
|
43
|
-
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :
|
|
44
|
-
# @option attributes [Hash<String, String>] :
|
|
45
|
-
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :
|
|
41
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
42
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
43
|
+
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :egress_security_rules The value to assign to the {#egress_security_rules} property
|
|
44
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
45
|
+
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :ingress_security_rules The value to assign to the {#ingress_security_rules} property
|
|
46
46
|
def initialize(attributes = {})
|
|
47
47
|
return unless attributes.is_a?(Hash)
|
|
48
48
|
|
|
@@ -53,22 +53,52 @@ module OCI
|
|
|
53
53
|
self.defined_tags = attributes[:'definedTags']
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
57
|
+
|
|
58
|
+
if attributes[:'defined_tags']
|
|
59
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
60
|
+
end
|
|
61
|
+
|
|
56
62
|
if attributes[:'displayName']
|
|
57
63
|
self.display_name = attributes[:'displayName']
|
|
58
64
|
end
|
|
59
65
|
|
|
66
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
67
|
+
|
|
68
|
+
if attributes[:'display_name']
|
|
69
|
+
self.display_name = attributes[:'display_name']
|
|
70
|
+
end
|
|
71
|
+
|
|
60
72
|
if attributes[:'egressSecurityRules']
|
|
61
73
|
self.egress_security_rules = attributes[:'egressSecurityRules']
|
|
62
74
|
end
|
|
63
75
|
|
|
76
|
+
raise 'You cannot provide both :egressSecurityRules and :egress_security_rules' if attributes.key?(:'egressSecurityRules') && attributes.key?(:'egress_security_rules')
|
|
77
|
+
|
|
78
|
+
if attributes[:'egress_security_rules']
|
|
79
|
+
self.egress_security_rules = attributes[:'egress_security_rules']
|
|
80
|
+
end
|
|
81
|
+
|
|
64
82
|
if attributes[:'freeformTags']
|
|
65
83
|
self.freeform_tags = attributes[:'freeformTags']
|
|
66
84
|
end
|
|
67
85
|
|
|
86
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
87
|
+
|
|
88
|
+
if attributes[:'freeform_tags']
|
|
89
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
90
|
+
end
|
|
91
|
+
|
|
68
92
|
if attributes[:'ingressSecurityRules']
|
|
69
93
|
self.ingress_security_rules = attributes[:'ingressSecurityRules']
|
|
70
94
|
end
|
|
71
95
|
|
|
96
|
+
raise 'You cannot provide both :ingressSecurityRules and :ingress_security_rules' if attributes.key?(:'ingressSecurityRules') && attributes.key?(:'ingress_security_rules')
|
|
97
|
+
|
|
98
|
+
if attributes[:'ingress_security_rules']
|
|
99
|
+
self.ingress_security_rules = attributes[:'ingress_security_rules']
|
|
100
|
+
end
|
|
101
|
+
|
|
72
102
|
end
|
|
73
103
|
|
|
74
104
|
# Checks equality by comparing each attribute.
|
|
@@ -30,9 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# Initializes the object
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
34
|
-
# @option attributes [String] :
|
|
35
|
-
# @option attributes [Hash<String, String>] :
|
|
33
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
34
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
36
36
|
def initialize(attributes = {})
|
|
37
37
|
return unless attributes.is_a?(Hash)
|
|
38
38
|
|
|
@@ -43,14 +43,32 @@ module OCI
|
|
|
43
43
|
self.defined_tags = attributes[:'definedTags']
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
47
|
+
|
|
48
|
+
if attributes[:'defined_tags']
|
|
49
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
50
|
+
end
|
|
51
|
+
|
|
46
52
|
if attributes[:'displayName']
|
|
47
53
|
self.display_name = attributes[:'displayName']
|
|
48
54
|
end
|
|
49
55
|
|
|
56
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
57
|
+
|
|
58
|
+
if attributes[:'display_name']
|
|
59
|
+
self.display_name = attributes[:'display_name']
|
|
60
|
+
end
|
|
61
|
+
|
|
50
62
|
if attributes[:'freeformTags']
|
|
51
63
|
self.freeform_tags = attributes[:'freeformTags']
|
|
52
64
|
end
|
|
53
65
|
|
|
66
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
67
|
+
|
|
68
|
+
if attributes[:'freeform_tags']
|
|
69
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
70
|
+
end
|
|
71
|
+
|
|
54
72
|
end
|
|
55
73
|
|
|
56
74
|
# Checks equality by comparing each attribute.
|
|
@@ -30,9 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# Initializes the object
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
34
|
-
# @option attributes [String] :
|
|
35
|
-
# @option attributes [Hash<String, String>] :
|
|
33
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
34
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
36
36
|
def initialize(attributes = {})
|
|
37
37
|
return unless attributes.is_a?(Hash)
|
|
38
38
|
|
|
@@ -43,14 +43,32 @@ module OCI
|
|
|
43
43
|
self.defined_tags = attributes[:'definedTags']
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
47
|
+
|
|
48
|
+
if attributes[:'defined_tags']
|
|
49
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
50
|
+
end
|
|
51
|
+
|
|
46
52
|
if attributes[:'displayName']
|
|
47
53
|
self.display_name = attributes[:'displayName']
|
|
48
54
|
end
|
|
49
55
|
|
|
56
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
57
|
+
|
|
58
|
+
if attributes[:'display_name']
|
|
59
|
+
self.display_name = attributes[:'display_name']
|
|
60
|
+
end
|
|
61
|
+
|
|
50
62
|
if attributes[:'freeformTags']
|
|
51
63
|
self.freeform_tags = attributes[:'freeformTags']
|
|
52
64
|
end
|
|
53
65
|
|
|
66
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
67
|
+
|
|
68
|
+
if attributes[:'freeform_tags']
|
|
69
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
70
|
+
end
|
|
71
|
+
|
|
54
72
|
end
|
|
55
73
|
|
|
56
74
|
# Checks equality by comparing each attribute.
|
|
@@ -78,13 +78,13 @@ module OCI
|
|
|
78
78
|
|
|
79
79
|
# Initializes the object
|
|
80
80
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
81
|
-
# @option attributes [String] :
|
|
82
|
-
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :
|
|
83
|
-
# @option attributes [Integer] :
|
|
84
|
-
# @option attributes [String] :
|
|
85
|
-
# @option attributes [String] :
|
|
86
|
-
# @option attributes [String] :
|
|
87
|
-
# @option attributes [String] :
|
|
81
|
+
# @option attributes [String] :bandwidth_shape_name The value to assign to the {#bandwidth_shape_name} property
|
|
82
|
+
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :cross_connect_mappings The value to assign to the {#cross_connect_mappings} property
|
|
83
|
+
# @option attributes [Integer] :customer_bgp_asn The value to assign to the {#customer_bgp_asn} property
|
|
84
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
85
|
+
# @option attributes [String] :gateway_id The value to assign to the {#gateway_id} property
|
|
86
|
+
# @option attributes [String] :provider_state The value to assign to the {#provider_state} property
|
|
87
|
+
# @option attributes [String] :reference_comment The value to assign to the {#reference_comment} property
|
|
88
88
|
def initialize(attributes = {})
|
|
89
89
|
return unless attributes.is_a?(Hash)
|
|
90
90
|
|
|
@@ -95,30 +95,72 @@ module OCI
|
|
|
95
95
|
self.bandwidth_shape_name = attributes[:'bandwidthShapeName']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
+
raise 'You cannot provide both :bandwidthShapeName and :bandwidth_shape_name' if attributes.key?(:'bandwidthShapeName') && attributes.key?(:'bandwidth_shape_name')
|
|
99
|
+
|
|
100
|
+
if attributes[:'bandwidth_shape_name']
|
|
101
|
+
self.bandwidth_shape_name = attributes[:'bandwidth_shape_name']
|
|
102
|
+
end
|
|
103
|
+
|
|
98
104
|
if attributes[:'crossConnectMappings']
|
|
99
105
|
self.cross_connect_mappings = attributes[:'crossConnectMappings']
|
|
100
106
|
end
|
|
101
107
|
|
|
108
|
+
raise 'You cannot provide both :crossConnectMappings and :cross_connect_mappings' if attributes.key?(:'crossConnectMappings') && attributes.key?(:'cross_connect_mappings')
|
|
109
|
+
|
|
110
|
+
if attributes[:'cross_connect_mappings']
|
|
111
|
+
self.cross_connect_mappings = attributes[:'cross_connect_mappings']
|
|
112
|
+
end
|
|
113
|
+
|
|
102
114
|
if attributes[:'customerBgpAsn']
|
|
103
115
|
self.customer_bgp_asn = attributes[:'customerBgpAsn']
|
|
104
116
|
end
|
|
105
117
|
|
|
118
|
+
raise 'You cannot provide both :customerBgpAsn and :customer_bgp_asn' if attributes.key?(:'customerBgpAsn') && attributes.key?(:'customer_bgp_asn')
|
|
119
|
+
|
|
120
|
+
if attributes[:'customer_bgp_asn']
|
|
121
|
+
self.customer_bgp_asn = attributes[:'customer_bgp_asn']
|
|
122
|
+
end
|
|
123
|
+
|
|
106
124
|
if attributes[:'displayName']
|
|
107
125
|
self.display_name = attributes[:'displayName']
|
|
108
126
|
end
|
|
109
127
|
|
|
128
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
129
|
+
|
|
130
|
+
if attributes[:'display_name']
|
|
131
|
+
self.display_name = attributes[:'display_name']
|
|
132
|
+
end
|
|
133
|
+
|
|
110
134
|
if attributes[:'gatewayId']
|
|
111
135
|
self.gateway_id = attributes[:'gatewayId']
|
|
112
136
|
end
|
|
113
137
|
|
|
138
|
+
raise 'You cannot provide both :gatewayId and :gateway_id' if attributes.key?(:'gatewayId') && attributes.key?(:'gateway_id')
|
|
139
|
+
|
|
140
|
+
if attributes[:'gateway_id']
|
|
141
|
+
self.gateway_id = attributes[:'gateway_id']
|
|
142
|
+
end
|
|
143
|
+
|
|
114
144
|
if attributes[:'providerState']
|
|
115
145
|
self.provider_state = attributes[:'providerState']
|
|
116
146
|
end
|
|
117
147
|
|
|
148
|
+
raise 'You cannot provide both :providerState and :provider_state' if attributes.key?(:'providerState') && attributes.key?(:'provider_state')
|
|
149
|
+
|
|
150
|
+
if attributes[:'provider_state']
|
|
151
|
+
self.provider_state = attributes[:'provider_state']
|
|
152
|
+
end
|
|
153
|
+
|
|
118
154
|
if attributes[:'referenceComment']
|
|
119
155
|
self.reference_comment = attributes[:'referenceComment']
|
|
120
156
|
end
|
|
121
157
|
|
|
158
|
+
raise 'You cannot provide both :referenceComment and :reference_comment' if attributes.key?(:'referenceComment') && attributes.key?(:'reference_comment')
|
|
159
|
+
|
|
160
|
+
if attributes[:'reference_comment']
|
|
161
|
+
self.reference_comment = attributes[:'reference_comment']
|
|
162
|
+
end
|
|
163
|
+
|
|
122
164
|
end
|
|
123
165
|
|
|
124
166
|
# Custom attribute writer method checking allowed values (enum).
|