ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�MetricDataPointz3 The metric values with dimension details. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new MetricDataPoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param value: The value to assign to the value property of this MetricDataPoint. :type value: float :param unit: The value to assign to the unit property of this MetricDataPoint. :type unit: str :param dimensions: The value to assign to the dimensions property of this MetricDataPoint. :type dimensions: list[oci.database_management.models.MetricDimensionDefinition] �float�strzlist[MetricDimensionDefinition])�value�unit� dimensionsr r r N)Z swagger_typesZ attribute_map�_value�_unit�_dimensions)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/database_management/models/metric_data_point.py�__init__ s ��zMetricDataPoint.__init__c C s | j S )z� Gets the value of this MetricDataPoint. The value of the metric. :return: The value of this MetricDataPoint. :rtype: float �r �r r r r r 4 s zMetricDataPoint.valuec C s || _ dS )z� Sets the value of this MetricDataPoint. The value of the metric. :param value: The value of this MetricDataPoint. :type: float Nr )r r r r r r @ s c C s | j S )z� Gets the unit of this MetricDataPoint. The unit of the metric value. :return: The unit of this MetricDataPoint. :rtype: str �r r r r r r L s zMetricDataPoint.unitc C s || _ dS )z� Sets the unit of this MetricDataPoint. The unit of the metric value. :param unit: The unit of this MetricDataPoint. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the dimensions of this MetricDataPoint. The dimensions of the metric. :return: The dimensions of this MetricDataPoint. :rtype: list[oci.database_management.models.MetricDimensionDefinition] �r r r r r r d s zMetricDataPoint.dimensionsc C s || _ dS )z� Sets the dimensions of this MetricDataPoint. The dimensions of the metric. :param dimensions: The dimensions of this MetricDataPoint. :type: list[oci.database_management.models.MetricDimensionDefinition] Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zMetricDataPoint.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zMetricDataPoint.__eq__c C s | |k S r r r r r r �__ne__� s zMetricDataPoint.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"