oci 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -35,11 +35,11 @@ module OCI
|
|
35
35
|
|
36
36
|
# Initializes the object
|
37
37
|
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
-
# @option attributes [String] :
|
38
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
39
39
|
# @option attributes [String] :name The value to assign to the {#name} property
|
40
40
|
# @option attributes [String] :description The value to assign to the {#description} property
|
41
|
-
# @option attributes [Hash<String, String>] :
|
42
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
41
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
42
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
43
43
|
def initialize(attributes = {})
|
44
44
|
return unless attributes.is_a?(Hash)
|
45
45
|
|
@@ -50,6 +50,12 @@ module OCI
|
|
50
50
|
self.compartment_id = attributes[:'compartmentId']
|
51
51
|
end
|
52
52
|
|
53
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
54
|
+
|
55
|
+
if attributes[:'compartment_id']
|
56
|
+
self.compartment_id = attributes[:'compartment_id']
|
57
|
+
end
|
58
|
+
|
53
59
|
if attributes[:'name']
|
54
60
|
self.name = attributes[:'name']
|
55
61
|
end
|
@@ -62,10 +68,22 @@ module OCI
|
|
62
68
|
self.freeform_tags = attributes[:'freeformTags']
|
63
69
|
end
|
64
70
|
|
71
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
72
|
+
|
73
|
+
if attributes[:'freeform_tags']
|
74
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
75
|
+
end
|
76
|
+
|
65
77
|
if attributes[:'definedTags']
|
66
78
|
self.defined_tags = attributes[:'definedTags']
|
67
79
|
end
|
68
80
|
|
81
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
82
|
+
|
83
|
+
if attributes[:'defined_tags']
|
84
|
+
self.defined_tags = attributes[:'defined_tags']
|
85
|
+
end
|
86
|
+
|
69
87
|
end
|
70
88
|
|
71
89
|
# Checks equality by comparing each attribute.
|
@@ -67,12 +67,12 @@ module OCI
|
|
67
67
|
# @param [Hash] attributes Model attributes in the form of hash
|
68
68
|
# @option attributes [String] :key The value to assign to the {#key} property
|
69
69
|
# @option attributes [String] :id The value to assign to the {#id} property
|
70
|
-
# @option attributes [String] :
|
71
|
-
# @option attributes [String] :
|
72
|
-
# @option attributes [DateTime] :
|
73
|
-
# @option attributes [DateTime] :
|
74
|
-
# @option attributes [String] :
|
75
|
-
# @option attributes [Integer] :
|
70
|
+
# @option attributes [String] :user_id The value to assign to the {#user_id} property
|
71
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
72
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
73
|
+
# @option attributes [DateTime] :time_expires The value to assign to the {#time_expires} property
|
74
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
75
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
76
76
|
def initialize(attributes = {})
|
77
77
|
return unless attributes.is_a?(Hash)
|
78
78
|
|
@@ -91,26 +91,62 @@ module OCI
|
|
91
91
|
self.user_id = attributes[:'userId']
|
92
92
|
end
|
93
93
|
|
94
|
+
raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id')
|
95
|
+
|
96
|
+
if attributes[:'user_id']
|
97
|
+
self.user_id = attributes[:'user_id']
|
98
|
+
end
|
99
|
+
|
94
100
|
if attributes[:'displayName']
|
95
101
|
self.display_name = attributes[:'displayName']
|
96
102
|
end
|
97
103
|
|
104
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
105
|
+
|
106
|
+
if attributes[:'display_name']
|
107
|
+
self.display_name = attributes[:'display_name']
|
108
|
+
end
|
109
|
+
|
98
110
|
if attributes[:'timeCreated']
|
99
111
|
self.time_created = attributes[:'timeCreated']
|
100
112
|
end
|
101
113
|
|
114
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
115
|
+
|
116
|
+
if attributes[:'time_created']
|
117
|
+
self.time_created = attributes[:'time_created']
|
118
|
+
end
|
119
|
+
|
102
120
|
if attributes[:'timeExpires']
|
103
121
|
self.time_expires = attributes[:'timeExpires']
|
104
122
|
end
|
105
123
|
|
124
|
+
raise 'You cannot provide both :timeExpires and :time_expires' if attributes.key?(:'timeExpires') && attributes.key?(:'time_expires')
|
125
|
+
|
126
|
+
if attributes[:'time_expires']
|
127
|
+
self.time_expires = attributes[:'time_expires']
|
128
|
+
end
|
129
|
+
|
106
130
|
if attributes[:'lifecycleState']
|
107
131
|
self.lifecycle_state = attributes[:'lifecycleState']
|
108
132
|
end
|
109
133
|
|
134
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
135
|
+
|
136
|
+
if attributes[:'lifecycle_state']
|
137
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
138
|
+
end
|
139
|
+
|
110
140
|
if attributes[:'inactiveStatus']
|
111
141
|
self.inactive_status = attributes[:'inactiveStatus']
|
112
142
|
end
|
113
143
|
|
144
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
145
|
+
|
146
|
+
if attributes[:'inactive_status']
|
147
|
+
self.inactive_status = attributes[:'inactive_status']
|
148
|
+
end
|
149
|
+
|
114
150
|
end
|
115
151
|
|
116
152
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -56,12 +56,12 @@ module OCI
|
|
56
56
|
# Initializes the object
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
58
58
|
# @option attributes [String] :id The value to assign to the {#id} property
|
59
|
-
# @option attributes [String] :
|
60
|
-
# @option attributes [String] :
|
61
|
-
# @option attributes [DateTime] :
|
62
|
-
# @option attributes [DateTime] :
|
63
|
-
# @option attributes [String] :
|
64
|
-
# @option attributes [Integer] :
|
59
|
+
# @option attributes [String] :user_id The value to assign to the {#user_id} property
|
60
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
61
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
62
|
+
# @option attributes [DateTime] :time_expires The value to assign to the {#time_expires} property
|
63
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
64
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
65
65
|
def initialize(attributes = {})
|
66
66
|
return unless attributes.is_a?(Hash)
|
67
67
|
|
@@ -76,26 +76,62 @@ module OCI
|
|
76
76
|
self.user_id = attributes[:'userId']
|
77
77
|
end
|
78
78
|
|
79
|
+
raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id')
|
80
|
+
|
81
|
+
if attributes[:'user_id']
|
82
|
+
self.user_id = attributes[:'user_id']
|
83
|
+
end
|
84
|
+
|
79
85
|
if attributes[:'displayName']
|
80
86
|
self.display_name = attributes[:'displayName']
|
81
87
|
end
|
82
88
|
|
89
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
90
|
+
|
91
|
+
if attributes[:'display_name']
|
92
|
+
self.display_name = attributes[:'display_name']
|
93
|
+
end
|
94
|
+
|
83
95
|
if attributes[:'timeCreated']
|
84
96
|
self.time_created = attributes[:'timeCreated']
|
85
97
|
end
|
86
98
|
|
99
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
100
|
+
|
101
|
+
if attributes[:'time_created']
|
102
|
+
self.time_created = attributes[:'time_created']
|
103
|
+
end
|
104
|
+
|
87
105
|
if attributes[:'timeExpires']
|
88
106
|
self.time_expires = attributes[:'timeExpires']
|
89
107
|
end
|
90
108
|
|
109
|
+
raise 'You cannot provide both :timeExpires and :time_expires' if attributes.key?(:'timeExpires') && attributes.key?(:'time_expires')
|
110
|
+
|
111
|
+
if attributes[:'time_expires']
|
112
|
+
self.time_expires = attributes[:'time_expires']
|
113
|
+
end
|
114
|
+
|
91
115
|
if attributes[:'lifecycleState']
|
92
116
|
self.lifecycle_state = attributes[:'lifecycleState']
|
93
117
|
end
|
94
118
|
|
119
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
120
|
+
|
121
|
+
if attributes[:'lifecycle_state']
|
122
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
123
|
+
end
|
124
|
+
|
95
125
|
if attributes[:'inactiveStatus']
|
96
126
|
self.inactive_status = attributes[:'inactiveStatus']
|
97
127
|
end
|
98
128
|
|
129
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
130
|
+
|
131
|
+
if attributes[:'inactive_status']
|
132
|
+
self.inactive_status = attributes[:'inactive_status']
|
133
|
+
end
|
134
|
+
|
99
135
|
end
|
100
136
|
|
101
137
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -67,13 +67,13 @@ module OCI
|
|
67
67
|
# Initializes the object
|
68
68
|
# @param [Hash] attributes Model attributes in the form of hash
|
69
69
|
# @option attributes [String] :id The value to assign to the {#id} property
|
70
|
-
# @option attributes [String] :
|
70
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
71
71
|
# @option attributes [String] :name The value to assign to the {#name} property
|
72
72
|
# @option attributes [String] :description The value to assign to the {#description} property
|
73
|
-
# @option attributes [String] :
|
74
|
-
# @option attributes [DateTime] :
|
75
|
-
# @option attributes [String] :
|
76
|
-
# @option attributes [Integer] :
|
73
|
+
# @option attributes [String] :matching_rule The value to assign to the {#matching_rule} property
|
74
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
75
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
76
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
77
77
|
def initialize(attributes = {})
|
78
78
|
return unless attributes.is_a?(Hash)
|
79
79
|
|
@@ -88,6 +88,12 @@ module OCI
|
|
88
88
|
self.compartment_id = attributes[:'compartmentId']
|
89
89
|
end
|
90
90
|
|
91
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
92
|
+
|
93
|
+
if attributes[:'compartment_id']
|
94
|
+
self.compartment_id = attributes[:'compartment_id']
|
95
|
+
end
|
96
|
+
|
91
97
|
if attributes[:'name']
|
92
98
|
self.name = attributes[:'name']
|
93
99
|
end
|
@@ -100,18 +106,42 @@ module OCI
|
|
100
106
|
self.matching_rule = attributes[:'matchingRule']
|
101
107
|
end
|
102
108
|
|
109
|
+
raise 'You cannot provide both :matchingRule and :matching_rule' if attributes.key?(:'matchingRule') && attributes.key?(:'matching_rule')
|
110
|
+
|
111
|
+
if attributes[:'matching_rule']
|
112
|
+
self.matching_rule = attributes[:'matching_rule']
|
113
|
+
end
|
114
|
+
|
103
115
|
if attributes[:'timeCreated']
|
104
116
|
self.time_created = attributes[:'timeCreated']
|
105
117
|
end
|
106
118
|
|
119
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
120
|
+
|
121
|
+
if attributes[:'time_created']
|
122
|
+
self.time_created = attributes[:'time_created']
|
123
|
+
end
|
124
|
+
|
107
125
|
if attributes[:'lifecycleState']
|
108
126
|
self.lifecycle_state = attributes[:'lifecycleState']
|
109
127
|
end
|
110
128
|
|
129
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
130
|
+
|
131
|
+
if attributes[:'lifecycle_state']
|
132
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
133
|
+
end
|
134
|
+
|
111
135
|
if attributes[:'inactiveStatus']
|
112
136
|
self.inactive_status = attributes[:'inactiveStatus']
|
113
137
|
end
|
114
138
|
|
139
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
140
|
+
|
141
|
+
if attributes[:'inactive_status']
|
142
|
+
self.inactive_status = attributes[:'inactive_status']
|
143
|
+
end
|
144
|
+
|
115
145
|
end
|
116
146
|
|
117
147
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -79,14 +79,14 @@ module OCI
|
|
79
79
|
# Initializes the object
|
80
80
|
# @param [Hash] attributes Model attributes in the form of hash
|
81
81
|
# @option attributes [String] :id The value to assign to the {#id} property
|
82
|
-
# @option attributes [String] :
|
82
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
83
83
|
# @option attributes [String] :name The value to assign to the {#name} property
|
84
84
|
# @option attributes [String] :description The value to assign to the {#description} property
|
85
|
-
# @option attributes [DateTime] :
|
86
|
-
# @option attributes [String] :
|
87
|
-
# @option attributes [Integer] :
|
88
|
-
# @option attributes [Hash<String, String>] :
|
89
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
85
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
86
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
87
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
88
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
89
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
90
90
|
def initialize(attributes = {})
|
91
91
|
return unless attributes.is_a?(Hash)
|
92
92
|
|
@@ -101,6 +101,12 @@ module OCI
|
|
101
101
|
self.compartment_id = attributes[:'compartmentId']
|
102
102
|
end
|
103
103
|
|
104
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
105
|
+
|
106
|
+
if attributes[:'compartment_id']
|
107
|
+
self.compartment_id = attributes[:'compartment_id']
|
108
|
+
end
|
109
|
+
|
104
110
|
if attributes[:'name']
|
105
111
|
self.name = attributes[:'name']
|
106
112
|
end
|
@@ -113,22 +119,52 @@ module OCI
|
|
113
119
|
self.time_created = attributes[:'timeCreated']
|
114
120
|
end
|
115
121
|
|
122
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
123
|
+
|
124
|
+
if attributes[:'time_created']
|
125
|
+
self.time_created = attributes[:'time_created']
|
126
|
+
end
|
127
|
+
|
116
128
|
if attributes[:'lifecycleState']
|
117
129
|
self.lifecycle_state = attributes[:'lifecycleState']
|
118
130
|
end
|
119
131
|
|
132
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
133
|
+
|
134
|
+
if attributes[:'lifecycle_state']
|
135
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
136
|
+
end
|
137
|
+
|
120
138
|
if attributes[:'inactiveStatus']
|
121
139
|
self.inactive_status = attributes[:'inactiveStatus']
|
122
140
|
end
|
123
141
|
|
142
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
143
|
+
|
144
|
+
if attributes[:'inactive_status']
|
145
|
+
self.inactive_status = attributes[:'inactive_status']
|
146
|
+
end
|
147
|
+
|
124
148
|
if attributes[:'freeformTags']
|
125
149
|
self.freeform_tags = attributes[:'freeformTags']
|
126
150
|
end
|
127
151
|
|
152
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
153
|
+
|
154
|
+
if attributes[:'freeform_tags']
|
155
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
156
|
+
end
|
157
|
+
|
128
158
|
if attributes[:'definedTags']
|
129
159
|
self.defined_tags = attributes[:'definedTags']
|
130
160
|
end
|
131
161
|
|
162
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
163
|
+
|
164
|
+
if attributes[:'defined_tags']
|
165
|
+
self.defined_tags = attributes[:'defined_tags']
|
166
|
+
end
|
167
|
+
|
132
168
|
end
|
133
169
|
|
134
170
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -112,16 +112,16 @@ module OCI
|
|
112
112
|
# Initializes the object
|
113
113
|
# @param [Hash] attributes Model attributes in the form of hash
|
114
114
|
# @option attributes [String] :id The value to assign to the {#id} property
|
115
|
-
# @option attributes [String] :
|
115
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
116
116
|
# @option attributes [String] :name The value to assign to the {#name} property
|
117
117
|
# @option attributes [String] :description The value to assign to the {#description} property
|
118
|
-
# @option attributes [String] :
|
119
|
-
# @option attributes [DateTime] :
|
120
|
-
# @option attributes [String] :
|
121
|
-
# @option attributes [Integer] :
|
118
|
+
# @option attributes [String] :product_type The value to assign to the {#product_type} property
|
119
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
120
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
121
|
+
# @option attributes [Integer] :inactive_status The value to assign to the {#inactive_status} property
|
122
122
|
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
123
|
-
# @option attributes [Hash<String, String>] :
|
124
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
123
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
124
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
125
125
|
def initialize(attributes = {})
|
126
126
|
return unless attributes.is_a?(Hash)
|
127
127
|
|
@@ -136,6 +136,12 @@ module OCI
|
|
136
136
|
self.compartment_id = attributes[:'compartmentId']
|
137
137
|
end
|
138
138
|
|
139
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
140
|
+
|
141
|
+
if attributes[:'compartment_id']
|
142
|
+
self.compartment_id = attributes[:'compartment_id']
|
143
|
+
end
|
144
|
+
|
139
145
|
if attributes[:'name']
|
140
146
|
self.name = attributes[:'name']
|
141
147
|
end
|
@@ -148,18 +154,42 @@ module OCI
|
|
148
154
|
self.product_type = attributes[:'productType']
|
149
155
|
end
|
150
156
|
|
157
|
+
raise 'You cannot provide both :productType and :product_type' if attributes.key?(:'productType') && attributes.key?(:'product_type')
|
158
|
+
|
159
|
+
if attributes[:'product_type']
|
160
|
+
self.product_type = attributes[:'product_type']
|
161
|
+
end
|
162
|
+
|
151
163
|
if attributes[:'timeCreated']
|
152
164
|
self.time_created = attributes[:'timeCreated']
|
153
165
|
end
|
154
166
|
|
167
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
168
|
+
|
169
|
+
if attributes[:'time_created']
|
170
|
+
self.time_created = attributes[:'time_created']
|
171
|
+
end
|
172
|
+
|
155
173
|
if attributes[:'lifecycleState']
|
156
174
|
self.lifecycle_state = attributes[:'lifecycleState']
|
157
175
|
end
|
158
176
|
|
177
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
178
|
+
|
179
|
+
if attributes[:'lifecycle_state']
|
180
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
181
|
+
end
|
182
|
+
|
159
183
|
if attributes[:'inactiveStatus']
|
160
184
|
self.inactive_status = attributes[:'inactiveStatus']
|
161
185
|
end
|
162
186
|
|
187
|
+
raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
|
188
|
+
|
189
|
+
if attributes[:'inactive_status']
|
190
|
+
self.inactive_status = attributes[:'inactive_status']
|
191
|
+
end
|
192
|
+
|
163
193
|
if attributes[:'protocol']
|
164
194
|
self.protocol = attributes[:'protocol']
|
165
195
|
end
|
@@ -168,10 +198,22 @@ module OCI
|
|
168
198
|
self.freeform_tags = attributes[:'freeformTags']
|
169
199
|
end
|
170
200
|
|
201
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
202
|
+
|
203
|
+
if attributes[:'freeform_tags']
|
204
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
205
|
+
end
|
206
|
+
|
171
207
|
if attributes[:'definedTags']
|
172
208
|
self.defined_tags = attributes[:'definedTags']
|
173
209
|
end
|
174
210
|
|
211
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
212
|
+
|
213
|
+
if attributes[:'defined_tags']
|
214
|
+
self.defined_tags = attributes[:'defined_tags']
|
215
|
+
end
|
216
|
+
|
175
217
|
end
|
176
218
|
|
177
219
|
# Custom attribute writer method checking allowed values (enum).
|