o
    ɶd8                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zdd Zdd Zdd ZdS )SummaryStatisticsz-
    Contains common summary statistics.
    c                 K   sP   ddddddd| _ ddddddd| _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   Fusr/lib/python3.10/site-packages/oci/opsi/models/summary_statistics.py__init__   s(   
	
zSummaryStatistics.__init__c                 C      | 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      
zSummaryStatistics.minimumc                 C   
   || _ dS )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      

c                 C   r   )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   r   zSummaryStatistics.maximumc                 C   r   )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   r   c                 C   r   )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   r   zSummaryStatistics.averagec                 C   r   )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
      r   c                 C   r   )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      r   zSummaryStatistics.medianc                 C   r   )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      r   c                 C   r   )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      r   z SummaryStatistics.lower_quartilec                 C   r   )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      r   c                 C   r   )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      r   z SummaryStatistics.upper_quartilec                 C   r   )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      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zSummaryStatistics.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zSummaryStatistics.__eq__c                 C   s
   | |k S r$   r   r'   r   r   r   __ne__   s   
zSummaryStatistics.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   r   r   r   r%   r)   r*   r   r   r   r   r      s<    7











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   