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 )�AggregatedDatapointzD A timestamp-value pair returned for the specified request. c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new AggregatedDatapoint 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 AggregatedDatapoint. :type timestamp: datetime :param value: The value to assign to the value property of this AggregatedDatapoint. :type value: float Zdatetime�float)� timestamp�valuer r N)Z swagger_typesZ attribute_map� _timestamp�_value)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/monitoring/models/aggregated_datapoint.py�__init__ s ��zAggregatedDatapoint.__init__c C s | j S )a7 **[Required]** Gets the timestamp of this AggregatedDatapoint. The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` :return: The timestamp of this AggregatedDatapoint. :rtype: datetime �r �r r r r r - s zAggregatedDatapoint.timestampc C s || _ dS )a0 Sets the timestamp of this AggregatedDatapoint. The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` :param timestamp: The timestamp of this AggregatedDatapoint. :type: datetime Nr )r r r r r r ; s c C s | j S )z� **[Required]** Gets the value of this AggregatedDatapoint. Numeric value of the metric. Example: `10.4` :return: The value of this AggregatedDatapoint. :rtype: float �r r r r r r I s zAggregatedDatapoint.valuec C s || _ dS )z� Sets the value of this AggregatedDatapoint. Numeric value of the metric. Example: `10.4` :param value: The value of this AggregatedDatapoint. :type: float Nr )r r r r r r W s c C s t | �S �N)r r r r r �__repr__e s zAggregatedDatapoint.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__h s zAggregatedDatapoint.__eq__c C s | |k S r r r r r r �__ne__n s zAggregatedDatapoint.__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