oci 2.143.1__py3-none-any.whl → 2.144.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_speech/models/realtime_parameters.py +61 -4
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_engine/models/cluster_create_options.py +47 -0
- oci/container_engine/models/cluster_endpoints.py +33 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +256 -256
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +3284 -1447
- oci/data_safe/data_safe_client_composite_operations.py +224 -0
- oci/data_safe/models/__init__.py +30 -4
- oci/data_safe/models/alert.py +0 -2
- oci/data_safe/models/alert_policy.py +0 -2
- oci/data_safe/models/alert_policy_summary.py +0 -2
- oci/data_safe/models/alert_summary.py +0 -2
- oci/data_safe/models/audit_archive_retrieval.py +0 -2
- oci/data_safe/models/audit_archive_retrieval_summary.py +0 -2
- oci/data_safe/models/audit_event_summary.py +0 -2
- oci/data_safe/models/audit_policy.py +0 -2
- oci/data_safe/models/audit_policy_summary.py +0 -2
- oci/data_safe/models/audit_profile.py +2 -4
- oci/data_safe/models/audit_profile_summary.py +2 -4
- oci/data_safe/models/audit_trail.py +0 -2
- oci/data_safe/models/audit_trail_summary.py +0 -2
- oci/data_safe/models/change_retention_details.py +2 -2
- oci/data_safe/models/change_sensitive_types_export_compartment_details.py +72 -0
- oci/data_safe/models/column_filter.py +11 -3
- oci/data_safe/models/columns_info.py +243 -0
- oci/data_safe/models/create_alert_policy_details.py +0 -2
- oci/data_safe/models/create_audit_archive_retrieval_details.py +0 -2
- oci/data_safe/models/create_data_safe_private_endpoint_details.py +0 -2
- oci/data_safe/models/create_discovery_job_details.py +0 -2
- oci/data_safe/models/create_library_masking_format_details.py +0 -2
- oci/data_safe/models/create_masking_policy_details.py +0 -2
- oci/data_safe/models/create_on_prem_connector_details.py +0 -2
- oci/data_safe/models/create_referential_relation_details.py +185 -0
- oci/data_safe/models/create_report_definition_details.py +0 -2
- oci/data_safe/models/create_sdm_masking_policy_difference_details.py +0 -2
- oci/data_safe/models/create_security_assessment_details.py +1 -3
- oci/data_safe/models/create_sensitive_data_model_details.py +0 -2
- oci/data_safe/models/create_sensitive_type_details.py +0 -2
- oci/data_safe/models/create_sensitive_types_export_details.py +277 -0
- oci/data_safe/models/create_sql_collection_details.py +0 -2
- oci/data_safe/models/create_target_alert_policy_association_details.py +0 -2
- oci/data_safe/models/create_target_database_details.py +0 -2
- oci/data_safe/models/create_user_assessment_details.py +0 -2
- oci/data_safe/models/data_safe_configuration.py +0 -2
- oci/data_safe/models/data_safe_private_endpoint.py +0 -2
- oci/data_safe/models/data_safe_private_endpoint_summary.py +0 -2
- oci/data_safe/models/database_security_config.py +0 -2
- oci/data_safe/models/database_security_config_summary.py +0 -2
- oci/data_safe/models/discovery_job.py +0 -2
- oci/data_safe/models/discovery_job_summary.py +0 -2
- oci/data_safe/models/download_sensitive_types_export_details.py +84 -0
- oci/data_safe/models/generate_health_report_details.py +0 -2
- oci/data_safe/models/library_masking_format.py +0 -2
- oci/data_safe/models/library_masking_format_summary.py +0 -2
- oci/data_safe/models/masking_analytics_dimensions.py +2 -2
- oci/data_safe/models/masking_policy.py +0 -2
- oci/data_safe/models/masking_policy_columns_info.py +177 -0
- oci/data_safe/models/masking_policy_health_report.py +62 -2
- oci/data_safe/models/masking_policy_health_report_log_summary.py +125 -2
- oci/data_safe/models/masking_policy_health_report_summary.py +62 -2
- oci/data_safe/models/masking_policy_referential_relation_collection.py +72 -0
- oci/data_safe/models/masking_policy_referential_relation_summary.py +211 -0
- oci/data_safe/models/masking_policy_summary.py +0 -2
- oci/data_safe/models/on_prem_connector.py +0 -2
- oci/data_safe/models/on_prem_connector_summary.py +0 -2
- oci/data_safe/models/profile.py +0 -2
- oci/data_safe/models/profile_aggregation.py +4 -4
- oci/data_safe/models/profile_summary.py +0 -2
- oci/data_safe/models/referential_relation.py +303 -0
- oci/data_safe/models/referential_relation_collection.py +72 -0
- oci/data_safe/models/referential_relation_summary.py +303 -0
- oci/data_safe/models/regular_expression_format_entry.py +2 -4
- oci/data_safe/models/report.py +0 -2
- oci/data_safe/models/report_definition.py +0 -2
- oci/data_safe/models/report_definition_summary.py +0 -2
- oci/data_safe/models/report_summary.py +0 -2
- oci/data_safe/models/run_security_assessment_details.py +0 -2
- oci/data_safe/models/run_user_assessment_details.py +0 -2
- oci/data_safe/models/sdm_masking_policy_difference.py +0 -2
- oci/data_safe/models/sdm_masking_policy_difference_summary.py +0 -2
- oci/data_safe/models/security_assessment.py +0 -2
- oci/data_safe/models/security_assessment_summary.py +0 -2
- oci/data_safe/models/security_feature_summary.py +0 -2
- oci/data_safe/models/security_policy.py +0 -2
- oci/data_safe/models/security_policy_deployment.py +0 -2
- oci/data_safe/models/security_policy_deployment_summary.py +0 -2
- oci/data_safe/models/security_policy_report.py +0 -2
- oci/data_safe/models/security_policy_report_summary.py +0 -2
- oci/data_safe/models/security_policy_summary.py +0 -2
- oci/data_safe/models/sensitive_data_model.py +0 -2
- oci/data_safe/models/sensitive_data_model_summary.py +0 -2
- oci/data_safe/models/sensitive_type.py +0 -2
- oci/data_safe/models/sensitive_type_summary.py +0 -2
- oci/data_safe/models/sensitive_types_export.py +471 -0
- oci/data_safe/models/sensitive_types_export_collection.py +72 -0
- oci/data_safe/models/sensitive_types_export_summary.py +374 -0
- oci/data_safe/models/sql_collection.py +0 -2
- oci/data_safe/models/sql_collection_summary.py +0 -2
- oci/data_safe/models/sql_firewall_allowed_sql.py +0 -2
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +0 -2
- oci/data_safe/models/sql_firewall_policy.py +0 -2
- oci/data_safe/models/sql_firewall_policy_summary.py +0 -2
- oci/data_safe/models/target_alert_policy_association.py +0 -2
- oci/data_safe/models/target_alert_policy_association_summary.py +0 -2
- oci/data_safe/models/target_database.py +0 -2
- oci/data_safe/models/target_database_summary.py +0 -2
- oci/data_safe/models/update_alert_details.py +0 -2
- oci/data_safe/models/update_alert_policy_details.py +0 -2
- oci/data_safe/models/update_audit_archive_retrieval_details.py +0 -2
- oci/data_safe/models/update_audit_policy_details.py +0 -2
- oci/data_safe/models/update_audit_profile_details.py +2 -4
- oci/data_safe/models/update_audit_trail_details.py +2 -4
- oci/data_safe/models/update_data_safe_private_endpoint_details.py +0 -2
- oci/data_safe/models/update_database_security_config_details.py +0 -2
- oci/data_safe/models/update_library_masking_format_details.py +0 -2
- oci/data_safe/models/update_masking_policy_details.py +0 -2
- oci/data_safe/models/update_on_prem_connector_details.py +0 -2
- oci/data_safe/models/update_report_definition_details.py +0 -2
- oci/data_safe/models/update_report_details.py +0 -2
- oci/data_safe/models/update_sdm_masking_policy_difference_details.py +0 -2
- oci/data_safe/models/update_security_assessment_details.py +0 -2
- oci/data_safe/models/update_security_policy_deployment_details.py +0 -2
- oci/data_safe/models/update_security_policy_details.py +0 -2
- oci/data_safe/models/update_sensitive_data_model_details.py +0 -2
- oci/data_safe/models/update_sensitive_type_details.py +0 -2
- oci/data_safe/models/{create_audit_policy_details.py → update_sensitive_types_export_details.py} +27 -91
- oci/data_safe/models/update_sql_collection_details.py +0 -2
- oci/data_safe/models/update_sql_firewall_policy_details.py +0 -2
- oci/data_safe/models/update_target_alert_policy_association_details.py +0 -2
- oci/data_safe/models/update_target_database_details.py +0 -2
- oci/data_safe/models/update_user_assessment_details.py +0 -2
- oci/data_safe/models/user_aggregation.py +4 -2
- oci/data_safe/models/user_assessment.py +0 -2
- oci/data_safe/models/user_assessment_summary.py +0 -2
- oci/data_safe/models/user_summary.py +37 -1
- oci/data_safe/models/work_request.py +15 -3
- oci/data_safe/models/work_request_summary.py +15 -3
- oci/data_science/data_science_client.py +1264 -173
- oci/data_science/data_science_client_composite_operations.py +248 -0
- oci/data_science/models/__init__.py +51 -1
- oci/data_science/models/change_schedule_compartment_details.py +78 -0
- oci/data_science/models/container_summary.py +516 -0
- oci/data_science/models/create_job_run_schedule_action_details.py +78 -0
- oci/data_science/models/create_pipeline_run_schedule_action_details.py +78 -0
- oci/data_science/models/create_schedule_details.py +328 -0
- oci/data_science/models/generic_job_run_use_case_configuration_details.py +82 -0
- oci/data_science/models/invoke_ml_application_provider_trigger_schedule_action_details.py +113 -0
- oci/data_science/models/job_run_use_case_configuration_details.py +101 -0
- oci/data_science/models/job_run_workload_configuration_details.py +78 -0
- oci/data_science/models/model_deploy_workload_configuration_details.py +191 -0
- oci/data_science/models/schedule.py +706 -0
- oci/data_science/models/schedule_action.py +101 -0
- oci/data_science/models/schedule_cron_trigger.py +96 -0
- oci/data_science/models/schedule_http_action.py +78 -0
- oci/data_science/models/schedule_http_action_details.py +117 -0
- oci/data_science/models/schedule_i_cal_trigger.py +96 -0
- oci/data_science/models/schedule_interval_trigger.py +177 -0
- oci/data_science/models/schedule_log_details.py +111 -0
- oci/data_science/models/schedule_summary.py +485 -0
- oci/data_science/models/schedule_trigger.py +191 -0
- oci/data_science/models/tag_configuration.py +103 -0
- oci/data_science/models/trigger_ml_application_instance_view_flow_details.py +103 -0
- oci/data_science/models/trigger_parameter.py +103 -0
- oci/data_science/models/update_schedule_details.py +258 -0
- oci/data_science/models/work_request.py +27 -3
- oci/data_science/models/work_request_summary.py +27 -3
- oci/data_science/models/workload_configuration_details.py +109 -0
- oci/database/database_client.py +404 -404
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_container_database.py +89 -0
- oci/database/models/autonomous_container_database_summary.py +89 -0
- oci/database/models/autonomous_database.py +33 -2
- oci/database/models/autonomous_database_backup.py +15 -3
- oci/database/models/autonomous_database_backup_summary.py +15 -3
- oci/database/models/autonomous_database_summary.py +33 -2
- oci/database/models/autonomous_dw_database.py +33 -2
- oci/database/models/backup_destination.py +95 -2
- oci/database/models/backup_destination_configuration_summary.py +387 -0
- oci/database/models/backup_destination_details_summary.py +356 -0
- oci/database/models/backup_destination_properties.py +134 -0
- oci/database/models/backup_destination_summary.py +95 -2
- oci/database/models/create_autonomous_database_clone_details.py +7 -3
- oci/database/models/create_autonomous_database_from_backup_details.py +40 -5
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +40 -5
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +33 -0
- oci/database/models/db_system.py +96 -10
- oci/database/models/db_system_summary.py +96 -10
- oci/database/models/launch_db_system_base.py +33 -0
- oci/database/models/launch_db_system_details.py +7 -0
- oci/database/models/launch_db_system_from_backup_details.py +7 -0
- oci/database/models/launch_db_system_from_database_details.py +7 -0
- oci/database/models/launch_db_system_from_db_system_details.py +7 -0
- oci/database/models/recovery_appliance_details.py +134 -0
- oci/database/models/restore_autonomous_database_details.py +1 -1
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/file_storage/models/file_system.py +33 -0
- oci/file_storage/models/file_system_summary.py +33 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +35 -2
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +35 -2
- oci/file_storage/models/ldap_bind_account.py +7 -0
- oci/file_storage/models/ldap_bind_account_summary.py +7 -0
- oci/file_storage/models/mount_target.py +35 -2
- oci/file_storage/models/mount_target_summary.py +35 -2
- oci/file_storage/models/outbound_connector.py +35 -2
- oci/file_storage/models/outbound_connector_summary.py +35 -2
- oci/file_storage/models/replication.py +35 -2
- oci/file_storage/models/replication_summary.py +33 -0
- oci/file_storage/models/replication_target.py +33 -0
- oci/file_storage/models/replication_target_summary.py +33 -0
- oci/file_storage/models/snapshot.py +33 -0
- oci/file_storage/models/snapshot_summary.py +35 -2
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +103 -4
- oci/generative_ai_inference/models/__init__.py +28 -0
- oci/generative_ai_inference/models/assistant_message.py +34 -3
- oci/generative_ai_inference/models/cohere_chat_request.py +2 -2
- oci/generative_ai_inference/models/document.py +72 -0
- oci/generative_ai_inference/models/document_rank.py +130 -0
- oci/generative_ai_inference/models/embed_text_details.py +9 -5
- oci/generative_ai_inference/models/function_call.py +120 -0
- oci/generative_ai_inference/models/function_definition.py +144 -0
- oci/generative_ai_inference/models/generic_chat_request.py +91 -2
- oci/generative_ai_inference/models/image_url.py +21 -5
- oci/generative_ai_inference/models/message.py +11 -3
- oci/generative_ai_inference/models/rerank_text_details.py +254 -0
- oci/generative_ai_inference/models/rerank_text_result.py +165 -0
- oci/generative_ai_inference/models/system_message.py +1 -1
- oci/generative_ai_inference/models/tool_call.py +132 -0
- oci/generative_ai_inference/models/tool_choice.py +125 -0
- oci/generative_ai_inference/models/tool_choice_auto.py +51 -0
- oci/generative_ai_inference/models/tool_choice_function.py +82 -0
- oci/generative_ai_inference/models/tool_choice_none.py +51 -0
- oci/generative_ai_inference/models/tool_choice_required.py +51 -0
- oci/generative_ai_inference/models/tool_definition.py +101 -0
- oci/generative_ai_inference/models/tool_message.py +89 -0
- oci/generative_ai_inference/models/user_message.py +1 -1
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +90 -90
- oci/golden_gate/models/__init__.py +24 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +1 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_s3_connection.py +1 -1
- oci/golden_gate/models/amazon_s3_connection_summary.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +1 -1
- oci/golden_gate/models/azure_synapse_connection.py +1 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +1 -1
- oci/golden_gate/models/connection.py +59 -35
- oci/golden_gate/models/connection_summary.py +62 -38
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +3 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +3 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +3 -1
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +7 -1
- oci/golden_gate/models/create_azure_synapse_connection_details.py +3 -1
- oci/golden_gate/models/create_connection_details.py +58 -34
- oci/golden_gate/models/create_database_registration_details.py +4 -0
- oci/golden_gate/models/create_databricks_connection_details.py +437 -0
- oci/golden_gate/models/create_db2_connection_details.py +7 -1
- oci/golden_gate/models/create_elasticsearch_connection_details.py +3 -1
- oci/golden_gate/models/create_generic_connection_details.py +1 -1
- oci/golden_gate/models/create_golden_gate_connection_details.py +3 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +3 -1
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +3 -1
- oci/golden_gate/models/create_google_pub_sub_connection_details.py +241 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/create_java_message_service_connection_details.py +15 -1
- oci/golden_gate/models/create_kafka_connection_details.py +13 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +13 -1
- oci/golden_gate/models/create_microsoft_fabric_connection_details.py +336 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +3 -1
- oci/golden_gate/models/create_mongo_db_connection_details.py +209 -3
- oci/golden_gate/models/create_mysql_connection_details.py +5 -1
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +43 -4
- oci/golden_gate/models/create_oracle_connection_details.py +5 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +43 -4
- oci/golden_gate/models/create_postgresql_connection_details.py +5 -1
- oci/golden_gate/models/create_redis_connection_details.py +11 -1
- oci/golden_gate/models/create_snowflake_connection_details.py +7 -1
- oci/golden_gate/models/databricks_connection.py +456 -0
- oci/golden_gate/models/databricks_connection_summary.py +418 -0
- oci/golden_gate/models/db2_connection.py +1 -1
- oci/golden_gate/models/db2_connection_summary.py +1 -1
- oci/golden_gate/models/deployment_type_summary.py +15 -3
- oci/golden_gate/models/elasticsearch_connection.py +1 -1
- oci/golden_gate/models/elasticsearch_connection_summary.py +1 -1
- oci/golden_gate/models/generic_connection.py +1 -1
- oci/golden_gate/models/generic_connection_summary.py +1 -1
- oci/golden_gate/models/golden_gate_connection.py +1 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +1 -1
- oci/golden_gate/models/google_big_query_connection.py +1 -1
- oci/golden_gate/models/google_big_query_connection_summary.py +1 -1
- oci/golden_gate/models/google_cloud_storage_connection.py +1 -1
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +1 -1
- oci/golden_gate/models/google_pub_sub_connection.py +271 -0
- oci/golden_gate/models/google_pub_sub_connection_summary.py +255 -0
- oci/golden_gate/models/hdfs_connection.py +1 -1
- oci/golden_gate/models/hdfs_connection_summary.py +1 -1
- oci/golden_gate/models/java_message_service_connection.py +1 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_connection.py +1 -1
- oci/golden_gate/models/kafka_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection.py +372 -0
- oci/golden_gate/models/microsoft_fabric_connection_summary.py +352 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +1 -1
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +1 -1
- oci/golden_gate/models/mongo_db_connection.py +141 -6
- oci/golden_gate/models/mongo_db_connection_summary.py +110 -3
- oci/golden_gate/models/mysql_connection.py +1 -1
- oci/golden_gate/models/mysql_connection_summary.py +1 -1
- oci/golden_gate/models/oci_object_storage_connection.py +38 -3
- oci/golden_gate/models/oci_object_storage_connection_summary.py +38 -3
- oci/golden_gate/models/oracle_connection.py +24 -4
- oci/golden_gate/models/oracle_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_nosql_connection.py +38 -3
- oci/golden_gate/models/oracle_nosql_connection_summary.py +38 -3
- oci/golden_gate/models/postgresql_connection.py +8 -4
- oci/golden_gate/models/postgresql_connection_summary.py +1 -1
- oci/golden_gate/models/redis_connection.py +1 -1
- oci/golden_gate/models/redis_connection_summary.py +1 -1
- oci/golden_gate/models/snowflake_connection.py +1 -1
- oci/golden_gate/models/snowflake_connection_summary.py +1 -1
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +3 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +3 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +3 -1
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +7 -1
- oci/golden_gate/models/update_azure_synapse_connection_details.py +3 -1
- oci/golden_gate/models/update_connection_details.py +46 -22
- oci/golden_gate/models/update_database_registration_details.py +4 -0
- oci/golden_gate/models/update_databricks_connection_details.py +392 -0
- oci/golden_gate/models/update_db2_connection_details.py +7 -1
- oci/golden_gate/models/update_elasticsearch_connection_details.py +3 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_golden_gate_connection_details.py +3 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +3 -1
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +3 -1
- oci/golden_gate/models/update_google_pub_sub_connection_details.py +196 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/update_java_message_service_connection_details.py +15 -1
- oci/golden_gate/models/update_kafka_connection_details.py +13 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +13 -1
- oci/golden_gate/models/update_microsoft_fabric_connection_details.py +291 -0
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +3 -1
- oci/golden_gate/models/update_mongo_db_connection_details.py +209 -3
- oci/golden_gate/models/update_mysql_connection_details.py +5 -1
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +42 -3
- oci/golden_gate/models/update_oracle_connection_details.py +5 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +42 -3
- oci/golden_gate/models/update_postgresql_connection_details.py +5 -1
- oci/golden_gate/models/update_redis_connection_details.py +11 -1
- oci/golden_gate/models/update_snowflake_connection_details.py +7 -1
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +6 -0
- oci/mysql/models/create_db_system_details.py +111 -2
- oci/mysql/models/create_read_endpoint_details.py +183 -0
- oci/mysql/models/db_system.py +145 -2
- oci/mysql/models/db_system_endpoint.py +7 -3
- oci/mysql/models/db_system_snapshot.py +29 -2
- oci/mysql/models/db_system_summary.py +113 -2
- oci/mysql/models/read_endpoint_details.py +183 -0
- oci/mysql/models/update_db_system_details.py +111 -2
- oci/mysql/models/update_read_endpoint_details.py +183 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/__init__.py +42 -0
- oci/stack_monitoring/models/alarm_condition.py +588 -0
- oci/stack_monitoring/models/alarm_condition_collection.py +72 -0
- oci/stack_monitoring/models/alarm_condition_summary.py +588 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +7 -3
- oci/stack_monitoring/models/associated_resources_summary.py +7 -3
- oci/stack_monitoring/models/condition.py +243 -0
- oci/stack_monitoring/models/create_alarm_condition_details.py +309 -0
- oci/stack_monitoring/models/create_license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/create_monitored_resource_details.py +7 -3
- oci/stack_monitoring/models/create_monitoring_template_details.py +406 -0
- oci/stack_monitoring/models/defined_alarm_condition.py +150 -0
- oci/stack_monitoring/models/defined_monitoring_template_collection.py +72 -0
- oci/stack_monitoring/models/defined_monitoring_template_summary.py +326 -0
- oci/stack_monitoring/models/discovery_details.py +26 -6
- oci/stack_monitoring/models/discovery_job_summary.py +26 -6
- oci/stack_monitoring/models/license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/license_auto_assign_config_summary.py +7 -3
- oci/stack_monitoring/models/manage_license_details.py +7 -3
- oci/stack_monitoring/models/member_reference.py +154 -0
- oci/stack_monitoring/models/metric_extension.py +2 -2
- oci/stack_monitoring/models/metric_extension_metric_aggregation_collection.py +72 -0
- oci/stack_monitoring/models/metric_extension_resource_aggregation.py +105 -0
- oci/stack_monitoring/models/metric_extension_resource_aggregation_collection.py +72 -0
- oci/stack_monitoring/models/metric_extensions_metric_aggregation.py +105 -0
- oci/stack_monitoring/models/monitored_resource.py +7 -3
- oci/stack_monitoring/models/monitored_resource_member_summary.py +7 -3
- oci/stack_monitoring/models/monitored_resource_summary.py +7 -3
- oci/stack_monitoring/models/monitored_resource_type.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type_summary.py +31 -0
- oci/stack_monitoring/models/monitoring_template.py +743 -0
- oci/stack_monitoring/models/monitoring_template_collection.py +72 -0
- oci/stack_monitoring/models/monitoring_template_summary.py +599 -0
- oci/stack_monitoring/models/request_summarized_metric_extensions_metrics_details.py +263 -0
- oci/stack_monitoring/models/request_summarized_metric_extensions_resources_details.py +357 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +7 -3
- oci/stack_monitoring/models/system_format_resource_type_metadata_details.py +37 -2
- oci/stack_monitoring/models/update_alarm_condition_details.py +309 -0
- oci/stack_monitoring/models/update_license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/update_monitoring_template_details.py +375 -0
- oci/stack_monitoring/models/work_request.py +18 -6
- oci/stack_monitoring/models/work_request_summary.py +18 -6
- oci/stack_monitoring/stack_monitoring_client.py +2446 -446
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +331 -0
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/METADATA +1 -1
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/RECORD +655 -563
- oci/data_safe/models/create_audit_profile_details.py +0 -278
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/WHEEL +0 -0
- {oci-2.143.1.dist-info → oci-2.144.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,165 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class RerankTextResult(object):
|
14
|
+
"""
|
15
|
+
The rerank response to return to the caller.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new RerankTextResult object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param id:
|
24
|
+
The value to assign to the id property of this RerankTextResult.
|
25
|
+
:type id: str
|
26
|
+
|
27
|
+
:param model_id:
|
28
|
+
The value to assign to the model_id property of this RerankTextResult.
|
29
|
+
:type model_id: str
|
30
|
+
|
31
|
+
:param model_version:
|
32
|
+
The value to assign to the model_version property of this RerankTextResult.
|
33
|
+
:type model_version: str
|
34
|
+
|
35
|
+
:param document_ranks:
|
36
|
+
The value to assign to the document_ranks property of this RerankTextResult.
|
37
|
+
:type document_ranks: list[oci.generative_ai_inference.models.DocumentRank]
|
38
|
+
|
39
|
+
"""
|
40
|
+
self.swagger_types = {
|
41
|
+
'id': 'str',
|
42
|
+
'model_id': 'str',
|
43
|
+
'model_version': 'str',
|
44
|
+
'document_ranks': 'list[DocumentRank]'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'id': 'id',
|
49
|
+
'model_id': 'modelId',
|
50
|
+
'model_version': 'modelVersion',
|
51
|
+
'document_ranks': 'documentRanks'
|
52
|
+
}
|
53
|
+
|
54
|
+
self._id = None
|
55
|
+
self._model_id = None
|
56
|
+
self._model_version = None
|
57
|
+
self._document_ranks = None
|
58
|
+
|
59
|
+
@property
|
60
|
+
def id(self):
|
61
|
+
"""
|
62
|
+
**[Required]** Gets the id of this RerankTextResult.
|
63
|
+
A unique identifier for this `RerankResult`.
|
64
|
+
|
65
|
+
|
66
|
+
:return: The id of this RerankTextResult.
|
67
|
+
:rtype: str
|
68
|
+
"""
|
69
|
+
return self._id
|
70
|
+
|
71
|
+
@id.setter
|
72
|
+
def id(self, id):
|
73
|
+
"""
|
74
|
+
Sets the id of this RerankTextResult.
|
75
|
+
A unique identifier for this `RerankResult`.
|
76
|
+
|
77
|
+
|
78
|
+
:param id: The id of this RerankTextResult.
|
79
|
+
:type: str
|
80
|
+
"""
|
81
|
+
self._id = id
|
82
|
+
|
83
|
+
@property
|
84
|
+
def model_id(self):
|
85
|
+
"""
|
86
|
+
Gets the model_id of this RerankTextResult.
|
87
|
+
The OCID of the model used in the rerank request.
|
88
|
+
|
89
|
+
|
90
|
+
:return: The model_id of this RerankTextResult.
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._model_id
|
94
|
+
|
95
|
+
@model_id.setter
|
96
|
+
def model_id(self, model_id):
|
97
|
+
"""
|
98
|
+
Sets the model_id of this RerankTextResult.
|
99
|
+
The OCID of the model used in the rerank request.
|
100
|
+
|
101
|
+
|
102
|
+
:param model_id: The model_id of this RerankTextResult.
|
103
|
+
:type: str
|
104
|
+
"""
|
105
|
+
self._model_id = model_id
|
106
|
+
|
107
|
+
@property
|
108
|
+
def model_version(self):
|
109
|
+
"""
|
110
|
+
Gets the model_version of this RerankTextResult.
|
111
|
+
The version of the model.
|
112
|
+
|
113
|
+
|
114
|
+
:return: The model_version of this RerankTextResult.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._model_version
|
118
|
+
|
119
|
+
@model_version.setter
|
120
|
+
def model_version(self, model_version):
|
121
|
+
"""
|
122
|
+
Sets the model_version of this RerankTextResult.
|
123
|
+
The version of the model.
|
124
|
+
|
125
|
+
|
126
|
+
:param model_version: The model_version of this RerankTextResult.
|
127
|
+
:type: str
|
128
|
+
"""
|
129
|
+
self._model_version = model_version
|
130
|
+
|
131
|
+
@property
|
132
|
+
def document_ranks(self):
|
133
|
+
"""
|
134
|
+
**[Required]** Gets the document_ranks of this RerankTextResult.
|
135
|
+
Top n documents with their index and relevance score.
|
136
|
+
|
137
|
+
|
138
|
+
:return: The document_ranks of this RerankTextResult.
|
139
|
+
:rtype: list[oci.generative_ai_inference.models.DocumentRank]
|
140
|
+
"""
|
141
|
+
return self._document_ranks
|
142
|
+
|
143
|
+
@document_ranks.setter
|
144
|
+
def document_ranks(self, document_ranks):
|
145
|
+
"""
|
146
|
+
Sets the document_ranks of this RerankTextResult.
|
147
|
+
Top n documents with their index and relevance score.
|
148
|
+
|
149
|
+
|
150
|
+
:param document_ranks: The document_ranks of this RerankTextResult.
|
151
|
+
:type: list[oci.generative_ai_inference.models.DocumentRank]
|
152
|
+
"""
|
153
|
+
self._document_ranks = document_ranks
|
154
|
+
|
155
|
+
def __repr__(self):
|
156
|
+
return formatted_flat_dict(self)
|
157
|
+
|
158
|
+
def __eq__(self, other):
|
159
|
+
if other is None:
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
return not self == other
|
@@ -23,7 +23,7 @@ class SystemMessage(Message):
|
|
23
23
|
|
24
24
|
:param role:
|
25
25
|
The value to assign to the role property of this SystemMessage.
|
26
|
-
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT"
|
26
|
+
Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT", "TOOL"
|
27
27
|
:type role: str
|
28
28
|
|
29
29
|
:param content:
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ToolCall(object):
|
14
|
+
"""
|
15
|
+
The tool call generated by the model, such as function call.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a ToolCall.
|
19
|
+
#: This constant has a value of "FUNCTION"
|
20
|
+
TYPE_FUNCTION = "FUNCTION"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new ToolCall object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.generative_ai_inference.models.FunctionCall`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param id:
|
32
|
+
The value to assign to the id property of this ToolCall.
|
33
|
+
:type id: str
|
34
|
+
|
35
|
+
:param type:
|
36
|
+
The value to assign to the type property of this ToolCall.
|
37
|
+
Allowed values for this property are: "FUNCTION", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type type: str
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'id': 'str',
|
44
|
+
'type': 'str'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'id': 'id',
|
49
|
+
'type': 'type'
|
50
|
+
}
|
51
|
+
|
52
|
+
self._id = None
|
53
|
+
self._type = None
|
54
|
+
|
55
|
+
@staticmethod
|
56
|
+
def get_subtype(object_dictionary):
|
57
|
+
"""
|
58
|
+
Given the hash representation of a subtype of this class,
|
59
|
+
use the info in the hash to return the class of the subtype.
|
60
|
+
"""
|
61
|
+
type = object_dictionary['type']
|
62
|
+
|
63
|
+
if type == 'FUNCTION':
|
64
|
+
return 'FunctionCall'
|
65
|
+
else:
|
66
|
+
return 'ToolCall'
|
67
|
+
|
68
|
+
@property
|
69
|
+
def id(self):
|
70
|
+
"""
|
71
|
+
**[Required]** Gets the id of this ToolCall.
|
72
|
+
The ID of the tool call.
|
73
|
+
|
74
|
+
|
75
|
+
:return: The id of this ToolCall.
|
76
|
+
:rtype: str
|
77
|
+
"""
|
78
|
+
return self._id
|
79
|
+
|
80
|
+
@id.setter
|
81
|
+
def id(self, id):
|
82
|
+
"""
|
83
|
+
Sets the id of this ToolCall.
|
84
|
+
The ID of the tool call.
|
85
|
+
|
86
|
+
|
87
|
+
:param id: The id of this ToolCall.
|
88
|
+
:type: str
|
89
|
+
"""
|
90
|
+
self._id = id
|
91
|
+
|
92
|
+
@property
|
93
|
+
def type(self):
|
94
|
+
"""
|
95
|
+
**[Required]** Gets the type of this ToolCall.
|
96
|
+
The type of the tool.
|
97
|
+
|
98
|
+
Allowed values for this property are: "FUNCTION", 'UNKNOWN_ENUM_VALUE'.
|
99
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
100
|
+
|
101
|
+
|
102
|
+
:return: The type of this ToolCall.
|
103
|
+
:rtype: str
|
104
|
+
"""
|
105
|
+
return self._type
|
106
|
+
|
107
|
+
@type.setter
|
108
|
+
def type(self, type):
|
109
|
+
"""
|
110
|
+
Sets the type of this ToolCall.
|
111
|
+
The type of the tool.
|
112
|
+
|
113
|
+
|
114
|
+
:param type: The type of this ToolCall.
|
115
|
+
:type: str
|
116
|
+
"""
|
117
|
+
allowed_values = ["FUNCTION"]
|
118
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
119
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
120
|
+
self._type = type
|
121
|
+
|
122
|
+
def __repr__(self):
|
123
|
+
return formatted_flat_dict(self)
|
124
|
+
|
125
|
+
def __eq__(self, other):
|
126
|
+
if other is None:
|
127
|
+
return False
|
128
|
+
|
129
|
+
return self.__dict__ == other.__dict__
|
130
|
+
|
131
|
+
def __ne__(self, other):
|
132
|
+
return not self == other
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ToolChoice(object):
|
14
|
+
"""
|
15
|
+
The tool choice for a tool.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a ToolChoice.
|
19
|
+
#: This constant has a value of "NONE"
|
20
|
+
TYPE_NONE = "NONE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the type property of a ToolChoice.
|
23
|
+
#: This constant has a value of "AUTO"
|
24
|
+
TYPE_AUTO = "AUTO"
|
25
|
+
|
26
|
+
#: A constant which can be used with the type property of a ToolChoice.
|
27
|
+
#: This constant has a value of "REQUIRED"
|
28
|
+
TYPE_REQUIRED = "REQUIRED"
|
29
|
+
|
30
|
+
#: A constant which can be used with the type property of a ToolChoice.
|
31
|
+
#: This constant has a value of "FUNCTION"
|
32
|
+
TYPE_FUNCTION = "FUNCTION"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new ToolChoice object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
37
|
+
to a service operations then you should favor using a subclass over the base class:
|
38
|
+
|
39
|
+
* :class:`~oci.generative_ai_inference.models.ToolChoiceFunction`
|
40
|
+
* :class:`~oci.generative_ai_inference.models.ToolChoiceNone`
|
41
|
+
* :class:`~oci.generative_ai_inference.models.ToolChoiceAuto`
|
42
|
+
* :class:`~oci.generative_ai_inference.models.ToolChoiceRequired`
|
43
|
+
|
44
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
45
|
+
|
46
|
+
:param type:
|
47
|
+
The value to assign to the type property of this ToolChoice.
|
48
|
+
Allowed values for this property are: "NONE", "AUTO", "REQUIRED", "FUNCTION"
|
49
|
+
:type type: str
|
50
|
+
|
51
|
+
"""
|
52
|
+
self.swagger_types = {
|
53
|
+
'type': 'str'
|
54
|
+
}
|
55
|
+
|
56
|
+
self.attribute_map = {
|
57
|
+
'type': 'type'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._type = None
|
61
|
+
|
62
|
+
@staticmethod
|
63
|
+
def get_subtype(object_dictionary):
|
64
|
+
"""
|
65
|
+
Given the hash representation of a subtype of this class,
|
66
|
+
use the info in the hash to return the class of the subtype.
|
67
|
+
"""
|
68
|
+
type = object_dictionary['type']
|
69
|
+
|
70
|
+
if type == 'FUNCTION':
|
71
|
+
return 'ToolChoiceFunction'
|
72
|
+
|
73
|
+
if type == 'NONE':
|
74
|
+
return 'ToolChoiceNone'
|
75
|
+
|
76
|
+
if type == 'AUTO':
|
77
|
+
return 'ToolChoiceAuto'
|
78
|
+
|
79
|
+
if type == 'REQUIRED':
|
80
|
+
return 'ToolChoiceRequired'
|
81
|
+
else:
|
82
|
+
return 'ToolChoice'
|
83
|
+
|
84
|
+
@property
|
85
|
+
def type(self):
|
86
|
+
"""
|
87
|
+
**[Required]** Gets the type of this ToolChoice.
|
88
|
+
The tool choice.
|
89
|
+
|
90
|
+
Allowed values for this property are: "NONE", "AUTO", "REQUIRED", "FUNCTION"
|
91
|
+
|
92
|
+
|
93
|
+
:return: The type of this ToolChoice.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._type
|
97
|
+
|
98
|
+
@type.setter
|
99
|
+
def type(self, type):
|
100
|
+
"""
|
101
|
+
Sets the type of this ToolChoice.
|
102
|
+
The tool choice.
|
103
|
+
|
104
|
+
|
105
|
+
:param type: The type of this ToolChoice.
|
106
|
+
:type: str
|
107
|
+
"""
|
108
|
+
allowed_values = ["NONE", "AUTO", "REQUIRED", "FUNCTION"]
|
109
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
110
|
+
raise ValueError(
|
111
|
+
f"Invalid value for `type`, must be None or one of {allowed_values}"
|
112
|
+
)
|
113
|
+
self._type = type
|
114
|
+
|
115
|
+
def __repr__(self):
|
116
|
+
return formatted_flat_dict(self)
|
117
|
+
|
118
|
+
def __eq__(self, other):
|
119
|
+
if other is None:
|
120
|
+
return False
|
121
|
+
|
122
|
+
return self.__dict__ == other.__dict__
|
123
|
+
|
124
|
+
def __ne__(self, other):
|
125
|
+
return not self == other
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
from .tool_choice import ToolChoice
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ToolChoiceAuto(ToolChoice):
|
14
|
+
"""
|
15
|
+
The model can pick between generating a message or calling one or more tools.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ToolChoiceAuto object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.ToolChoiceAuto.type` attribute
|
21
|
+
of this class is ``AUTO`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this ToolChoiceAuto.
|
26
|
+
Allowed values for this property are: "NONE", "AUTO", "REQUIRED", "FUNCTION"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'type': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
self.attribute_map = {
|
35
|
+
'type': 'type'
|
36
|
+
}
|
37
|
+
|
38
|
+
self._type = None
|
39
|
+
self._type = 'AUTO'
|
40
|
+
|
41
|
+
def __repr__(self):
|
42
|
+
return formatted_flat_dict(self)
|
43
|
+
|
44
|
+
def __eq__(self, other):
|
45
|
+
if other is None:
|
46
|
+
return False
|
47
|
+
|
48
|
+
return self.__dict__ == other.__dict__
|
49
|
+
|
50
|
+
def __ne__(self, other):
|
51
|
+
return not self == other
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
from .tool_choice import ToolChoice
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ToolChoiceFunction(ToolChoice):
|
14
|
+
"""
|
15
|
+
The tool choice for a function.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ToolChoiceFunction object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.ToolChoiceFunction.type` attribute
|
21
|
+
of this class is ``FUNCTION`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this ToolChoiceFunction.
|
26
|
+
Allowed values for this property are: "NONE", "AUTO", "REQUIRED", "FUNCTION"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
:param name:
|
30
|
+
The value to assign to the name property of this ToolChoiceFunction.
|
31
|
+
:type name: str
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'type': 'str',
|
36
|
+
'name': 'str'
|
37
|
+
}
|
38
|
+
|
39
|
+
self.attribute_map = {
|
40
|
+
'type': 'type',
|
41
|
+
'name': 'name'
|
42
|
+
}
|
43
|
+
|
44
|
+
self._type = None
|
45
|
+
self._name = None
|
46
|
+
self._type = 'FUNCTION'
|
47
|
+
|
48
|
+
@property
|
49
|
+
def name(self):
|
50
|
+
"""
|
51
|
+
Gets the name of this ToolChoiceFunction.
|
52
|
+
The function name.
|
53
|
+
|
54
|
+
|
55
|
+
:return: The name of this ToolChoiceFunction.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._name
|
59
|
+
|
60
|
+
@name.setter
|
61
|
+
def name(self, name):
|
62
|
+
"""
|
63
|
+
Sets the name of this ToolChoiceFunction.
|
64
|
+
The function name.
|
65
|
+
|
66
|
+
|
67
|
+
:param name: The name of this ToolChoiceFunction.
|
68
|
+
:type: str
|
69
|
+
"""
|
70
|
+
self._name = name
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
return formatted_flat_dict(self)
|
74
|
+
|
75
|
+
def __eq__(self, other):
|
76
|
+
if other is None:
|
77
|
+
return False
|
78
|
+
|
79
|
+
return self.__dict__ == other.__dict__
|
80
|
+
|
81
|
+
def __ne__(self, other):
|
82
|
+
return not self == other
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
from .tool_choice import ToolChoice
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ToolChoiceNone(ToolChoice):
|
14
|
+
"""
|
15
|
+
The model will not call any tool and instead generates a message.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ToolChoiceNone object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.ToolChoiceNone.type` attribute
|
21
|
+
of this class is ``NONE`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this ToolChoiceNone.
|
26
|
+
Allowed values for this property are: "NONE", "AUTO", "REQUIRED", "FUNCTION"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'type': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
self.attribute_map = {
|
35
|
+
'type': 'type'
|
36
|
+
}
|
37
|
+
|
38
|
+
self._type = None
|
39
|
+
self._type = 'NONE'
|
40
|
+
|
41
|
+
def __repr__(self):
|
42
|
+
return formatted_flat_dict(self)
|
43
|
+
|
44
|
+
def __eq__(self, other):
|
45
|
+
if other is None:
|
46
|
+
return False
|
47
|
+
|
48
|
+
return self.__dict__ == other.__dict__
|
49
|
+
|
50
|
+
def __ne__(self, other):
|
51
|
+
return not self == other
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# 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.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231130
|
6
|
+
|
7
|
+
from .tool_choice import ToolChoice
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ToolChoiceRequired(ToolChoice):
|
14
|
+
"""
|
15
|
+
The model must call one or more tools.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ToolChoiceRequired object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.ToolChoiceRequired.type` attribute
|
21
|
+
of this class is ``REQUIRED`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this ToolChoiceRequired.
|
26
|
+
Allowed values for this property are: "NONE", "AUTO", "REQUIRED", "FUNCTION"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'type': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
self.attribute_map = {
|
35
|
+
'type': 'type'
|
36
|
+
}
|
37
|
+
|
38
|
+
self._type = None
|
39
|
+
self._type = 'REQUIRED'
|
40
|
+
|
41
|
+
def __repr__(self):
|
42
|
+
return formatted_flat_dict(self)
|
43
|
+
|
44
|
+
def __eq__(self, other):
|
45
|
+
if other is None:
|
46
|
+
return False
|
47
|
+
|
48
|
+
return self.__dict__ == other.__dict__
|
49
|
+
|
50
|
+
def __ne__(self, other):
|
51
|
+
return not self == other
|