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
|
@@ -54,13 +54,13 @@ module OCI
|
|
|
54
54
|
# Initializes the object
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
56
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
57
|
-
# @option attributes [String] :
|
|
57
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
58
58
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
59
59
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
60
|
-
# @option attributes [Hash<String, String>] :
|
|
61
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
62
|
-
# @option attributes [BOOLEAN] :
|
|
63
|
-
# @option attributes [DateTime] :
|
|
60
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
61
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
62
|
+
# @option attributes [BOOLEAN] :is_retired The value to assign to the {#is_retired} property
|
|
63
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
64
64
|
def initialize(attributes = {})
|
|
65
65
|
return unless attributes.is_a?(Hash)
|
|
66
66
|
|
|
@@ -75,6 +75,12 @@ module OCI
|
|
|
75
75
|
self.compartment_id = attributes[:'compartmentId']
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
79
|
+
|
|
80
|
+
if attributes[:'compartment_id']
|
|
81
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
82
|
+
end
|
|
83
|
+
|
|
78
84
|
if attributes[:'name']
|
|
79
85
|
self.name = attributes[:'name']
|
|
80
86
|
end
|
|
@@ -87,18 +93,42 @@ module OCI
|
|
|
87
93
|
self.freeform_tags = attributes[:'freeformTags']
|
|
88
94
|
end
|
|
89
95
|
|
|
96
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
97
|
+
|
|
98
|
+
if attributes[:'freeform_tags']
|
|
99
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
100
|
+
end
|
|
101
|
+
|
|
90
102
|
if attributes[:'definedTags']
|
|
91
103
|
self.defined_tags = attributes[:'definedTags']
|
|
92
104
|
end
|
|
93
105
|
|
|
106
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
107
|
+
|
|
108
|
+
if attributes[:'defined_tags']
|
|
109
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
110
|
+
end
|
|
111
|
+
|
|
94
112
|
unless attributes[:'isRetired'].nil?
|
|
95
113
|
self.is_retired = attributes[:'isRetired']
|
|
96
114
|
end
|
|
97
115
|
|
|
116
|
+
raise 'You cannot provide both :isRetired and :is_retired' if attributes.key?(:'isRetired') && attributes.key?(:'is_retired')
|
|
117
|
+
|
|
118
|
+
unless attributes[:'is_retired'].nil?
|
|
119
|
+
self.is_retired = attributes[:'is_retired']
|
|
120
|
+
end
|
|
121
|
+
|
|
98
122
|
if attributes[:'timeCreated']
|
|
99
123
|
self.time_created = attributes[:'timeCreated']
|
|
100
124
|
end
|
|
101
125
|
|
|
126
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
127
|
+
|
|
128
|
+
if attributes[:'time_created']
|
|
129
|
+
self.time_created = attributes[:'time_created']
|
|
130
|
+
end
|
|
131
|
+
|
|
102
132
|
end
|
|
103
133
|
|
|
104
134
|
# Checks equality by comparing each attribute.
|
|
@@ -53,13 +53,13 @@ module OCI
|
|
|
53
53
|
# Initializes the object
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
55
55
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
56
|
-
# @option attributes [String] :
|
|
56
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
57
57
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
58
58
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
59
|
-
# @option attributes [Hash<String, String>] :
|
|
60
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
61
|
-
# @option attributes [BOOLEAN] :
|
|
62
|
-
# @option attributes [DateTime] :
|
|
59
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
61
|
+
# @option attributes [BOOLEAN] :is_retired The value to assign to the {#is_retired} property
|
|
62
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
63
63
|
def initialize(attributes = {})
|
|
64
64
|
return unless attributes.is_a?(Hash)
|
|
65
65
|
|
|
@@ -74,6 +74,12 @@ module OCI
|
|
|
74
74
|
self.compartment_id = attributes[:'compartmentId']
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
78
|
+
|
|
79
|
+
if attributes[:'compartment_id']
|
|
80
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
81
|
+
end
|
|
82
|
+
|
|
77
83
|
if attributes[:'name']
|
|
78
84
|
self.name = attributes[:'name']
|
|
79
85
|
end
|
|
@@ -86,18 +92,42 @@ module OCI
|
|
|
86
92
|
self.freeform_tags = attributes[:'freeformTags']
|
|
87
93
|
end
|
|
88
94
|
|
|
95
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
96
|
+
|
|
97
|
+
if attributes[:'freeform_tags']
|
|
98
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
99
|
+
end
|
|
100
|
+
|
|
89
101
|
if attributes[:'definedTags']
|
|
90
102
|
self.defined_tags = attributes[:'definedTags']
|
|
91
103
|
end
|
|
92
104
|
|
|
105
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
106
|
+
|
|
107
|
+
if attributes[:'defined_tags']
|
|
108
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
109
|
+
end
|
|
110
|
+
|
|
93
111
|
unless attributes[:'isRetired'].nil?
|
|
94
112
|
self.is_retired = attributes[:'isRetired']
|
|
95
113
|
end
|
|
96
114
|
|
|
115
|
+
raise 'You cannot provide both :isRetired and :is_retired' if attributes.key?(:'isRetired') && attributes.key?(:'is_retired')
|
|
116
|
+
|
|
117
|
+
unless attributes[:'is_retired'].nil?
|
|
118
|
+
self.is_retired = attributes[:'is_retired']
|
|
119
|
+
end
|
|
120
|
+
|
|
97
121
|
if attributes[:'timeCreated']
|
|
98
122
|
self.time_created = attributes[:'timeCreated']
|
|
99
123
|
end
|
|
100
124
|
|
|
125
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
126
|
+
|
|
127
|
+
if attributes[:'time_created']
|
|
128
|
+
self.time_created = attributes[:'time_created']
|
|
129
|
+
end
|
|
130
|
+
|
|
101
131
|
end
|
|
102
132
|
|
|
103
133
|
# Checks equality by comparing each attribute.
|
|
@@ -52,14 +52,14 @@ module OCI
|
|
|
52
52
|
|
|
53
53
|
# Initializes the object
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
55
|
-
# @option attributes [String] :
|
|
55
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
56
56
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
57
57
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
58
58
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
59
|
-
# @option attributes [Hash<String, String>] :
|
|
60
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
61
|
-
# @option attributes [BOOLEAN] :
|
|
62
|
-
# @option attributes [DateTime] :
|
|
59
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
61
|
+
# @option attributes [BOOLEAN] :is_retired The value to assign to the {#is_retired} property
|
|
62
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
63
63
|
def initialize(attributes = {})
|
|
64
64
|
return unless attributes.is_a?(Hash)
|
|
65
65
|
|
|
@@ -70,6 +70,12 @@ module OCI
|
|
|
70
70
|
self.compartment_id = attributes[:'compartmentId']
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
74
|
+
|
|
75
|
+
if attributes[:'compartment_id']
|
|
76
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
77
|
+
end
|
|
78
|
+
|
|
73
79
|
if attributes[:'id']
|
|
74
80
|
self.id = attributes[:'id']
|
|
75
81
|
end
|
|
@@ -86,18 +92,42 @@ module OCI
|
|
|
86
92
|
self.freeform_tags = attributes[:'freeformTags']
|
|
87
93
|
end
|
|
88
94
|
|
|
95
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
96
|
+
|
|
97
|
+
if attributes[:'freeform_tags']
|
|
98
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
99
|
+
end
|
|
100
|
+
|
|
89
101
|
if attributes[:'definedTags']
|
|
90
102
|
self.defined_tags = attributes[:'definedTags']
|
|
91
103
|
end
|
|
92
104
|
|
|
105
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
106
|
+
|
|
107
|
+
if attributes[:'defined_tags']
|
|
108
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
109
|
+
end
|
|
110
|
+
|
|
93
111
|
unless attributes[:'isRetired'].nil?
|
|
94
112
|
self.is_retired = attributes[:'isRetired']
|
|
95
113
|
end
|
|
96
114
|
|
|
115
|
+
raise 'You cannot provide both :isRetired and :is_retired' if attributes.key?(:'isRetired') && attributes.key?(:'is_retired')
|
|
116
|
+
|
|
117
|
+
unless attributes[:'is_retired'].nil?
|
|
118
|
+
self.is_retired = attributes[:'is_retired']
|
|
119
|
+
end
|
|
120
|
+
|
|
97
121
|
if attributes[:'timeCreated']
|
|
98
122
|
self.time_created = attributes[:'timeCreated']
|
|
99
123
|
end
|
|
100
124
|
|
|
125
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
126
|
+
|
|
127
|
+
if attributes[:'time_created']
|
|
128
|
+
self.time_created = attributes[:'time_created']
|
|
129
|
+
end
|
|
130
|
+
|
|
101
131
|
end
|
|
102
132
|
|
|
103
133
|
# Checks equality by comparing each attribute.
|
|
@@ -55,9 +55,9 @@ module OCI
|
|
|
55
55
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
56
56
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
57
57
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
58
|
-
# @option attributes [String] :
|
|
59
|
-
# @option attributes [Hash<String, String>] :
|
|
60
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
58
|
+
# @option attributes [String] :home_region_key The value to assign to the {#home_region_key} property
|
|
59
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
61
61
|
def initialize(attributes = {})
|
|
62
62
|
return unless attributes.is_a?(Hash)
|
|
63
63
|
|
|
@@ -80,14 +80,32 @@ module OCI
|
|
|
80
80
|
self.home_region_key = attributes[:'homeRegionKey']
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
raise 'You cannot provide both :homeRegionKey and :home_region_key' if attributes.key?(:'homeRegionKey') && attributes.key?(:'home_region_key')
|
|
84
|
+
|
|
85
|
+
if attributes[:'home_region_key']
|
|
86
|
+
self.home_region_key = attributes[:'home_region_key']
|
|
87
|
+
end
|
|
88
|
+
|
|
83
89
|
if attributes[:'freeformTags']
|
|
84
90
|
self.freeform_tags = attributes[:'freeformTags']
|
|
85
91
|
end
|
|
86
92
|
|
|
93
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
94
|
+
|
|
95
|
+
if attributes[:'freeform_tags']
|
|
96
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
97
|
+
end
|
|
98
|
+
|
|
87
99
|
if attributes[:'definedTags']
|
|
88
100
|
self.defined_tags = attributes[:'definedTags']
|
|
89
101
|
end
|
|
90
102
|
|
|
103
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
104
|
+
|
|
105
|
+
if attributes[:'defined_tags']
|
|
106
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
107
|
+
end
|
|
108
|
+
|
|
91
109
|
end
|
|
92
110
|
|
|
93
111
|
# Checks equality by comparing each attribute.
|
|
@@ -46,10 +46,10 @@ module OCI
|
|
|
46
46
|
# Initializes the object
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
48
48
|
# @option attributes [String] :password The value to assign to the {#password} property
|
|
49
|
-
# @option attributes [String] :
|
|
50
|
-
# @option attributes [DateTime] :
|
|
51
|
-
# @option attributes [String] :
|
|
52
|
-
# @option attributes [Integer] :
|
|
49
|
+
# @option attributes [String] :user_id The value to assign to the {#user_id} property
|
|
50
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
51
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
52
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
|
53
53
|
def initialize(attributes = {})
|
|
54
54
|
return unless attributes.is_a?(Hash)
|
|
55
55
|
|
|
@@ -64,18 +64,42 @@ module OCI
|
|
|
64
64
|
self.user_id = attributes[:'userId']
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id')
|
|
68
|
+
|
|
69
|
+
if attributes[:'user_id']
|
|
70
|
+
self.user_id = attributes[:'user_id']
|
|
71
|
+
end
|
|
72
|
+
|
|
67
73
|
if attributes[:'timeCreated']
|
|
68
74
|
self.time_created = attributes[:'timeCreated']
|
|
69
75
|
end
|
|
70
76
|
|
|
77
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
78
|
+
|
|
79
|
+
if attributes[:'time_created']
|
|
80
|
+
self.time_created = attributes[:'time_created']
|
|
81
|
+
end
|
|
82
|
+
|
|
71
83
|
if attributes[:'lifecycleState']
|
|
72
84
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
73
85
|
end
|
|
74
86
|
|
|
87
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
88
|
+
|
|
89
|
+
if attributes[:'lifecycle_state']
|
|
90
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
91
|
+
end
|
|
92
|
+
|
|
75
93
|
if attributes[:'inactiveStatus']
|
|
76
94
|
self.inactive_status = attributes[:'inactiveStatus']
|
|
77
95
|
end
|
|
78
96
|
|
|
97
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
|
98
|
+
|
|
99
|
+
if attributes[:'inactive_status']
|
|
100
|
+
self.inactive_status = attributes[:'inactive_status']
|
|
101
|
+
end
|
|
102
|
+
|
|
79
103
|
end
|
|
80
104
|
|
|
81
105
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -32,8 +32,8 @@ module OCI
|
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
33
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
34
34
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
35
|
-
# @option attributes [Hash<String, String>] :
|
|
36
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
36
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
37
37
|
def initialize(attributes = {})
|
|
38
38
|
return unless attributes.is_a?(Hash)
|
|
39
39
|
|
|
@@ -52,10 +52,22 @@ module OCI
|
|
|
52
52
|
self.freeform_tags = attributes[:'freeformTags']
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
56
|
+
|
|
57
|
+
if attributes[:'freeform_tags']
|
|
58
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
59
|
+
end
|
|
60
|
+
|
|
55
61
|
if attributes[:'definedTags']
|
|
56
62
|
self.defined_tags = attributes[:'definedTags']
|
|
57
63
|
end
|
|
58
64
|
|
|
65
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
66
|
+
|
|
67
|
+
if attributes[:'defined_tags']
|
|
68
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
69
|
+
end
|
|
70
|
+
|
|
59
71
|
end
|
|
60
72
|
|
|
61
73
|
# Checks equality by comparing each attribute.
|
|
@@ -11,7 +11,7 @@ module OCI
|
|
|
11
11
|
|
|
12
12
|
# Initializes the object
|
|
13
13
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
14
|
-
# @option attributes [String] :
|
|
14
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
15
15
|
def initialize(attributes = {})
|
|
16
16
|
return unless attributes.is_a?(Hash)
|
|
17
17
|
|
|
@@ -22,6 +22,12 @@ module OCI
|
|
|
22
22
|
self.display_name = attributes[:'displayName']
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
26
|
+
|
|
27
|
+
if attributes[:'display_name']
|
|
28
|
+
self.display_name = attributes[:'display_name']
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
end
|
|
26
32
|
|
|
27
33
|
# Checks equality by comparing each attribute.
|
|
@@ -19,7 +19,7 @@ module OCI
|
|
|
19
19
|
# Initializes the object
|
|
20
20
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
21
21
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
22
|
-
# @option attributes [String] :
|
|
22
|
+
# @option attributes [String] :matching_rule The value to assign to the {#matching_rule} property
|
|
23
23
|
def initialize(attributes = {})
|
|
24
24
|
return unless attributes.is_a?(Hash)
|
|
25
25
|
|
|
@@ -34,6 +34,12 @@ module OCI
|
|
|
34
34
|
self.matching_rule = attributes[:'matchingRule']
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
raise 'You cannot provide both :matchingRule and :matching_rule' if attributes.key?(:'matchingRule') && attributes.key?(:'matching_rule')
|
|
38
|
+
|
|
39
|
+
if attributes[:'matching_rule']
|
|
40
|
+
self.matching_rule = attributes[:'matching_rule']
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
end
|
|
38
44
|
|
|
39
45
|
# Checks equality by comparing each attribute.
|
|
@@ -26,8 +26,8 @@ module OCI
|
|
|
26
26
|
# Initializes the object
|
|
27
27
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
28
28
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
29
|
-
# @option attributes [Hash<String, String>] :
|
|
30
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
29
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
30
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
31
31
|
def initialize(attributes = {})
|
|
32
32
|
return unless attributes.is_a?(Hash)
|
|
33
33
|
|
|
@@ -42,10 +42,22 @@ module OCI
|
|
|
42
42
|
self.freeform_tags = attributes[:'freeformTags']
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
46
|
+
|
|
47
|
+
if attributes[:'freeform_tags']
|
|
48
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
49
|
+
end
|
|
50
|
+
|
|
45
51
|
if attributes[:'definedTags']
|
|
46
52
|
self.defined_tags = attributes[:'definedTags']
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
56
|
+
|
|
57
|
+
if attributes[:'defined_tags']
|
|
58
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
end
|
|
50
62
|
|
|
51
63
|
# Checks equality by comparing each attribute.
|
|
@@ -51,8 +51,8 @@ module OCI
|
|
|
51
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
52
|
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
|
53
53
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
54
|
-
# @option attributes [Hash<String, String>] :
|
|
55
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
54
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
55
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
56
56
|
def initialize(attributes = {})
|
|
57
57
|
return unless attributes.is_a?(Hash)
|
|
58
58
|
|
|
@@ -71,10 +71,22 @@ module OCI
|
|
|
71
71
|
self.freeform_tags = attributes[:'freeformTags']
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
75
|
+
|
|
76
|
+
if attributes[:'freeform_tags']
|
|
77
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
78
|
+
end
|
|
79
|
+
|
|
74
80
|
if attributes[:'definedTags']
|
|
75
81
|
self.defined_tags = attributes[:'definedTags']
|
|
76
82
|
end
|
|
77
83
|
|
|
84
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
85
|
+
|
|
86
|
+
if attributes[:'defined_tags']
|
|
87
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
88
|
+
end
|
|
89
|
+
|
|
78
90
|
end
|
|
79
91
|
|
|
80
92
|
# Custom attribute writer method checking allowed values (enum).
|