File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/summary_statistics.cpython-39.pyc
a
���f8 � @ 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 ed
d� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z
dd� Zdd� ZdS )�SummaryStatisticsz-
Contains common summary statistics.
c K sP ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d S )
a*
Initializes a new SummaryStatistics object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param minimum:
The value to assign to the minimum property of this SummaryStatistics.
:type minimum: float
:param maximum:
The value to assign to the maximum property of this SummaryStatistics.
:type maximum: float
:param average:
The value to assign to the average property of this SummaryStatistics.
:type average: float
:param median:
The value to assign to the median property of this SummaryStatistics.
:type median: float
:param lower_quartile:
The value to assign to the lower_quartile property of this SummaryStatistics.
:type lower_quartile: float
:param upper_quartile:
The value to assign to the upper_quartile property of this SummaryStatistics.
:type upper_quartile: float
�float)�minimum�maximum�average�median�lower_quartile�upper_quartiler r r
r Z
lowerQuartileZ
upperQuartileN)Z
swagger_typesZ
attribute_map�_minimum�_maximum�_average�_median�_lower_quartile�_upper_quartile)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/opsi/models/summary_statistics.py�__init__ s( �
� zSummaryStatistics.__init__c C s | j S )z�
**[Required]** Gets the minimum of this SummaryStatistics.
The smallest number in the data set.
:return: The minimum of this SummaryStatistics.
:rtype: float
�r �r r r r r I s
zSummaryStatistics.minimumc C s
|| _ dS )z�
Sets the minimum of this SummaryStatistics.
The smallest number in the data set.
:param minimum: The minimum of this SummaryStatistics.
:type: float
Nr )r r r r r r U s
c C s | j S )z�
**[Required]** Gets the maximum of this SummaryStatistics.
The largest number in the data set.
:return: The maximum of this SummaryStatistics.
:rtype: float
�r r r r r r a s
zSummaryStatistics.maximumc C s
|| _ dS )z�
Sets the maximum of this SummaryStatistics.
The largest number in the data set.
:param maximum: The maximum of this SummaryStatistics.
:type: float
Nr )r r r r r r m s
c C s | j S )z�
**[Required]** Gets the average of this SummaryStatistics.
The average number in the data set.
:return: The average of this SummaryStatistics.
:rtype: float
�r r r r r r
y s
zSummaryStatistics.averagec C s
|| _ dS )z�
Sets the average of this SummaryStatistics.
The average number in the data set.
:param average: The average of this SummaryStatistics.
:type: float
Nr )r r
r r r r
� s
c C s | j S )z�
**[Required]** Gets the median of this SummaryStatistics.
The middle number in the data set.
:return: The median of this SummaryStatistics.
:rtype: float
�r r r r r r � s
zSummaryStatistics.medianc C s
|| _ dS )z�
Sets the median of this SummaryStatistics.
The middle number in the data set.
:param median: The median of this SummaryStatistics.
:type: float
Nr )r r r r r r � s
c C s | j S )a&
**[Required]** Gets the lower_quartile of this SummaryStatistics.
The middle number between the smallest number and the median of the data set. It's also known as the 25th quartile.
:return: The lower_quartile of this SummaryStatistics.
:rtype: float
�r r r r r r � s
z SummaryStatistics.lower_quartilec C s
|| _ dS )a$
Sets the lower_quartile of this SummaryStatistics.
The middle number between the smallest number and the median of the data set. It's also known as the 25th quartile.
:param lower_quartile: The lower_quartile of this SummaryStatistics.
:type: float
Nr )r r r r r r � s
c C s | j S )a%
**[Required]** Gets the upper_quartile of this SummaryStatistics.
The middle number between the median and the largest number of the data set. It's also known as the 75th quartile.
:return: The upper_quartile of this SummaryStatistics.
:rtype: float
�r r r r r r
� s
z SummaryStatistics.upper_quartilec C s
|| _ dS )a#
Sets the upper_quartile of this SummaryStatistics.
The middle number between the median and the largest number of the data set. It's also known as the 75th quartile.
:param upper_quartile: The upper_quartile of this SummaryStatistics.
:type: float
Nr )r r
r r r r
� s
c C s t | �S �N)r r r r r �__repr__� s zSummaryStatistics.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zSummaryStatistics.__eq__c C s
| |k S r r r# r r r �__ne__� s zSummaryStatistics.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r
r! r% r&