ruạṛ
# coding: utf-8 # Copyright (c) 2016, 2024, 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: 20200630 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 ResourceInsightCurrentUtilization(object): """ Current utilization(High/low) for cpu or storage """ def __init__(self, **kwargs): """ Initializes a new ResourceInsightCurrentUtilization object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param low: The value to assign to the low property of this ResourceInsightCurrentUtilization. :type low: list[str] :param high: The value to assign to the high property of this ResourceInsightCurrentUtilization. :type high: list[str] """ self.swagger_types = { 'low': 'list[str]', 'high': 'list[str]' } self.attribute_map = { 'low': 'low', 'high': 'high' } self._low = None self._high = None @property def low(self): """ Gets the low of this ResourceInsightCurrentUtilization. List of db ids with low usage :return: The low of this ResourceInsightCurrentUtilization. :rtype: list[str] """ return self._low @low.setter def low(self, low): """ Sets the low of this ResourceInsightCurrentUtilization. List of db ids with low usage :param low: The low of this ResourceInsightCurrentUtilization. :type: list[str] """ self._low = low @property def high(self): """ Gets the high of this ResourceInsightCurrentUtilization. List of db ids with high usage :return: The high of this ResourceInsightCurrentUtilization. :rtype: list[str] """ return self._high @high.setter def high(self, high): """ Sets the high of this ResourceInsightCurrentUtilization. List of db ids with high usage :param high: The high of this ResourceInsightCurrentUtilization. :type: list[str] """ self._high = high 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
cải xoăn