oci 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/oci.rb +2 -1
- data/lib/oci/audit/audit.rb +19 -0
- data/lib/oci/audit/audit_client.rb +176 -0
- data/lib/oci/audit/models/audit_event.rb +307 -0
- data/lib/oci/audit/models/configuration.rb +120 -0
- data/lib/oci/audit/models/update_configuration_details.rb +120 -0
- data/lib/oci/audit/util.rb +1 -0
- data/lib/oci/core/blockstorage_client.rb +69 -1
- data/lib/oci/core/compute_client.rb +106 -16
- data/lib/oci/core/core.rb +3 -0
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +2 -2
- data/lib/oci/core/models/attach_vnic_details.rb +2 -2
- data/lib/oci/core/models/attach_volume_details.rb +2 -2
- data/lib/oci/core/models/capture_console_history_details.rb +2 -2
- data/lib/oci/core/models/console_history.rb +2 -2
- data/lib/oci/core/models/cpe.rb +2 -2
- data/lib/oci/core/models/create_cpe_details.rb +2 -2
- data/lib/oci/core/models/create_cross_connect_details.rb +2 -2
- data/lib/oci/core/models/create_cross_connect_group_details.rb +2 -2
- data/lib/oci/core/models/create_dhcp_details.rb +2 -2
- data/lib/oci/core/models/create_drg_attachment_details.rb +2 -2
- data/lib/oci/core/models/create_drg_details.rb +2 -2
- data/lib/oci/core/models/create_image_details.rb +2 -2
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/create_private_ip_details.rb +2 -2
- data/lib/oci/core/models/create_route_table_details.rb +2 -2
- data/lib/oci/core/models/create_security_list_details.rb +2 -2
- data/lib/oci/core/models/create_subnet_details.rb +2 -2
- data/lib/oci/core/models/create_vcn_details.rb +2 -2
- data/lib/oci/core/models/create_virtual_circuit_details.rb +5 -6
- data/lib/oci/core/models/create_vnic_details.rb +2 -2
- data/lib/oci/core/models/create_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/create_volume_details.rb +20 -4
- data/lib/oci/core/models/cross_connect.rb +2 -2
- data/lib/oci/core/models/cross_connect_group.rb +2 -2
- data/lib/oci/core/models/cross_connect_location.rb +2 -2
- data/lib/oci/core/models/cross_connect_mapping.rb +2 -2
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -2
- data/lib/oci/core/models/cross_connect_status.rb +2 -2
- data/lib/oci/core/models/dhcp_dns_option.rb +2 -2
- data/lib/oci/core/models/dhcp_option.rb +2 -2
- data/lib/oci/core/models/dhcp_options.rb +2 -2
- data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -2
- data/lib/oci/core/models/drg.rb +2 -2
- data/lib/oci/core/models/drg_attachment.rb +2 -2
- data/lib/oci/core/models/egress_security_rule.rb +2 -2
- data/lib/oci/core/models/export_image_details.rb +3 -3
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +5 -5
- 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 +2 -2
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +2 -2
- data/lib/oci/core/models/icmp_options.rb +2 -2
- data/lib/oci/core/models/image.rb +2 -2
- data/lib/oci/core/models/image_source_details.rb +3 -3
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +5 -5
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -3
- data/lib/oci/core/models/ingress_security_rule.rb +2 -2
- data/lib/oci/core/models/instance.rb +4 -4
- data/lib/oci/core/models/instance_console_connection.rb +2 -2
- data/lib/oci/core/models/instance_credentials.rb +2 -2
- data/lib/oci/core/models/internet_gateway.rb +2 -2
- data/lib/oci/core/models/ip_sec_connection.rb +2 -2
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +2 -2
- data/lib/oci/core/models/launch_instance_details.rb +4 -4
- data/lib/oci/core/models/letter_of_authority.rb +2 -2
- data/lib/oci/core/models/port_range.rb +2 -2
- data/lib/oci/core/models/private_ip.rb +2 -2
- data/lib/oci/core/models/route_rule.rb +2 -2
- data/lib/oci/core/models/route_table.rb +2 -2
- data/lib/oci/core/models/security_list.rb +2 -2
- data/lib/oci/core/models/shape.rb +2 -2
- data/lib/oci/core/models/subnet.rb +2 -2
- data/lib/oci/core/models/tcp_options.rb +2 -2
- data/lib/oci/core/models/tunnel_config.rb +2 -2
- data/lib/oci/core/models/tunnel_status.rb +2 -2
- data/lib/oci/core/models/udp_options.rb +2 -2
- data/lib/oci/core/models/update_console_history_details.rb +2 -2
- data/lib/oci/core/models/update_cpe_details.rb +2 -2
- data/lib/oci/core/models/update_cross_connect_details.rb +2 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +2 -2
- data/lib/oci/core/models/update_dhcp_details.rb +2 -2
- data/lib/oci/core/models/update_drg_attachment_details.rb +2 -2
- data/lib/oci/core/models/update_drg_details.rb +2 -2
- data/lib/oci/core/models/update_image_details.rb +2 -2
- data/lib/oci/core/models/update_instance_details.rb +2 -2
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/update_private_ip_details.rb +2 -2
- data/lib/oci/core/models/update_route_table_details.rb +2 -2
- data/lib/oci/core/models/update_security_list_details.rb +2 -2
- data/lib/oci/core/models/update_subnet_details.rb +2 -2
- data/lib/oci/core/models/update_vcn_details.rb +2 -2
- data/lib/oci/core/models/update_virtual_circuit_details.rb +2 -3
- data/lib/oci/core/models/update_vnic_details.rb +2 -2
- data/lib/oci/core/models/update_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/update_volume_details.rb +2 -2
- data/lib/oci/core/models/vcn.rb +2 -2
- data/lib/oci/core/models/virtual_circuit.rb +5 -5
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -2
- data/lib/oci/core/models/vnic.rb +2 -2
- data/lib/oci/core/models/vnic_attachment.rb +2 -2
- data/lib/oci/core/models/volume.rb +29 -5
- data/lib/oci/core/models/volume_attachment.rb +2 -2
- data/lib/oci/core/models/volume_backup.rb +2 -2
- data/lib/oci/core/models/volume_source_details.rb +131 -0
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +128 -0
- data/lib/oci/core/models/volume_source_from_volume_details.rb +128 -0
- data/lib/oci/core/virtual_network_client.rb +312 -10
- data/lib/oci/database/database.rb +7 -0
- data/lib/oci/database/database_client.rb +228 -4
- data/lib/oci/database/models/backup.rb +253 -0
- data/lib/oci/database/models/backup_summary.rb +253 -0
- data/lib/oci/database/models/create_backup_details.rb +131 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +2 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +2 -2
- data/lib/oci/database/models/create_database_details.rb +13 -3
- data/lib/oci/database/models/create_db_home_details.rb +2 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +2 -2
- data/lib/oci/database/models/data_guard_association.rb +2 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +374 -0
- data/lib/oci/database/models/database.rb +15 -3
- data/lib/oci/database/models/database_summary.rb +15 -3
- data/lib/oci/database/models/db_backup_config.rb +120 -0
- data/lib/oci/database/models/db_home.rb +2 -2
- data/lib/oci/database/models/db_home_summary.rb +2 -2
- data/lib/oci/database/models/db_node.rb +2 -2
- data/lib/oci/database/models/db_node_summary.rb +2 -2
- data/lib/oci/database/models/db_system.rb +9 -9
- data/lib/oci/database/models/db_system_shape_summary.rb +2 -2
- data/lib/oci/database/models/db_system_summary.rb +9 -9
- data/lib/oci/database/models/db_version_summary.rb +2 -2
- data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -2
- data/lib/oci/database/models/launch_db_system_details.rb +2 -2
- data/lib/oci/database/models/patch.rb +4 -2
- data/lib/oci/database/models/patch_details.rb +4 -3
- data/lib/oci/database/models/patch_history_entry.rb +3 -2
- data/lib/oci/database/models/patch_history_entry_summary.rb +3 -2
- data/lib/oci/database/models/patch_summary.rb +4 -2
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -2
- data/lib/oci/database/models/restore_database_details.rb +145 -0
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -2
- data/lib/oci/database/models/update_database_details.rb +119 -0
- data/lib/oci/database/models/update_db_home_details.rb +2 -2
- data/lib/oci/database/models/update_db_system_details.rb +9 -9
- data/lib/oci/identity/identity_client.rb +6 -5
- data/lib/oci/identity/models/add_user_to_group_details.rb +2 -2
- data/lib/oci/identity/models/api_key.rb +2 -2
- data/lib/oci/identity/models/availability_domain.rb +2 -2
- data/lib/oci/identity/models/compartment.rb +3 -3
- data/lib/oci/identity/models/create_api_key_details.rb +2 -2
- data/lib/oci/identity/models/create_compartment_details.rb +2 -2
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -2
- data/lib/oci/identity/models/create_group_details.rb +2 -2
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -2
- data/lib/oci/identity/models/create_policy_details.rb +2 -2
- data/lib/oci/identity/models/create_region_subscription_details.rb +2 -2
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -2
- data/lib/oci/identity/models/create_user_details.rb +2 -2
- data/lib/oci/identity/models/customer_secret_key.rb +2 -2
- data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -2
- data/lib/oci/identity/models/group.rb +2 -2
- data/lib/oci/identity/models/identity_provider.rb +4 -4
- data/lib/oci/identity/models/idp_group_mapping.rb +2 -2
- data/lib/oci/identity/models/policy.rb +2 -2
- data/lib/oci/identity/models/region.rb +4 -4
- data/lib/oci/identity/models/region_subscription.rb +4 -4
- data/lib/oci/identity/models/saml2_identity_provider.rb +2 -2
- data/lib/oci/identity/models/swift_password.rb +2 -2
- data/lib/oci/identity/models/tenancy.rb +2 -2
- data/lib/oci/identity/models/ui_password.rb +2 -2
- data/lib/oci/identity/models/update_compartment_details.rb +2 -2
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -2
- data/lib/oci/identity/models/update_group_details.rb +2 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -2
- data/lib/oci/identity/models/update_policy_details.rb +2 -2
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/update_state_details.rb +2 -2
- data/lib/oci/identity/models/update_swift_password_details.rb +2 -2
- data/lib/oci/identity/models/update_user_details.rb +2 -2
- data/lib/oci/identity/models/user.rb +2 -2
- data/lib/oci/identity/models/user_group_membership.rb +2 -2
- data/lib/oci/load_balancer/load_balancer_client.rb +1 -1
- data/lib/oci/load_balancer/models/backend.rb +2 -2
- data/lib/oci/load_balancer/models/backend_details.rb +2 -2
- data/lib/oci/load_balancer/models/backend_health.rb +2 -2
- data/lib/oci/load_balancer/models/backend_set.rb +2 -2
- data/lib/oci/load_balancer/models/backend_set_details.rb +2 -2
- data/lib/oci/load_balancer/models/backend_set_health.rb +2 -2
- data/lib/oci/load_balancer/models/certificate.rb +2 -2
- data/lib/oci/load_balancer/models/certificate_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_backend_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_listener_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +2 -2
- data/lib/oci/load_balancer/models/health_check_result.rb +2 -2
- data/lib/oci/load_balancer/models/health_checker.rb +2 -2
- data/lib/oci/load_balancer/models/health_checker_details.rb +2 -2
- data/lib/oci/load_balancer/models/ip_address.rb +2 -2
- data/lib/oci/load_balancer/models/listener.rb +2 -2
- data/lib/oci/load_balancer/models/listener_details.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -2
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +2 -2
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_listener_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -2
- data/lib/oci/load_balancer/models/work_request.rb +2 -2
- data/lib/oci/load_balancer/models/work_request_error.rb +2 -2
- data/lib/oci/object_storage/models/bucket.rb +44 -12
- data/lib/oci/object_storage/models/bucket_summary.rb +6 -4
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +41 -11
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +9 -7
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +6 -7
- data/lib/oci/object_storage/models/list_objects.rb +4 -3
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -3
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +6 -6
- data/lib/oci/object_storage/models/namespace_metadata.rb +142 -0
- data/lib/oci/object_storage/models/object_summary.rb +6 -4
- data/lib/oci/object_storage/models/preauthenticated_request.rb +13 -11
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +8 -10
- data/lib/oci/object_storage/models/rename_object_details.rb +164 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +120 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +20 -8
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +131 -0
- data/lib/oci/object_storage/object_storage.rb +4 -0
- data/lib/oci/object_storage/object_storage_client.rb +206 -94
- data/lib/oci/regions.rb +2 -1
- data/lib/oci/version.rb +1 -1
- metadata +22 -2
@@ -85,8 +85,8 @@ module OCI
|
|
85
85
|
def to_hash
|
86
86
|
hash = {}
|
87
87
|
self.class.attribute_map.each_pair do |attr, param|
|
88
|
-
value =
|
89
|
-
next if value.nil?
|
88
|
+
value = send(attr)
|
89
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
90
90
|
hash[param] = _to_hash(value)
|
91
91
|
end
|
92
92
|
hash
|
@@ -184,8 +184,8 @@ module OCI
|
|
184
184
|
def to_hash
|
185
185
|
hash = {}
|
186
186
|
self.class.attribute_map.each_pair do |attr, param|
|
187
|
-
value =
|
188
|
-
next if value.nil?
|
187
|
+
value = send(attr)
|
188
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
189
189
|
hash[param] = _to_hash(value)
|
190
190
|
end
|
191
191
|
hash
|
@@ -90,8 +90,8 @@ module OCI
|
|
90
90
|
def to_hash
|
91
91
|
hash = {}
|
92
92
|
self.class.attribute_map.each_pair do |attr, param|
|
93
|
-
value =
|
94
|
-
next if value.nil?
|
93
|
+
value = send(attr)
|
94
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
95
95
|
hash[param] = _to_hash(value)
|
96
96
|
end
|
97
97
|
hash
|
@@ -150,8 +150,8 @@ module OCI
|
|
150
150
|
def to_hash
|
151
151
|
hash = {}
|
152
152
|
self.class.attribute_map.each_pair do |attr, param|
|
153
|
-
value =
|
154
|
-
next if value.nil?
|
153
|
+
value = send(attr)
|
154
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
155
155
|
hash[param] = _to_hash(value)
|
156
156
|
end
|
157
157
|
hash
|
@@ -159,8 +159,8 @@ module OCI
|
|
159
159
|
def to_hash
|
160
160
|
hash = {}
|
161
161
|
self.class.attribute_map.each_pair do |attr, param|
|
162
|
-
value =
|
163
|
-
next if value.nil?
|
162
|
+
value = send(attr)
|
163
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
164
164
|
hash[param] = _to_hash(value)
|
165
165
|
end
|
166
166
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -275,8 +275,8 @@ module OCI
|
|
275
275
|
def to_hash
|
276
276
|
hash = {}
|
277
277
|
self.class.attribute_map.each_pair do |attr, param|
|
278
|
-
value =
|
279
|
-
next if value.nil?
|
278
|
+
value = send(attr)
|
279
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
280
280
|
hash[param] = _to_hash(value)
|
281
281
|
end
|
282
282
|
hash
|
@@ -87,8 +87,8 @@ module OCI
|
|
87
87
|
def to_hash
|
88
88
|
hash = {}
|
89
89
|
self.class.attribute_map.each_pair do |attr, param|
|
90
|
-
value =
|
91
|
-
next if value.nil?
|
90
|
+
value = send(attr)
|
91
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
92
92
|
hash[param] = _to_hash(value)
|
93
93
|
end
|
94
94
|
hash
|
@@ -101,8 +101,8 @@ module OCI
|
|
101
101
|
def to_hash
|
102
102
|
hash = {}
|
103
103
|
self.class.attribute_map.each_pair do |attr, param|
|
104
|
-
value =
|
105
|
-
next if value.nil?
|
104
|
+
value = send(attr)
|
105
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
106
106
|
hash[param] = _to_hash(value)
|
107
107
|
end
|
108
108
|
hash
|
@@ -126,8 +126,8 @@ module OCI
|
|
126
126
|
def to_hash
|
127
127
|
hash = {}
|
128
128
|
self.class.attribute_map.each_pair do |attr, param|
|
129
|
-
value =
|
130
|
-
next if value.nil?
|
129
|
+
value = send(attr)
|
130
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
131
131
|
hash[param] = _to_hash(value)
|
132
132
|
end
|
133
133
|
hash
|
@@ -87,8 +87,8 @@ module OCI
|
|
87
87
|
def to_hash
|
88
88
|
hash = {}
|
89
89
|
self.class.attribute_map.each_pair do |attr, param|
|
90
|
-
value =
|
91
|
-
next if value.nil?
|
90
|
+
value = send(attr)
|
91
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
92
92
|
hash[param] = _to_hash(value)
|
93
93
|
end
|
94
94
|
hash
|
@@ -75,8 +75,8 @@ module OCI
|
|
75
75
|
def to_hash
|
76
76
|
hash = {}
|
77
77
|
self.class.attribute_map.each_pair do |attr, param|
|
78
|
-
value =
|
79
|
-
next if value.nil?
|
78
|
+
value = send(attr)
|
79
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
80
80
|
hash[param] = _to_hash(value)
|
81
81
|
end
|
82
82
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -90,8 +90,8 @@ module OCI
|
|
90
90
|
def to_hash
|
91
91
|
hash = {}
|
92
92
|
self.class.attribute_map.each_pair do |attr, param|
|
93
|
-
value =
|
94
|
-
next if value.nil?
|
93
|
+
value = send(attr)
|
94
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
95
95
|
hash[param] = _to_hash(value)
|
96
96
|
end
|
97
97
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -84,8 +84,8 @@ module OCI
|
|
84
84
|
def to_hash
|
85
85
|
hash = {}
|
86
86
|
self.class.attribute_map.each_pair do |attr, param|
|
87
|
-
value =
|
88
|
-
next if value.nil?
|
87
|
+
value = send(attr)
|
88
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
89
89
|
hash[param] = _to_hash(value)
|
90
90
|
end
|
91
91
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -78,8 +78,8 @@ module OCI
|
|
78
78
|
def to_hash
|
79
79
|
hash = {}
|
80
80
|
self.class.attribute_map.each_pair do |attr, param|
|
81
|
-
value =
|
82
|
-
next if value.nil?
|
81
|
+
value = send(attr)
|
82
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
83
83
|
hash[param] = _to_hash(value)
|
84
84
|
end
|
85
85
|
hash
|
@@ -78,8 +78,8 @@ module OCI
|
|
78
78
|
def to_hash
|
79
79
|
hash = {}
|
80
80
|
self.class.attribute_map.each_pair do |attr, param|
|
81
|
-
value =
|
82
|
-
next if value.nil?
|
81
|
+
value = send(attr)
|
82
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
83
83
|
hash[param] = _to_hash(value)
|
84
84
|
end
|
85
85
|
hash
|
@@ -85,8 +85,8 @@ module OCI
|
|
85
85
|
def to_hash
|
86
86
|
hash = {}
|
87
87
|
self.class.attribute_map.each_pair do |attr, param|
|
88
|
-
value =
|
89
|
-
next if value.nil?
|
88
|
+
value = send(attr)
|
89
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
90
90
|
hash[param] = _to_hash(value)
|
91
91
|
end
|
92
92
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -107,8 +107,8 @@ module OCI
|
|
107
107
|
def to_hash
|
108
108
|
hash = {}
|
109
109
|
self.class.attribute_map.each_pair do |attr, param|
|
110
|
-
value =
|
111
|
-
next if value.nil?
|
110
|
+
value = send(attr)
|
111
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
112
112
|
hash[param] = _to_hash(value)
|
113
113
|
end
|
114
114
|
hash
|
@@ -85,8 +85,8 @@ module OCI
|
|
85
85
|
def to_hash
|
86
86
|
hash = {}
|
87
87
|
self.class.attribute_map.each_pair do |attr, param|
|
88
|
-
value =
|
89
|
-
next if value.nil?
|
88
|
+
value = send(attr)
|
89
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
90
90
|
hash[param] = _to_hash(value)
|
91
91
|
end
|
92
92
|
hash
|
@@ -94,8 +94,8 @@ module OCI
|
|
94
94
|
def to_hash
|
95
95
|
hash = {}
|
96
96
|
self.class.attribute_map.each_pair do |attr, param|
|
97
|
-
value =
|
98
|
-
next if value.nil?
|
97
|
+
value = send(attr)
|
98
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
99
99
|
hash[param] = _to_hash(value)
|
100
100
|
end
|
101
101
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -11,7 +11,6 @@ module OCI
|
|
11
11
|
# The provisioned data rate of the connection. To get a list of the
|
12
12
|
# available bandwidth levels (that is, shapes), see
|
13
13
|
# {#list_virtual_circuit_bandwidth_shapes list_virtual_circuit_bandwidth_shapes}.
|
14
|
-
#
|
15
14
|
# To be updated only by the customer who owns the virtual circuit.
|
16
15
|
#
|
17
16
|
# @return [String]
|
@@ -182,8 +181,8 @@ module OCI
|
|
182
181
|
def to_hash
|
183
182
|
hash = {}
|
184
183
|
self.class.attribute_map.each_pair do |attr, param|
|
185
|
-
value =
|
186
|
-
next if value.nil?
|
184
|
+
value = send(attr)
|
185
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
187
186
|
hash[param] = _to_hash(value)
|
188
187
|
end
|
189
188
|
hash
|
@@ -111,8 +111,8 @@ module OCI
|
|
111
111
|
def to_hash
|
112
112
|
hash = {}
|
113
113
|
self.class.attribute_map.each_pair do |attr, param|
|
114
|
-
value =
|
115
|
-
next if value.nil?
|
114
|
+
value = send(attr)
|
115
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
116
116
|
hash[param] = _to_hash(value)
|
117
117
|
end
|
118
118
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
@@ -76,8 +76,8 @@ module OCI
|
|
76
76
|
def to_hash
|
77
77
|
hash = {}
|
78
78
|
self.class.attribute_map.each_pair do |attr, param|
|
79
|
-
value =
|
80
|
-
next if value.nil?
|
79
|
+
value = send(attr)
|
80
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
81
81
|
hash[param] = _to_hash(value)
|
82
82
|
end
|
83
83
|
hash
|
data/lib/oci/core/models/vcn.rb
CHANGED
@@ -210,8 +210,8 @@ module OCI
|
|
210
210
|
def to_hash
|
211
211
|
hash = {}
|
212
212
|
self.class.attribute_map.each_pair do |attr, param|
|
213
|
-
value =
|
214
|
-
next if value.nil?
|
213
|
+
value = send(attr)
|
214
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
215
215
|
hash[param] = _to_hash(value)
|
216
216
|
end
|
217
217
|
hash
|
@@ -85,12 +85,12 @@ module OCI
|
|
85
85
|
# @return [Integer]
|
86
86
|
attr_accessor :oracle_bgp_asn
|
87
87
|
|
88
|
-
# The name of the provider (if
|
88
|
+
# The name of the provider (if you're connecting via a provider).
|
89
89
|
#
|
90
90
|
# @return [String]
|
91
91
|
attr_accessor :provider_name
|
92
92
|
|
93
|
-
# The name of the service offered by the provider
|
93
|
+
# The name of the service offered by the provider.
|
94
94
|
#
|
95
95
|
# @return [String]
|
96
96
|
attr_accessor :provider_service_name
|
@@ -110,7 +110,7 @@ module OCI
|
|
110
110
|
# @return [String]
|
111
111
|
attr_accessor :reference_comment
|
112
112
|
|
113
|
-
# The Oracle
|
113
|
+
# The Oracle Cloud Infrastructure region where this virtual
|
114
114
|
# circuit is located.
|
115
115
|
#
|
116
116
|
# @return [String]
|
@@ -317,8 +317,8 @@ module OCI
|
|
317
317
|
def to_hash
|
318
318
|
hash = {}
|
319
319
|
self.class.attribute_map.each_pair do |attr, param|
|
320
|
-
value =
|
321
|
-
next if value.nil?
|
320
|
+
value = send(attr)
|
321
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
322
322
|
hash[param] = _to_hash(value)
|
323
323
|
end
|
324
324
|
hash
|
@@ -89,8 +89,8 @@ module OCI
|
|
89
89
|
def to_hash
|
90
90
|
hash = {}
|
91
91
|
self.class.attribute_map.each_pair do |attr, param|
|
92
|
-
value =
|
93
|
-
next if value.nil?
|
92
|
+
value = send(attr)
|
93
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
94
94
|
hash[param] = _to_hash(value)
|
95
95
|
end
|
96
96
|
hash
|
data/lib/oci/core/models/vnic.rb
CHANGED
@@ -234,8 +234,8 @@ module OCI
|
|
234
234
|
def to_hash
|
235
235
|
hash = {}
|
236
236
|
self.class.attribute_map.each_pair do |attr, param|
|
237
|
-
value =
|
238
|
-
next if value.nil?
|
237
|
+
value = send(attr)
|
238
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
239
239
|
hash[param] = _to_hash(value)
|
240
240
|
end
|
241
241
|
hash
|