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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )� DataPointz metric data point c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new DataPoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param timestamp: The value to assign to the timestamp property of this DataPoint. :type timestamp: datetime :param value: The value to assign to the value property of this DataPoint. :type value: float Zdatetime�float)� timestamp�valuer r N)Z swagger_typesZ attribute_map� _timestamp�_value)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/data_point.py�__init__ s ��zDataPoint.__init__c C s | j S )z� **[Required]** Gets the timestamp of this DataPoint. timestamp of when the metric was collected :return: The timestamp of this DataPoint. :rtype: datetime �r �r r r r r - s zDataPoint.timestampc C s || _ dS )z� Sets the timestamp of this DataPoint. timestamp of when the metric was collected :param timestamp: The timestamp of this DataPoint. :type: datetime Nr )r r r r r r 9 s c C s | j S )z� **[Required]** Gets the value of this DataPoint. value for the metric data point :return: The value of this DataPoint. :rtype: float �r r r r r r E s zDataPoint.valuec C s || _ dS )z� Sets the value of this DataPoint. value for the metric data point :param value: The value of this DataPoint. :type: float Nr )r r r r r r Q s c C s t | �S �N)r r r r r �__repr__] s zDataPoint.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zDataPoint.__eq__c C s | |k S r r r r r r �__ne__f s zDataPoint.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn