File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/storage_usage_trend.cpython-39.pyc
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 )�StorageUsageTrendz
Usage data samples.
c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a�
Initializes a new StorageUsageTrend object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param end_timestamp:
The value to assign to the end_timestamp property of this StorageUsageTrend.
:type end_timestamp: datetime
:param file_system_usage_in_gbs:
The value to assign to the file_system_usage_in_gbs property of this StorageUsageTrend.
:type file_system_usage_in_gbs: float
:param file_system_avail_in_percent:
The value to assign to the file_system_avail_in_percent property of this StorageUsageTrend.
:type file_system_avail_in_percent: float
Zdatetime�float)�
end_timestamp�file_system_usage_in_gbs�file_system_avail_in_percentZendTimestampZfileSystemUsageInGBsZfileSystemAvailInPercentN)Z
swagger_typesZ
attribute_map�_end_timestamp�_file_system_usage_in_gbs�_file_system_avail_in_percent)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/opsi/models/storage_usage_trend.py�__init__ s ��zStorageUsageTrend.__init__c C s | j S )z�
**[Required]** Gets the end_timestamp of this StorageUsageTrend.
The timestamp in which the current sampling period ends in RFC 3339 format.
:return: The end_timestamp of this StorageUsageTrend.
:rtype: datetime
�r �r r r r r 4 s
zStorageUsageTrend.end_timestampc C s
|| _ dS )z�
Sets the end_timestamp of this StorageUsageTrend.
The timestamp in which the current sampling period ends in RFC 3339 format.
:param end_timestamp: The end_timestamp of this StorageUsageTrend.
:type: datetime
Nr )r r r r r r @ s
c C s | j S )z�
**[Required]** Gets the file_system_usage_in_gbs of this StorageUsageTrend.
Filesystem usage in GB.
:return: The file_system_usage_in_gbs of this StorageUsageTrend.
:rtype: float
�r r r r r r L s
z*StorageUsageTrend.file_system_usage_in_gbsc C s
|| _ dS )z�
Sets the file_system_usage_in_gbs of this StorageUsageTrend.
Filesystem usage in GB.
:param file_system_usage_in_gbs: The file_system_usage_in_gbs of this StorageUsageTrend.
:type: float
Nr )r r r r r r X s
c C s | j S )z�
**[Required]** Gets the file_system_avail_in_percent of this StorageUsageTrend.
Filesystem available in percent.
:return: The file_system_avail_in_percent of this StorageUsageTrend.
:rtype: float
�r
r r r r r
d s
z.StorageUsageTrend.file_system_avail_in_percentc C s
|| _ dS )z�
Sets the file_system_avail_in_percent of this StorageUsageTrend.
Filesystem available in percent.
:param file_system_avail_in_percent: The file_system_avail_in_percent of this StorageUsageTrend.
:type: float
Nr )r r
r r r r
p s
c C s t | �S �N)r r r r r �__repr__| s zStorageUsageTrend.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zStorageUsageTrend.__eq__c C s
| |k S r r r r r r �__ne__� s zStorageUsageTrend.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"