File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/disaster_recovery/models/failover_execution_option_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: 20220125 from .dr_plan_execution_option_details import DrPlanExecutionOptionDetails 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 FailoverExecutionOptionDetails(DrPlanExecutionOptionDetails): """ Options for failover execution. """ def __init__(self, **kwargs): """ Initializes a new FailoverExecutionOptionDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.disaster_recovery.models.FailoverExecutionOptionDetails.plan_execution_type` attribute of this class is ``FAILOVER`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param plan_execution_type: The value to assign to the plan_execution_type property of this FailoverExecutionOptionDetails. Allowed values for this property are: "SWITCHOVER", "SWITCHOVER_PRECHECK", "FAILOVER", "FAILOVER_PRECHECK", "START_DRILL", "START_DRILL_PRECHECK", "STOP_DRILL", "STOP_DRILL_PRECHECK" :type plan_execution_type: str :param are_prechecks_enabled: The value to assign to the are_prechecks_enabled property of this FailoverExecutionOptionDetails. :type are_prechecks_enabled: bool :param are_warnings_ignored: The value to assign to the are_warnings_ignored property of this FailoverExecutionOptionDetails. :type are_warnings_ignored: bool """ self.swagger_types = { 'plan_execution_type': 'str', 'are_prechecks_enabled': 'bool', 'are_warnings_ignored': 'bool' } self.attribute_map = { 'plan_execution_type': 'planExecutionType', 'are_prechecks_enabled': 'arePrechecksEnabled', 'are_warnings_ignored': 'areWarningsIgnored' } self._plan_execution_type = None self._are_prechecks_enabled = None self._are_warnings_ignored = None self._plan_execution_type = 'FAILOVER' @property def are_prechecks_enabled(self): """ Gets the are_prechecks_enabled of this FailoverExecutionOptionDetails. A flag indicating whether prechecks should be executed before the plan execution. Example: `true` :return: The are_prechecks_enabled of this FailoverExecutionOptionDetails. :rtype: bool """ return self._are_prechecks_enabled @are_prechecks_enabled.setter def are_prechecks_enabled(self, are_prechecks_enabled): """ Sets the are_prechecks_enabled of this FailoverExecutionOptionDetails. A flag indicating whether prechecks should be executed before the plan execution. Example: `true` :param are_prechecks_enabled: The are_prechecks_enabled of this FailoverExecutionOptionDetails. :type: bool """ self._are_prechecks_enabled = are_prechecks_enabled @property def are_warnings_ignored(self): """ Gets the are_warnings_ignored of this FailoverExecutionOptionDetails. A flag indicating whether warnings should be ignored during the failover. Example: `false` :return: The are_warnings_ignored of this FailoverExecutionOptionDetails. :rtype: bool """ return self._are_warnings_ignored @are_warnings_ignored.setter def are_warnings_ignored(self, are_warnings_ignored): """ Sets the are_warnings_ignored of this FailoverExecutionOptionDetails. A flag indicating whether warnings should be ignored during the failover. Example: `false` :param are_warnings_ignored: The are_warnings_ignored of this FailoverExecutionOptionDetails. :type: bool """ self._are_warnings_ignored = are_warnings_ignored 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.07 |
proxy
|
phpinfo
|
Settings