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
@@ -16,6 +16,8 @@ module OCI
|
|
16
16
|
MODEL_TYPE_ORACLEDB_CONNECTION = 'ORACLEDB_CONNECTION'.freeze,
|
17
17
|
MODEL_TYPE_MYSQL_CONNECTION = 'MYSQL_CONNECTION'.freeze,
|
18
18
|
MODEL_TYPE_GENERIC_JDBC_CONNECTION = 'GENERIC_JDBC_CONNECTION'.freeze,
|
19
|
+
MODEL_TYPE_BICC_CONNECTION = 'BICC_CONNECTION'.freeze,
|
20
|
+
MODEL_TYPE_AMAZON_S3_CONNECTION = 'AMAZON_S3_CONNECTION'.freeze,
|
19
21
|
MODEL_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
20
22
|
].freeze
|
21
23
|
|
@@ -125,8 +127,10 @@ module OCI
|
|
125
127
|
type = object_hash[:'modelType'] # rubocop:disable Style/SymbolLiteral
|
126
128
|
|
127
129
|
return 'OCI::DataIntegration::Models::ConnectionSummaryFromJdbc' if type == 'GENERIC_JDBC_CONNECTION'
|
130
|
+
return 'OCI::DataIntegration::Models::ConnectionSummaryFromBICC' if type == 'BICC_CONNECTION'
|
128
131
|
return 'OCI::DataIntegration::Models::ConnectionSummaryFromAtp' if type == 'ORACLE_ATP_CONNECTION'
|
129
132
|
return 'OCI::DataIntegration::Models::ConnectionSummaryFromOracle' if type == 'ORACLEDB_CONNECTION'
|
133
|
+
return 'OCI::DataIntegration::Models::ConnectionSummaryFromAmazonS3' if type == 'AMAZON_S3_CONNECTION'
|
130
134
|
return 'OCI::DataIntegration::Models::ConnectionSummaryFromAdwc' if type == 'ORACLE_ADWC_CONNECTION'
|
131
135
|
return 'OCI::DataIntegration::Models::ConnectionSummaryFromMySQL' if type == 'MYSQL_CONNECTION'
|
132
136
|
return 'OCI::DataIntegration::Models::ConnectionSummaryFromObjectStorage' if type == 'ORACLE_OBJECT_STORAGE_CONNECTION'
|
@@ -0,0 +1,227 @@
|
|
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
|
+
require_relative 'connection_summary'
|
7
|
+
|
8
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
9
|
+
module OCI
|
10
|
+
# The connection summary details for Amazons3 data asset.
|
11
|
+
class DataIntegration::Models::ConnectionSummaryFromAmazonS3 < DataIntegration::Models::ConnectionSummary
|
12
|
+
# @return [OCI::DataIntegration::Models::SensitiveAttribute]
|
13
|
+
attr_accessor :access_key
|
14
|
+
|
15
|
+
# @return [OCI::DataIntegration::Models::SensitiveAttribute]
|
16
|
+
attr_accessor :secret_key
|
17
|
+
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
19
|
+
def self.attribute_map
|
20
|
+
{
|
21
|
+
# rubocop:disable Style/SymbolLiteral
|
22
|
+
'model_type': :'modelType',
|
23
|
+
'key': :'key',
|
24
|
+
'model_version': :'modelVersion',
|
25
|
+
'parent_ref': :'parentRef',
|
26
|
+
'name': :'name',
|
27
|
+
'description': :'description',
|
28
|
+
'object_version': :'objectVersion',
|
29
|
+
'object_status': :'objectStatus',
|
30
|
+
'identifier': :'identifier',
|
31
|
+
'primary_schema': :'primarySchema',
|
32
|
+
'connection_properties': :'connectionProperties',
|
33
|
+
'is_default': :'isDefault',
|
34
|
+
'metadata': :'metadata',
|
35
|
+
'key_map': :'keyMap',
|
36
|
+
'access_key': :'accessKey',
|
37
|
+
'secret_key': :'secretKey'
|
38
|
+
# rubocop:enable Style/SymbolLiteral
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# Attribute type mapping.
|
43
|
+
def self.swagger_types
|
44
|
+
{
|
45
|
+
# rubocop:disable Style/SymbolLiteral
|
46
|
+
'model_type': :'String',
|
47
|
+
'key': :'String',
|
48
|
+
'model_version': :'String',
|
49
|
+
'parent_ref': :'OCI::DataIntegration::Models::ParentReference',
|
50
|
+
'name': :'String',
|
51
|
+
'description': :'String',
|
52
|
+
'object_version': :'Integer',
|
53
|
+
'object_status': :'Integer',
|
54
|
+
'identifier': :'String',
|
55
|
+
'primary_schema': :'OCI::DataIntegration::Models::Schema',
|
56
|
+
'connection_properties': :'Array<OCI::DataIntegration::Models::ConnectionProperty>',
|
57
|
+
'is_default': :'BOOLEAN',
|
58
|
+
'metadata': :'OCI::DataIntegration::Models::ObjectMetadata',
|
59
|
+
'key_map': :'Hash<String, String>',
|
60
|
+
'access_key': :'OCI::DataIntegration::Models::SensitiveAttribute',
|
61
|
+
'secret_key': :'OCI::DataIntegration::Models::SensitiveAttribute'
|
62
|
+
# rubocop:enable Style/SymbolLiteral
|
63
|
+
}
|
64
|
+
end
|
65
|
+
|
66
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
67
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
68
|
+
|
69
|
+
|
70
|
+
# Initializes the object
|
71
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
72
|
+
# @option attributes [String] :key The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#key #key} proprety
|
73
|
+
# @option attributes [String] :model_version The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#model_version #model_version} proprety
|
74
|
+
# @option attributes [OCI::DataIntegration::Models::ParentReference] :parent_ref The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#parent_ref #parent_ref} proprety
|
75
|
+
# @option attributes [String] :name The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#name #name} proprety
|
76
|
+
# @option attributes [String] :description The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#description #description} proprety
|
77
|
+
# @option attributes [Integer] :object_version The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#object_version #object_version} proprety
|
78
|
+
# @option attributes [Integer] :object_status The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#object_status #object_status} proprety
|
79
|
+
# @option attributes [String] :identifier The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#identifier #identifier} proprety
|
80
|
+
# @option attributes [OCI::DataIntegration::Models::Schema] :primary_schema The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#primary_schema #primary_schema} proprety
|
81
|
+
# @option attributes [Array<OCI::DataIntegration::Models::ConnectionProperty>] :connection_properties The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#connection_properties #connection_properties} proprety
|
82
|
+
# @option attributes [BOOLEAN] :is_default The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#is_default #is_default} proprety
|
83
|
+
# @option attributes [OCI::DataIntegration::Models::ObjectMetadata] :metadata The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#metadata #metadata} proprety
|
84
|
+
# @option attributes [Hash<String, String>] :key_map The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#key_map #key_map} proprety
|
85
|
+
# @option attributes [OCI::DataIntegration::Models::SensitiveAttribute] :access_key The value to assign to the {#access_key} property
|
86
|
+
# @option attributes [OCI::DataIntegration::Models::SensitiveAttribute] :secret_key The value to assign to the {#secret_key} property
|
87
|
+
def initialize(attributes = {})
|
88
|
+
return unless attributes.is_a?(Hash)
|
89
|
+
|
90
|
+
attributes['modelType'] = 'AMAZON_S3_CONNECTION'
|
91
|
+
|
92
|
+
super(attributes)
|
93
|
+
|
94
|
+
# convert string to symbol for hash key
|
95
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
96
|
+
|
97
|
+
self.access_key = attributes[:'accessKey'] if attributes[:'accessKey']
|
98
|
+
|
99
|
+
raise 'You cannot provide both :accessKey and :access_key' if attributes.key?(:'accessKey') && attributes.key?(:'access_key')
|
100
|
+
|
101
|
+
self.access_key = attributes[:'access_key'] if attributes[:'access_key']
|
102
|
+
|
103
|
+
self.secret_key = attributes[:'secretKey'] if attributes[:'secretKey']
|
104
|
+
|
105
|
+
raise 'You cannot provide both :secretKey and :secret_key' if attributes.key?(:'secretKey') && attributes.key?(:'secret_key')
|
106
|
+
|
107
|
+
self.secret_key = attributes[:'secret_key'] if attributes[:'secret_key']
|
108
|
+
end
|
109
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
110
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
111
|
+
|
112
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
113
|
+
|
114
|
+
|
115
|
+
# Checks equality by comparing each attribute.
|
116
|
+
# @param [Object] other the other object to be compared
|
117
|
+
def ==(other)
|
118
|
+
return true if equal?(other)
|
119
|
+
|
120
|
+
self.class == other.class &&
|
121
|
+
model_type == other.model_type &&
|
122
|
+
key == other.key &&
|
123
|
+
model_version == other.model_version &&
|
124
|
+
parent_ref == other.parent_ref &&
|
125
|
+
name == other.name &&
|
126
|
+
description == other.description &&
|
127
|
+
object_version == other.object_version &&
|
128
|
+
object_status == other.object_status &&
|
129
|
+
identifier == other.identifier &&
|
130
|
+
primary_schema == other.primary_schema &&
|
131
|
+
connection_properties == other.connection_properties &&
|
132
|
+
is_default == other.is_default &&
|
133
|
+
metadata == other.metadata &&
|
134
|
+
key_map == other.key_map &&
|
135
|
+
access_key == other.access_key &&
|
136
|
+
secret_key == other.secret_key
|
137
|
+
end
|
138
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
139
|
+
|
140
|
+
# @see the `==` method
|
141
|
+
# @param [Object] other the other object to be compared
|
142
|
+
def eql?(other)
|
143
|
+
self == other
|
144
|
+
end
|
145
|
+
|
146
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
147
|
+
|
148
|
+
|
149
|
+
# Calculates hash code according to all attributes.
|
150
|
+
# @return [Fixnum] Hash code
|
151
|
+
def hash
|
152
|
+
[model_type, key, model_version, parent_ref, name, description, object_version, object_status, identifier, primary_schema, connection_properties, is_default, metadata, key_map, access_key, secret_key].hash
|
153
|
+
end
|
154
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
155
|
+
|
156
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
157
|
+
|
158
|
+
|
159
|
+
# Builds the object from hash
|
160
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
161
|
+
# @return [Object] Returns the model itself
|
162
|
+
def build_from_hash(attributes)
|
163
|
+
return nil unless attributes.is_a?(Hash)
|
164
|
+
|
165
|
+
self.class.swagger_types.each_pair do |key, type|
|
166
|
+
if type =~ /^Array<(.*)>/i
|
167
|
+
# check to ensure the input is an array given that the the attribute
|
168
|
+
# is documented as an array but the input is not
|
169
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
170
|
+
public_method("#{key}=").call(
|
171
|
+
attributes[self.class.attribute_map[key]]
|
172
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
173
|
+
)
|
174
|
+
end
|
175
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
176
|
+
public_method("#{key}=").call(
|
177
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
178
|
+
)
|
179
|
+
end
|
180
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
181
|
+
end
|
182
|
+
|
183
|
+
self
|
184
|
+
end
|
185
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
186
|
+
|
187
|
+
# Returns the string representation of the object
|
188
|
+
# @return [String] String presentation of the object
|
189
|
+
def to_s
|
190
|
+
to_hash.to_s
|
191
|
+
end
|
192
|
+
|
193
|
+
# Returns the object in the form of hash
|
194
|
+
# @return [Hash] Returns the object in the form of hash
|
195
|
+
def to_hash
|
196
|
+
hash = {}
|
197
|
+
self.class.attribute_map.each_pair do |attr, param|
|
198
|
+
value = public_method(attr).call
|
199
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
200
|
+
|
201
|
+
hash[param] = _to_hash(value)
|
202
|
+
end
|
203
|
+
hash
|
204
|
+
end
|
205
|
+
|
206
|
+
private
|
207
|
+
|
208
|
+
# Outputs non-array value in the form of hash
|
209
|
+
# For object, use to_hash. Otherwise, just return the value
|
210
|
+
# @param [Object] value Any valid value
|
211
|
+
# @return [Hash] Returns the value in the form of hash
|
212
|
+
def _to_hash(value)
|
213
|
+
if value.is_a?(Array)
|
214
|
+
value.compact.map { |v| _to_hash(v) }
|
215
|
+
elsif value.is_a?(Hash)
|
216
|
+
{}.tap do |hash|
|
217
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
218
|
+
end
|
219
|
+
elsif value.respond_to? :to_hash
|
220
|
+
value.to_hash
|
221
|
+
else
|
222
|
+
value
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,223 @@
|
|
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 'connection_summary'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# The connection summary details for an Oracle Database data asset.
|
10
|
+
class DataIntegration::Models::ConnectionSummaryFromBICC < DataIntegration::Models::ConnectionSummary
|
11
|
+
# The user name for the connection.
|
12
|
+
# @return [String]
|
13
|
+
attr_accessor :username
|
14
|
+
|
15
|
+
# @return [OCI::DataIntegration::Models::SensitiveAttribute]
|
16
|
+
attr_accessor :password_secret
|
17
|
+
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
19
|
+
def self.attribute_map
|
20
|
+
{
|
21
|
+
# rubocop:disable Style/SymbolLiteral
|
22
|
+
'model_type': :'modelType',
|
23
|
+
'key': :'key',
|
24
|
+
'model_version': :'modelVersion',
|
25
|
+
'parent_ref': :'parentRef',
|
26
|
+
'name': :'name',
|
27
|
+
'description': :'description',
|
28
|
+
'object_version': :'objectVersion',
|
29
|
+
'object_status': :'objectStatus',
|
30
|
+
'identifier': :'identifier',
|
31
|
+
'primary_schema': :'primarySchema',
|
32
|
+
'connection_properties': :'connectionProperties',
|
33
|
+
'is_default': :'isDefault',
|
34
|
+
'metadata': :'metadata',
|
35
|
+
'key_map': :'keyMap',
|
36
|
+
'username': :'username',
|
37
|
+
'password_secret': :'passwordSecret'
|
38
|
+
# rubocop:enable Style/SymbolLiteral
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# Attribute type mapping.
|
43
|
+
def self.swagger_types
|
44
|
+
{
|
45
|
+
# rubocop:disable Style/SymbolLiteral
|
46
|
+
'model_type': :'String',
|
47
|
+
'key': :'String',
|
48
|
+
'model_version': :'String',
|
49
|
+
'parent_ref': :'OCI::DataIntegration::Models::ParentReference',
|
50
|
+
'name': :'String',
|
51
|
+
'description': :'String',
|
52
|
+
'object_version': :'Integer',
|
53
|
+
'object_status': :'Integer',
|
54
|
+
'identifier': :'String',
|
55
|
+
'primary_schema': :'OCI::DataIntegration::Models::Schema',
|
56
|
+
'connection_properties': :'Array<OCI::DataIntegration::Models::ConnectionProperty>',
|
57
|
+
'is_default': :'BOOLEAN',
|
58
|
+
'metadata': :'OCI::DataIntegration::Models::ObjectMetadata',
|
59
|
+
'key_map': :'Hash<String, String>',
|
60
|
+
'username': :'String',
|
61
|
+
'password_secret': :'OCI::DataIntegration::Models::SensitiveAttribute'
|
62
|
+
# rubocop:enable Style/SymbolLiteral
|
63
|
+
}
|
64
|
+
end
|
65
|
+
|
66
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
67
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
68
|
+
|
69
|
+
|
70
|
+
# Initializes the object
|
71
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
72
|
+
# @option attributes [String] :key The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#key #key} proprety
|
73
|
+
# @option attributes [String] :model_version The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#model_version #model_version} proprety
|
74
|
+
# @option attributes [OCI::DataIntegration::Models::ParentReference] :parent_ref The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#parent_ref #parent_ref} proprety
|
75
|
+
# @option attributes [String] :name The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#name #name} proprety
|
76
|
+
# @option attributes [String] :description The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#description #description} proprety
|
77
|
+
# @option attributes [Integer] :object_version The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#object_version #object_version} proprety
|
78
|
+
# @option attributes [Integer] :object_status The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#object_status #object_status} proprety
|
79
|
+
# @option attributes [String] :identifier The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#identifier #identifier} proprety
|
80
|
+
# @option attributes [OCI::DataIntegration::Models::Schema] :primary_schema The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#primary_schema #primary_schema} proprety
|
81
|
+
# @option attributes [Array<OCI::DataIntegration::Models::ConnectionProperty>] :connection_properties The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#connection_properties #connection_properties} proprety
|
82
|
+
# @option attributes [BOOLEAN] :is_default The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#is_default #is_default} proprety
|
83
|
+
# @option attributes [OCI::DataIntegration::Models::ObjectMetadata] :metadata The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#metadata #metadata} proprety
|
84
|
+
# @option attributes [Hash<String, String>] :key_map The value to assign to the {OCI::DataIntegration::Models::ConnectionSummary#key_map #key_map} proprety
|
85
|
+
# @option attributes [String] :username The value to assign to the {#username} property
|
86
|
+
# @option attributes [OCI::DataIntegration::Models::SensitiveAttribute] :password_secret The value to assign to the {#password_secret} property
|
87
|
+
def initialize(attributes = {})
|
88
|
+
return unless attributes.is_a?(Hash)
|
89
|
+
|
90
|
+
attributes['modelType'] = 'BICC_CONNECTION'
|
91
|
+
|
92
|
+
super(attributes)
|
93
|
+
|
94
|
+
# convert string to symbol for hash key
|
95
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
96
|
+
|
97
|
+
self.username = attributes[:'username'] if attributes[:'username']
|
98
|
+
|
99
|
+
self.password_secret = attributes[:'passwordSecret'] if attributes[:'passwordSecret']
|
100
|
+
|
101
|
+
raise 'You cannot provide both :passwordSecret and :password_secret' if attributes.key?(:'passwordSecret') && attributes.key?(:'password_secret')
|
102
|
+
|
103
|
+
self.password_secret = attributes[:'password_secret'] if attributes[:'password_secret']
|
104
|
+
end
|
105
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
106
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
107
|
+
|
108
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
109
|
+
|
110
|
+
|
111
|
+
# Checks equality by comparing each attribute.
|
112
|
+
# @param [Object] other the other object to be compared
|
113
|
+
def ==(other)
|
114
|
+
return true if equal?(other)
|
115
|
+
|
116
|
+
self.class == other.class &&
|
117
|
+
model_type == other.model_type &&
|
118
|
+
key == other.key &&
|
119
|
+
model_version == other.model_version &&
|
120
|
+
parent_ref == other.parent_ref &&
|
121
|
+
name == other.name &&
|
122
|
+
description == other.description &&
|
123
|
+
object_version == other.object_version &&
|
124
|
+
object_status == other.object_status &&
|
125
|
+
identifier == other.identifier &&
|
126
|
+
primary_schema == other.primary_schema &&
|
127
|
+
connection_properties == other.connection_properties &&
|
128
|
+
is_default == other.is_default &&
|
129
|
+
metadata == other.metadata &&
|
130
|
+
key_map == other.key_map &&
|
131
|
+
username == other.username &&
|
132
|
+
password_secret == other.password_secret
|
133
|
+
end
|
134
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
135
|
+
|
136
|
+
# @see the `==` method
|
137
|
+
# @param [Object] other the other object to be compared
|
138
|
+
def eql?(other)
|
139
|
+
self == other
|
140
|
+
end
|
141
|
+
|
142
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
143
|
+
|
144
|
+
|
145
|
+
# Calculates hash code according to all attributes.
|
146
|
+
# @return [Fixnum] Hash code
|
147
|
+
def hash
|
148
|
+
[model_type, key, model_version, parent_ref, name, description, object_version, object_status, identifier, primary_schema, connection_properties, is_default, metadata, key_map, username, password_secret].hash
|
149
|
+
end
|
150
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
151
|
+
|
152
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
153
|
+
|
154
|
+
|
155
|
+
# Builds the object from hash
|
156
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
157
|
+
# @return [Object] Returns the model itself
|
158
|
+
def build_from_hash(attributes)
|
159
|
+
return nil unless attributes.is_a?(Hash)
|
160
|
+
|
161
|
+
self.class.swagger_types.each_pair do |key, type|
|
162
|
+
if type =~ /^Array<(.*)>/i
|
163
|
+
# check to ensure the input is an array given that the the attribute
|
164
|
+
# is documented as an array but the input is not
|
165
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
166
|
+
public_method("#{key}=").call(
|
167
|
+
attributes[self.class.attribute_map[key]]
|
168
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
169
|
+
)
|
170
|
+
end
|
171
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
172
|
+
public_method("#{key}=").call(
|
173
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
174
|
+
)
|
175
|
+
end
|
176
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
177
|
+
end
|
178
|
+
|
179
|
+
self
|
180
|
+
end
|
181
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
182
|
+
|
183
|
+
# Returns the string representation of the object
|
184
|
+
# @return [String] String presentation of the object
|
185
|
+
def to_s
|
186
|
+
to_hash.to_s
|
187
|
+
end
|
188
|
+
|
189
|
+
# Returns the object in the form of hash
|
190
|
+
# @return [Hash] Returns the object in the form of hash
|
191
|
+
def to_hash
|
192
|
+
hash = {}
|
193
|
+
self.class.attribute_map.each_pair do |attr, param|
|
194
|
+
value = public_method(attr).call
|
195
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
196
|
+
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
private
|
203
|
+
|
204
|
+
# Outputs non-array value in the form of hash
|
205
|
+
# For object, use to_hash. Otherwise, just return the value
|
206
|
+
# @param [Object] value Any valid value
|
207
|
+
# @return [Hash] Returns the value in the form of hash
|
208
|
+
def _to_hash(value)
|
209
|
+
if value.is_a?(Array)
|
210
|
+
value.compact.map { |v| _to_hash(v) }
|
211
|
+
elsif value.is_a?(Hash)
|
212
|
+
{}.tap do |hash|
|
213
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
214
|
+
end
|
215
|
+
elsif value.respond_to? :to_hash
|
216
|
+
value.to_hash
|
217
|
+
else
|
218
|
+
value
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
223
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|