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
|
@@ -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] :cidr_block The value to assign to the {#cidr_block} 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.cidr_block = attributes[:'cidrBlock']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
28
|
+
|
|
29
|
+
if attributes[:'cidr_block']
|
|
30
|
+
self.cidr_block = attributes[:'cidr_block']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -98,12 +98,12 @@ module OCI
|
|
|
98
98
|
|
|
99
99
|
# Initializes the object
|
|
100
100
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
101
|
-
# @option attributes [BOOLEAN] :
|
|
102
|
-
# @option attributes [String] :
|
|
103
|
-
# @option attributes [String] :
|
|
104
|
-
# @option attributes [String] :
|
|
105
|
-
# @option attributes [BOOLEAN] :
|
|
106
|
-
# @option attributes [String] :
|
|
101
|
+
# @option attributes [BOOLEAN] :assign_public_ip The value to assign to the {#assign_public_ip} property
|
|
102
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
103
|
+
# @option attributes [String] :hostname_label The value to assign to the {#hostname_label} property
|
|
104
|
+
# @option attributes [String] :private_ip The value to assign to the {#private_ip} property
|
|
105
|
+
# @option attributes [BOOLEAN] :skip_source_dest_check The value to assign to the {#skip_source_dest_check} property
|
|
106
|
+
# @option attributes [String] :subnet_id The value to assign to the {#subnet_id} property
|
|
107
107
|
def initialize(attributes = {})
|
|
108
108
|
return unless attributes.is_a?(Hash)
|
|
109
109
|
|
|
@@ -114,26 +114,62 @@ module OCI
|
|
|
114
114
|
self.assign_public_ip = attributes[:'assignPublicIp']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
+
raise 'You cannot provide both :assignPublicIp and :assign_public_ip' if attributes.key?(:'assignPublicIp') && attributes.key?(:'assign_public_ip')
|
|
118
|
+
|
|
119
|
+
unless attributes[:'assign_public_ip'].nil?
|
|
120
|
+
self.assign_public_ip = attributes[:'assign_public_ip']
|
|
121
|
+
end
|
|
122
|
+
|
|
117
123
|
if attributes[:'displayName']
|
|
118
124
|
self.display_name = attributes[:'displayName']
|
|
119
125
|
end
|
|
120
126
|
|
|
127
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
128
|
+
|
|
129
|
+
if attributes[:'display_name']
|
|
130
|
+
self.display_name = attributes[:'display_name']
|
|
131
|
+
end
|
|
132
|
+
|
|
121
133
|
if attributes[:'hostnameLabel']
|
|
122
134
|
self.hostname_label = attributes[:'hostnameLabel']
|
|
123
135
|
end
|
|
124
136
|
|
|
137
|
+
raise 'You cannot provide both :hostnameLabel and :hostname_label' if attributes.key?(:'hostnameLabel') && attributes.key?(:'hostname_label')
|
|
138
|
+
|
|
139
|
+
if attributes[:'hostname_label']
|
|
140
|
+
self.hostname_label = attributes[:'hostname_label']
|
|
141
|
+
end
|
|
142
|
+
|
|
125
143
|
if attributes[:'privateIp']
|
|
126
144
|
self.private_ip = attributes[:'privateIp']
|
|
127
145
|
end
|
|
128
146
|
|
|
147
|
+
raise 'You cannot provide both :privateIp and :private_ip' if attributes.key?(:'privateIp') && attributes.key?(:'private_ip')
|
|
148
|
+
|
|
149
|
+
if attributes[:'private_ip']
|
|
150
|
+
self.private_ip = attributes[:'private_ip']
|
|
151
|
+
end
|
|
152
|
+
|
|
129
153
|
unless attributes[:'skipSourceDestCheck'].nil?
|
|
130
154
|
self.skip_source_dest_check = attributes[:'skipSourceDestCheck']
|
|
131
155
|
end
|
|
132
156
|
|
|
157
|
+
raise 'You cannot provide both :skipSourceDestCheck and :skip_source_dest_check' if attributes.key?(:'skipSourceDestCheck') && attributes.key?(:'skip_source_dest_check')
|
|
158
|
+
|
|
159
|
+
unless attributes[:'skip_source_dest_check'].nil?
|
|
160
|
+
self.skip_source_dest_check = attributes[:'skip_source_dest_check']
|
|
161
|
+
end
|
|
162
|
+
|
|
133
163
|
if attributes[:'subnetId']
|
|
134
164
|
self.subnet_id = attributes[:'subnetId']
|
|
135
165
|
end
|
|
136
166
|
|
|
167
|
+
raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id')
|
|
168
|
+
|
|
169
|
+
if attributes[:'subnet_id']
|
|
170
|
+
self.subnet_id = attributes[:'subnet_id']
|
|
171
|
+
end
|
|
172
|
+
|
|
137
173
|
end
|
|
138
174
|
|
|
139
175
|
# Checks equality by comparing each attribute.
|
|
@@ -42,11 +42,11 @@ module OCI
|
|
|
42
42
|
|
|
43
43
|
# Initializes the object
|
|
44
44
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
45
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
46
|
-
# @option attributes [String] :
|
|
47
|
-
# @option attributes [Hash<String, String>] :
|
|
45
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
46
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
47
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
48
48
|
# @option attributes [String] :type The value to assign to the {#type} property
|
|
49
|
-
# @option attributes [String] :
|
|
49
|
+
# @option attributes [String] :volume_id The value to assign to the {#volume_id} property
|
|
50
50
|
def initialize(attributes = {})
|
|
51
51
|
return unless attributes.is_a?(Hash)
|
|
52
52
|
|
|
@@ -57,14 +57,32 @@ module OCI
|
|
|
57
57
|
self.defined_tags = attributes[:'definedTags']
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
61
|
+
|
|
62
|
+
if attributes[:'defined_tags']
|
|
63
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
64
|
+
end
|
|
65
|
+
|
|
60
66
|
if attributes[:'displayName']
|
|
61
67
|
self.display_name = attributes[:'displayName']
|
|
62
68
|
end
|
|
63
69
|
|
|
70
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
71
|
+
|
|
72
|
+
if attributes[:'display_name']
|
|
73
|
+
self.display_name = attributes[:'display_name']
|
|
74
|
+
end
|
|
75
|
+
|
|
64
76
|
if attributes[:'freeformTags']
|
|
65
77
|
self.freeform_tags = attributes[:'freeformTags']
|
|
66
78
|
end
|
|
67
79
|
|
|
80
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
81
|
+
|
|
82
|
+
if attributes[:'freeform_tags']
|
|
83
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
84
|
+
end
|
|
85
|
+
|
|
68
86
|
if attributes[:'type']
|
|
69
87
|
self.type = attributes[:'type']
|
|
70
88
|
end
|
|
@@ -73,6 +91,12 @@ module OCI
|
|
|
73
91
|
self.volume_id = attributes[:'volumeId']
|
|
74
92
|
end
|
|
75
93
|
|
|
94
|
+
raise 'You cannot provide both :volumeId and :volume_id' if attributes.key?(:'volumeId') && attributes.key?(:'volume_id')
|
|
95
|
+
|
|
96
|
+
if attributes[:'volume_id']
|
|
97
|
+
self.volume_id = attributes[:'volume_id']
|
|
98
|
+
end
|
|
99
|
+
|
|
76
100
|
end
|
|
77
101
|
|
|
78
102
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -15,8 +15,8 @@ module OCI
|
|
|
15
15
|
|
|
16
16
|
# Initializes the object
|
|
17
17
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
18
|
-
# @option attributes [String] :
|
|
19
|
-
# @option attributes [String] :
|
|
18
|
+
# @option attributes [String] :asset_id The value to assign to the {#asset_id} property
|
|
19
|
+
# @option attributes [String] :policy_id The value to assign to the {#policy_id} property
|
|
20
20
|
def initialize(attributes = {})
|
|
21
21
|
return unless attributes.is_a?(Hash)
|
|
22
22
|
|
|
@@ -27,10 +27,22 @@ module OCI
|
|
|
27
27
|
self.asset_id = attributes[:'assetId']
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
raise 'You cannot provide both :assetId and :asset_id' if attributes.key?(:'assetId') && attributes.key?(:'asset_id')
|
|
31
|
+
|
|
32
|
+
if attributes[:'asset_id']
|
|
33
|
+
self.asset_id = attributes[:'asset_id']
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
if attributes[:'policyId']
|
|
31
37
|
self.policy_id = attributes[:'policyId']
|
|
32
38
|
end
|
|
33
39
|
|
|
40
|
+
raise 'You cannot provide both :policyId and :policy_id' if attributes.key?(:'policyId') && attributes.key?(:'policy_id')
|
|
41
|
+
|
|
42
|
+
if attributes[:'policy_id']
|
|
43
|
+
self.policy_id = attributes[:'policy_id']
|
|
44
|
+
end
|
|
45
|
+
|
|
34
46
|
end
|
|
35
47
|
|
|
36
48
|
# Checks equality by comparing each attribute.
|
|
@@ -71,16 +71,16 @@ 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] :
|
|
75
|
-
# @option attributes [String] :
|
|
76
|
-
# @option attributes [String] :
|
|
77
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
78
|
-
# @option attributes [String] :
|
|
79
|
-
# @option attributes [Hash<String, String>] :
|
|
80
|
-
# @option attributes [Integer] :
|
|
81
|
-
# @option attributes [Integer] :
|
|
82
|
-
# @option attributes [OCI::Core::Models::VolumeSourceDetails] :
|
|
83
|
-
# @option attributes [String] :
|
|
74
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
|
75
|
+
# @option attributes [String] :backup_policy_id The value to assign to the {#backup_policy_id} property
|
|
76
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
77
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
78
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
79
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
80
|
+
# @option attributes [Integer] :size_in_gbs The value to assign to the {#size_in_gbs} property
|
|
81
|
+
# @option attributes [Integer] :size_in_mbs The value to assign to the {#size_in_mbs} property
|
|
82
|
+
# @option attributes [OCI::Core::Models::VolumeSourceDetails] :source_details The value to assign to the {#source_details} property
|
|
83
|
+
# @option attributes [String] :volume_backup_id The value to assign to the {#volume_backup_id} property
|
|
84
84
|
def initialize(attributes = {})
|
|
85
85
|
return unless attributes.is_a?(Hash)
|
|
86
86
|
|
|
@@ -91,42 +91,102 @@ module OCI
|
|
|
91
91
|
self.availability_domain = attributes[:'availabilityDomain']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
|
95
|
+
|
|
96
|
+
if attributes[:'availability_domain']
|
|
97
|
+
self.availability_domain = attributes[:'availability_domain']
|
|
98
|
+
end
|
|
99
|
+
|
|
94
100
|
if attributes[:'backupPolicyId']
|
|
95
101
|
self.backup_policy_id = attributes[:'backupPolicyId']
|
|
96
102
|
end
|
|
97
103
|
|
|
104
|
+
raise 'You cannot provide both :backupPolicyId and :backup_policy_id' if attributes.key?(:'backupPolicyId') && attributes.key?(:'backup_policy_id')
|
|
105
|
+
|
|
106
|
+
if attributes[:'backup_policy_id']
|
|
107
|
+
self.backup_policy_id = attributes[:'backup_policy_id']
|
|
108
|
+
end
|
|
109
|
+
|
|
98
110
|
if attributes[:'compartmentId']
|
|
99
111
|
self.compartment_id = attributes[:'compartmentId']
|
|
100
112
|
end
|
|
101
113
|
|
|
114
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
115
|
+
|
|
116
|
+
if attributes[:'compartment_id']
|
|
117
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
118
|
+
end
|
|
119
|
+
|
|
102
120
|
if attributes[:'definedTags']
|
|
103
121
|
self.defined_tags = attributes[:'definedTags']
|
|
104
122
|
end
|
|
105
123
|
|
|
124
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
125
|
+
|
|
126
|
+
if attributes[:'defined_tags']
|
|
127
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
128
|
+
end
|
|
129
|
+
|
|
106
130
|
if attributes[:'displayName']
|
|
107
131
|
self.display_name = attributes[:'displayName']
|
|
108
132
|
end
|
|
109
133
|
|
|
134
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
135
|
+
|
|
136
|
+
if attributes[:'display_name']
|
|
137
|
+
self.display_name = attributes[:'display_name']
|
|
138
|
+
end
|
|
139
|
+
|
|
110
140
|
if attributes[:'freeformTags']
|
|
111
141
|
self.freeform_tags = attributes[:'freeformTags']
|
|
112
142
|
end
|
|
113
143
|
|
|
144
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
145
|
+
|
|
146
|
+
if attributes[:'freeform_tags']
|
|
147
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
148
|
+
end
|
|
149
|
+
|
|
114
150
|
if attributes[:'sizeInGBs']
|
|
115
151
|
self.size_in_gbs = attributes[:'sizeInGBs']
|
|
116
152
|
end
|
|
117
153
|
|
|
154
|
+
raise 'You cannot provide both :sizeInGBs and :size_in_gbs' if attributes.key?(:'sizeInGBs') && attributes.key?(:'size_in_gbs')
|
|
155
|
+
|
|
156
|
+
if attributes[:'size_in_gbs']
|
|
157
|
+
self.size_in_gbs = attributes[:'size_in_gbs']
|
|
158
|
+
end
|
|
159
|
+
|
|
118
160
|
if attributes[:'sizeInMBs']
|
|
119
161
|
self.size_in_mbs = attributes[:'sizeInMBs']
|
|
120
162
|
end
|
|
121
163
|
|
|
164
|
+
raise 'You cannot provide both :sizeInMBs and :size_in_mbs' if attributes.key?(:'sizeInMBs') && attributes.key?(:'size_in_mbs')
|
|
165
|
+
|
|
166
|
+
if attributes[:'size_in_mbs']
|
|
167
|
+
self.size_in_mbs = attributes[:'size_in_mbs']
|
|
168
|
+
end
|
|
169
|
+
|
|
122
170
|
if attributes[:'sourceDetails']
|
|
123
171
|
self.source_details = attributes[:'sourceDetails']
|
|
124
172
|
end
|
|
125
173
|
|
|
174
|
+
raise 'You cannot provide both :sourceDetails and :source_details' if attributes.key?(:'sourceDetails') && attributes.key?(:'source_details')
|
|
175
|
+
|
|
176
|
+
if attributes[:'source_details']
|
|
177
|
+
self.source_details = attributes[:'source_details']
|
|
178
|
+
end
|
|
179
|
+
|
|
126
180
|
if attributes[:'volumeBackupId']
|
|
127
181
|
self.volume_backup_id = attributes[:'volumeBackupId']
|
|
128
182
|
end
|
|
129
183
|
|
|
184
|
+
raise 'You cannot provide both :volumeBackupId and :volume_backup_id' if attributes.key?(:'volumeBackupId') && attributes.key?(:'volume_backup_id')
|
|
185
|
+
|
|
186
|
+
if attributes[:'volume_backup_id']
|
|
187
|
+
self.volume_backup_id = attributes[:'volume_backup_id']
|
|
188
|
+
end
|
|
189
|
+
|
|
130
190
|
end
|
|
131
191
|
|
|
132
192
|
# Checks equality by comparing each attribute.
|
|
@@ -77,15 +77,15 @@ module OCI
|
|
|
77
77
|
|
|
78
78
|
# Initializes the object
|
|
79
79
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
80
|
-
# @option attributes [String] :
|
|
81
|
-
# @option attributes [String] :
|
|
82
|
-
# @option attributes [String] :
|
|
80
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
81
|
+
# @option attributes [String] :cross_connect_group_id The value to assign to the {#cross_connect_group_id} property
|
|
82
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
83
83
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
84
|
-
# @option attributes [String] :
|
|
85
|
-
# @option attributes [String] :
|
|
86
|
-
# @option attributes [String] :
|
|
87
|
-
# @option attributes [String] :
|
|
88
|
-
# @option attributes [DateTime] :
|
|
84
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
85
|
+
# @option attributes [String] :location_name The value to assign to the {#location_name} property
|
|
86
|
+
# @option attributes [String] :port_name The value to assign to the {#port_name} property
|
|
87
|
+
# @option attributes [String] :port_speed_shape_name The value to assign to the {#port_speed_shape_name} property
|
|
88
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
89
89
|
def initialize(attributes = {})
|
|
90
90
|
return unless attributes.is_a?(Hash)
|
|
91
91
|
|
|
@@ -96,14 +96,32 @@ module OCI
|
|
|
96
96
|
self.compartment_id = attributes[:'compartmentId']
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
100
|
+
|
|
101
|
+
if attributes[:'compartment_id']
|
|
102
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
103
|
+
end
|
|
104
|
+
|
|
99
105
|
if attributes[:'crossConnectGroupId']
|
|
100
106
|
self.cross_connect_group_id = attributes[:'crossConnectGroupId']
|
|
101
107
|
end
|
|
102
108
|
|
|
109
|
+
raise 'You cannot provide both :crossConnectGroupId and :cross_connect_group_id' if attributes.key?(:'crossConnectGroupId') && attributes.key?(:'cross_connect_group_id')
|
|
110
|
+
|
|
111
|
+
if attributes[:'cross_connect_group_id']
|
|
112
|
+
self.cross_connect_group_id = attributes[:'cross_connect_group_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
103
115
|
if attributes[:'displayName']
|
|
104
116
|
self.display_name = attributes[:'displayName']
|
|
105
117
|
end
|
|
106
118
|
|
|
119
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
120
|
+
|
|
121
|
+
if attributes[:'display_name']
|
|
122
|
+
self.display_name = attributes[:'display_name']
|
|
123
|
+
end
|
|
124
|
+
|
|
107
125
|
if attributes[:'id']
|
|
108
126
|
self.id = attributes[:'id']
|
|
109
127
|
end
|
|
@@ -112,22 +130,52 @@ module OCI
|
|
|
112
130
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
113
131
|
end
|
|
114
132
|
|
|
133
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
134
|
+
|
|
135
|
+
if attributes[:'lifecycle_state']
|
|
136
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
137
|
+
end
|
|
138
|
+
|
|
115
139
|
if attributes[:'locationName']
|
|
116
140
|
self.location_name = attributes[:'locationName']
|
|
117
141
|
end
|
|
118
142
|
|
|
143
|
+
raise 'You cannot provide both :locationName and :location_name' if attributes.key?(:'locationName') && attributes.key?(:'location_name')
|
|
144
|
+
|
|
145
|
+
if attributes[:'location_name']
|
|
146
|
+
self.location_name = attributes[:'location_name']
|
|
147
|
+
end
|
|
148
|
+
|
|
119
149
|
if attributes[:'portName']
|
|
120
150
|
self.port_name = attributes[:'portName']
|
|
121
151
|
end
|
|
122
152
|
|
|
153
|
+
raise 'You cannot provide both :portName and :port_name' if attributes.key?(:'portName') && attributes.key?(:'port_name')
|
|
154
|
+
|
|
155
|
+
if attributes[:'port_name']
|
|
156
|
+
self.port_name = attributes[:'port_name']
|
|
157
|
+
end
|
|
158
|
+
|
|
123
159
|
if attributes[:'portSpeedShapeName']
|
|
124
160
|
self.port_speed_shape_name = attributes[:'portSpeedShapeName']
|
|
125
161
|
end
|
|
126
162
|
|
|
163
|
+
raise 'You cannot provide both :portSpeedShapeName and :port_speed_shape_name' if attributes.key?(:'portSpeedShapeName') && attributes.key?(:'port_speed_shape_name')
|
|
164
|
+
|
|
165
|
+
if attributes[:'port_speed_shape_name']
|
|
166
|
+
self.port_speed_shape_name = attributes[:'port_speed_shape_name']
|
|
167
|
+
end
|
|
168
|
+
|
|
127
169
|
if attributes[:'timeCreated']
|
|
128
170
|
self.time_created = attributes[:'timeCreated']
|
|
129
171
|
end
|
|
130
172
|
|
|
173
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
174
|
+
|
|
175
|
+
if attributes[:'time_created']
|
|
176
|
+
self.time_created = attributes[:'time_created']
|
|
177
|
+
end
|
|
178
|
+
|
|
131
179
|
end
|
|
132
180
|
|
|
133
181
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -54,11 +54,11 @@ module OCI
|
|
|
54
54
|
|
|
55
55
|
# Initializes the object
|
|
56
56
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
57
|
-
# @option attributes [String] :
|
|
58
|
-
# @option attributes [String] :
|
|
57
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
58
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
59
59
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
60
|
-
# @option attributes [String] :
|
|
61
|
-
# @option attributes [DateTime] :
|
|
60
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
61
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
62
62
|
def initialize(attributes = {})
|
|
63
63
|
return unless attributes.is_a?(Hash)
|
|
64
64
|
|
|
@@ -69,10 +69,22 @@ module OCI
|
|
|
69
69
|
self.compartment_id = attributes[:'compartmentId']
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
73
|
+
|
|
74
|
+
if attributes[:'compartment_id']
|
|
75
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
if attributes[:'displayName']
|
|
73
79
|
self.display_name = attributes[:'displayName']
|
|
74
80
|
end
|
|
75
81
|
|
|
82
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
83
|
+
|
|
84
|
+
if attributes[:'display_name']
|
|
85
|
+
self.display_name = attributes[:'display_name']
|
|
86
|
+
end
|
|
87
|
+
|
|
76
88
|
if attributes[:'id']
|
|
77
89
|
self.id = attributes[:'id']
|
|
78
90
|
end
|
|
@@ -81,10 +93,22 @@ module OCI
|
|
|
81
93
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
82
94
|
end
|
|
83
95
|
|
|
96
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
97
|
+
|
|
98
|
+
if attributes[:'lifecycle_state']
|
|
99
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
100
|
+
end
|
|
101
|
+
|
|
84
102
|
if attributes[:'timeCreated']
|
|
85
103
|
self.time_created = attributes[:'timeCreated']
|
|
86
104
|
end
|
|
87
105
|
|
|
106
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
107
|
+
|
|
108
|
+
if attributes[:'time_created']
|
|
109
|
+
self.time_created = attributes[:'time_created']
|
|
110
|
+
end
|
|
111
|
+
|
|
88
112
|
end
|
|
89
113
|
|
|
90
114
|
# Custom attribute writer method checking allowed values (enum).
|