o
    ëÉ¶dB"  ã                   @   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ZdZdZdZd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edd„ ƒZejdd„ ƒZdd „ Zd!d"„ Zd#d$„ Zd%S )&Ú
Classifierz7
    Details about the incident classifier object.
    ÚADÚREGIONÚTENANCYÚNONEÚCOUNTÚGBc                 K   sZ   ddd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 Classifier object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this Classifier.
        :type id: str

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

        :param label:
            The value to assign to the label property of this Classifier.
        :type label: str

        :param description:
            The value to assign to the description property of this Classifier.
        :type description: str

        :param issue_type_list:
            The value to assign to the issue_type_list property of this Classifier.
        :type issue_type_list: list[oci.cims.models.IssueType]

        :param scope:
            The value to assign to the scope property of this Classifier.
            Allowed values for this property are: "AD", "REGION", "TENANCY", "NONE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type scope: str

        :param unit:
            The value to assign to the unit property of this Classifier.
            Allowed values for this property are: "COUNT", "GB", "NONE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type unit: str

        Ústrzlist[IssueType])ÚidÚnameÚlabelÚdescriptionÚissue_type_listÚscopeÚunitr   r   r   r   ZissueTypeListr   r   N)	Zswagger_typesZattribute_mapÚ_idÚ_nameÚ_labelÚ_descriptionÚ_issue_type_listÚ_scopeÚ_unit)ÚselfÚkwargs© r   ú>usr/lib/python3.10/site-packages/oci/cims/models/classifier.pyÚ__init__.   s.   'ùù

zClassifier.__init__c                 C   ó   | j S )z 
        Gets the id of this Classifier.
        Unique identifier of the classifier.


        :return: The id of this Classifier.
        :rtype: str
        ©r   ©r   r   r   r   r   p   ó   
zClassifier.idc                 C   ó
   || _ dS )z¡
        Sets the id of this Classifier.
        Unique identifier of the classifier.


        :param id: The id of this Classifier.
        :type: str
        Nr"   )r   r   r   r   r   r   |   ó   

c                 C   r!   )z£
        Gets the name of this Classifier.
        The display name of the classifier.


        :return: The name of this Classifier.
        :rtype: str
        ©r   r#   r   r   r   r   ˆ   r$   zClassifier.namec                 C   r%   )z¦
        Sets the name of this Classifier.
        The display name of the classifier.


        :param name: The name of this Classifier.
        :type: str
        Nr'   )r   r   r   r   r   r   ”   r&   c                 C   r!   )z«
        Gets the label of this Classifier.
        The label associated with the classifier.


        :return: The label of this Classifier.
        :rtype: str
        ©r   r#   r   r   r   r       r$   zClassifier.labelc                 C   r%   )z¯
        Sets the label of this Classifier.
        The label associated with the classifier.


        :param label: The label of this Classifier.
        :type: str
        Nr(   )r   r   r   r   r   r   ¬   r&   c                 C   r!   )z°
        Gets the description of this Classifier.
        The description of the classifier.


        :return: The description of this Classifier.
        :rtype: str
        ©r   r#   r   r   r   r   ¸   r$   zClassifier.descriptionc                 C   r%   )zº
        Sets the description of this Classifier.
        The description of the classifier.


        :param description: The description of this Classifier.
        :type: str
        Nr)   )r   r   r   r   r   r   Ä   r&   c                 C   r!   )zÅ
        Gets the issue_type_list of this Classifier.
        The list of issues.


        :return: The issue_type_list of this Classifier.
        :rtype: list[oci.cims.models.IssueType]
        ©r   r#   r   r   r   r   Ð   r$   zClassifier.issue_type_listc                 C   r%   )zÓ
        Sets the issue_type_list of this Classifier.
        The list of issues.


        :param issue_type_list: The issue_type_list of this Classifier.
        :type: list[oci.cims.models.IssueType]
        Nr*   )r   r   r   r   r   r   Ü   r&   c                 C   r!   )av  
        Gets the scope of this Classifier.
        The scope of the service category or resource.

        Allowed values for this property are: "AD", "REGION", "TENANCY", "NONE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The scope of this Classifier.
        :rtype: str
        )r   r#   r   r   r   r   è   ó   zClassifier.scopec                 C   ó    g d¢}t ||ƒsd}|| _dS )z´
        Sets the scope of this Classifier.
        The scope of the service category or resource.


        :param scope: The scope of this Classifier.
        :type: str
        )r   r   r	   r
   ÚUNKNOWN_ENUM_VALUEN)r   r   )r   r   Úallowed_valuesr   r   r   r   ÷   ó   


c                 C   r!   )av  
        Gets the unit of this Classifier.
        The unit to use to measure the service category or resource.

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


        :return: The unit of this Classifier.
        :rtype: str
        )r   r#   r   r   r   r     r+   zClassifier.unitc                 C   r,   )z¿
        Sets the unit of this Classifier.
        The unit to use to measure the service category or resource.


        :param unit: The unit of this Classifier.
        :type: str
        )r   r   r
   r-   N)r   r   )r   r   r.   r   r   r   r     r/   c                 C   s   t | ƒS ©N)r   r#   r   r   r   Ú__repr__$  s   zClassifier.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__'  s   zClassifier.__eq__c                 C   s
   | |k S r0   r   r3   r   r   r   Ú__ne__-  s   
zClassifier.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZSCOPE_ADZSCOPE_REGIONZSCOPE_TENANCYZ
SCOPE_NONEZ
UNIT_COUNTZUNIT_GBZ	UNIT_NONEr    Úpropertyr   Úsetterr   r   r   r   r   r   r1   r5   r6   r   r   r   r   r      sR    B













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   