File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/distributed_database/models/distributed_autonomous_database_raft_metric.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: 20250101 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 DistributedAutonomousDatabaseRaftMetric(object): """ Raft metrics for shards and catalog for the Globally distributed autonomous database. """ def __init__(self, **kwargs): """ Initializes a new DistributedAutonomousDatabaseRaftMetric object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param raft_metrics: The value to assign to the raft_metrics property of this DistributedAutonomousDatabaseRaftMetric. :type raft_metrics: dict(str, object) :param config_tasks: The value to assign to the config_tasks property of this DistributedAutonomousDatabaseRaftMetric. :type config_tasks: dict(str, object) """ self.swagger_types = { 'raft_metrics': 'dict(str, object)', 'config_tasks': 'dict(str, object)' } self.attribute_map = { 'raft_metrics': 'raftMetrics', 'config_tasks': 'configTasks' } self._raft_metrics = None self._config_tasks = None @property def raft_metrics(self): """ **[Required]** Gets the raft_metrics of this DistributedAutonomousDatabaseRaftMetric. Raft metrics for the Globally distributed autonomous database. :return: The raft_metrics of this DistributedAutonomousDatabaseRaftMetric. :rtype: dict(str, object) """ return self._raft_metrics @raft_metrics.setter def raft_metrics(self, raft_metrics): """ Sets the raft_metrics of this DistributedAutonomousDatabaseRaftMetric. Raft metrics for the Globally distributed autonomous database. :param raft_metrics: The raft_metrics of this DistributedAutonomousDatabaseRaftMetric. :type: dict(str, object) """ self._raft_metrics = raft_metrics @property def config_tasks(self): """ Gets the config_tasks of this DistributedAutonomousDatabaseRaftMetric. Details of in-progress configuration tasks. :return: The config_tasks of this DistributedAutonomousDatabaseRaftMetric. :rtype: dict(str, object) """ return self._config_tasks @config_tasks.setter def config_tasks(self, config_tasks): """ Sets the config_tasks of this DistributedAutonomousDatabaseRaftMetric. Details of in-progress configuration tasks. :param config_tasks: The config_tasks of this DistributedAutonomousDatabaseRaftMetric. :type: dict(str, object) """ self._config_tasks = config_tasks 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