oci 2.0.2 → 2.0.3
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 +1 -1
- data/lib/oci/audit/models/audit_event.rb +3 -3
- data/lib/oci/audit/models/configuration.rb +3 -3
- data/lib/oci/audit/models/update_configuration_details.rb +3 -3
- data/lib/oci/core/blockstorage_client.rb +155 -0
- data/lib/oci/core/compute_client.rb +176 -12
- data/lib/oci/core/core.rb +11 -0
- data/lib/oci/core/models/attach_boot_volume_details.rb +143 -0
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +3 -3
- data/lib/oci/core/models/attach_vnic_details.rb +23 -7
- data/lib/oci/core/models/attach_volume_details.rb +3 -3
- data/lib/oci/core/models/boot_volume.rb +234 -0
- data/lib/oci/core/models/boot_volume_attachment.rb +224 -0
- data/lib/oci/core/models/capture_console_history_details.rb +3 -3
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +120 -0
- data/lib/oci/core/models/console_history.rb +3 -3
- data/lib/oci/core/models/cpe.rb +3 -3
- data/lib/oci/core/models/create_cpe_details.rb +3 -3
- data/lib/oci/core/models/create_cross_connect_details.rb +3 -3
- data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -3
- data/lib/oci/core/models/create_dhcp_details.rb +3 -3
- data/lib/oci/core/models/create_drg_attachment_details.rb +3 -3
- data/lib/oci/core/models/create_drg_details.rb +3 -3
- data/lib/oci/core/models/create_image_details.rb +3 -3
- data/lib/oci/core/models/create_instance_console_connection_details.rb +5 -5
- data/lib/oci/core/models/create_internet_gateway_details.rb +3 -3
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +144 -0
- data/lib/oci/core/models/create_private_ip_details.rb +3 -3
- data/lib/oci/core/models/create_route_table_details.rb +3 -3
- data/lib/oci/core/models/create_security_list_details.rb +3 -3
- data/lib/oci/core/models/create_subnet_details.rb +3 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -3
- data/lib/oci/core/models/create_virtual_circuit_details.rb +3 -3
- data/lib/oci/core/models/create_vnic_details.rb +3 -3
- data/lib/oci/core/models/create_volume_backup_details.rb +3 -3
- data/lib/oci/core/models/create_volume_details.rb +3 -3
- data/lib/oci/core/models/cross_connect.rb +3 -3
- data/lib/oci/core/models/cross_connect_group.rb +3 -3
- data/lib/oci/core/models/cross_connect_location.rb +3 -3
- data/lib/oci/core/models/cross_connect_mapping.rb +3 -3
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +3 -3
- data/lib/oci/core/models/cross_connect_status.rb +3 -3
- data/lib/oci/core/models/dhcp_dns_option.rb +3 -3
- data/lib/oci/core/models/dhcp_option.rb +3 -3
- data/lib/oci/core/models/dhcp_options.rb +3 -3
- data/lib/oci/core/models/dhcp_search_domain_option.rb +3 -3
- data/lib/oci/core/models/drg.rb +3 -3
- data/lib/oci/core/models/drg_attachment.rb +3 -3
- data/lib/oci/core/models/egress_security_rule.rb +3 -3
- data/lib/oci/core/models/export_image_details.rb +3 -3
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +3 -3
- data/lib/oci/core/models/fast_connect_provider_service.rb +3 -3
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +3 -3
- data/lib/oci/core/models/icmp_options.rb +3 -3
- data/lib/oci/core/models/image.rb +3 -3
- data/lib/oci/core/models/image_source_details.rb +3 -3
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +3 -3
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -3
- data/lib/oci/core/models/ingress_security_rule.rb +3 -3
- data/lib/oci/core/models/instance.rb +16 -6
- data/lib/oci/core/models/instance_console_connection.rb +9 -9
- data/lib/oci/core/models/instance_credentials.rb +3 -3
- data/lib/oci/core/models/instance_source_details.rb +135 -0
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +128 -0
- data/lib/oci/core/models/instance_source_via_image_details.rb +128 -0
- data/lib/oci/core/models/internet_gateway.rb +3 -3
- data/lib/oci/core/models/ip_sec_connection.rb +3 -3
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +3 -3
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -3
- data/lib/oci/core/models/launch_instance_details.rb +19 -6
- data/lib/oci/core/models/letter_of_authority.rb +3 -3
- data/lib/oci/core/models/local_peering_gateway.rb +271 -0
- data/lib/oci/core/models/port_range.rb +3 -3
- data/lib/oci/core/models/private_ip.rb +3 -3
- data/lib/oci/core/models/route_rule.rb +3 -3
- data/lib/oci/core/models/route_table.rb +3 -3
- data/lib/oci/core/models/security_list.rb +3 -3
- data/lib/oci/core/models/shape.rb +3 -3
- data/lib/oci/core/models/subnet.rb +3 -3
- data/lib/oci/core/models/tcp_options.rb +3 -3
- data/lib/oci/core/models/tunnel_config.rb +3 -3
- data/lib/oci/core/models/tunnel_status.rb +3 -3
- data/lib/oci/core/models/udp_options.rb +3 -3
- data/lib/oci/core/models/update_boot_volume_details.rb +122 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -3
- data/lib/oci/core/models/update_cpe_details.rb +3 -3
- data/lib/oci/core/models/update_cross_connect_details.rb +3 -3
- data/lib/oci/core/models/update_cross_connect_group_details.rb +3 -3
- data/lib/oci/core/models/update_dhcp_details.rb +3 -3
- data/lib/oci/core/models/update_drg_attachment_details.rb +3 -3
- data/lib/oci/core/models/update_drg_details.rb +3 -3
- data/lib/oci/core/models/update_image_details.rb +3 -3
- data/lib/oci/core/models/update_instance_details.rb +3 -3
- data/lib/oci/core/models/update_internet_gateway_details.rb +3 -3
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +122 -0
- data/lib/oci/core/models/update_private_ip_details.rb +3 -3
- data/lib/oci/core/models/update_route_table_details.rb +3 -3
- data/lib/oci/core/models/update_security_list_details.rb +3 -3
- data/lib/oci/core/models/update_subnet_details.rb +3 -3
- data/lib/oci/core/models/update_vcn_details.rb +3 -3
- data/lib/oci/core/models/update_virtual_circuit_details.rb +3 -3
- data/lib/oci/core/models/update_vnic_details.rb +3 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -3
- data/lib/oci/core/models/update_volume_details.rb +3 -3
- data/lib/oci/core/models/vcn.rb +3 -3
- data/lib/oci/core/models/virtual_circuit.rb +3 -3
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +3 -3
- data/lib/oci/core/models/vnic.rb +3 -3
- data/lib/oci/core/models/vnic_attachment.rb +20 -4
- data/lib/oci/core/models/volume.rb +3 -3
- data/lib/oci/core/models/volume_attachment.rb +3 -3
- data/lib/oci/core/models/volume_backup.rb +3 -3
- data/lib/oci/core/models/volume_source_details.rb +3 -3
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -3
- data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -3
- data/lib/oci/core/virtual_network_client.rb +233 -0
- data/lib/oci/database/database.rb +3 -0
- data/lib/oci/database/database_client.rb +1 -1
- data/lib/oci/database/models/backup.rb +3 -3
- data/lib/oci/database/models/backup_summary.rb +3 -3
- data/lib/oci/database/models/create_backup_details.rb +3 -3
- data/lib/oci/database/models/create_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +3 -3
- data/lib/oci/database/models/create_database_details.rb +3 -3
- data/lib/oci/database/models/create_database_from_backup_details.rb +142 -0
- data/lib/oci/database/models/create_db_home_details.rb +3 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +173 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -30
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +133 -0
- data/lib/oci/database/models/data_guard_association.rb +3 -3
- data/lib/oci/database/models/data_guard_association_summary.rb +3 -3
- data/lib/oci/database/models/database.rb +3 -3
- data/lib/oci/database/models/database_summary.rb +3 -3
- data/lib/oci/database/models/db_backup_config.rb +3 -3
- data/lib/oci/database/models/db_home.rb +3 -3
- data/lib/oci/database/models/db_home_summary.rb +3 -3
- data/lib/oci/database/models/db_node.rb +3 -3
- data/lib/oci/database/models/db_node_summary.rb +3 -3
- data/lib/oci/database/models/db_system.rb +3 -3
- data/lib/oci/database/models/db_system_shape_summary.rb +3 -3
- data/lib/oci/database/models/db_system_summary.rb +3 -3
- data/lib/oci/database/models/db_version_summary.rb +3 -3
- data/lib/oci/database/models/failover_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/launch_db_system_details.rb +3 -3
- data/lib/oci/database/models/patch.rb +3 -3
- data/lib/oci/database/models/patch_details.rb +3 -3
- data/lib/oci/database/models/patch_history_entry.rb +3 -3
- data/lib/oci/database/models/patch_history_entry_summary.rb +3 -3
- data/lib/oci/database/models/patch_summary.rb +3 -3
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/restore_database_details.rb +3 -3
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/update_database_details.rb +3 -3
- data/lib/oci/database/models/update_db_home_details.rb +3 -3
- data/lib/oci/database/models/update_db_system_details.rb +3 -3
- data/lib/oci/identity/models/add_user_to_group_details.rb +3 -3
- data/lib/oci/identity/models/api_key.rb +3 -3
- data/lib/oci/identity/models/availability_domain.rb +3 -3
- data/lib/oci/identity/models/compartment.rb +3 -3
- data/lib/oci/identity/models/create_api_key_details.rb +3 -3
- data/lib/oci/identity/models/create_compartment_details.rb +3 -3
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +3 -3
- data/lib/oci/identity/models/create_group_details.rb +3 -3
- data/lib/oci/identity/models/create_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +3 -3
- data/lib/oci/identity/models/create_policy_details.rb +3 -3
- data/lib/oci/identity/models/create_region_subscription_details.rb +3 -3
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/create_swift_password_details.rb +3 -3
- data/lib/oci/identity/models/create_user_details.rb +3 -3
- data/lib/oci/identity/models/customer_secret_key.rb +3 -3
- data/lib/oci/identity/models/customer_secret_key_summary.rb +3 -3
- data/lib/oci/identity/models/group.rb +3 -3
- data/lib/oci/identity/models/identity_provider.rb +3 -3
- data/lib/oci/identity/models/idp_group_mapping.rb +3 -3
- data/lib/oci/identity/models/policy.rb +3 -3
- data/lib/oci/identity/models/region.rb +3 -3
- data/lib/oci/identity/models/region_subscription.rb +3 -3
- data/lib/oci/identity/models/saml2_identity_provider.rb +3 -3
- data/lib/oci/identity/models/swift_password.rb +3 -3
- data/lib/oci/identity/models/tenancy.rb +3 -3
- data/lib/oci/identity/models/ui_password.rb +3 -3
- data/lib/oci/identity/models/update_compartment_details.rb +3 -3
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +3 -3
- data/lib/oci/identity/models/update_group_details.rb +3 -3
- data/lib/oci/identity/models/update_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +3 -3
- data/lib/oci/identity/models/update_policy_details.rb +3 -3
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/update_state_details.rb +3 -3
- data/lib/oci/identity/models/update_swift_password_details.rb +3 -3
- data/lib/oci/identity/models/update_user_details.rb +3 -3
- data/lib/oci/identity/models/user.rb +3 -3
- data/lib/oci/identity/models/user_group_membership.rb +3 -3
- data/lib/oci/load_balancer/load_balancer_client.rb +27 -1
- data/lib/oci/load_balancer/models/backend.rb +3 -3
- data/lib/oci/load_balancer/models/backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/backend_health.rb +4 -4
- data/lib/oci/load_balancer/models/backend_set.rb +5 -6
- data/lib/oci/load_balancer/models/backend_set_details.rb +5 -6
- data/lib/oci/load_balancer/models/backend_set_health.rb +3 -3
- data/lib/oci/load_balancer/models/certificate.rb +3 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +5 -5
- data/lib/oci/load_balancer/models/create_certificate_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_listener_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +4 -4
- data/lib/oci/load_balancer/models/health_check_result.rb +3 -3
- data/lib/oci/load_balancer/models/health_checker.rb +3 -3
- data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
- data/lib/oci/load_balancer/models/ip_address.rb +3 -3
- data/lib/oci/load_balancer/models/listener.rb +3 -3
- data/lib/oci/load_balancer/models/listener_details.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer.rb +6 -4
- data/lib/oci/load_balancer/models/load_balancer_health.rb +5 -5
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -3
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +3 -3
- data/lib/oci/load_balancer/models/ssl_configuration.rb +3 -3
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +5 -6
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_listener_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -3
- data/lib/oci/load_balancer/models/work_request.rb +5 -3
- data/lib/oci/load_balancer/models/work_request_error.rb +3 -3
- data/lib/oci/object_storage/models/bucket.rb +3 -3
- data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +3 -3
- data/lib/oci/object_storage/models/create_bucket_details.rb +3 -3
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +3 -3
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -3
- data/lib/oci/object_storage/models/list_objects.rb +3 -3
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -3
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +3 -3
- data/lib/oci/object_storage/models/namespace_metadata.rb +3 -3
- data/lib/oci/object_storage/models/object_summary.rb +3 -3
- data/lib/oci/object_storage/models/preauthenticated_request.rb +3 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -3
- data/lib/oci/object_storage/models/rename_object_details.rb +3 -3
- data/lib/oci/object_storage/models/restore_objects_details.rb +3 -3
- data/lib/oci/object_storage/models/update_bucket_details.rb +3 -3
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -3
- data/lib/oci/version.rb +1 -1
- metadata +16 -2
|
@@ -397,10 +397,10 @@ module OCI
|
|
|
397
397
|
# check to ensure the input is an array given that the the attribute
|
|
398
398
|
# is documented as an array but the input is not
|
|
399
399
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
400
|
-
self.
|
|
400
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
401
401
|
end
|
|
402
402
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
403
|
-
self.
|
|
403
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
404
404
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
405
405
|
end
|
|
406
406
|
|
|
@@ -418,7 +418,7 @@ module OCI
|
|
|
418
418
|
def to_hash
|
|
419
419
|
hash = {}
|
|
420
420
|
self.class.attribute_map.each_pair do |attr, param|
|
|
421
|
-
value =
|
|
421
|
+
value = public_send(attr)
|
|
422
422
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
423
423
|
hash[param] = _to_hash(value)
|
|
424
424
|
end
|
|
@@ -71,10 +71,10 @@ module OCI
|
|
|
71
71
|
# check to ensure the input is an array given that the the attribute
|
|
72
72
|
# is documented as an array but the input is not
|
|
73
73
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
74
|
-
self.
|
|
74
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
75
75
|
end
|
|
76
76
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
77
|
-
self.
|
|
77
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
78
78
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
79
79
|
end
|
|
80
80
|
|
|
@@ -92,7 +92,7 @@ module OCI
|
|
|
92
92
|
def to_hash
|
|
93
93
|
hash = {}
|
|
94
94
|
self.class.attribute_map.each_pair do |attr, param|
|
|
95
|
-
value =
|
|
95
|
+
value = public_send(attr)
|
|
96
96
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
97
97
|
hash[param] = _to_hash(value)
|
|
98
98
|
end
|
|
@@ -397,10 +397,10 @@ module OCI
|
|
|
397
397
|
# check to ensure the input is an array given that the the attribute
|
|
398
398
|
# is documented as an array but the input is not
|
|
399
399
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
400
|
-
self.
|
|
400
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
401
401
|
end
|
|
402
402
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
403
|
-
self.
|
|
403
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
404
404
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
405
405
|
end
|
|
406
406
|
|
|
@@ -418,7 +418,7 @@ module OCI
|
|
|
418
418
|
def to_hash
|
|
419
419
|
hash = {}
|
|
420
420
|
self.class.attribute_map.each_pair do |attr, param|
|
|
421
|
-
value =
|
|
421
|
+
value = public_send(attr)
|
|
422
422
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
423
423
|
hash[param] = _to_hash(value)
|
|
424
424
|
end
|
|
@@ -62,10 +62,10 @@ module OCI
|
|
|
62
62
|
# check to ensure the input is an array given that the the attribute
|
|
63
63
|
# is documented as an array but the input is not
|
|
64
64
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
65
|
-
self.
|
|
65
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
66
66
|
end
|
|
67
67
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
68
|
-
self.
|
|
68
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
69
69
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
70
70
|
end
|
|
71
71
|
|
|
@@ -83,7 +83,7 @@ module OCI
|
|
|
83
83
|
def to_hash
|
|
84
84
|
hash = {}
|
|
85
85
|
self.class.attribute_map.each_pair do |attr, param|
|
|
86
|
-
value =
|
|
86
|
+
value = public_send(attr)
|
|
87
87
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
88
88
|
hash[param] = _to_hash(value)
|
|
89
89
|
end
|
|
@@ -53,10 +53,10 @@ module OCI
|
|
|
53
53
|
# check to ensure the input is an array given that the the attribute
|
|
54
54
|
# is documented as an array but the input is not
|
|
55
55
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
56
|
-
self.
|
|
56
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
57
57
|
end
|
|
58
58
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
59
|
-
self.
|
|
59
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
60
60
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -74,7 +74,7 @@ module OCI
|
|
|
74
74
|
def to_hash
|
|
75
75
|
hash = {}
|
|
76
76
|
self.class.attribute_map.each_pair do |attr, param|
|
|
77
|
-
value =
|
|
77
|
+
value = public_send(attr)
|
|
78
78
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
79
79
|
hash[param] = _to_hash(value)
|
|
80
80
|
end
|
|
@@ -293,10 +293,10 @@ module OCI
|
|
|
293
293
|
# check to ensure the input is an array given that the the attribute
|
|
294
294
|
# is documented as an array but the input is not
|
|
295
295
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
296
|
-
self.
|
|
296
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
297
297
|
end
|
|
298
298
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
299
|
-
self.
|
|
299
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
300
300
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
301
301
|
end
|
|
302
302
|
|
|
@@ -314,7 +314,7 @@ module OCI
|
|
|
314
314
|
def to_hash
|
|
315
315
|
hash = {}
|
|
316
316
|
self.class.attribute_map.each_pair do |attr, param|
|
|
317
|
-
value =
|
|
317
|
+
value = public_send(attr)
|
|
318
318
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
319
319
|
hash[param] = _to_hash(value)
|
|
320
320
|
end
|
|
@@ -168,10 +168,10 @@ module OCI
|
|
|
168
168
|
# check to ensure the input is an array given that the the attribute
|
|
169
169
|
# is documented as an array but the input is not
|
|
170
170
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
171
|
-
self.
|
|
171
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
172
172
|
end
|
|
173
173
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
174
|
-
self.
|
|
174
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
175
175
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
176
176
|
end
|
|
177
177
|
|
|
@@ -189,7 +189,7 @@ module OCI
|
|
|
189
189
|
def to_hash
|
|
190
190
|
hash = {}
|
|
191
191
|
self.class.attribute_map.each_pair do |attr, param|
|
|
192
|
-
value =
|
|
192
|
+
value = public_send(attr)
|
|
193
193
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
194
194
|
hash[param] = _to_hash(value)
|
|
195
195
|
end
|
|
@@ -76,10 +76,10 @@ module OCI
|
|
|
76
76
|
# check to ensure the input is an array given that the the attribute
|
|
77
77
|
# is documented as an array but the input is not
|
|
78
78
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
79
|
-
self.
|
|
79
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
80
80
|
end
|
|
81
81
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
82
|
-
self.
|
|
82
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
83
83
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
84
84
|
end
|
|
85
85
|
|
|
@@ -97,7 +97,7 @@ module OCI
|
|
|
97
97
|
def to_hash
|
|
98
98
|
hash = {}
|
|
99
99
|
self.class.attribute_map.each_pair do |attr, param|
|
|
100
|
-
value =
|
|
100
|
+
value = public_send(attr)
|
|
101
101
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
102
102
|
hash[param] = _to_hash(value)
|
|
103
103
|
end
|
|
@@ -140,10 +140,10 @@ module OCI
|
|
|
140
140
|
# check to ensure the input is an array given that the the attribute
|
|
141
141
|
# is documented as an array but the input is not
|
|
142
142
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
143
|
-
self.
|
|
143
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
144
144
|
end
|
|
145
145
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
146
|
-
self.
|
|
146
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
147
147
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
148
148
|
end
|
|
149
149
|
|
|
@@ -161,7 +161,7 @@ module OCI
|
|
|
161
161
|
def to_hash
|
|
162
162
|
hash = {}
|
|
163
163
|
self.class.attribute_map.each_pair do |attr, param|
|
|
164
|
-
value =
|
|
164
|
+
value = public_send(attr)
|
|
165
165
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
166
166
|
hash[param] = _to_hash(value)
|
|
167
167
|
end
|
|
@@ -140,10 +140,10 @@ module OCI
|
|
|
140
140
|
# check to ensure the input is an array given that the the attribute
|
|
141
141
|
# is documented as an array but the input is not
|
|
142
142
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
143
|
-
self.
|
|
143
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
144
144
|
end
|
|
145
145
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
146
|
-
self.
|
|
146
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
147
147
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
148
148
|
end
|
|
149
149
|
|
|
@@ -161,7 +161,7 @@ module OCI
|
|
|
161
161
|
def to_hash
|
|
162
162
|
hash = {}
|
|
163
163
|
self.class.attribute_map.each_pair do |attr, param|
|
|
164
|
-
value =
|
|
164
|
+
value = public_send(attr)
|
|
165
165
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
166
166
|
hash[param] = _to_hash(value)
|
|
167
167
|
end
|
|
@@ -168,10 +168,10 @@ module OCI
|
|
|
168
168
|
# check to ensure the input is an array given that the the attribute
|
|
169
169
|
# is documented as an array but the input is not
|
|
170
170
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
171
|
-
self.
|
|
171
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
172
172
|
end
|
|
173
173
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
174
|
-
self.
|
|
174
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
175
175
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
176
176
|
end
|
|
177
177
|
|
|
@@ -189,7 +189,7 @@ module OCI
|
|
|
189
189
|
def to_hash
|
|
190
190
|
hash = {}
|
|
191
191
|
self.class.attribute_map.each_pair do |attr, param|
|
|
192
|
-
value =
|
|
192
|
+
value = public_send(attr)
|
|
193
193
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
194
194
|
hash[param] = _to_hash(value)
|
|
195
195
|
end
|
|
@@ -53,10 +53,10 @@ module OCI
|
|
|
53
53
|
# check to ensure the input is an array given that the the attribute
|
|
54
54
|
# is documented as an array but the input is not
|
|
55
55
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
56
|
-
self.
|
|
56
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
57
57
|
end
|
|
58
58
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
59
|
-
self.
|
|
59
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
60
60
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -74,7 +74,7 @@ module OCI
|
|
|
74
74
|
def to_hash
|
|
75
75
|
hash = {}
|
|
76
76
|
self.class.attribute_map.each_pair do |attr, param|
|
|
77
|
-
value =
|
|
77
|
+
value = public_send(attr)
|
|
78
78
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
79
79
|
hash[param] = _to_hash(value)
|
|
80
80
|
end
|
|
@@ -74,10 +74,10 @@ module OCI
|
|
|
74
74
|
# check to ensure the input is an array given that the the attribute
|
|
75
75
|
# is documented as an array but the input is not
|
|
76
76
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
77
|
-
self.
|
|
77
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
78
78
|
end
|
|
79
79
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
80
|
-
self.
|
|
80
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
81
81
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
82
82
|
end
|
|
83
83
|
|
|
@@ -95,7 +95,7 @@ module OCI
|
|
|
95
95
|
def to_hash
|
|
96
96
|
hash = {}
|
|
97
97
|
self.class.attribute_map.each_pair do |attr, param|
|
|
98
|
-
value =
|
|
98
|
+
value = public_send(attr)
|
|
99
99
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
100
100
|
hash[param] = _to_hash(value)
|
|
101
101
|
end
|
|
@@ -53,10 +53,10 @@ module OCI
|
|
|
53
53
|
# check to ensure the input is an array given that the the attribute
|
|
54
54
|
# is documented as an array but the input is not
|
|
55
55
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
56
|
-
self.
|
|
56
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
57
57
|
end
|
|
58
58
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
59
|
-
self.
|
|
59
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
60
60
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -74,7 +74,7 @@ module OCI
|
|
|
74
74
|
def to_hash
|
|
75
75
|
hash = {}
|
|
76
76
|
self.class.attribute_map.each_pair do |attr, param|
|
|
77
|
-
value =
|
|
77
|
+
value = public_send(attr)
|
|
78
78
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
79
79
|
hash[param] = _to_hash(value)
|
|
80
80
|
end
|
|
@@ -52,10 +52,10 @@ module OCI
|
|
|
52
52
|
# check to ensure the input is an array given that the the attribute
|
|
53
53
|
# is documented as an array but the input is not
|
|
54
54
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
55
|
-
self.
|
|
55
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
56
56
|
end
|
|
57
57
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
58
|
-
self.
|
|
58
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
59
59
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
60
60
|
end
|
|
61
61
|
|
|
@@ -73,7 +73,7 @@ module OCI
|
|
|
73
73
|
def to_hash
|
|
74
74
|
hash = {}
|
|
75
75
|
self.class.attribute_map.each_pair do |attr, param|
|
|
76
|
-
value =
|
|
76
|
+
value = public_send(attr)
|
|
77
77
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
78
78
|
hash[param] = _to_hash(value)
|
|
79
79
|
end
|
|
@@ -52,10 +52,10 @@ module OCI
|
|
|
52
52
|
# check to ensure the input is an array given that the the attribute
|
|
53
53
|
# is documented as an array but the input is not
|
|
54
54
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
55
|
-
self.
|
|
55
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
56
56
|
end
|
|
57
57
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
58
|
-
self.
|
|
58
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
59
59
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
60
60
|
end
|
|
61
61
|
|
|
@@ -73,7 +73,7 @@ module OCI
|
|
|
73
73
|
def to_hash
|
|
74
74
|
hash = {}
|
|
75
75
|
self.class.attribute_map.each_pair do |attr, param|
|
|
76
|
-
value =
|
|
76
|
+
value = public_send(attr)
|
|
77
77
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
78
78
|
hash[param] = _to_hash(value)
|
|
79
79
|
end
|
|
@@ -80,10 +80,10 @@ module OCI
|
|
|
80
80
|
# check to ensure the input is an array given that the the attribute
|
|
81
81
|
# is documented as an array but the input is not
|
|
82
82
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
83
|
-
self.
|
|
83
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
84
84
|
end
|
|
85
85
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
86
|
-
self.
|
|
86
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
87
87
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
88
88
|
end
|
|
89
89
|
|
|
@@ -101,7 +101,7 @@ module OCI
|
|
|
101
101
|
def to_hash
|
|
102
102
|
hash = {}
|
|
103
103
|
self.class.attribute_map.each_pair do |attr, param|
|
|
104
|
-
value =
|
|
104
|
+
value = public_send(attr)
|
|
105
105
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
106
106
|
hash[param] = _to_hash(value)
|
|
107
107
|
end
|
|
@@ -62,10 +62,10 @@ module OCI
|
|
|
62
62
|
# check to ensure the input is an array given that the the attribute
|
|
63
63
|
# is documented as an array but the input is not
|
|
64
64
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
65
|
-
self.
|
|
65
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
66
66
|
end
|
|
67
67
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
68
|
-
self.
|
|
68
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
69
69
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
70
70
|
end
|
|
71
71
|
|
|
@@ -83,7 +83,7 @@ module OCI
|
|
|
83
83
|
def to_hash
|
|
84
84
|
hash = {}
|
|
85
85
|
self.class.attribute_map.each_pair do |attr, param|
|
|
86
|
-
value =
|
|
86
|
+
value = public_send(attr)
|
|
87
87
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
88
88
|
hash[param] = _to_hash(value)
|
|
89
89
|
end
|
|
@@ -132,10 +132,10 @@ module OCI
|
|
|
132
132
|
# check to ensure the input is an array given that the the attribute
|
|
133
133
|
# is documented as an array but the input is not
|
|
134
134
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
135
|
-
self.
|
|
135
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
136
136
|
end
|
|
137
137
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
138
|
-
self.
|
|
138
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
139
139
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
140
140
|
end
|
|
141
141
|
|
|
@@ -153,7 +153,7 @@ module OCI
|
|
|
153
153
|
def to_hash
|
|
154
154
|
hash = {}
|
|
155
155
|
self.class.attribute_map.each_pair do |attr, param|
|
|
156
|
-
value =
|
|
156
|
+
value = public_send(attr)
|
|
157
157
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
158
158
|
hash[param] = _to_hash(value)
|
|
159
159
|
end
|
|
@@ -62,10 +62,10 @@ module OCI
|
|
|
62
62
|
# check to ensure the input is an array given that the the attribute
|
|
63
63
|
# is documented as an array but the input is not
|
|
64
64
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
65
|
-
self.
|
|
65
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
66
66
|
end
|
|
67
67
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
68
|
-
self.
|
|
68
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
69
69
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
70
70
|
end
|
|
71
71
|
|
|
@@ -83,7 +83,7 @@ module OCI
|
|
|
83
83
|
def to_hash
|
|
84
84
|
hash = {}
|
|
85
85
|
self.class.attribute_map.each_pair do |attr, param|
|
|
86
|
-
value =
|
|
86
|
+
value = public_send(attr)
|
|
87
87
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
88
88
|
hash[param] = _to_hash(value)
|
|
89
89
|
end
|
|
@@ -132,10 +132,10 @@ module OCI
|
|
|
132
132
|
# check to ensure the input is an array given that the the attribute
|
|
133
133
|
# is documented as an array but the input is not
|
|
134
134
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
135
|
-
self.
|
|
135
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
136
136
|
end
|
|
137
137
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
138
|
-
self.
|
|
138
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
139
139
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
140
140
|
end
|
|
141
141
|
|
|
@@ -153,7 +153,7 @@ module OCI
|
|
|
153
153
|
def to_hash
|
|
154
154
|
hash = {}
|
|
155
155
|
self.class.attribute_map.each_pair do |attr, param|
|
|
156
|
-
value =
|
|
156
|
+
value = public_send(attr)
|
|
157
157
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
158
158
|
hash[param] = _to_hash(value)
|
|
159
159
|
end
|