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
|
@@ -34,10 +34,10 @@ module OCI
|
|
|
34
34
|
# Initializes the object
|
|
35
35
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
36
36
|
# @option attributes [Array<OCI::LoadBalancer::Models::BackendDetails>] :backends The value to assign to the {#backends} property
|
|
37
|
-
# @option attributes [OCI::LoadBalancer::Models::HealthCheckerDetails] :
|
|
37
|
+
# @option attributes [OCI::LoadBalancer::Models::HealthCheckerDetails] :health_checker The value to assign to the {#health_checker} property
|
|
38
38
|
# @option attributes [String] :policy The value to assign to the {#policy} property
|
|
39
|
-
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :
|
|
40
|
-
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :
|
|
39
|
+
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :session_persistence_configuration The value to assign to the {#session_persistence_configuration} property
|
|
40
|
+
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :ssl_configuration The value to assign to the {#ssl_configuration} property
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
return unless attributes.is_a?(Hash)
|
|
43
43
|
|
|
@@ -52,6 +52,12 @@ module OCI
|
|
|
52
52
|
self.health_checker = attributes[:'healthChecker']
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
raise 'You cannot provide both :healthChecker and :health_checker' if attributes.key?(:'healthChecker') && attributes.key?(:'health_checker')
|
|
56
|
+
|
|
57
|
+
if attributes[:'health_checker']
|
|
58
|
+
self.health_checker = attributes[:'health_checker']
|
|
59
|
+
end
|
|
60
|
+
|
|
55
61
|
if attributes[:'policy']
|
|
56
62
|
self.policy = attributes[:'policy']
|
|
57
63
|
end
|
|
@@ -60,10 +66,22 @@ module OCI
|
|
|
60
66
|
self.session_persistence_configuration = attributes[:'sessionPersistenceConfiguration']
|
|
61
67
|
end
|
|
62
68
|
|
|
69
|
+
raise 'You cannot provide both :sessionPersistenceConfiguration and :session_persistence_configuration' if attributes.key?(:'sessionPersistenceConfiguration') && attributes.key?(:'session_persistence_configuration')
|
|
70
|
+
|
|
71
|
+
if attributes[:'session_persistence_configuration']
|
|
72
|
+
self.session_persistence_configuration = attributes[:'session_persistence_configuration']
|
|
73
|
+
end
|
|
74
|
+
|
|
63
75
|
if attributes[:'sslConfiguration']
|
|
64
76
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
|
65
77
|
end
|
|
66
78
|
|
|
79
|
+
raise 'You cannot provide both :sslConfiguration and :ssl_configuration' if attributes.key?(:'sslConfiguration') && attributes.key?(:'ssl_configuration')
|
|
80
|
+
|
|
81
|
+
if attributes[:'ssl_configuration']
|
|
82
|
+
self.ssl_configuration = attributes[:'ssl_configuration']
|
|
83
|
+
end
|
|
84
|
+
|
|
67
85
|
end
|
|
68
86
|
|
|
69
87
|
# Checks equality by comparing each attribute.
|
|
@@ -65,14 +65,14 @@ module OCI
|
|
|
65
65
|
|
|
66
66
|
# Initializes the object
|
|
67
67
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
68
|
-
# @option attributes [Integer] :
|
|
68
|
+
# @option attributes [Integer] :interval_in_millis The value to assign to the {#interval_in_millis} property
|
|
69
69
|
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
70
70
|
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
|
71
|
-
# @option attributes [String] :
|
|
71
|
+
# @option attributes [String] :response_body_regex The value to assign to the {#response_body_regex} property
|
|
72
72
|
# @option attributes [Integer] :retries The value to assign to the {#retries} property
|
|
73
|
-
# @option attributes [Integer] :
|
|
74
|
-
# @option attributes [Integer] :
|
|
75
|
-
# @option attributes [String] :
|
|
73
|
+
# @option attributes [Integer] :return_code The value to assign to the {#return_code} property
|
|
74
|
+
# @option attributes [Integer] :timeout_in_millis The value to assign to the {#timeout_in_millis} property
|
|
75
|
+
# @option attributes [String] :url_path The value to assign to the {#url_path} property
|
|
76
76
|
def initialize(attributes = {})
|
|
77
77
|
return unless attributes.is_a?(Hash)
|
|
78
78
|
|
|
@@ -83,6 +83,12 @@ module OCI
|
|
|
83
83
|
self.interval_in_millis = attributes[:'intervalInMillis']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
raise 'You cannot provide both :intervalInMillis and :interval_in_millis' if attributes.key?(:'intervalInMillis') && attributes.key?(:'interval_in_millis')
|
|
87
|
+
|
|
88
|
+
if attributes[:'interval_in_millis']
|
|
89
|
+
self.interval_in_millis = attributes[:'interval_in_millis']
|
|
90
|
+
end
|
|
91
|
+
|
|
86
92
|
if attributes[:'port']
|
|
87
93
|
self.port = attributes[:'port']
|
|
88
94
|
end
|
|
@@ -95,6 +101,12 @@ module OCI
|
|
|
95
101
|
self.response_body_regex = attributes[:'responseBodyRegex']
|
|
96
102
|
end
|
|
97
103
|
|
|
104
|
+
raise 'You cannot provide both :responseBodyRegex and :response_body_regex' if attributes.key?(:'responseBodyRegex') && attributes.key?(:'response_body_regex')
|
|
105
|
+
|
|
106
|
+
if attributes[:'response_body_regex']
|
|
107
|
+
self.response_body_regex = attributes[:'response_body_regex']
|
|
108
|
+
end
|
|
109
|
+
|
|
98
110
|
if attributes[:'retries']
|
|
99
111
|
self.retries = attributes[:'retries']
|
|
100
112
|
end
|
|
@@ -103,14 +115,32 @@ module OCI
|
|
|
103
115
|
self.return_code = attributes[:'returnCode']
|
|
104
116
|
end
|
|
105
117
|
|
|
118
|
+
raise 'You cannot provide both :returnCode and :return_code' if attributes.key?(:'returnCode') && attributes.key?(:'return_code')
|
|
119
|
+
|
|
120
|
+
if attributes[:'return_code']
|
|
121
|
+
self.return_code = attributes[:'return_code']
|
|
122
|
+
end
|
|
123
|
+
|
|
106
124
|
if attributes[:'timeoutInMillis']
|
|
107
125
|
self.timeout_in_millis = attributes[:'timeoutInMillis']
|
|
108
126
|
end
|
|
109
127
|
|
|
128
|
+
raise 'You cannot provide both :timeoutInMillis and :timeout_in_millis' if attributes.key?(:'timeoutInMillis') && attributes.key?(:'timeout_in_millis')
|
|
129
|
+
|
|
130
|
+
if attributes[:'timeout_in_millis']
|
|
131
|
+
self.timeout_in_millis = attributes[:'timeout_in_millis']
|
|
132
|
+
end
|
|
133
|
+
|
|
110
134
|
if attributes[:'urlPath']
|
|
111
135
|
self.url_path = attributes[:'urlPath']
|
|
112
136
|
end
|
|
113
137
|
|
|
138
|
+
raise 'You cannot provide both :urlPath and :url_path' if attributes.key?(:'urlPath') && attributes.key?(:'url_path')
|
|
139
|
+
|
|
140
|
+
if attributes[:'url_path']
|
|
141
|
+
self.url_path = attributes[:'url_path']
|
|
142
|
+
end
|
|
143
|
+
|
|
114
144
|
end
|
|
115
145
|
|
|
116
146
|
# Checks equality by comparing each attribute.
|
|
@@ -45,12 +45,12 @@ module OCI
|
|
|
45
45
|
|
|
46
46
|
# Initializes the object
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
48
|
-
# @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :
|
|
49
|
-
# @option attributes [String] :
|
|
50
|
-
# @option attributes [String] :
|
|
48
|
+
# @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :connection_configuration The value to assign to the {#connection_configuration} property
|
|
49
|
+
# @option attributes [String] :default_backend_set_name The value to assign to the {#default_backend_set_name} property
|
|
50
|
+
# @option attributes [String] :path_route_set_name The value to assign to the {#path_route_set_name} property
|
|
51
51
|
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
52
52
|
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
|
53
|
-
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :
|
|
53
|
+
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :ssl_configuration The value to assign to the {#ssl_configuration} property
|
|
54
54
|
def initialize(attributes = {})
|
|
55
55
|
return unless attributes.is_a?(Hash)
|
|
56
56
|
|
|
@@ -61,14 +61,32 @@ module OCI
|
|
|
61
61
|
self.connection_configuration = attributes[:'connectionConfiguration']
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
+
raise 'You cannot provide both :connectionConfiguration and :connection_configuration' if attributes.key?(:'connectionConfiguration') && attributes.key?(:'connection_configuration')
|
|
65
|
+
|
|
66
|
+
if attributes[:'connection_configuration']
|
|
67
|
+
self.connection_configuration = attributes[:'connection_configuration']
|
|
68
|
+
end
|
|
69
|
+
|
|
64
70
|
if attributes[:'defaultBackendSetName']
|
|
65
71
|
self.default_backend_set_name = attributes[:'defaultBackendSetName']
|
|
66
72
|
end
|
|
67
73
|
|
|
74
|
+
raise 'You cannot provide both :defaultBackendSetName and :default_backend_set_name' if attributes.key?(:'defaultBackendSetName') && attributes.key?(:'default_backend_set_name')
|
|
75
|
+
|
|
76
|
+
if attributes[:'default_backend_set_name']
|
|
77
|
+
self.default_backend_set_name = attributes[:'default_backend_set_name']
|
|
78
|
+
end
|
|
79
|
+
|
|
68
80
|
if attributes[:'pathRouteSetName']
|
|
69
81
|
self.path_route_set_name = attributes[:'pathRouteSetName']
|
|
70
82
|
end
|
|
71
83
|
|
|
84
|
+
raise 'You cannot provide both :pathRouteSetName and :path_route_set_name' if attributes.key?(:'pathRouteSetName') && attributes.key?(:'path_route_set_name')
|
|
85
|
+
|
|
86
|
+
if attributes[:'path_route_set_name']
|
|
87
|
+
self.path_route_set_name = attributes[:'path_route_set_name']
|
|
88
|
+
end
|
|
89
|
+
|
|
72
90
|
if attributes[:'port']
|
|
73
91
|
self.port = attributes[:'port']
|
|
74
92
|
end
|
|
@@ -81,6 +99,12 @@ module OCI
|
|
|
81
99
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
|
82
100
|
end
|
|
83
101
|
|
|
102
|
+
raise 'You cannot provide both :sslConfiguration and :ssl_configuration' if attributes.key?(:'sslConfiguration') && attributes.key?(:'ssl_configuration')
|
|
103
|
+
|
|
104
|
+
if attributes[:'ssl_configuration']
|
|
105
|
+
self.ssl_configuration = attributes[:'ssl_configuration']
|
|
106
|
+
end
|
|
107
|
+
|
|
84
108
|
end
|
|
85
109
|
|
|
86
110
|
# Checks equality by comparing each attribute.
|
|
@@ -16,7 +16,7 @@ module OCI
|
|
|
16
16
|
|
|
17
17
|
# Initializes the object
|
|
18
18
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
19
|
-
# @option attributes [String] :
|
|
19
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
20
20
|
def initialize(attributes = {})
|
|
21
21
|
return unless attributes.is_a?(Hash)
|
|
22
22
|
|
|
@@ -27,6 +27,12 @@ module OCI
|
|
|
27
27
|
self.display_name = attributes[:'displayName']
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
31
|
+
|
|
32
|
+
if attributes[:'display_name']
|
|
33
|
+
self.display_name = attributes[:'display_name']
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
end
|
|
31
37
|
|
|
32
38
|
# Checks equality by comparing each attribute.
|
|
@@ -12,7 +12,7 @@ module OCI
|
|
|
12
12
|
|
|
13
13
|
# Initializes the object
|
|
14
14
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
15
|
-
# @option attributes [Array<OCI::LoadBalancer::Models::PathRoute>] :
|
|
15
|
+
# @option attributes [Array<OCI::LoadBalancer::Models::PathRoute>] :path_routes The value to assign to the {#path_routes} property
|
|
16
16
|
def initialize(attributes = {})
|
|
17
17
|
return unless attributes.is_a?(Hash)
|
|
18
18
|
|
|
@@ -23,6 +23,12 @@ module OCI
|
|
|
23
23
|
self.path_routes = attributes[:'pathRoutes']
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
raise 'You cannot provide both :pathRoutes and :path_routes' if attributes.key?(:'pathRoutes') && attributes.key?(:'path_routes')
|
|
27
|
+
|
|
28
|
+
if attributes[:'path_routes']
|
|
29
|
+
self.path_routes = attributes[:'path_routes']
|
|
30
|
+
end
|
|
31
|
+
|
|
26
32
|
end
|
|
27
33
|
|
|
28
34
|
# Checks equality by comparing each attribute.
|
|
@@ -69,13 +69,13 @@ module OCI
|
|
|
69
69
|
|
|
70
70
|
# Initializes the object
|
|
71
71
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
72
|
-
# @option attributes [Array<OCI::LoadBalancer::Models::WorkRequestError>] :
|
|
72
|
+
# @option attributes [Array<OCI::LoadBalancer::Models::WorkRequestError>] :error_details The value to assign to the {#error_details} property
|
|
73
73
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
74
|
-
# @option attributes [String] :
|
|
75
|
-
# @option attributes [String] :
|
|
74
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
75
|
+
# @option attributes [String] :load_balancer_id The value to assign to the {#load_balancer_id} property
|
|
76
76
|
# @option attributes [String] :message The value to assign to the {#message} property
|
|
77
|
-
# @option attributes [DateTime] :
|
|
78
|
-
# @option attributes [DateTime] :
|
|
77
|
+
# @option attributes [DateTime] :time_accepted The value to assign to the {#time_accepted} property
|
|
78
|
+
# @option attributes [DateTime] :time_finished The value to assign to the {#time_finished} property
|
|
79
79
|
# @option attributes [String] :type The value to assign to the {#type} property
|
|
80
80
|
def initialize(attributes = {})
|
|
81
81
|
return unless attributes.is_a?(Hash)
|
|
@@ -87,6 +87,12 @@ module OCI
|
|
|
87
87
|
self.error_details = attributes[:'errorDetails']
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
raise 'You cannot provide both :errorDetails and :error_details' if attributes.key?(:'errorDetails') && attributes.key?(:'error_details')
|
|
91
|
+
|
|
92
|
+
if attributes[:'error_details']
|
|
93
|
+
self.error_details = attributes[:'error_details']
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
if attributes[:'id']
|
|
91
97
|
self.id = attributes[:'id']
|
|
92
98
|
end
|
|
@@ -95,10 +101,22 @@ module OCI
|
|
|
95
101
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
96
102
|
end
|
|
97
103
|
|
|
104
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
105
|
+
|
|
106
|
+
if attributes[:'lifecycle_state']
|
|
107
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
108
|
+
end
|
|
109
|
+
|
|
98
110
|
if attributes[:'loadBalancerId']
|
|
99
111
|
self.load_balancer_id = attributes[:'loadBalancerId']
|
|
100
112
|
end
|
|
101
113
|
|
|
114
|
+
raise 'You cannot provide both :loadBalancerId and :load_balancer_id' if attributes.key?(:'loadBalancerId') && attributes.key?(:'load_balancer_id')
|
|
115
|
+
|
|
116
|
+
if attributes[:'load_balancer_id']
|
|
117
|
+
self.load_balancer_id = attributes[:'load_balancer_id']
|
|
118
|
+
end
|
|
119
|
+
|
|
102
120
|
if attributes[:'message']
|
|
103
121
|
self.message = attributes[:'message']
|
|
104
122
|
end
|
|
@@ -107,10 +125,22 @@ module OCI
|
|
|
107
125
|
self.time_accepted = attributes[:'timeAccepted']
|
|
108
126
|
end
|
|
109
127
|
|
|
128
|
+
raise 'You cannot provide both :timeAccepted and :time_accepted' if attributes.key?(:'timeAccepted') && attributes.key?(:'time_accepted')
|
|
129
|
+
|
|
130
|
+
if attributes[:'time_accepted']
|
|
131
|
+
self.time_accepted = attributes[:'time_accepted']
|
|
132
|
+
end
|
|
133
|
+
|
|
110
134
|
if attributes[:'timeFinished']
|
|
111
135
|
self.time_finished = attributes[:'timeFinished']
|
|
112
136
|
end
|
|
113
137
|
|
|
138
|
+
raise 'You cannot provide both :timeFinished and :time_finished' if attributes.key?(:'timeFinished') && attributes.key?(:'time_finished')
|
|
139
|
+
|
|
140
|
+
if attributes[:'time_finished']
|
|
141
|
+
self.time_finished = attributes[:'time_finished']
|
|
142
|
+
end
|
|
143
|
+
|
|
114
144
|
if attributes[:'type']
|
|
115
145
|
self.type = attributes[:'type']
|
|
116
146
|
end
|
|
@@ -21,7 +21,7 @@ module OCI
|
|
|
21
21
|
|
|
22
22
|
# Initializes the object
|
|
23
23
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
24
|
-
# @option attributes [String] :
|
|
24
|
+
# @option attributes [String] :error_code The value to assign to the {#error_code} property
|
|
25
25
|
# @option attributes [String] :message The value to assign to the {#message} property
|
|
26
26
|
def initialize(attributes = {})
|
|
27
27
|
return unless attributes.is_a?(Hash)
|
|
@@ -33,6 +33,12 @@ module OCI
|
|
|
33
33
|
self.error_code = attributes[:'errorCode']
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
raise 'You cannot provide both :errorCode and :error_code' if attributes.key?(:'errorCode') && attributes.key?(:'error_code')
|
|
37
|
+
|
|
38
|
+
if attributes[:'error_code']
|
|
39
|
+
self.error_code = attributes[:'error_code']
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
if attributes[:'message']
|
|
37
43
|
self.message = attributes[:'message']
|
|
38
44
|
end
|
|
@@ -64,24 +64,40 @@ module OCI
|
|
|
64
64
|
|
|
65
65
|
# The type of storage tier of this bucket.
|
|
66
66
|
# A bucket is set to 'Standard' tier by default, which means the bucket will be put in the standard storage tier.
|
|
67
|
-
# When 'Archive' tier type is set explicitly, the bucket is put in the
|
|
68
|
-
# property is immutable
|
|
67
|
+
# When 'Archive' tier type is set explicitly, the bucket is put in the archive storage tier. The 'storageTier'
|
|
68
|
+
# property is immutable after bucket is created.
|
|
69
69
|
#
|
|
70
70
|
# @return [String]
|
|
71
71
|
attr_accessor :storage_tier
|
|
72
72
|
|
|
73
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
74
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
75
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
76
|
+
#
|
|
77
|
+
# @return [Hash<String, String>]
|
|
78
|
+
attr_accessor :freeform_tags
|
|
79
|
+
|
|
80
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
81
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
82
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
83
|
+
#
|
|
84
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
85
|
+
attr_accessor :defined_tags
|
|
86
|
+
|
|
73
87
|
|
|
74
88
|
# Initializes the object
|
|
75
89
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
76
90
|
# @option attributes [String] :namespace The value to assign to the {#namespace} property
|
|
77
91
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
78
|
-
# @option attributes [String] :
|
|
92
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
79
93
|
# @option attributes [Hash<String, String>] :metadata The value to assign to the {#metadata} property
|
|
80
|
-
# @option attributes [String] :
|
|
81
|
-
# @option attributes [DateTime] :
|
|
94
|
+
# @option attributes [String] :created_by The value to assign to the {#created_by} property
|
|
95
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
82
96
|
# @option attributes [String] :etag The value to assign to the {#etag} property
|
|
83
|
-
# @option attributes [String] :
|
|
84
|
-
# @option attributes [String] :
|
|
97
|
+
# @option attributes [String] :public_access_type The value to assign to the {#public_access_type} property
|
|
98
|
+
# @option attributes [String] :storage_tier The value to assign to the {#storage_tier} property
|
|
99
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
100
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
85
101
|
def initialize(attributes = {})
|
|
86
102
|
return unless attributes.is_a?(Hash)
|
|
87
103
|
|
|
@@ -100,6 +116,12 @@ module OCI
|
|
|
100
116
|
self.compartment_id = attributes[:'compartmentId']
|
|
101
117
|
end
|
|
102
118
|
|
|
119
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
120
|
+
|
|
121
|
+
if attributes[:'compartment_id']
|
|
122
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
123
|
+
end
|
|
124
|
+
|
|
103
125
|
if attributes[:'metadata']
|
|
104
126
|
self.metadata = attributes[:'metadata']
|
|
105
127
|
end
|
|
@@ -108,10 +130,22 @@ module OCI
|
|
|
108
130
|
self.created_by = attributes[:'createdBy']
|
|
109
131
|
end
|
|
110
132
|
|
|
133
|
+
raise 'You cannot provide both :createdBy and :created_by' if attributes.key?(:'createdBy') && attributes.key?(:'created_by')
|
|
134
|
+
|
|
135
|
+
if attributes[:'created_by']
|
|
136
|
+
self.created_by = attributes[:'created_by']
|
|
137
|
+
end
|
|
138
|
+
|
|
111
139
|
if attributes[:'timeCreated']
|
|
112
140
|
self.time_created = attributes[:'timeCreated']
|
|
113
141
|
end
|
|
114
142
|
|
|
143
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
144
|
+
|
|
145
|
+
if attributes[:'time_created']
|
|
146
|
+
self.time_created = attributes[:'time_created']
|
|
147
|
+
end
|
|
148
|
+
|
|
115
149
|
if attributes[:'etag']
|
|
116
150
|
self.etag = attributes[:'etag']
|
|
117
151
|
end
|
|
@@ -120,10 +154,42 @@ module OCI
|
|
|
120
154
|
self.public_access_type = attributes[:'publicAccessType']
|
|
121
155
|
end
|
|
122
156
|
|
|
157
|
+
raise 'You cannot provide both :publicAccessType and :public_access_type' if attributes.key?(:'publicAccessType') && attributes.key?(:'public_access_type')
|
|
158
|
+
|
|
159
|
+
if attributes[:'public_access_type']
|
|
160
|
+
self.public_access_type = attributes[:'public_access_type']
|
|
161
|
+
end
|
|
162
|
+
|
|
123
163
|
if attributes[:'storageTier']
|
|
124
164
|
self.storage_tier = attributes[:'storageTier']
|
|
125
165
|
end
|
|
126
166
|
|
|
167
|
+
raise 'You cannot provide both :storageTier and :storage_tier' if attributes.key?(:'storageTier') && attributes.key?(:'storage_tier')
|
|
168
|
+
|
|
169
|
+
if attributes[:'storage_tier']
|
|
170
|
+
self.storage_tier = attributes[:'storage_tier']
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if attributes[:'freeformTags']
|
|
174
|
+
self.freeform_tags = attributes[:'freeformTags']
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
178
|
+
|
|
179
|
+
if attributes[:'freeform_tags']
|
|
180
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
if attributes[:'definedTags']
|
|
184
|
+
self.defined_tags = attributes[:'definedTags']
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
188
|
+
|
|
189
|
+
if attributes[:'defined_tags']
|
|
190
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
191
|
+
end
|
|
192
|
+
|
|
127
193
|
end
|
|
128
194
|
|
|
129
195
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -159,7 +225,9 @@ module OCI
|
|
|
159
225
|
time_created == other_object.time_created &&
|
|
160
226
|
etag == other_object.etag &&
|
|
161
227
|
public_access_type == other_object.public_access_type &&
|
|
162
|
-
storage_tier == other_object.storage_tier
|
|
228
|
+
storage_tier == other_object.storage_tier &&
|
|
229
|
+
freeform_tags == other_object.freeform_tags &&
|
|
230
|
+
defined_tags == other_object.defined_tags
|
|
163
231
|
end
|
|
164
232
|
|
|
165
233
|
# @see the `==` method
|
|
@@ -171,7 +239,7 @@ module OCI
|
|
|
171
239
|
# Calculates hash code according to all attributes.
|
|
172
240
|
# @return [Fixnum] Hash code
|
|
173
241
|
def hash
|
|
174
|
-
[namespace, name, compartment_id, metadata, created_by, time_created, etag, public_access_type, storage_tier].hash
|
|
242
|
+
[namespace, name, compartment_id, metadata, created_by, time_created, etag, public_access_type, storage_tier, freeform_tags, defined_tags].hash
|
|
175
243
|
end
|
|
176
244
|
|
|
177
245
|
# Builds the object from hash
|
|
@@ -245,7 +313,9 @@ module OCI
|
|
|
245
313
|
:'time_created' => :'timeCreated',
|
|
246
314
|
:'etag' => :'etag',
|
|
247
315
|
:'public_access_type' => :'publicAccessType',
|
|
248
|
-
:'storage_tier' => :'storageTier'
|
|
316
|
+
:'storage_tier' => :'storageTier',
|
|
317
|
+
:'freeform_tags' => :'freeformTags',
|
|
318
|
+
:'defined_tags' => :'definedTags'
|
|
249
319
|
}
|
|
250
320
|
end
|
|
251
321
|
|
|
@@ -260,7 +330,9 @@ module OCI
|
|
|
260
330
|
:'time_created' => :'DateTime',
|
|
261
331
|
:'etag' => :'String',
|
|
262
332
|
:'public_access_type' => :'String',
|
|
263
|
-
:'storage_tier' => :'String'
|
|
333
|
+
:'storage_tier' => :'String',
|
|
334
|
+
:'freeform_tags' => :'Hash<String, String>',
|
|
335
|
+
:'defined_tags' => :'Hash<String, Hash<String, Object>>'
|
|
264
336
|
}
|
|
265
337
|
end
|
|
266
338
|
end
|