403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/stack_monitoring/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/stack_monitoring/models/__pycache__/metric.cpython-39.pyc
a

���fK'�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ	dd	�Z
ed
d��Zej
dd��Zed
d��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd ��Zej
d!d ��Zd"d#�Zd$d%�Zd&d'�Zd(S))�MetriczD
    Details of a metric which is part of this metric extension
    �STRING�NUMBER�LOAD�UTILIZATION�CAPACITY�AVAILABILITYc	Ksdddddddddd�|_dddddd	d
dd�|_d|_d|_d|_d|_d|_d|_d|_d|_	dS)
a�
        Initializes a new Metric object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this Metric.
        :type name: str

        :param display_name:
            The value to assign to the display_name property of this Metric.
        :type display_name: str

        :param is_dimension:
            The value to assign to the is_dimension property of this Metric.
        :type is_dimension: bool

        :param compute_expression:
            The value to assign to the compute_expression property of this Metric.
        :type compute_expression: str

        :param data_type:
            The value to assign to the data_type property of this Metric.
            Allowed values for this property are: "STRING", "NUMBER", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type data_type: str

        :param is_hidden:
            The value to assign to the is_hidden property of this Metric.
        :type is_hidden: bool

        :param metric_category:
            The value to assign to the metric_category property of this Metric.
            Allowed values for this property are: "LOAD", "UTILIZATION", "CAPACITY", "AVAILABILITY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type metric_category: str

        :param unit:
            The value to assign to the unit property of this Metric.
        :type unit: str

        �str�bool)�name�display_name�is_dimension�compute_expression�	data_type�	is_hidden�metric_category�unitrZdisplayNameZisDimensionZcomputeExpressionZdataTypeZisHiddenZmetricCategoryrN)
Z
swagger_typesZ
attribute_map�_name�
_display_name�
_is_dimension�_compute_expression�
_data_type�
_is_hidden�_metric_category�_unit)�self�kwargs�r!�F/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/metric.py�__init__*s4+��zMetric.__init__cCs|jS)z�
        **[Required]** Gets the name of this Metric.
        Name of the metric.


        :return: The name of this Metric.
        :rtype: str
        �r�rr!r!r"rss
zMetric.namecCs
||_dS)z�
        Sets the name of this Metric.
        Name of the metric.


        :param name: The name of this Metric.
        :type: str
        Nr$)rrr!r!r"rs
cCs|jS)z�
        Gets the display_name of this Metric.
        Display name of the metric.


        :return: The display_name of this Metric.
        :rtype: str
        �rr%r!r!r"r�s
zMetric.display_namecCs
||_dS)z�
        Sets the display_name of this Metric.
        Display name of the metric.


        :param display_name: The display_name of this Metric.
        :type: str
        Nr&)rrr!r!r"r�s
cCs|jS)z�
        Gets the is_dimension of this Metric.
        Current metric need to be included as dimension or not


        :return: The is_dimension of this Metric.
        :rtype: bool
        �rr%r!r!r"r�s
zMetric.is_dimensioncCs
||_dS)z�
        Sets the is_dimension of this Metric.
        Current metric need to be included as dimension or not


        :param is_dimension: The is_dimension of this Metric.
        :type: bool
        Nr')rrr!r!r"r�s
cCs|jS)z�
        Gets the compute_expression of this Metric.
        Compute Expression to calculate the value of this metric


        :return: The compute_expression of this Metric.
        :rtype: str
        �rr%r!r!r"r�s
zMetric.compute_expressioncCs
||_dS)z�
        Sets the compute_expression of this Metric.
        Compute Expression to calculate the value of this metric


        :param compute_expression: The compute_expression of this Metric.
        :type: str
        Nr()rrr!r!r"r�s
cCs|jS)ai
        **[Required]** Gets the data_type of this Metric.
        Data type of value of this metric

        Allowed values for this property are: "STRING", "NUMBER", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The data_type of this Metric.
        :rtype: str
        )rr%r!r!r"r�s
zMetric.data_typecCs ddg}t||�sd}||_dS)z�
        Sets the data_type of this Metric.
        Data type of value of this metric


        :param data_type: The data_type of this Metric.
        :type: str
        rr�UNKNOWN_ENUM_VALUEN)rr)rr�allowed_valuesr!r!r"r�s

cCs|jS)a
        Gets the is_hidden of this Metric.
        Flag to marks whether a metric has to be uploaded or not. When isHidden = false -> Metric is uploaded, isHidden = true -> Metric is NOT uploaded


        :return: The is_hidden of this Metric.
        :rtype: bool
        �rr%r!r!r"r�s
zMetric.is_hiddencCs
||_dS)a
        Sets the is_hidden of this Metric.
        Flag to marks whether a metric has to be uploaded or not. When isHidden = false -> Metric is uploaded, isHidden = true -> Metric is NOT uploaded


        :param is_hidden: The is_hidden of this Metric.
        :type: bool
        Nr+)rrr!r!r"r�s
cCs|jS)as
        Gets the metric_category of this Metric.
        Metric category

        Allowed values for this property are: "LOAD", "UTILIZATION", "CAPACITY", "AVAILABILITY", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The metric_category of this Metric.
        :rtype: str
        )rr%r!r!r"r	s
zMetric.metric_categorycCs gd�}t||�sd}||_dS)z�
        Sets the metric_category of this Metric.
        Metric category


        :param metric_category: The metric_category of this Metric.
        :type: str
        )r	r
rrr)N)rr)rrr*r!r!r"rs

cCs|jS)z�
        Gets the unit of this Metric.
        Unit of metric value


        :return: The unit of this Metric.
        :rtype: str
        �rr%r!r!r"r's
zMetric.unitcCs
||_dS)z�
        Sets the unit of this Metric.
        Unit of metric value


        :param unit: The unit of this Metric.
        :type: str
        Nr,)rrr!r!r"r3s
cCst|�S�N)rr%r!r!r"�__repr__?szMetric.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherr!r!r"�__eq__Bsz
Metric.__eq__cCs
||kSr-r!r0r!r!r"�__ne__Hsz
Metric.__ne__N)�__name__�
__module__�__qualname__�__doc__ZDATA_TYPE_STRINGZDATA_TYPE_NUMBERZMETRIC_CATEGORY_LOADZMETRIC_CATEGORY_UTILIZATIONZMETRIC_CATEGORY_CAPACITYZMETRIC_CATEGORY_AVAILABILITYr#�propertyr�setterrrrrrrrr.r2r3r!r!r!r"rsVI















rN)Zoci.utilrrrZoci.decoratorsr�objectrr!r!r!r"�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit