oci 2.0.4 → 2.0.5
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/LICENSE.txt +3 -3
- data/README.md +72 -6
- data/lib/oci.rb +1 -1
- data/lib/oci/api_client.rb +1 -1
- data/lib/oci/audit/audit.rb +1 -1
- data/lib/oci/audit/audit_client.rb +1 -1
- data/lib/oci/audit/models/audit_event.rb +4 -4
- data/lib/oci/audit/models/configuration.rb +4 -4
- data/lib/oci/audit/models/update_configuration_details.rb +4 -4
- data/lib/oci/audit/util.rb +2 -1
- data/lib/oci/config.rb +1 -1
- data/lib/oci/config_file_loader.rb +1 -1
- data/lib/oci/core/blockstorage_client.rb +1 -1
- data/lib/oci/core/compute_client.rb +4 -2
- data/lib/oci/core/core.rb +2 -1
- data/lib/oci/core/models/attach_boot_volume_details.rb +4 -4
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +4 -4
- data/lib/oci/core/models/attach_vnic_details.rb +4 -4
- data/lib/oci/core/models/attach_volume_details.rb +4 -4
- data/lib/oci/core/models/boot_volume.rb +4 -4
- data/lib/oci/core/models/boot_volume_attachment.rb +4 -4
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +4 -4
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +4 -4
- data/lib/oci/core/models/capture_console_history_details.rb +36 -5
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +4 -4
- data/lib/oci/core/models/console_history.rb +36 -6
- data/lib/oci/core/models/cpe.rb +4 -4
- data/lib/oci/core/models/create_cpe_details.rb +4 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +4 -4
- data/lib/oci/core/models/create_cross_connect_group_details.rb +4 -4
- data/lib/oci/core/models/create_dhcp_details.rb +36 -5
- data/lib/oci/core/models/create_drg_attachment_details.rb +4 -4
- data/lib/oci/core/models/create_drg_details.rb +4 -4
- data/lib/oci/core/models/create_image_details.rb +69 -8
- data/lib/oci/core/models/create_instance_console_connection_details.rb +36 -5
- data/lib/oci/core/models/create_internet_gateway_details.rb +4 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +4 -4
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +4 -4
- data/lib/oci/core/models/create_private_ip_details.rb +36 -5
- data/lib/oci/core/models/create_route_table_details.rb +36 -5
- data/lib/oci/core/models/create_security_list_details.rb +36 -5
- data/lib/oci/core/models/create_subnet_details.rb +36 -5
- data/lib/oci/core/models/create_vcn_details.rb +39 -8
- data/lib/oci/core/models/create_virtual_circuit_details.rb +4 -4
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +4 -4
- data/lib/oci/core/models/create_vnic_details.rb +4 -4
- data/lib/oci/core/models/create_volume_backup_details.rb +36 -5
- data/lib/oci/core/models/create_volume_details.rb +36 -5
- data/lib/oci/core/models/cross_connect.rb +4 -4
- data/lib/oci/core/models/cross_connect_group.rb +4 -4
- data/lib/oci/core/models/cross_connect_location.rb +4 -4
- data/lib/oci/core/models/cross_connect_mapping.rb +4 -4
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +4 -4
- data/lib/oci/core/models/cross_connect_status.rb +4 -4
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +4 -4
- data/lib/oci/core/models/dhcp_dns_option.rb +4 -4
- data/lib/oci/core/models/dhcp_option.rb +4 -4
- data/lib/oci/core/models/dhcp_options.rb +36 -5
- data/lib/oci/core/models/dhcp_search_domain_option.rb +4 -4
- data/lib/oci/core/models/drg.rb +4 -4
- data/lib/oci/core/models/drg_attachment.rb +4 -4
- data/lib/oci/core/models/egress_security_rule.rb +4 -4
- data/lib/oci/core/models/export_image_details.rb +4 -4
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +4 -4
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +4 -4
- data/lib/oci/core/models/fast_connect_provider_service.rb +4 -4
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +4 -4
- data/lib/oci/core/models/icmp_options.rb +4 -4
- data/lib/oci/core/models/image.rb +77 -6
- data/lib/oci/core/models/image_source_details.rb +32 -5
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +8 -5
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -5
- data/lib/oci/core/models/ingress_security_rule.rb +4 -4
- data/lib/oci/core/models/instance.rb +77 -5
- data/lib/oci/core/models/instance_console_connection.rb +52 -8
- data/lib/oci/core/models/instance_credentials.rb +4 -4
- data/lib/oci/core/models/instance_source_details.rb +4 -4
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +4 -4
- data/lib/oci/core/models/instance_source_via_image_details.rb +4 -4
- data/lib/oci/core/models/internet_gateway.rb +4 -4
- data/lib/oci/core/models/ip_sec_connection.rb +4 -4
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +4 -4
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +4 -4
- data/lib/oci/core/models/launch_instance_details.rb +39 -6
- data/lib/oci/core/models/launch_options.rb +239 -0
- data/lib/oci/core/models/letter_of_authority.rb +4 -4
- data/lib/oci/core/models/local_peering_gateway.rb +4 -4
- data/lib/oci/core/models/port_range.rb +4 -4
- data/lib/oci/core/models/private_ip.rb +36 -5
- data/lib/oci/core/models/route_rule.rb +4 -4
- data/lib/oci/core/models/route_table.rb +36 -5
- data/lib/oci/core/models/security_list.rb +36 -5
- data/lib/oci/core/models/shape.rb +4 -4
- data/lib/oci/core/models/subnet.rb +36 -5
- data/lib/oci/core/models/tcp_options.rb +4 -4
- data/lib/oci/core/models/tunnel_config.rb +4 -4
- data/lib/oci/core/models/tunnel_status.rb +4 -4
- data/lib/oci/core/models/udp_options.rb +4 -4
- data/lib/oci/core/models/update_boot_volume_details.rb +4 -4
- data/lib/oci/core/models/update_console_history_details.rb +39 -8
- data/lib/oci/core/models/update_cpe_details.rb +4 -4
- data/lib/oci/core/models/update_cross_connect_details.rb +4 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +4 -4
- data/lib/oci/core/models/update_dhcp_details.rb +36 -5
- data/lib/oci/core/models/update_drg_attachment_details.rb +4 -4
- data/lib/oci/core/models/update_drg_details.rb +4 -4
- data/lib/oci/core/models/update_image_details.rb +39 -8
- data/lib/oci/core/models/update_instance_details.rb +39 -8
- data/lib/oci/core/models/update_internet_gateway_details.rb +4 -4
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +4 -4
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +4 -4
- data/lib/oci/core/models/update_private_ip_details.rb +36 -5
- data/lib/oci/core/models/update_route_table_details.rb +36 -5
- data/lib/oci/core/models/update_security_list_details.rb +36 -5
- data/lib/oci/core/models/update_subnet_details.rb +39 -8
- data/lib/oci/core/models/update_vcn_details.rb +39 -8
- data/lib/oci/core/models/update_virtual_circuit_details.rb +4 -4
- data/lib/oci/core/models/update_vnic_details.rb +4 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +39 -8
- data/lib/oci/core/models/update_volume_details.rb +39 -8
- data/lib/oci/core/models/vcn.rb +36 -5
- data/lib/oci/core/models/virtual_circuit.rb +4 -4
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +4 -4
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +4 -4
- data/lib/oci/core/models/vnic.rb +4 -4
- data/lib/oci/core/models/vnic_attachment.rb +4 -4
- data/lib/oci/core/models/volume.rb +36 -5
- data/lib/oci/core/models/volume_attachment.rb +4 -4
- data/lib/oci/core/models/volume_backup.rb +36 -5
- data/lib/oci/core/models/volume_source_details.rb +4 -4
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +4 -4
- data/lib/oci/core/models/volume_source_from_volume_details.rb +4 -4
- data/lib/oci/core/util.rb +2 -1
- data/lib/oci/core/virtual_network_client.rb +1 -1
- data/lib/oci/database/database.rb +1 -1
- data/lib/oci/database/database_client.rb +1 -1
- data/lib/oci/database/models/backup.rb +4 -4
- data/lib/oci/database/models/backup_summary.rb +4 -4
- data/lib/oci/database/models/create_backup_details.rb +4 -4
- data/lib/oci/database/models/create_data_guard_association_details.rb +4 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +4 -4
- data/lib/oci/database/models/create_database_details.rb +4 -4
- data/lib/oci/database/models/create_database_from_backup_details.rb +4 -4
- data/lib/oci/database/models/create_db_home_details.rb +4 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +4 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +4 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -4
- data/lib/oci/database/models/data_guard_association.rb +4 -4
- data/lib/oci/database/models/data_guard_association_summary.rb +4 -4
- data/lib/oci/database/models/database.rb +4 -4
- data/lib/oci/database/models/database_summary.rb +4 -4
- data/lib/oci/database/models/db_backup_config.rb +4 -4
- data/lib/oci/database/models/db_home.rb +4 -4
- data/lib/oci/database/models/db_home_summary.rb +4 -4
- data/lib/oci/database/models/db_node.rb +4 -4
- data/lib/oci/database/models/db_node_summary.rb +4 -4
- data/lib/oci/database/models/db_system.rb +4 -4
- data/lib/oci/database/models/db_system_shape_summary.rb +4 -4
- data/lib/oci/database/models/db_system_summary.rb +4 -4
- data/lib/oci/database/models/db_version_summary.rb +4 -4
- data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -4
- data/lib/oci/database/models/launch_db_system_details.rb +4 -4
- data/lib/oci/database/models/patch.rb +4 -4
- data/lib/oci/database/models/patch_details.rb +4 -4
- data/lib/oci/database/models/patch_history_entry.rb +4 -4
- data/lib/oci/database/models/patch_history_entry_summary.rb +4 -4
- data/lib/oci/database/models/patch_summary.rb +4 -4
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -4
- data/lib/oci/database/models/restore_database_details.rb +4 -4
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -4
- data/lib/oci/database/models/update_database_details.rb +4 -4
- data/lib/oci/database/models/update_db_home_details.rb +4 -4
- data/lib/oci/database/models/update_db_system_details.rb +4 -4
- data/lib/oci/database/util.rb +2 -1
- data/lib/oci/errors.rb +1 -1
- data/lib/oci/global_context.rb +1 -1
- data/lib/oci/identity/identity.rb +9 -1
- data/lib/oci/identity/identity_client.rb +339 -1
- data/lib/oci/identity/models/add_user_to_group_details.rb +4 -4
- data/lib/oci/identity/models/api_key.rb +4 -4
- data/lib/oci/identity/models/availability_domain.rb +4 -4
- data/lib/oci/identity/models/compartment.rb +34 -8
- data/lib/oci/identity/models/create_api_key_details.rb +4 -4
- data/lib/oci/identity/models/create_compartment_details.rb +34 -8
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +4 -4
- data/lib/oci/identity/models/create_group_details.rb +34 -8
- data/lib/oci/identity/models/create_identity_provider_details.rb +34 -8
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -4
- data/lib/oci/identity/models/create_policy_details.rb +34 -8
- data/lib/oci/identity/models/create_region_subscription_details.rb +4 -4
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
- data/lib/oci/identity/models/create_swift_password_details.rb +4 -4
- data/lib/oci/identity/models/create_tag_details.rb +158 -0
- data/lib/oci/identity/models/create_tag_namespace_details.rb +169 -0
- data/lib/oci/identity/models/create_user_details.rb +34 -8
- data/lib/oci/identity/models/customer_secret_key.rb +4 -4
- data/lib/oci/identity/models/customer_secret_key_summary.rb +4 -4
- data/lib/oci/identity/models/group.rb +35 -8
- data/lib/oci/identity/models/identity_provider.rb +34 -8
- data/lib/oci/identity/models/idp_group_mapping.rb +4 -4
- data/lib/oci/identity/models/policy.rb +34 -8
- 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 +11 -5
- data/lib/oci/identity/models/swift_password.rb +4 -4
- data/lib/oci/identity/models/tag.rb +228 -0
- data/lib/oci/identity/models/tag_namespace.rb +205 -0
- data/lib/oci/identity/models/tag_namespace_summary.rb +205 -0
- data/lib/oci/identity/models/tag_summary.rb +205 -0
- data/lib/oci/identity/models/tenancy.rb +34 -8
- data/lib/oci/identity/models/ui_password.rb +4 -4
- data/lib/oci/identity/models/update_compartment_details.rb +34 -8
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +4 -4
- data/lib/oci/identity/models/update_group_details.rb +34 -8
- data/lib/oci/identity/models/update_identity_provider_details.rb +34 -8
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +4 -4
- data/lib/oci/identity/models/update_policy_details.rb +34 -8
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +11 -5
- data/lib/oci/identity/models/update_state_details.rb +4 -4
- data/lib/oci/identity/models/update_swift_password_details.rb +4 -4
- data/lib/oci/identity/models/update_tag_details.rb +157 -0
- data/lib/oci/identity/models/update_tag_namespace_details.rb +157 -0
- data/lib/oci/identity/models/update_user_details.rb +34 -8
- data/lib/oci/identity/models/user.rb +35 -8
- data/lib/oci/identity/models/user_group_membership.rb +4 -4
- data/lib/oci/identity/util.rb +2 -1
- data/lib/oci/internal/internal.rb +1 -1
- data/lib/oci/internal/util.rb +2 -2
- data/lib/oci/load_balancer/load_balancer.rb +1 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +1 -1
- data/lib/oci/load_balancer/models/backend.rb +4 -4
- data/lib/oci/load_balancer/models/backend_details.rb +4 -4
- data/lib/oci/load_balancer/models/backend_health.rb +4 -4
- data/lib/oci/load_balancer/models/backend_set.rb +4 -4
- data/lib/oci/load_balancer/models/backend_set_details.rb +4 -4
- data/lib/oci/load_balancer/models/backend_set_health.rb +4 -4
- data/lib/oci/load_balancer/models/certificate.rb +4 -4
- data/lib/oci/load_balancer/models/certificate_details.rb +4 -4
- data/lib/oci/load_balancer/models/create_backend_details.rb +4 -4
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +4 -4
- data/lib/oci/load_balancer/models/create_certificate_details.rb +4 -4
- data/lib/oci/load_balancer/models/create_listener_details.rb +4 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +4 -4
- data/lib/oci/load_balancer/models/health_check_result.rb +4 -4
- data/lib/oci/load_balancer/models/health_checker.rb +4 -4
- data/lib/oci/load_balancer/models/health_checker_details.rb +4 -4
- data/lib/oci/load_balancer/models/ip_address.rb +4 -4
- data/lib/oci/load_balancer/models/listener.rb +4 -4
- data/lib/oci/load_balancer/models/listener_details.rb +4 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +4 -4
- data/lib/oci/load_balancer/models/load_balancer_health.rb +4 -4
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +4 -4
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +4 -4
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +4 -4
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +4 -4
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +4 -4
- data/lib/oci/load_balancer/models/ssl_configuration.rb +4 -4
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +4 -4
- data/lib/oci/load_balancer/models/update_backend_details.rb +4 -4
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +4 -4
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -4
- data/lib/oci/load_balancer/models/update_listener_details.rb +4 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +4 -4
- data/lib/oci/load_balancer/models/work_request.rb +4 -4
- data/lib/oci/load_balancer/models/work_request_error.rb +4 -4
- data/lib/oci/load_balancer/util.rb +1 -1
- data/lib/oci/object_storage/models/bucket.rb +4 -4
- data/lib/oci/object_storage/models/bucket_summary.rb +4 -4
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +4 -4
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +4 -4
- data/lib/oci/object_storage/models/create_bucket_details.rb +4 -4
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +4 -4
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +4 -4
- data/lib/oci/object_storage/models/list_objects.rb +4 -4
- data/lib/oci/object_storage/models/multipart_upload.rb +4 -4
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +4 -4
- data/lib/oci/object_storage/models/namespace_metadata.rb +4 -4
- data/lib/oci/object_storage/models/object_summary.rb +4 -4
- data/lib/oci/object_storage/models/preauthenticated_request.rb +4 -4
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -4
- data/lib/oci/object_storage/models/rename_object_details.rb +4 -4
- data/lib/oci/object_storage/models/restore_objects_details.rb +4 -4
- data/lib/oci/object_storage/models/update_bucket_details.rb +4 -4
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +4 -4
- data/lib/oci/object_storage/object_storage.rb +1 -1
- data/lib/oci/object_storage/object_storage_client.rb +1 -1
- data/lib/oci/object_storage/util.rb +2 -1
- data/lib/oci/regions.rb +1 -1
- data/lib/oci/response.rb +1 -1
- data/lib/oci/response_headers.rb +1 -1
- data/lib/oci/signer.rb +1 -1
- data/lib/oci/version.rb +2 -2
- data/lib/oci/waiter.rb +21 -5
- data/lib/oraclebmc.rb +1 -1
- metadata +11 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'date'
|
|
4
4
|
require_relative 'update_identity_provider_details'
|
|
@@ -46,6 +46,8 @@ module OCI
|
|
|
46
46
|
self.class == other_object.class &&
|
|
47
47
|
protocol == other_object.protocol &&
|
|
48
48
|
description == other_object.description &&
|
|
49
|
+
freeform_tags == other_object.freeform_tags &&
|
|
50
|
+
defined_tags == other_object.defined_tags &&
|
|
49
51
|
metadata_url == other_object.metadata_url &&
|
|
50
52
|
metadata == other_object.metadata
|
|
51
53
|
end
|
|
@@ -59,7 +61,7 @@ module OCI
|
|
|
59
61
|
# Calculates hash code according to all attributes.
|
|
60
62
|
# @return [Fixnum] Hash code
|
|
61
63
|
def hash
|
|
62
|
-
[protocol, description, metadata_url, metadata].hash
|
|
64
|
+
[protocol, description, freeform_tags, defined_tags, metadata_url, metadata].hash
|
|
63
65
|
end
|
|
64
66
|
|
|
65
67
|
# Builds the object from hash
|
|
@@ -72,10 +74,10 @@ module OCI
|
|
|
72
74
|
# check to ensure the input is an array given that the the attribute
|
|
73
75
|
# is documented as an array but the input is not
|
|
74
76
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
75
|
-
self.
|
|
77
|
+
self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
76
78
|
end
|
|
77
79
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
78
|
-
self.
|
|
80
|
+
self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
79
81
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
80
82
|
end
|
|
81
83
|
|
|
@@ -93,7 +95,7 @@ module OCI
|
|
|
93
95
|
def to_hash
|
|
94
96
|
hash = {}
|
|
95
97
|
self.class.attribute_map.each_pair do |attr, param|
|
|
96
|
-
value =
|
|
98
|
+
value = public_method(attr).call
|
|
97
99
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
98
100
|
hash[param] = _to_hash(value)
|
|
99
101
|
end
|
|
@@ -127,6 +129,8 @@ module OCI
|
|
|
127
129
|
{
|
|
128
130
|
:'protocol' => :'protocol',
|
|
129
131
|
:'description' => :'description',
|
|
132
|
+
:'freeform_tags' => :'freeformTags',
|
|
133
|
+
:'defined_tags' => :'definedTags',
|
|
130
134
|
:'metadata_url' => :'metadataUrl',
|
|
131
135
|
:'metadata' => :'metadata'
|
|
132
136
|
}
|
|
@@ -137,6 +141,8 @@ module OCI
|
|
|
137
141
|
{
|
|
138
142
|
:'protocol' => :'String',
|
|
139
143
|
:'description' => :'String',
|
|
144
|
+
:'freeform_tags' => :'Hash<String, String>',
|
|
145
|
+
:'defined_tags' => :'Hash<String, Hash<String, Object>>',
|
|
140
146
|
:'metadata_url' => :'String',
|
|
141
147
|
:'metadata' => :'String'
|
|
142
148
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
@@ -54,10 +54,10 @@ module OCI
|
|
|
54
54
|
# check to ensure the input is an array given that the the attribute
|
|
55
55
|
# is documented as an array but the input is not
|
|
56
56
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
57
|
-
self.
|
|
57
|
+
self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
58
58
|
end
|
|
59
59
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
60
|
-
self.
|
|
60
|
+
self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
61
61
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
62
62
|
end
|
|
63
63
|
|
|
@@ -75,7 +75,7 @@ module OCI
|
|
|
75
75
|
def to_hash
|
|
76
76
|
hash = {}
|
|
77
77
|
self.class.attribute_map.each_pair do |attr, param|
|
|
78
|
-
value =
|
|
78
|
+
value = public_method(attr).call
|
|
79
79
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
80
80
|
hash[param] = _to_hash(value)
|
|
81
81
|
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
@@ -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_method("#{key}=").call(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_method("#{key}=").call(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_method(attr).call
|
|
78
78
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
79
79
|
hash[param] = _to_hash(value)
|
|
80
80
|
end
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
require 'date'
|
|
4
|
+
|
|
5
|
+
module OCI
|
|
6
|
+
class Identity::Models::UpdateTagDetails
|
|
7
|
+
# The description of the tag.
|
|
8
|
+
# @return [String]
|
|
9
|
+
attr_accessor :description
|
|
10
|
+
|
|
11
|
+
# whether or not the tag is retired
|
|
12
|
+
# @return [BOOLEAN]
|
|
13
|
+
attr_accessor :is_retired
|
|
14
|
+
|
|
15
|
+
# Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
16
|
+
# Example: `{\"bar-key\": \"value\"}`
|
|
17
|
+
#
|
|
18
|
+
# @return [Hash<String, String>]
|
|
19
|
+
attr_accessor :freeform_tags
|
|
20
|
+
|
|
21
|
+
# Usage of predefined tag keys. These predefined keys are scoped to namespaces.
|
|
22
|
+
# Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
|
|
23
|
+
#
|
|
24
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
25
|
+
attr_accessor :defined_tags
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# Initializes the object
|
|
29
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
30
|
+
def initialize(attributes = {})
|
|
31
|
+
return unless attributes.is_a?(Hash)
|
|
32
|
+
|
|
33
|
+
# convert string to symbol for hash key
|
|
34
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
35
|
+
|
|
36
|
+
if attributes[:'description']
|
|
37
|
+
self.description = attributes[:'description']
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
if attributes[:'isRetired']
|
|
41
|
+
self.is_retired = attributes[:'isRetired']
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
if attributes[:'freeformTags']
|
|
45
|
+
self.freeform_tags = attributes[:'freeformTags']
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
if attributes[:'definedTags']
|
|
49
|
+
self.defined_tags = attributes[:'definedTags']
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Checks equality by comparing each attribute.
|
|
55
|
+
# @param [Object] other_object to be compared
|
|
56
|
+
def ==(other_object)
|
|
57
|
+
return true if self.equal?(other_object)
|
|
58
|
+
self.class == other_object.class &&
|
|
59
|
+
description == other_object.description &&
|
|
60
|
+
is_retired == other_object.is_retired &&
|
|
61
|
+
freeform_tags == other_object.freeform_tags &&
|
|
62
|
+
defined_tags == other_object.defined_tags
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# @see the `==` method
|
|
66
|
+
# @param [Object] other_object to be compared
|
|
67
|
+
def eql?(other_object)
|
|
68
|
+
self == other_object
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Calculates hash code according to all attributes.
|
|
72
|
+
# @return [Fixnum] Hash code
|
|
73
|
+
def hash
|
|
74
|
+
[description, is_retired, freeform_tags, defined_tags].hash
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Builds the object from hash
|
|
78
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
79
|
+
# @return [Object] Returns the model itself
|
|
80
|
+
def build_from_hash(attributes)
|
|
81
|
+
return nil unless attributes.is_a?(Hash)
|
|
82
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
83
|
+
if type =~ /^Array<(.*)>/i
|
|
84
|
+
# check to ensure the input is an array given that the the attribute
|
|
85
|
+
# is documented as an array but the input is not
|
|
86
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
87
|
+
self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
88
|
+
end
|
|
89
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
90
|
+
self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
91
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
self
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Returns the string representation of the object
|
|
98
|
+
# @return [String] String presentation of the object
|
|
99
|
+
def to_s
|
|
100
|
+
to_hash.to_s
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Returns the object in the form of hash
|
|
104
|
+
# @return [Hash] Returns the object in the form of hash
|
|
105
|
+
def to_hash
|
|
106
|
+
hash = {}
|
|
107
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
108
|
+
value = public_method(attr).call
|
|
109
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
110
|
+
hash[param] = _to_hash(value)
|
|
111
|
+
end
|
|
112
|
+
hash
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
private
|
|
116
|
+
|
|
117
|
+
# Outputs non-array value in the form of hash
|
|
118
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
119
|
+
# @param [Object] value Any valid value
|
|
120
|
+
# @return [Hash] Returns the value in the form of hash
|
|
121
|
+
def _to_hash(value)
|
|
122
|
+
if value.is_a?(Array)
|
|
123
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
124
|
+
elsif value.is_a?(Hash)
|
|
125
|
+
{}.tap do |hash|
|
|
126
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
127
|
+
end
|
|
128
|
+
elsif value.respond_to? :to_hash
|
|
129
|
+
value.to_hash
|
|
130
|
+
else
|
|
131
|
+
value
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
138
|
+
def self.attribute_map
|
|
139
|
+
{
|
|
140
|
+
:'description' => :'description',
|
|
141
|
+
:'is_retired' => :'isRetired',
|
|
142
|
+
:'freeform_tags' => :'freeformTags',
|
|
143
|
+
:'defined_tags' => :'definedTags'
|
|
144
|
+
}
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Attribute type mapping.
|
|
148
|
+
def self.swagger_types
|
|
149
|
+
{
|
|
150
|
+
:'description' => :'String',
|
|
151
|
+
:'is_retired' => :'BOOLEAN',
|
|
152
|
+
:'freeform_tags' => :'Hash<String, String>',
|
|
153
|
+
:'defined_tags' => :'Hash<String, Hash<String, Object>>'
|
|
154
|
+
}
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
require 'date'
|
|
4
|
+
|
|
5
|
+
module OCI
|
|
6
|
+
class Identity::Models::UpdateTagNamespaceDetails
|
|
7
|
+
# The description of the tagNamespace.
|
|
8
|
+
# @return [String]
|
|
9
|
+
attr_accessor :description
|
|
10
|
+
|
|
11
|
+
# whether or not the tagNamespace is retired
|
|
12
|
+
# @return [BOOLEAN]
|
|
13
|
+
attr_accessor :is_retired
|
|
14
|
+
|
|
15
|
+
# Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
16
|
+
# Example: `{\"bar-key\": \"value\"}`
|
|
17
|
+
#
|
|
18
|
+
# @return [Hash<String, String>]
|
|
19
|
+
attr_accessor :freeform_tags
|
|
20
|
+
|
|
21
|
+
# Usage of predefined tag keys. These predefined keys are scoped to namespaces.
|
|
22
|
+
# Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
|
|
23
|
+
#
|
|
24
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
25
|
+
attr_accessor :defined_tags
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# Initializes the object
|
|
29
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
30
|
+
def initialize(attributes = {})
|
|
31
|
+
return unless attributes.is_a?(Hash)
|
|
32
|
+
|
|
33
|
+
# convert string to symbol for hash key
|
|
34
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
35
|
+
|
|
36
|
+
if attributes[:'description']
|
|
37
|
+
self.description = attributes[:'description']
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
if attributes[:'isRetired']
|
|
41
|
+
self.is_retired = attributes[:'isRetired']
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
if attributes[:'freeformTags']
|
|
45
|
+
self.freeform_tags = attributes[:'freeformTags']
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
if attributes[:'definedTags']
|
|
49
|
+
self.defined_tags = attributes[:'definedTags']
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Checks equality by comparing each attribute.
|
|
55
|
+
# @param [Object] other_object to be compared
|
|
56
|
+
def ==(other_object)
|
|
57
|
+
return true if self.equal?(other_object)
|
|
58
|
+
self.class == other_object.class &&
|
|
59
|
+
description == other_object.description &&
|
|
60
|
+
is_retired == other_object.is_retired &&
|
|
61
|
+
freeform_tags == other_object.freeform_tags &&
|
|
62
|
+
defined_tags == other_object.defined_tags
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# @see the `==` method
|
|
66
|
+
# @param [Object] other_object to be compared
|
|
67
|
+
def eql?(other_object)
|
|
68
|
+
self == other_object
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Calculates hash code according to all attributes.
|
|
72
|
+
# @return [Fixnum] Hash code
|
|
73
|
+
def hash
|
|
74
|
+
[description, is_retired, freeform_tags, defined_tags].hash
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Builds the object from hash
|
|
78
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
79
|
+
# @return [Object] Returns the model itself
|
|
80
|
+
def build_from_hash(attributes)
|
|
81
|
+
return nil unless attributes.is_a?(Hash)
|
|
82
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
83
|
+
if type =~ /^Array<(.*)>/i
|
|
84
|
+
# check to ensure the input is an array given that the the attribute
|
|
85
|
+
# is documented as an array but the input is not
|
|
86
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
87
|
+
self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
88
|
+
end
|
|
89
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
90
|
+
self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
91
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
self
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Returns the string representation of the object
|
|
98
|
+
# @return [String] String presentation of the object
|
|
99
|
+
def to_s
|
|
100
|
+
to_hash.to_s
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Returns the object in the form of hash
|
|
104
|
+
# @return [Hash] Returns the object in the form of hash
|
|
105
|
+
def to_hash
|
|
106
|
+
hash = {}
|
|
107
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
108
|
+
value = public_method(attr).call
|
|
109
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
110
|
+
hash[param] = _to_hash(value)
|
|
111
|
+
end
|
|
112
|
+
hash
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
private
|
|
116
|
+
|
|
117
|
+
# Outputs non-array value in the form of hash
|
|
118
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
119
|
+
# @param [Object] value Any valid value
|
|
120
|
+
# @return [Hash] Returns the value in the form of hash
|
|
121
|
+
def _to_hash(value)
|
|
122
|
+
if value.is_a?(Array)
|
|
123
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
124
|
+
elsif value.is_a?(Hash)
|
|
125
|
+
{}.tap do |hash|
|
|
126
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
127
|
+
end
|
|
128
|
+
elsif value.respond_to? :to_hash
|
|
129
|
+
value.to_hash
|
|
130
|
+
else
|
|
131
|
+
value
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
138
|
+
def self.attribute_map
|
|
139
|
+
{
|
|
140
|
+
:'description' => :'description',
|
|
141
|
+
:'is_retired' => :'isRetired',
|
|
142
|
+
:'freeform_tags' => :'freeformTags',
|
|
143
|
+
:'defined_tags' => :'definedTags'
|
|
144
|
+
}
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Attribute type mapping.
|
|
148
|
+
def self.swagger_types
|
|
149
|
+
{
|
|
150
|
+
:'description' => :'String',
|
|
151
|
+
:'is_retired' => :'BOOLEAN',
|
|
152
|
+
:'freeform_tags' => :'Hash<String, String>',
|
|
153
|
+
:'defined_tags' => :'Hash<String, Hash<String, Object>>'
|
|
154
|
+
}
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
@@ -8,6 +8,18 @@ module OCI
|
|
|
8
8
|
# @return [String]
|
|
9
9
|
attr_accessor :description
|
|
10
10
|
|
|
11
|
+
# Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
12
|
+
# Example: `{\"bar-key\": \"value\"}`
|
|
13
|
+
#
|
|
14
|
+
# @return [Hash<String, String>]
|
|
15
|
+
attr_accessor :freeform_tags
|
|
16
|
+
|
|
17
|
+
# Usage of predefined tag keys. These predefined keys are scoped to namespaces.
|
|
18
|
+
# Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
|
|
19
|
+
#
|
|
20
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
21
|
+
attr_accessor :defined_tags
|
|
22
|
+
|
|
11
23
|
|
|
12
24
|
# Initializes the object
|
|
13
25
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
@@ -21,6 +33,14 @@ module OCI
|
|
|
21
33
|
self.description = attributes[:'description']
|
|
22
34
|
end
|
|
23
35
|
|
|
36
|
+
if attributes[:'freeformTags']
|
|
37
|
+
self.freeform_tags = attributes[:'freeformTags']
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
if attributes[:'definedTags']
|
|
41
|
+
self.defined_tags = attributes[:'definedTags']
|
|
42
|
+
end
|
|
43
|
+
|
|
24
44
|
end
|
|
25
45
|
|
|
26
46
|
# Checks equality by comparing each attribute.
|
|
@@ -28,7 +48,9 @@ module OCI
|
|
|
28
48
|
def ==(other_object)
|
|
29
49
|
return true if self.equal?(other_object)
|
|
30
50
|
self.class == other_object.class &&
|
|
31
|
-
description == other_object.description
|
|
51
|
+
description == other_object.description &&
|
|
52
|
+
freeform_tags == other_object.freeform_tags &&
|
|
53
|
+
defined_tags == other_object.defined_tags
|
|
32
54
|
end
|
|
33
55
|
|
|
34
56
|
# @see the `==` method
|
|
@@ -40,7 +62,7 @@ module OCI
|
|
|
40
62
|
# Calculates hash code according to all attributes.
|
|
41
63
|
# @return [Fixnum] Hash code
|
|
42
64
|
def hash
|
|
43
|
-
[description].hash
|
|
65
|
+
[description, freeform_tags, defined_tags].hash
|
|
44
66
|
end
|
|
45
67
|
|
|
46
68
|
# Builds the object from hash
|
|
@@ -53,10 +75,10 @@ module OCI
|
|
|
53
75
|
# check to ensure the input is an array given that the the attribute
|
|
54
76
|
# is documented as an array but the input is not
|
|
55
77
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
56
|
-
self.
|
|
78
|
+
self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
|
57
79
|
end
|
|
58
80
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
59
|
-
self.
|
|
81
|
+
self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
|
60
82
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
61
83
|
end
|
|
62
84
|
|
|
@@ -74,7 +96,7 @@ module OCI
|
|
|
74
96
|
def to_hash
|
|
75
97
|
hash = {}
|
|
76
98
|
self.class.attribute_map.each_pair do |attr, param|
|
|
77
|
-
value =
|
|
99
|
+
value = public_method(attr).call
|
|
78
100
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
79
101
|
hash[param] = _to_hash(value)
|
|
80
102
|
end
|
|
@@ -106,14 +128,18 @@ module OCI
|
|
|
106
128
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
107
129
|
def self.attribute_map
|
|
108
130
|
{
|
|
109
|
-
:'description' => :'description'
|
|
131
|
+
:'description' => :'description',
|
|
132
|
+
:'freeform_tags' => :'freeformTags',
|
|
133
|
+
:'defined_tags' => :'definedTags'
|
|
110
134
|
}
|
|
111
135
|
end
|
|
112
136
|
|
|
113
137
|
# Attribute type mapping.
|
|
114
138
|
def self.swagger_types
|
|
115
139
|
{
|
|
116
|
-
:'description' => :'String'
|
|
140
|
+
:'description' => :'String',
|
|
141
|
+
:'freeform_tags' => :'Hash<String, String>',
|
|
142
|
+
:'defined_tags' => :'Hash<String, Hash<String, Object>>'
|
|
117
143
|
}
|
|
118
144
|
end
|
|
119
145
|
end
|