File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/database_migration/models/update_oracle_assessment_details.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # 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. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518 from .update_assessment_details import UpdateAssessmentDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class UpdateOracleAssessmentDetails(UpdateAssessmentDetails): """ Update Oracle Assessment resource parameters. """ def __init__(self, **kwargs): """ Initializes a new UpdateOracleAssessmentDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database_migration.models.UpdateOracleAssessmentDetails.database_combination` attribute of this class is ``ORACLE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param description: The value to assign to the description property of this UpdateOracleAssessmentDetails. :type description: str :param database_combination: The value to assign to the database_combination property of this UpdateOracleAssessmentDetails. Allowed values for this property are: "MYSQL", "ORACLE" :type database_combination: str :param display_name: The value to assign to the display_name property of this UpdateOracleAssessmentDetails. :type display_name: str :param network_speed_megabit_per_second: The value to assign to the network_speed_megabit_per_second property of this UpdateOracleAssessmentDetails. Allowed values for this property are: "MBPS_10", "MBPS_100", "MBPS_1000", "MBPS_2500", "MBPS_5000", "MBPS_10000" :type network_speed_megabit_per_second: str :param acceptable_downtime: The value to assign to the acceptable_downtime property of this UpdateOracleAssessmentDetails. Allowed values for this property are: "LESS_THAN_10_MINUTES", "LESS_THAN_1_HOUR", "LESS_THAN_4_HOURS", "LESS_THAN_8_HOURS", "LESS_THAN_12_HOURS", "LESS_THAN_1_DAY", "LESS_THAN_2_DAYS", "MORE_THAN_2_DAYS" :type acceptable_downtime: str :param database_data_size: The value to assign to the database_data_size property of this UpdateOracleAssessmentDetails. Allowed values for this property are: "LESS_THAN_1GB", "GB_1_10", "GB_10_50", "GB_50_100", "GB_100_500", "GB_500_TB_1", "TB_1_3", "TB_3_10", "TB_10_50", "GREATER_THAN_50TB" :type database_data_size: str :param ddl_expectation: The value to assign to the ddl_expectation property of this UpdateOracleAssessmentDetails. Allowed values for this property are: "DDL_EXPECTED", "DDL_NOT_EXPECTED" :type ddl_expectation: str :param creation_type: The value to assign to the creation_type property of this UpdateOracleAssessmentDetails. Allowed values for this property are: "CREATE_ONLY", "CREATE_AND_RUN_ASSESSORS" :type creation_type: str :param source_database_connection: The value to assign to the source_database_connection property of this UpdateOracleAssessmentDetails. :type source_database_connection: oci.database_migration.models.SourceAssessmentConnection :param target_database_connection: The value to assign to the target_database_connection property of this UpdateOracleAssessmentDetails. :type target_database_connection: oci.database_migration.models.TargetAssessmentConnection :param freeform_tags: The value to assign to the freeform_tags property of this UpdateOracleAssessmentDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateOracleAssessmentDetails. :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { 'description': 'str', 'database_combination': 'str', 'display_name': 'str', 'network_speed_megabit_per_second': 'str', 'acceptable_downtime': 'str', 'database_data_size': 'str', 'ddl_expectation': 'str', 'creation_type': 'str', 'source_database_connection': 'SourceAssessmentConnection', 'target_database_connection': 'TargetAssessmentConnection', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { 'description': 'description', 'database_combination': 'databaseCombination', 'display_name': 'displayName', 'network_speed_megabit_per_second': 'networkSpeedMegabitPerSecond', 'acceptable_downtime': 'acceptableDowntime', 'database_data_size': 'databaseDataSize', 'ddl_expectation': 'ddlExpectation', 'creation_type': 'creationType', 'source_database_connection': 'sourceDatabaseConnection', 'target_database_connection': 'targetDatabaseConnection', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags' } self._description = None self._database_combination = None self._display_name = None self._network_speed_megabit_per_second = None self._acceptable_downtime = None self._database_data_size = None self._ddl_expectation = None self._creation_type = None self._source_database_connection = None self._target_database_connection = None self._freeform_tags = None self._defined_tags = None self._database_combination = 'ORACLE' def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings