oci 2.14.0 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/lib/oci.rb +5 -0
- data/lib/oci/ai_anomaly_detection/ai_anomaly_detection.rb +76 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client.rb +2054 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.rb +658 -0
- data/lib/oci/ai_anomaly_detection/models/action_type.rb +14 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint.rb +350 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly.rb +210 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly_detect_result.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_data_asset_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_model_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/change_project_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/create_ai_private_endpoint_details.rb +231 -0
- data/lib/oci/ai_anomaly_detection/models/create_data_asset_details.rb +253 -0
- data/lib/oci/ai_anomaly_detection/models/create_model_details.rb +238 -0
- data/lib/oci/ai_anomaly_detection/models/create_project_details.rb +211 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset.rb +340 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_summary.rb +341 -0
- data/lib/oci/ai_anomaly_detection/models/data_item.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details.rb +193 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_atp.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_influx.rb +214 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_object_storage.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_type.rb +12 -0
- data/lib/oci/ai_anomaly_detection/models/detect_anomalies_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/detection_result_item.rb +184 -0
- data/lib/oci/ai_anomaly_detection/models/embedded_detect_anomalies_request.rb +192 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details.rb +191 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v1v8.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v2v0.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_version.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/inline_detect_anomalies_request.rb +179 -0
- data/lib/oci/ai_anomaly_detection/models/model.rb +358 -0
- data/lib/oci/ai_anomaly_detection/models/model_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/model_summary.rb +305 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_details.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_results.rb +215 -0
- data/lib/oci/ai_anomaly_detection/models/operation_status.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/operation_type.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/per_signal_details.rb +267 -0
- data/lib/oci/ai_anomaly_detection/models/project.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/project_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/project_summary.rb +279 -0
- data/lib/oci/ai_anomaly_detection/models/row_reduction_details.rb +205 -0
- data/lib/oci/ai_anomaly_detection/models/sort_order.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/update_ai_private_endpoint_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/update_data_asset_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_model_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_project_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/work_request.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error.rb +173 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_resource.rb +219 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/util.rb +3 -0
- data/lib/oci/api_client.rb +4 -4
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/models/authorization_details.rb +2 -1
- data/lib/oci/application_migration/models/import_manifest.rb +208 -0
- data/lib/oci/application_migration/models/import_source_details.rb +192 -0
- data/lib/oci/application_migration/models/source_details.rb +2 -0
- data/lib/oci/application_migration/models/source_summary.rb +1 -0
- data/lib/oci/application_migration/models/source_types.rb +2 -1
- data/lib/oci/artifacts/artifacts.rb +15 -0
- data/lib/oci/artifacts/artifacts_client.rb +1104 -147
- data/lib/oci/artifacts/artifacts_client_composite_operations.rb +211 -0
- data/lib/oci/artifacts/models/change_repository_compartment_details.rb +155 -0
- data/lib/oci/artifacts/models/container_repository.rb +18 -4
- data/lib/oci/artifacts/models/container_repository_summary.rb +18 -4
- data/lib/oci/artifacts/models/create_generic_repository_details.rb +169 -0
- data/lib/oci/artifacts/models/create_repository_details.rb +259 -0
- data/lib/oci/artifacts/models/generic_artifact.rb +337 -0
- data/lib/oci/artifacts/models/generic_artifact_collection.rb +150 -0
- data/lib/oci/artifacts/models/generic_artifact_summary.rb +316 -0
- data/lib/oci/artifacts/models/generic_repository.rb +181 -0
- data/lib/oci/artifacts/models/generic_repository_summary.rb +181 -0
- data/lib/oci/artifacts/models/repository.rb +338 -0
- data/lib/oci/{usage_api/models/schedule_report_collection.rb → artifacts/models/repository_collection.rb} +6 -6
- data/lib/oci/artifacts/models/repository_summary.rb +299 -0
- data/lib/oci/artifacts/models/update_generic_artifact_by_path_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_artifact_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_repository_details.rb +161 -0
- data/lib/oci/artifacts/models/update_repository_details.rb +230 -0
- data/lib/oci/bastion/bastion.rb +48 -0
- data/lib/oci/bastion/bastion_client.rb +1041 -0
- data/lib/oci/bastion/bastion_client_composite_operations.rb +311 -0
- data/lib/oci/bastion/models/action_type.rb +14 -0
- data/lib/oci/bastion/models/bastion.rb +434 -0
- data/lib/oci/bastion/models/bastion_lifecycle_state.rb +15 -0
- data/lib/oci/bastion/models/bastion_summary.rb +348 -0
- data/lib/oci/bastion/models/change_bastion_compartment_details.rb +154 -0
- data/lib/oci/bastion/models/create_bastion_details.rb +283 -0
- data/lib/oci/bastion/models/create_managed_ssh_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/create_port_forwarding_session_target_resource_details.rb +180 -0
- data/lib/oci/bastion/models/create_session_details.rb +238 -0
- data/lib/oci/bastion/models/create_session_target_resource_details.rb +198 -0
- data/lib/oci/bastion/models/managed_ssh_session_target_resource_details.rb +208 -0
- data/lib/oci/bastion/models/operation_status.rb +15 -0
- data/lib/oci/bastion/models/operation_type.rb +14 -0
- data/lib/oci/bastion/models/port_forwarding_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/public_key_details.rb +154 -0
- data/lib/oci/bastion/models/session.rb +393 -0
- data/lib/oci/bastion/models/session_lifecycle_state.rb +14 -0
- data/lib/oci/bastion/models/session_summary.rb +303 -0
- data/lib/oci/bastion/models/session_type.rb +11 -0
- data/lib/oci/bastion/models/sort_order.rb +11 -0
- data/lib/oci/bastion/models/target_resource_details.rb +205 -0
- data/lib/oci/bastion/models/update_bastion_details.rb +215 -0
- data/lib/oci/bastion/models/update_session_details.rb +154 -0
- data/lib/oci/bastion/models/work_request.rb +309 -0
- data/lib/oci/bastion/models/work_request_error.rb +173 -0
- data/lib/oci/bastion/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bastion/models/work_request_resource.rb +219 -0
- data/lib/oci/bastion/models/work_request_summary.rb +309 -0
- data/lib/oci/bastion/util.rb +3 -0
- data/lib/oci/bds/bds_client.rb +70 -77
- data/lib/oci/bds/bds_client_composite_operations.rb +21 -21
- data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +5 -5
- data/lib/oci/bds/models/add_block_storage_details.rb +4 -4
- data/lib/oci/bds/models/add_cloud_sql_details.rb +4 -5
- data/lib/oci/bds/models/add_worker_nodes_details.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy_metric_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scale_policy_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scaling_configuration.rb +7 -8
- data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +7 -8
- data/lib/oci/bds/models/bds_instance.rb +17 -16
- data/lib/oci/bds/models/bds_instance_summary.rb +14 -14
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +2 -2
- data/lib/oci/bds/models/change_shape_details.rb +1 -1
- data/lib/oci/bds/models/change_shape_nodes.rb +2 -2
- data/lib/oci/bds/models/cloud_sql_details.rb +3 -3
- data/lib/oci/bds/models/cluster_details.rb +26 -13
- data/lib/oci/bds/models/create_bds_instance_details.rb +11 -11
- data/lib/oci/bds/models/create_node_details.rb +6 -6
- data/lib/oci/bds/models/kerberos_details.rb +2 -2
- data/lib/oci/bds/models/metric_threshold_rule.rb +4 -4
- data/lib/oci/bds/models/network_config.rb +1 -1
- data/lib/oci/bds/models/node.rb +15 -15
- data/lib/oci/bds/models/remove_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +2 -2
- data/lib/oci/bds/models/restart_node_details.rb +2 -2
- data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +4 -4
- data/lib/oci/bds/models/update_bds_instance_details.rb +5 -5
- data/lib/oci/bds/models/work_request.rb +9 -14
- data/lib/oci/bds/models/work_request_error.rb +2 -3
- data/lib/oci/bds/models/work_request_log_entry.rb +1 -1
- data/lib/oci/bds/models/work_request_resource.rb +2 -5
- data/lib/oci/container_engine/container_engine.rb +2 -0
- data/lib/oci/container_engine/container_engine_client.rb +118 -0
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_details.rb +169 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_status.rb +187 -0
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/work_request.rb +1 -0
- data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -0
- data/lib/oci/container_engine/models/work_request_summary.rb +1 -0
- data/lib/oci/core/blockstorage_client.rb +70 -1
- data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -0
- data/lib/oci/core/compute_client.rb +63 -0
- data/lib/oci/core/compute_client_composite_operations.rb +40 -0
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/attach_boot_volume_details.rb +35 -4
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +35 -4
- data/lib/oci/core/models/block_volume_replica.rb +1 -1
- data/lib/oci/core/models/boot_volume_attachment.rb +41 -4
- data/lib/oci/core/models/boot_volume_replica.rb +1 -1
- data/lib/oci/core/models/copy_volume_group_backup_details.rb +196 -0
- data/lib/oci/core/models/create_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/create_dhcp_details.rb +32 -4
- data/lib/oci/core/models/create_vlan_details.rb +11 -3
- data/lib/oci/core/models/create_volume_details.rb +1 -1
- data/lib/oci/core/models/dhcp_options.rb +38 -4
- data/lib/oci/core/models/emulated_volume_attachment.rb +12 -4
- data/lib/oci/core/models/encryption_in_transit_type.rb +11 -0
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +64 -4
- data/lib/oci/core/models/image.rb +18 -1
- data/lib/oci/core/models/instance_agent_features.rb +2 -2
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +2 -2
- data/lib/oci/core/models/multipath_device.rb +180 -0
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +12 -4
- data/lib/oci/core/models/update_dhcp_details.rb +32 -4
- data/lib/oci/core/models/update_instance_availability_config_details.rb +1 -1
- data/lib/oci/core/models/update_volume_attachment_details.rb +174 -0
- data/lib/oci/core/models/vlan.rb +2 -1
- data/lib/oci/core/models/volume_attachment.rb +58 -4
- data/lib/oci/core/virtual_network_client.rb +7 -5
- data/lib/oci/data_catalog/data_catalog.rb +11 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +599 -7
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +188 -0
- data/lib/oci/data_catalog/models/attribute.rb +43 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +33 -4
- data/lib/oci/data_catalog/models/change_metastore_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_metastore_details.rb +232 -0
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +63 -4
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +20 -4
- data/lib/oci/data_catalog/models/data_asset.rb +16 -1
- data/lib/oci/data_catalog/models/data_asset_export_scope.rb +172 -0
- data/lib/oci/data_catalog/models/data_asset_import_export_type_filter.rb +11 -0
- data/lib/oci/data_catalog/models/entity.rb +30 -1
- data/lib/oci/data_catalog/models/export_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/folder.rb +44 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/import_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/import_data_asset_job_result.rb +235 -0
- data/lib/oci/data_catalog/models/job.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_type.rb +2 -1
- data/lib/oci/data_catalog/models/metastore.rb +325 -0
- data/lib/oci/data_catalog/models/metastore_summary.rb +292 -0
- data/lib/oci/data_catalog/models/object_relationship.rb +233 -0
- data/lib/oci/data_catalog/models/search_result.rb +15 -1
- data/lib/oci/data_catalog/models/type_custom_property_details.rb +20 -4
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_metastore_details.rb +186 -0
- data/lib/oci/data_flow/data_flow_client.rb +3 -0
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/application_summary.rb +16 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_run_details.rb +17 -1
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_integration/data_integration.rb +52 -0
- data/lib/oci/data_integration/data_integration_client.rb +766 -24
- data/lib/oci/data_integration/models/abstract_format_attribute.rb +19 -4
- data/lib/oci/data_integration/models/abstract_read_attribute.rb +3 -0
- data/lib/oci/data_integration/models/abstract_write_attribute.rb +7 -0
- data/lib/oci/data_integration/models/auth_details.rb +213 -0
- data/lib/oci/data_integration/models/avro_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/bicc_read_attributes.rb +237 -0
- data/lib/oci/data_integration/models/config_parameter_value.rb +18 -4
- data/lib/oci/data_integration/models/connection.rb +4 -0
- data/lib/oci/data_integration/models/connection_details.rb +5 -1
- data/lib/oci/data_integration/models/connection_from_amazon_s3.rb +226 -0
- data/lib/oci/data_integration/models/connection_from_amazon_s3_details.rb +222 -0
- data/lib/oci/data_integration/models/connection_from_bicc.rb +236 -0
- data/lib/oci/data_integration/models/connection_from_bicc_details.rb +232 -0
- data/lib/oci/data_integration/models/connection_summary.rb +4 -0
- data/lib/oci/data_integration/models/connection_summary_from_amazon_s3.rb +227 -0
- data/lib/oci/data_integration/models/connection_summary_from_bicc.rb +223 -0
- data/lib/oci/data_integration/models/connector_attribute.rb +182 -0
- data/lib/oci/data_integration/models/create_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/create_connection_from_amazon_s3.rb +210 -0
- data/lib/oci/data_integration/models/create_connection_from_bicc.rb +220 -0
- data/lib/oci/data_integration/models/create_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_amazon_s3.rb +207 -0
- data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +211 -0
- data/lib/oci/data_integration/models/create_schedule_details.rb +272 -0
- data/lib/oci/data_integration/models/create_task_details.rb +7 -1
- data/lib/oci/data_integration/models/create_task_from_oci_dataflow_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_from_rest_task.rb +348 -0
- data/lib/oci/data_integration/models/create_task_from_sql_task.rb +246 -0
- data/lib/oci/data_integration/models/create_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/create_task_schedule_details.rb +476 -0
- data/lib/oci/data_integration/models/csv_format_attribute.rb +5 -15
- data/lib/oci/data_integration/models/data_asset.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_from_amazon_s3.rb +223 -0
- data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +227 -0
- data/lib/oci/data_integration/models/data_asset_summary.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_amazon_s3.rb +219 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +223 -0
- data/lib/oci/data_integration/models/data_entity.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_details.rb +3 -1
- data/lib/oci/data_integration/models/data_entity_from_data_store.rb +454 -0
- data/lib/oci/data_integration/models/data_entity_from_data_store_entity_details.rb +443 -0
- data/lib/oci/data_integration/models/data_entity_summary.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_data_store.rb +454 -0
- data/lib/oci/{usage_api/models/create_schedule_report_details.rb → data_integration/models/dataflow_application.rb} +20 -33
- data/lib/oci/data_integration/models/dependent_object_summary.rb +17 -4
- data/lib/oci/data_integration/models/enriched_entity.rb +31 -4
- data/lib/oci/data_integration/models/expression_operator.rb +250 -0
- data/lib/oci/data_integration/models/external_storage.rb +221 -0
- data/lib/oci/data_integration/models/json_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/lookup.rb +274 -0
- data/lib/oci/data_integration/models/native_shape_field.rb +3 -3
- data/lib/oci/data_integration/models/object_metadata.rb +17 -4
- data/lib/oci/data_integration/models/object_storage_write_attribute.rb +162 -0
- data/lib/oci/data_integration/models/object_storage_write_attributes.rb +164 -0
- data/lib/oci/data_integration/models/operator.rb +4 -1
- data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_read_attributes.rb +13 -2
- data/lib/oci/data_integration/models/oracle_write_attributes.rb +13 -2
- data/lib/oci/data_integration/models/parameter.rb +4 -3
- data/lib/oci/data_integration/models/parent_reference.rb +18 -4
- data/lib/oci/data_integration/models/parquet_format_attribute.rb +162 -0
- data/lib/oci/data_integration/models/patch_change_summary.rb +3 -0
- data/lib/oci/data_integration/models/patch_object_metadata.rb +3 -0
- data/lib/oci/data_integration/models/published_object.rb +3 -0
- data/lib/oci/data_integration/models/published_object_summary.rb +3 -0
- data/lib/oci/data_integration/models/schedule_summary.rb +295 -0
- data/lib/oci/data_integration/models/schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/script.rb +202 -0
- data/lib/oci/data_integration/models/shape_field.rb +3 -3
- data/lib/oci/data_integration/models/task.rb +23 -4
- data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_integration_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_oci_dataflow_task_details.rb +225 -0
- data/lib/oci/data_integration/models/task_from_pipeline_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_rest_task_details.rb +379 -0
- data/lib/oci/data_integration/models/task_from_sql_task_details.rb +265 -0
- data/lib/oci/data_integration/models/task_operator.rb +3 -0
- data/lib/oci/data_integration/models/task_run.rb +62 -1
- data/lib/oci/data_integration/models/task_run_details.rb +3 -0
- data/lib/oci/data_integration/models/task_run_summary.rb +3 -0
- data/lib/oci/data_integration/models/task_schedule_summary.rb +532 -0
- data/lib/oci/data_integration/models/task_schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary.rb +6 -0
- data/lib/oci/data_integration/models/task_summary_from_oci_dataflow_task.rb +221 -0
- data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +356 -0
- data/lib/oci/data_integration/models/task_summary_from_sql_task.rb +254 -0
- data/lib/oci/data_integration/models/update_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/update_connection_from_amazon_s3.rb +214 -0
- data/lib/oci/data_integration/models/update_connection_from_bicc.rb +224 -0
- data/lib/oci/data_integration/models/update_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_amazon_s3.rb +198 -0
- data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_fusion_app.rb +202 -0
- data/lib/oci/data_integration/models/update_schedule_details.rb +299 -0
- data/lib/oci/data_integration/models/update_task_details.rb +7 -1
- data/lib/oci/data_integration/models/update_task_from_oci_dataflow_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_from_rest_task.rb +366 -0
- data/lib/oci/data_integration/models/update_task_from_sql_task.rb +250 -0
- data/lib/oci/data_integration/models/update_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/update_task_schedule_details.rb +490 -0
- data/lib/oci/data_safe/data_safe.rb +18 -0
- data/lib/oci/data_safe/data_safe_client.rb +731 -17
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +247 -0
- data/lib/oci/{usage_api/models/update_schedule_report_details.rb → data_safe/models/activate_target_database_details.rb} +10 -14
- data/lib/oci/data_safe/models/autonomous_database_details.rb +166 -0
- data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/connection_option.rb +194 -0
- data/lib/oci/data_safe/models/create_target_database_details.rb +261 -0
- data/lib/oci/data_safe/models/credentials.rb +164 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +20 -4
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +54 -4
- data/lib/oci/data_safe/models/database_cloud_service_details.rb +194 -0
- data/lib/oci/data_safe/models/database_details.rb +231 -0
- data/lib/oci/data_safe/models/database_type.rb +12 -0
- data/lib/oci/data_safe/models/infrastructure_type.rb +13 -0
- data/lib/oci/data_safe/models/installed_database_details.rb +209 -0
- data/lib/oci/data_safe/models/on_prem_connector.rb +17 -1
- data/lib/oci/data_safe/models/on_prem_connector_summary.rb +17 -1
- data/lib/oci/data_safe/models/on_premise_connector.rb +162 -0
- data/lib/oci/data_safe/models/private_endpoint.rb +163 -0
- data/lib/oci/data_safe/models/service_list.rb +4 -0
- data/lib/oci/data_safe/models/target_database.rb +369 -0
- data/lib/oci/data_safe/models/target_database_lifecycle_state.rb +17 -0
- data/lib/oci/data_safe/models/target_database_summary.rb +359 -0
- data/lib/oci/data_safe/models/tls_config.rb +244 -0
- data/lib/oci/data_safe/models/update_target_database_details.rb +246 -0
- data/lib/oci/data_safe/models/work_request.rb +6 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +6 -0
- data/lib/oci/data_science/data_science.rb +3 -0
- data/lib/oci/data_science/data_science_client.rb +16 -9
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -4
- data/lib/oci/data_science/models/create_model_details.rb +60 -4
- data/lib/oci/data_science/models/create_model_provenance_details.rb +18 -4
- data/lib/oci/data_science/models/metadata.rb +197 -0
- data/lib/oci/data_science/models/model.rb +60 -4
- data/lib/oci/data_science/models/model_deployment.rb +1 -1
- data/lib/oci/data_science/models/model_provenance.rb +18 -4
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +17 -4
- data/lib/oci/data_science/models/notebook_session_shape_config_details.rb +169 -0
- data/lib/oci/data_science/models/notebook_session_shape_series.rb +13 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +41 -4
- data/lib/oci/data_science/models/update_model_details.rb +32 -4
- data/lib/oci/data_science/models/update_model_provenance_details.rb +18 -4
- data/lib/oci/database/database.rb +17 -0
- data/lib/oci/database/database_client.rb +1228 -46
- data/lib/oci/database/database_client_composite_operations.rb +416 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database.rb +213 -6
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/{usage_api/models/schedule_report.rb → database/models/autonomous_database_key_history_entry.rb} +24 -36
- data/lib/oci/database/models/autonomous_database_standby_summary.rb +19 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +213 -6
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +21 -4
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +21 -4
- data/lib/oci/database/models/configure_autonomous_database_vault_key_details.rb +182 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +118 -7
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +24 -4
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +21 -1
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +283 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +18 -4
- data/lib/oci/database/models/create_db_home_base.rb +18 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +29 -1
- data/lib/oci/database/models/create_pluggable_database_details.rb +233 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/customer_contact.rb +2 -2
- data/lib/oci/database/models/db_home_from_agent_resource_id.rb +380 -0
- data/lib/oci/database/models/db_node.rb +69 -1
- data/lib/oci/database/models/db_node_summary.rb +69 -1
- data/lib/oci/database/models/db_system_shape_summary.rb +72 -2
- data/lib/oci/database/models/exadata_infrastructure.rb +57 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +57 -1
- data/lib/oci/database/models/local_clone_pluggable_database_details.rb +185 -0
- data/lib/oci/database/models/maintenance_run.rb +4 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +4 -1
- data/lib/oci/database/models/pluggable_database.rb +358 -0
- data/lib/oci/database/models/pluggable_database_connection_strings.rb +183 -0
- data/lib/oci/database/models/pluggable_database_summary.rb +361 -0
- data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +213 -0
- data/lib/oci/database/models/scan_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +64 -5
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/update_data_guard_association_details.rb +237 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +15 -1
- data/lib/oci/database/models/update_external_macs_connector_details.rb +2 -1
- data/lib/oci/database/models/update_maintenance_run_details.rb +4 -1
- data/lib/oci/database/models/update_pluggable_database_details.rb +177 -0
- data/lib/oci/database/models/update_vm_cluster_details.rb +14 -1
- data/lib/oci/database/models/vm_cluster.rb +15 -2
- data/lib/oci/database/models/vm_cluster_summary.rb +15 -2
- data/lib/oci/database/models/vm_cluster_update.rb +346 -0
- data/lib/oci/database/models/vm_cluster_update_details.rb +183 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +308 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +311 -0
- data/lib/oci/database/models/vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database_management/database_management.rb +25 -0
- data/lib/oci/database_management/db_management_client.rb +1467 -97
- data/lib/oci/database_management/models/awr_db_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_collection.rb +217 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_summary.rb +164 -0
- data/lib/oci/database_management/models/awr_db_metric_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_metric_summary.rb +202 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_summary.rb +255 -0
- data/lib/oci/database_management/models/awr_db_parameter_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_summary.rb +238 -0
- data/lib/oci/database_management/models/awr_db_report.rb +205 -0
- data/lib/oci/database_management/models/awr_db_snapshot_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_summary.rb +331 -0
- data/lib/oci/database_management/models/awr_db_snapshot_summary.rb +244 -0
- data/lib/oci/database_management/models/awr_db_sql_report.rb +204 -0
- data/lib/oci/database_management/models/awr_db_summary.rb +334 -0
- data/lib/oci/database_management/models/awr_db_sysstat_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_sysstat_summary.rb +216 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_summary.rb +178 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_collection.rb +189 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_summary.rb +160 -0
- data/lib/oci/database_management/models/awr_db_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_wait_event_summary.rb +223 -0
- data/lib/oci/database_management/models/awr_query_result.rb +254 -0
- data/lib/oci/devops/devops.rb +177 -0
- data/lib/oci/devops/devops_client.rb +2344 -0
- data/lib/oci/devops/devops_client_composite_operations.rb +974 -0
- data/lib/oci/devops/models/absolute_wait_criteria.rb +162 -0
- data/lib/oci/devops/models/absolute_wait_criteria_summary.rb +162 -0
- data/lib/oci/devops/models/action_type.rb +15 -0
- data/lib/oci/devops/models/approval_action.rb +184 -0
- data/lib/oci/devops/models/approval_policy.rb +189 -0
- data/lib/oci/devops/models/approve_deployment_details.rb +187 -0
- data/lib/oci/devops/models/automated_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/backend_set_ip_collection.rb +150 -0
- data/lib/oci/devops/models/cancel_deployment_details.rb +150 -0
- data/lib/oci/devops/models/change_project_compartment_details.rb +154 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_by_ids_selector.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +168 -0
- data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_count.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_percentage.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_rollout_policy.rb +207 -0
- data/lib/oci/devops/models/compute_instance_group_selector.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +150 -0
- data/lib/oci/devops/models/count_based_approval_policy.rb +164 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +267 -0
- data/lib/oci/devops/models/create_deploy_artifact_details.rb +248 -0
- data/lib/oci/devops/models/create_deploy_environment_details.rb +238 -0
- data/lib/oci/devops/models/create_deploy_pipeline_deployment_details.rb +190 -0
- data/lib/oci/devops/models/create_deploy_pipeline_details.rb +219 -0
- data/lib/oci/devops/models/create_deploy_pipeline_redeployment_details.rb +178 -0
- data/lib/oci/devops/models/create_deploy_stage_details.rb +256 -0
- data/lib/oci/devops/models/create_deployment_details.rb +228 -0
- data/lib/oci/devops/models/create_function_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_function_deploy_stage_details.rb +238 -0
- data/lib/oci/devops/models/create_invoke_function_deploy_stage_details.rb +228 -0
- data/lib/oci/devops/models/create_load_balancer_traffic_shift_deploy_stage_details.rb +255 -0
- data/lib/oci/devops/models/create_manual_approval_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/create_project_details.rb +216 -0
- data/lib/oci/devops/models/create_single_deploy_stage_deployment_details.rb +204 -0
- data/lib/oci/devops/models/create_wait_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/deploy_artifact.rb +407 -0
- data/lib/oci/devops/models/deploy_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument.rb +174 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_source.rb +193 -0
- data/lib/oci/devops/models/deploy_artifact_summary.rb +342 -0
- data/lib/oci/devops/models/deploy_environment.rb +376 -0
- data/lib/oci/devops/models/deploy_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_environment_summary.rb +332 -0
- data/lib/oci/devops/models/deploy_pipeline.rb +365 -0
- data/lib/oci/{usage_api/models/saved_schedule_report.rb → devops/models/deploy_pipeline_artifact.rb} +27 -39
- data/lib/oci/devops/models/deploy_pipeline_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment.rb +213 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment_summary.rb +201 -0
- data/lib/oci/devops/models/deploy_pipeline_environment.rb +182 -0
- data/lib/oci/devops/models/deploy_pipeline_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter.rb +174 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment.rb +230 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment_summary.rb +218 -0
- data/lib/oci/devops/models/deploy_pipeline_stage.rb +168 -0
- data/lib/oci/devops/models/deploy_pipeline_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_summary.rb +299 -0
- data/lib/oci/devops/models/deploy_stage.rb +411 -0
- data/lib/oci/devops/models/deploy_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress.rb +303 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress_details.rb +192 -0
- data/lib/oci/devops/models/deploy_stage_execution_step.rb +211 -0
- data/lib/oci/{usage_api/models/schedule_report_summary.rb → devops/models/deploy_stage_predecessor.rb} +7 -20
- data/lib/oci/devops/models/deploy_stage_predecessor_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_rollback_policy.rb +191 -0
- data/lib/oci/devops/models/deploy_stage_summary.rb +363 -0
- data/lib/oci/devops/models/deployment.rb +445 -0
- data/lib/oci/devops/models/deployment_argument.rb +160 -0
- data/lib/oci/devops/models/deployment_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_execution_progress.rb +182 -0
- data/lib/oci/devops/models/deployment_summary.rb +363 -0
- data/lib/oci/devops/models/function_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/function_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/function_deploy_stage.rb +270 -0
- data/lib/oci/devops/models/function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/function_deploy_stage_summary.rb +270 -0
- data/lib/oci/devops/models/generic_deploy_artifact_source.rb +190 -0
- data/lib/oci/devops/models/inline_deploy_artifact_source.rb +162 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage.rb +260 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_summary.rb +260 -0
- data/lib/oci/devops/models/load_balancer_config.rb +184 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage.rb +308 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_summary.rb +287 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_rollout_policy.rb +184 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/no_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/notification_config.rb +154 -0
- data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +176 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/oke_deploy_stage.rb +256 -0
- data/lib/oci/devops/models/oke_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/oke_deploy_stage_summary.rb +256 -0
- data/lib/oci/devops/models/operation_status.rb +15 -0
- data/lib/oci/devops/models/operation_type.rb +28 -0
- data/lib/oci/devops/models/project.rb +330 -0
- data/lib/oci/devops/models/project_collection.rb +150 -0
- data/lib/oci/devops/models/project_summary.rb +292 -0
- data/lib/oci/devops/models/run_pipeline_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment.rb +230 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment_summary.rb +218 -0
- data/lib/oci/devops/models/sort_order.rb +11 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_environment_details.rb +177 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +262 -0
- data/lib/oci/devops/models/update_deploy_artifact_details.rb +233 -0
- data/lib/oci/devops/models/update_deploy_environment_details.rb +224 -0
- data/lib/oci/devops/models/update_deploy_pipeline_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_pipeline_details.rb +205 -0
- data/lib/oci/devops/models/update_deploy_pipeline_redeployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_stage_details.rb +241 -0
- data/lib/oci/devops/models/update_deployment_details.rb +214 -0
- data/lib/oci/devops/models/update_function_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_function_deploy_stage_details.rb +234 -0
- data/lib/oci/devops/models/update_invoke_function_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/update_load_balancer_traffic_shift_deploy_stage_details.rb +247 -0
- data/lib/oci/devops/models/update_manual_approval_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +220 -0
- data/lib/oci/devops/models/update_project_details.rb +191 -0
- data/lib/oci/devops/models/update_single_deploy_stage_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_wait_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/wait_criteria.rb +189 -0
- data/lib/oci/devops/models/wait_criteria_summary.rb +189 -0
- data/lib/oci/devops/models/wait_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/wait_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/wait_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/work_request.rb +314 -0
- data/lib/oci/devops/models/work_request_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_error.rb +171 -0
- data/lib/oci/devops/models/work_request_error_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_log_entry.rb +160 -0
- data/lib/oci/devops/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_resource.rb +216 -0
- data/lib/oci/devops/models/work_request_summary.rb +314 -0
- data/lib/oci/devops/util.rb +3 -0
- data/lib/oci/dns/dns.rb +1 -1
- data/lib/oci/dns/dns_client.rb +306 -75
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +2 -2
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +5 -5
- data/lib/oci/dns/models/external_master.rb +1 -12
- data/lib/oci/dns/models/resolver.rb +4 -4
- data/lib/oci/dns/models/resolver_endpoint.rb +2 -2
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_summary.rb +4 -4
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +4 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +4 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +20 -4
- data/lib/oci/dns/models/zone_summary.rb +1 -0
- data/lib/oci/dns/models/zone_transfer_server.rb +192 -0
- data/lib/oci/email/email.rb +23 -0
- data/lib/oci/email/email_client.rb +1139 -139
- data/lib/oci/email/email_client_composite_operations.rb +346 -0
- data/lib/oci/email/models/action_type.rb +14 -0
- data/lib/oci/email/models/change_email_domain_compartment_details.rb +156 -0
- data/lib/oci/email/models/create_dkim_details.rb +225 -0
- data/lib/oci/email/models/create_email_domain_details.rb +220 -0
- data/lib/oci/email/models/create_sender_details.rb +2 -0
- data/lib/oci/email/models/dkim.rb +399 -0
- data/lib/oci/email/models/dkim_collection.rb +150 -0
- data/lib/oci/email/models/dkim_summary.rb +307 -0
- data/lib/oci/email/models/email_domain.rb +333 -0
- data/lib/oci/email/models/email_domain_collection.rb +150 -0
- data/lib/oci/email/models/email_domain_summary.rb +291 -0
- data/lib/oci/email/models/operation_status.rb +15 -0
- data/lib/oci/email/models/operation_type.rb +17 -0
- data/lib/oci/email/models/sender.rb +21 -4
- data/lib/oci/email/models/sender_summary.rb +5 -3
- data/lib/oci/email/models/sort_order.rb +11 -0
- data/lib/oci/email/models/suppression.rb +77 -7
- data/lib/oci/email/models/suppression_summary.rb +3 -3
- data/lib/oci/email/models/update_dkim_details.rb +189 -0
- data/lib/oci/email/models/update_email_domain_details.rb +189 -0
- data/lib/oci/email/models/update_sender_details.rb +2 -0
- data/lib/oci/email/models/work_request.rb +312 -0
- data/lib/oci/email/models/work_request_error.rb +172 -0
- data/lib/oci/email/models/work_request_error_collection.rb +150 -0
- data/lib/oci/email/models/work_request_log_entry.rb +160 -0
- data/lib/oci/email/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/email/models/work_request_resource.rb +219 -0
- data/lib/oci/email/models/work_request_summary.rb +312 -0
- data/lib/oci/email/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content.rb +20 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client.rb +410 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client_composite_operations.rb +25 -0
- data/lib/oci/generic_artifacts_content/models/generic_artifact.rb +337 -0
- data/lib/oci/generic_artifacts_content/util.rb +3 -0
- data/lib/oci/jms/java_management_service_client.rb +1520 -0
- data/lib/oci/jms/java_management_service_client_composite_operations.rb +273 -0
- data/lib/oci/jms/jms.rb +63 -0
- data/lib/oci/jms/models/action_type.rb +14 -0
- data/lib/oci/jms/models/application_sort_by.rb +15 -0
- data/lib/oci/jms/models/application_usage.rb +292 -0
- data/lib/oci/jms/models/application_usage_collection.rb +150 -0
- data/lib/oci/jms/models/change_fleet_compartment_details.rb +154 -0
- data/lib/oci/jms/models/create_fleet_details.rb +210 -0
- data/lib/oci/jms/models/fleet.rb +358 -0
- data/lib/oci/jms/models/fleet_agent_configuration.rb +214 -0
- data/lib/oci/jms/models/fleet_agent_os_configuration.rb +171 -0
- data/lib/oci/jms/models/fleet_collection.rb +150 -0
- data/lib/oci/jms/models/fleet_summary.rb +359 -0
- data/lib/oci/jms/models/installation_sort_by.rb +17 -0
- data/lib/oci/jms/models/installation_usage.rb +306 -0
- data/lib/oci/jms/models/installation_usage_collection.rb +150 -0
- data/lib/oci/jms/models/jre_sort_by.rb +17 -0
- data/lib/oci/jms/models/jre_usage.rb +276 -0
- data/lib/oci/jms/models/jre_usage_collection.rb +150 -0
- data/lib/oci/jms/models/lifecycle_state.rb +15 -0
- data/lib/oci/jms/models/managed_instance_sort_by.rb +14 -0
- data/lib/oci/jms/models/managed_instance_type.rb +10 -0
- data/lib/oci/jms/models/managed_instance_usage.rb +308 -0
- data/lib/oci/jms/models/managed_instance_usage_collection.rb +150 -0
- data/lib/oci/jms/models/operation_status.rb +15 -0
- data/lib/oci/jms/models/operation_type.rb +13 -0
- data/lib/oci/jms/models/request_summarized_application_usage_details.rb +362 -0
- data/lib/oci/jms/models/request_summarized_installation_usage_details.rb +335 -0
- data/lib/oci/jms/models/request_summarized_jre_usage_details.rb +321 -0
- data/lib/oci/jms/models/request_summarized_managed_instance_usage_details.rb +358 -0
- data/lib/oci/jms/models/sort_by.rb +11 -0
- data/lib/oci/jms/models/sort_order.rb +11 -0
- data/lib/oci/jms/models/summarize_application_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_installation_usage_fields.rb +11 -0
- data/lib/oci/jms/models/summarize_jre_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_managed_instance_usage_fields.rb +12 -0
- data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +196 -0
- data/lib/oci/jms/models/update_fleet_details.rb +196 -0
- data/lib/oci/jms/models/work_request.rb +306 -0
- data/lib/oci/jms/models/work_request_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_error.rb +173 -0
- data/lib/oci/jms/models/work_request_error_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_log_entry.rb +160 -0
- data/lib/oci/jms/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_resource.rb +219 -0
- data/lib/oci/jms/util.rb +3 -0
- data/lib/oci/limits/limits_client.rb +12 -12
- data/lib/oci/limits/models/limit_definition_summary.rb +22 -7
- data/lib/oci/limits/models/quota.rb +6 -6
- data/lib/oci/limits/models/quota_summary.rb +3 -3
- data/lib/oci/limits/models/resource_availability.rb +7 -7
- data/lib/oci/limits/models/service_summary.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +9 -9
- data/lib/oci/log_analytics/log_analytics.rb +1 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +60 -0
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +2 -0
- data/lib/oci/log_analytics/models/compare_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cron_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/namespace.rb +20 -4
- data/lib/oci/log_analytics/models/namespace_summary.rb +20 -4
- data/lib/oci/log_analytics/models/schedule.rb +20 -4
- data/lib/oci/log_analytics/models/scheduled_task.rb +54 -1
- data/lib/oci/log_analytics/models/scheduled_task_summary.rb +15 -1
- data/lib/oci/log_analytics/models/standard_task.rb +9 -1
- data/lib/oci/log_analytics/models/stream_action.rb +40 -4
- data/lib/oci/loggingingestion/logging_client.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +16 -6
- data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +238 -0
- data/lib/oci/management_dashboard/management_dashboard.rb +1 -0
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard.rb +59 -2
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +4 -36
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +12 -2
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search.rb +47 -1
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -1
- data/lib/oci/marketplace/account_client.rb +220 -0
- data/lib/oci/marketplace/account_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/marketplace.rb +8 -0
- data/lib/oci/marketplace/marketplace_client.rb +86 -24
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +4 -4
- data/lib/oci/marketplace/models/change_publication_compartment_details.rb +2 -2
- data/lib/oci/marketplace/models/create_image_publication_package.rb +2 -2
- data/lib/oci/marketplace/models/create_publication_details.rb +10 -8
- data/lib/oci/marketplace/models/create_publication_package.rb +4 -4
- data/lib/oci/marketplace/models/eula.rb +2 -2
- data/lib/oci/marketplace/models/free_text_search_details.rb +162 -0
- data/lib/oci/marketplace/models/image_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/launch_eligibility.rb +178 -0
- data/lib/oci/marketplace/models/listing.rb +2 -2
- data/lib/oci/marketplace/models/listing_package_summary.rb +10 -1
- data/lib/oci/marketplace/models/listing_summary.rb +2 -2
- data/lib/oci/marketplace/models/matching_context_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/operating_system.rb +2 -2
- data/lib/oci/marketplace/models/orchestration_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication.rb +11 -11
- data/lib/oci/marketplace/models/publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication_package_summary.rb +1 -1
- data/lib/oci/marketplace/models/publication_summary.rb +9 -9
- data/lib/oci/marketplace/models/publisher_summary.rb +1 -1
- data/lib/oci/marketplace/models/search_details_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/search_listings_details.rb +207 -0
- data/lib/oci/marketplace/models/structured_search_details.rb +162 -0
- data/lib/oci/marketplace/models/text_based_eula.rb +2 -2
- data/lib/oci/marketplace/models/third_party_paid_listing_eligibility.rb +210 -0
- data/lib/oci/marketplace/models/update_publication_details.rb +5 -5
- data/lib/oci/mysql/db_backups_client.rb +76 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +50 -0
- data/lib/oci/mysql/models/change_backup_compartment_details.rb +154 -0
- data/lib/oci/mysql/mysql.rb +1 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +3 -1
- data/lib/oci/oce/models/license_type.rb +3 -1
- data/lib/oci/oce/models/oce_instance.rb +19 -1
- data/lib/oci/oce/models/oce_instance_summary.rb +22 -4
- data/lib/oci/oce/models/update_oce_instance_details.rb +3 -1
- data/lib/oci/oce/oce_instance_client.rb +2 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +21 -2
- data/lib/oci/ocvp/models/downgrade_hcx_details.rb +154 -0
- data/lib/oci/ocvp/models/esxi_host.rb +2 -0
- data/lib/oci/ocvp/models/esxi_host_summary.rb +2 -0
- data/lib/oci/ocvp/models/hcx_license_status.rb +13 -0
- data/lib/oci/ocvp/models/hcx_license_summary.rb +201 -0
- data/lib/oci/ocvp/models/operation_types.rb +5 -1
- data/lib/oci/ocvp/models/sddc.rb +86 -2
- data/lib/oci/ocvp/models/supported_sku_summary.rb +2 -1
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +3 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/work_request.rb +4 -0
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +291 -2
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +201 -0
- data/lib/oci/opsi/models/autonomous_database_configuration_summary.rb +198 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +2 -2
- data/lib/oci/opsi/models/create_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/database_configuration_collection.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_summary.rb +323 -0
- data/lib/oci/opsi/models/database_details.rb +1 -0
- data/lib/oci/opsi/models/database_insight.rb +1 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/em_managed_external_database_configuration_summary.rb +222 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +16 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +16 -1
- data/lib/oci/opsi/models/host_insight.rb +1 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +2 -1
- data/lib/oci/opsi/models/macs_managed_external_database_configuration_summary.rb +236 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +1 -1
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +1 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +15 -1
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +1 -1
- data/lib/oci/opsi/operations_insights_client.rb +631 -25
- data/lib/oci/opsi/opsi.rb +5 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/secrets/secrets_client.rb +71 -1
- data/lib/oci/tenant_manager_control_plane/models/activate_order_details.rb +154 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +5 -1
- data/lib/oci/tenant_manager_control_plane/models/order.rb +206 -0
- data/lib/oci/{dns/models/tsig.rb → tenant_manager_control_plane/models/sku.rb} +22 -25
- data/lib/oci/tenant_manager_control_plane/models/subscription_info.rb +202 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/orders_client.rb +225 -0
- data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +76 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +6 -0
- data/lib/oci/usage_api/models/cost_analysis_ui.rb +2 -2
- data/lib/oci/usage_api/models/create_custom_table_details.rb +10 -10
- data/lib/oci/usage_api/models/create_query_details.rb +1 -1
- data/lib/oci/usage_api/models/custom_table.rb +13 -13
- data/lib/oci/usage_api/models/custom_table_summary.rb +1 -1
- data/lib/oci/usage_api/models/dimension.rb +1 -1
- data/lib/oci/usage_api/models/forecast.rb +3 -3
- data/lib/oci/usage_api/models/query_definition.rb +1 -1
- data/lib/oci/usage_api/models/query_summary.rb +1 -1
- data/lib/oci/usage_api/models/report_query.rb +11 -5
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +11 -5
- data/lib/oci/usage_api/models/saved_custom_table.rb +6 -6
- data/lib/oci/usage_api/models/update_custom_table_details.rb +1 -1
- data/lib/oci/usage_api/models/update_query_details.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +1 -1
- data/lib/oci/usage_api/usage_api.rb +0 -6
- data/lib/oci/usage_api/usageapi_client.rb +332 -1
- data/lib/oci/version.rb +1 -1
- metadata +512 -16
@@ -0,0 +1,184 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# An object to hold detection result for one timestamp/row.
|
9
|
+
class AiAnomalyDetection::Models::DetectionResultItem
|
10
|
+
# The time stamp associated with a list of anomaly points, format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
11
|
+
# @return [DateTime]
|
12
|
+
attr_accessor :timestamp
|
13
|
+
|
14
|
+
# The index number to indicate where anomaly points are located among all rows when there are no timestamps provided.
|
15
|
+
# @return [Integer]
|
16
|
+
attr_accessor :row_index
|
17
|
+
|
18
|
+
# A significant score across multiple signals at timestamp/row level
|
19
|
+
# @return [Float]
|
20
|
+
attr_accessor :score
|
21
|
+
|
22
|
+
# **[Required]** An array of anomalies associated with a given timestamp/row.
|
23
|
+
# @return [Array<OCI::AiAnomalyDetection::Models::Anomaly>]
|
24
|
+
attr_accessor :anomalies
|
25
|
+
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
27
|
+
def self.attribute_map
|
28
|
+
{
|
29
|
+
# rubocop:disable Style/SymbolLiteral
|
30
|
+
'timestamp': :'timestamp',
|
31
|
+
'row_index': :'rowIndex',
|
32
|
+
'score': :'score',
|
33
|
+
'anomalies': :'anomalies'
|
34
|
+
# rubocop:enable Style/SymbolLiteral
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
{
|
41
|
+
# rubocop:disable Style/SymbolLiteral
|
42
|
+
'timestamp': :'DateTime',
|
43
|
+
'row_index': :'Integer',
|
44
|
+
'score': :'Float',
|
45
|
+
'anomalies': :'Array<OCI::AiAnomalyDetection::Models::Anomaly>'
|
46
|
+
# rubocop:enable Style/SymbolLiteral
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
51
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
52
|
+
|
53
|
+
|
54
|
+
# Initializes the object
|
55
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
56
|
+
# @option attributes [DateTime] :timestamp The value to assign to the {#timestamp} property
|
57
|
+
# @option attributes [Integer] :row_index The value to assign to the {#row_index} property
|
58
|
+
# @option attributes [Float] :score The value to assign to the {#score} property
|
59
|
+
# @option attributes [Array<OCI::AiAnomalyDetection::Models::Anomaly>] :anomalies The value to assign to the {#anomalies} property
|
60
|
+
def initialize(attributes = {})
|
61
|
+
return unless attributes.is_a?(Hash)
|
62
|
+
|
63
|
+
# convert string to symbol for hash key
|
64
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
65
|
+
|
66
|
+
self.timestamp = attributes[:'timestamp'] if attributes[:'timestamp']
|
67
|
+
|
68
|
+
self.row_index = attributes[:'rowIndex'] if attributes[:'rowIndex']
|
69
|
+
|
70
|
+
raise 'You cannot provide both :rowIndex and :row_index' if attributes.key?(:'rowIndex') && attributes.key?(:'row_index')
|
71
|
+
|
72
|
+
self.row_index = attributes[:'row_index'] if attributes[:'row_index']
|
73
|
+
|
74
|
+
self.score = attributes[:'score'] if attributes[:'score']
|
75
|
+
|
76
|
+
self.anomalies = attributes[:'anomalies'] if attributes[:'anomalies']
|
77
|
+
end
|
78
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
79
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
80
|
+
|
81
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
82
|
+
|
83
|
+
|
84
|
+
# Checks equality by comparing each attribute.
|
85
|
+
# @param [Object] other the other object to be compared
|
86
|
+
def ==(other)
|
87
|
+
return true if equal?(other)
|
88
|
+
|
89
|
+
self.class == other.class &&
|
90
|
+
timestamp == other.timestamp &&
|
91
|
+
row_index == other.row_index &&
|
92
|
+
score == other.score &&
|
93
|
+
anomalies == other.anomalies
|
94
|
+
end
|
95
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
96
|
+
|
97
|
+
# @see the `==` method
|
98
|
+
# @param [Object] other the other object to be compared
|
99
|
+
def eql?(other)
|
100
|
+
self == other
|
101
|
+
end
|
102
|
+
|
103
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
104
|
+
|
105
|
+
|
106
|
+
# Calculates hash code according to all attributes.
|
107
|
+
# @return [Fixnum] Hash code
|
108
|
+
def hash
|
109
|
+
[timestamp, row_index, score, anomalies].hash
|
110
|
+
end
|
111
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
112
|
+
|
113
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
114
|
+
|
115
|
+
|
116
|
+
# Builds the object from hash
|
117
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
+
# @return [Object] Returns the model itself
|
119
|
+
def build_from_hash(attributes)
|
120
|
+
return nil unless attributes.is_a?(Hash)
|
121
|
+
|
122
|
+
self.class.swagger_types.each_pair do |key, type|
|
123
|
+
if type =~ /^Array<(.*)>/i
|
124
|
+
# check to ensure the input is an array given that the the attribute
|
125
|
+
# is documented as an array but the input is not
|
126
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
127
|
+
public_method("#{key}=").call(
|
128
|
+
attributes[self.class.attribute_map[key]]
|
129
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
130
|
+
)
|
131
|
+
end
|
132
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
133
|
+
public_method("#{key}=").call(
|
134
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
135
|
+
)
|
136
|
+
end
|
137
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
138
|
+
end
|
139
|
+
|
140
|
+
self
|
141
|
+
end
|
142
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
143
|
+
|
144
|
+
# Returns the string representation of the object
|
145
|
+
# @return [String] String presentation of the object
|
146
|
+
def to_s
|
147
|
+
to_hash.to_s
|
148
|
+
end
|
149
|
+
|
150
|
+
# Returns the object in the form of hash
|
151
|
+
# @return [Hash] Returns the object in the form of hash
|
152
|
+
def to_hash
|
153
|
+
hash = {}
|
154
|
+
self.class.attribute_map.each_pair do |attr, param|
|
155
|
+
value = public_method(attr).call
|
156
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
157
|
+
|
158
|
+
hash[param] = _to_hash(value)
|
159
|
+
end
|
160
|
+
hash
|
161
|
+
end
|
162
|
+
|
163
|
+
private
|
164
|
+
|
165
|
+
# Outputs non-array value in the form of hash
|
166
|
+
# For object, use to_hash. Otherwise, just return the value
|
167
|
+
# @param [Object] value Any valid value
|
168
|
+
# @return [Hash] Returns the value in the form of hash
|
169
|
+
def _to_hash(value)
|
170
|
+
if value.is_a?(Array)
|
171
|
+
value.compact.map { |v| _to_hash(v) }
|
172
|
+
elsif value.is_a?(Hash)
|
173
|
+
{}.tap do |hash|
|
174
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
175
|
+
end
|
176
|
+
elsif value.respond_to? :to_hash
|
177
|
+
value.to_hash
|
178
|
+
else
|
179
|
+
value
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,192 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
require_relative 'detect_anomalies_details'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# The request body when the user selects to provide byte data in detect call which is Base64 encoded.
|
10
|
+
# The default type of the data is CSV and can be JSON by setting the 'contentType'.
|
11
|
+
#
|
12
|
+
class AiAnomalyDetection::Models::EmbeddedDetectAnomaliesRequest < AiAnomalyDetection::Models::DetectAnomaliesDetails
|
13
|
+
CONTENT_TYPE_ENUM = [
|
14
|
+
CONTENT_TYPE_CSV = 'CSV'.freeze,
|
15
|
+
CONTENT_TYPE_JSON = 'JSON'.freeze
|
16
|
+
].freeze
|
17
|
+
|
18
|
+
# @return [String]
|
19
|
+
attr_reader :content_type
|
20
|
+
|
21
|
+
# This attribute is required.
|
22
|
+
# @return [String]
|
23
|
+
attr_accessor :content
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
# rubocop:disable Style/SymbolLiteral
|
29
|
+
'model_id': :'modelId',
|
30
|
+
'request_type': :'requestType',
|
31
|
+
'content_type': :'contentType',
|
32
|
+
'content': :'content'
|
33
|
+
# rubocop:enable Style/SymbolLiteral
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.swagger_types
|
39
|
+
{
|
40
|
+
# rubocop:disable Style/SymbolLiteral
|
41
|
+
'model_id': :'String',
|
42
|
+
'request_type': :'String',
|
43
|
+
'content_type': :'String',
|
44
|
+
'content': :'String'
|
45
|
+
# rubocop:enable Style/SymbolLiteral
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
50
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
51
|
+
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
# @option attributes [String] :model_id The value to assign to the {OCI::AiAnomalyDetection::Models::DetectAnomaliesDetails#model_id #model_id} proprety
|
56
|
+
# @option attributes [String] :content_type The value to assign to the {#content_type} property
|
57
|
+
# @option attributes [String] :content The value to assign to the {#content} property
|
58
|
+
def initialize(attributes = {})
|
59
|
+
return unless attributes.is_a?(Hash)
|
60
|
+
|
61
|
+
attributes['requestType'] = 'BASE64_ENCODED'
|
62
|
+
|
63
|
+
super(attributes)
|
64
|
+
|
65
|
+
# convert string to symbol for hash key
|
66
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
67
|
+
|
68
|
+
self.content_type = attributes[:'contentType'] if attributes[:'contentType']
|
69
|
+
self.content_type = "CSV" if content_type.nil? && !attributes.key?(:'contentType') # rubocop:disable Style/StringLiterals
|
70
|
+
|
71
|
+
raise 'You cannot provide both :contentType and :content_type' if attributes.key?(:'contentType') && attributes.key?(:'content_type')
|
72
|
+
|
73
|
+
self.content_type = attributes[:'content_type'] if attributes[:'content_type']
|
74
|
+
self.content_type = "CSV" if content_type.nil? && !attributes.key?(:'contentType') && !attributes.key?(:'content_type') # rubocop:disable Style/StringLiterals
|
75
|
+
|
76
|
+
self.content = attributes[:'content'] if attributes[:'content']
|
77
|
+
end
|
78
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
79
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
80
|
+
|
81
|
+
# Custom attribute writer method checking allowed values (enum).
|
82
|
+
# @param [Object] content_type Object to be assigned
|
83
|
+
def content_type=(content_type)
|
84
|
+
raise "Invalid value for 'content_type': this must be one of the values in CONTENT_TYPE_ENUM." if content_type && !CONTENT_TYPE_ENUM.include?(content_type)
|
85
|
+
|
86
|
+
@content_type = content_type
|
87
|
+
end
|
88
|
+
|
89
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
90
|
+
|
91
|
+
|
92
|
+
# Checks equality by comparing each attribute.
|
93
|
+
# @param [Object] other the other object to be compared
|
94
|
+
def ==(other)
|
95
|
+
return true if equal?(other)
|
96
|
+
|
97
|
+
self.class == other.class &&
|
98
|
+
model_id == other.model_id &&
|
99
|
+
request_type == other.request_type &&
|
100
|
+
content_type == other.content_type &&
|
101
|
+
content == other.content
|
102
|
+
end
|
103
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
104
|
+
|
105
|
+
# @see the `==` method
|
106
|
+
# @param [Object] other the other object to be compared
|
107
|
+
def eql?(other)
|
108
|
+
self == other
|
109
|
+
end
|
110
|
+
|
111
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
112
|
+
|
113
|
+
|
114
|
+
# Calculates hash code according to all attributes.
|
115
|
+
# @return [Fixnum] Hash code
|
116
|
+
def hash
|
117
|
+
[model_id, request_type, content_type, content].hash
|
118
|
+
end
|
119
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
120
|
+
|
121
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
122
|
+
|
123
|
+
|
124
|
+
# Builds the object from hash
|
125
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
126
|
+
# @return [Object] Returns the model itself
|
127
|
+
def build_from_hash(attributes)
|
128
|
+
return nil unless attributes.is_a?(Hash)
|
129
|
+
|
130
|
+
self.class.swagger_types.each_pair do |key, type|
|
131
|
+
if type =~ /^Array<(.*)>/i
|
132
|
+
# check to ensure the input is an array given that the the attribute
|
133
|
+
# is documented as an array but the input is not
|
134
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
135
|
+
public_method("#{key}=").call(
|
136
|
+
attributes[self.class.attribute_map[key]]
|
137
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
138
|
+
)
|
139
|
+
end
|
140
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
141
|
+
public_method("#{key}=").call(
|
142
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
143
|
+
)
|
144
|
+
end
|
145
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
146
|
+
end
|
147
|
+
|
148
|
+
self
|
149
|
+
end
|
150
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
151
|
+
|
152
|
+
# Returns the string representation of the object
|
153
|
+
# @return [String] String presentation of the object
|
154
|
+
def to_s
|
155
|
+
to_hash.to_s
|
156
|
+
end
|
157
|
+
|
158
|
+
# Returns the object in the form of hash
|
159
|
+
# @return [Hash] Returns the object in the form of hash
|
160
|
+
def to_hash
|
161
|
+
hash = {}
|
162
|
+
self.class.attribute_map.each_pair do |attr, param|
|
163
|
+
value = public_method(attr).call
|
164
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
165
|
+
|
166
|
+
hash[param] = _to_hash(value)
|
167
|
+
end
|
168
|
+
hash
|
169
|
+
end
|
170
|
+
|
171
|
+
private
|
172
|
+
|
173
|
+
# Outputs non-array value in the form of hash
|
174
|
+
# For object, use to_hash. Otherwise, just return the value
|
175
|
+
# @param [Object] value Any valid value
|
176
|
+
# @return [Hash] Returns the value in the form of hash
|
177
|
+
def _to_hash(value)
|
178
|
+
if value.is_a?(Array)
|
179
|
+
value.compact.map { |v| _to_hash(v) }
|
180
|
+
elsif value.is_a?(Hash)
|
181
|
+
{}.tap do |hash|
|
182
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
183
|
+
end
|
184
|
+
elsif value.respond_to? :to_hash
|
185
|
+
value.to_hash
|
186
|
+
else
|
187
|
+
value
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,191 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
require 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# Possible data sources
|
10
|
+
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
11
|
+
class AiAnomalyDetection::Models::InfluxDetails
|
12
|
+
INFLUX_VERSION_ENUM = [
|
13
|
+
INFLUX_VERSION_V_1_8 = 'V_1_8'.freeze,
|
14
|
+
INFLUX_VERSION_V_2_0 = 'V_2_0'.freeze,
|
15
|
+
INFLUX_VERSION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
16
|
+
].freeze
|
17
|
+
|
18
|
+
# **[Required]** Data source type where actually data asset is being stored
|
19
|
+
# @return [String]
|
20
|
+
attr_reader :influx_version
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
# rubocop:disable Style/SymbolLiteral
|
26
|
+
'influx_version': :'influxVersion'
|
27
|
+
# rubocop:enable Style/SymbolLiteral
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
# rubocop:disable Style/SymbolLiteral
|
35
|
+
'influx_version': :'String'
|
36
|
+
# rubocop:enable Style/SymbolLiteral
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity, Metrics/AbcSize
|
41
|
+
|
42
|
+
|
43
|
+
# Given the hash representation of a subtype of this class,
|
44
|
+
# use the info in the hash to return the class of the subtype.
|
45
|
+
def self.get_subtype(object_hash)
|
46
|
+
type = object_hash[:'influxVersion'] # rubocop:disable Style/SymbolLiteral
|
47
|
+
|
48
|
+
return 'OCI::AiAnomalyDetection::Models::InfluxDetailsV1v8' if type == 'V_1_8'
|
49
|
+
return 'OCI::AiAnomalyDetection::Models::InfluxDetailsV2v0' if type == 'V_2_0'
|
50
|
+
|
51
|
+
# TODO: Log a warning when the subtype is not found.
|
52
|
+
'OCI::AiAnomalyDetection::Models::InfluxDetails'
|
53
|
+
end
|
54
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity, Metrics/AbcSize
|
55
|
+
|
56
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
57
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
58
|
+
|
59
|
+
|
60
|
+
# Initializes the object
|
61
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
62
|
+
# @option attributes [String] :influx_version The value to assign to the {#influx_version} property
|
63
|
+
def initialize(attributes = {})
|
64
|
+
return unless attributes.is_a?(Hash)
|
65
|
+
|
66
|
+
# convert string to symbol for hash key
|
67
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
68
|
+
|
69
|
+
self.influx_version = attributes[:'influxVersion'] if attributes[:'influxVersion']
|
70
|
+
|
71
|
+
raise 'You cannot provide both :influxVersion and :influx_version' if attributes.key?(:'influxVersion') && attributes.key?(:'influx_version')
|
72
|
+
|
73
|
+
self.influx_version = attributes[:'influx_version'] if attributes[:'influx_version']
|
74
|
+
end
|
75
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
76
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
77
|
+
|
78
|
+
# Custom attribute writer method checking allowed values (enum).
|
79
|
+
# @param [Object] influx_version Object to be assigned
|
80
|
+
def influx_version=(influx_version)
|
81
|
+
# rubocop:disable Style/ConditionalAssignment
|
82
|
+
if influx_version && !INFLUX_VERSION_ENUM.include?(influx_version)
|
83
|
+
OCI.logger.debug("Unknown value for 'influx_version' [" + influx_version + "]. Mapping to 'INFLUX_VERSION_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
84
|
+
@influx_version = INFLUX_VERSION_UNKNOWN_ENUM_VALUE
|
85
|
+
else
|
86
|
+
@influx_version = influx_version
|
87
|
+
end
|
88
|
+
# rubocop:enable Style/ConditionalAssignment
|
89
|
+
end
|
90
|
+
|
91
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
92
|
+
|
93
|
+
|
94
|
+
# Checks equality by comparing each attribute.
|
95
|
+
# @param [Object] other the other object to be compared
|
96
|
+
def ==(other)
|
97
|
+
return true if equal?(other)
|
98
|
+
|
99
|
+
self.class == other.class &&
|
100
|
+
influx_version == other.influx_version
|
101
|
+
end
|
102
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
103
|
+
|
104
|
+
# @see the `==` method
|
105
|
+
# @param [Object] other the other object to be compared
|
106
|
+
def eql?(other)
|
107
|
+
self == other
|
108
|
+
end
|
109
|
+
|
110
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
111
|
+
|
112
|
+
|
113
|
+
# Calculates hash code according to all attributes.
|
114
|
+
# @return [Fixnum] Hash code
|
115
|
+
def hash
|
116
|
+
[influx_version].hash
|
117
|
+
end
|
118
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
119
|
+
|
120
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
121
|
+
|
122
|
+
|
123
|
+
# Builds the object from hash
|
124
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
125
|
+
# @return [Object] Returns the model itself
|
126
|
+
def build_from_hash(attributes)
|
127
|
+
return nil unless attributes.is_a?(Hash)
|
128
|
+
|
129
|
+
self.class.swagger_types.each_pair do |key, type|
|
130
|
+
if type =~ /^Array<(.*)>/i
|
131
|
+
# check to ensure the input is an array given that the the attribute
|
132
|
+
# is documented as an array but the input is not
|
133
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
134
|
+
public_method("#{key}=").call(
|
135
|
+
attributes[self.class.attribute_map[key]]
|
136
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
137
|
+
)
|
138
|
+
end
|
139
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
140
|
+
public_method("#{key}=").call(
|
141
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
142
|
+
)
|
143
|
+
end
|
144
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
145
|
+
end
|
146
|
+
|
147
|
+
self
|
148
|
+
end
|
149
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
150
|
+
|
151
|
+
# Returns the string representation of the object
|
152
|
+
# @return [String] String presentation of the object
|
153
|
+
def to_s
|
154
|
+
to_hash.to_s
|
155
|
+
end
|
156
|
+
|
157
|
+
# Returns the object in the form of hash
|
158
|
+
# @return [Hash] Returns the object in the form of hash
|
159
|
+
def to_hash
|
160
|
+
hash = {}
|
161
|
+
self.class.attribute_map.each_pair do |attr, param|
|
162
|
+
value = public_method(attr).call
|
163
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
164
|
+
|
165
|
+
hash[param] = _to_hash(value)
|
166
|
+
end
|
167
|
+
hash
|
168
|
+
end
|
169
|
+
|
170
|
+
private
|
171
|
+
|
172
|
+
# Outputs non-array value in the form of hash
|
173
|
+
# For object, use to_hash. Otherwise, just return the value
|
174
|
+
# @param [Object] value Any valid value
|
175
|
+
# @return [Hash] Returns the value in the form of hash
|
176
|
+
def _to_hash(value)
|
177
|
+
if value.is_a?(Array)
|
178
|
+
value.compact.map { |v| _to_hash(v) }
|
179
|
+
elsif value.is_a?(Hash)
|
180
|
+
{}.tap do |hash|
|
181
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
182
|
+
end
|
183
|
+
elsif value.respond_to? :to_hash
|
184
|
+
value.to_hash
|
185
|
+
else
|
186
|
+
value
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|