o
    ëÉ¶d×!  ã                   @   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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 )$ÚIncidentSummaryz+
    Details about the support ticket.
    ÚLIMITÚLEGACY_LIMITÚTECHÚACCOUNTc                 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 IncidentSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this IncidentSummary.
        :type key: str

        :param compartment_id:
            The value to assign to the compartment_id property of this IncidentSummary.
        :type compartment_id: str

        :param contact_list:
            The value to assign to the contact_list property of this IncidentSummary.
        :type contact_list: oci.cims.models.ContactList

        :param tenancy_information:
            The value to assign to the tenancy_information property of this IncidentSummary.
        :type tenancy_information: oci.cims.models.TenancyInformation

        :param ticket:
            The value to assign to the ticket property of this IncidentSummary.
        :type ticket: oci.cims.models.Ticket

        :param incident_type:
            The value to assign to the incident_type property of this IncidentSummary.
        :type incident_type: oci.cims.models.IncidentResourceType

        :param problem_type:
            The value to assign to the problem_type property of this IncidentSummary.
            Allowed values for this property are: "LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type problem_type: str

        ÚstrZContactListZTenancyInformationZTicketZIncidentResourceType)ÚkeyÚcompartment_idÚcontact_listÚtenancy_informationÚticketÚincident_typeÚproblem_typer   ZcompartmentIdZcontactListZtenancyInformationr   ZincidentTypeZproblemTypeN)	Zswagger_typesZattribute_mapÚ_keyÚ_compartment_idÚ_contact_listÚ_tenancy_informationÚ_ticketÚ_incident_typeÚ_problem_type)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/cims/models/incident_summary.pyÚ__init__"   s.   %ùù

zIncidentSummary.__init__c                 C   ó   | j S )z¹
        **[Required]** Gets the key of this IncidentSummary.
        Unique identifier of the incident.


        :return: The key of this IncidentSummary.
        :rtype: str
        ©r   ©r   r   r   r   r   b   ó   
zIncidentSummary.keyc                 C   ó
   || _ dS )z¬
        Sets the key of this IncidentSummary.
        Unique identifier of the incident.


        :param key: The key of this IncidentSummary.
        :type: str
        Nr    )r   r   r   r   r   r   n   ó   

c                 C   r   )z¶
        Gets the compartment_id of this IncidentSummary.
        The OCID of the tenancy.


        :return: The compartment_id of this IncidentSummary.
        :rtype: str
        ©r   r!   r   r   r   r   z   r"   zIncidentSummary.compartment_idc                 C   r#   )zÃ
        Sets the compartment_id of this IncidentSummary.
        The OCID of the tenancy.


        :param compartment_id: The compartment_id of this IncidentSummary.
        :type: str
        Nr%   )r   r   r   r   r   r   †   r$   c                 C   r   )z¨
        Gets the contact_list of this IncidentSummary.

        :return: The contact_list of this IncidentSummary.
        :rtype: oci.cims.models.ContactList
        ©r   r!   r   r   r   r   ’   ó   zIncidentSummary.contact_listc                 C   r#   )z³
        Sets the contact_list of this IncidentSummary.

        :param contact_list: The contact_list of this IncidentSummary.
        :type: oci.cims.models.ContactList
        Nr&   )r   r   r   r   r   r   œ   ó   
c                 C   r   )z½
        Gets the tenancy_information of this IncidentSummary.

        :return: The tenancy_information of this IncidentSummary.
        :rtype: oci.cims.models.TenancyInformation
        ©r   r!   r   r   r   r   ¦   r'   z#IncidentSummary.tenancy_informationc                 C   r#   )zÏ
        Sets the tenancy_information of this IncidentSummary.

        :param tenancy_information: The tenancy_information of this IncidentSummary.
        :type: oci.cims.models.TenancyInformation
        Nr)   )r   r   r   r   r   r   °   r(   c                 C   r   )z—
        Gets the ticket of this IncidentSummary.

        :return: The ticket of this IncidentSummary.
        :rtype: oci.cims.models.Ticket
        ©r   r!   r   r   r   r   º   r'   zIncidentSummary.ticketc                 C   r#   )zœ
        Sets the ticket of this IncidentSummary.

        :param ticket: The ticket of this IncidentSummary.
        :type: oci.cims.models.Ticket
        Nr*   )r   r   r   r   r   r   Ä   r(   c                 C   r   )z³
        Gets the incident_type of this IncidentSummary.

        :return: The incident_type of this IncidentSummary.
        :rtype: oci.cims.models.IncidentResourceType
        ©r   r!   r   r   r   r   Î   r'   zIncidentSummary.incident_typec                 C   r#   )z¿
        Sets the incident_type of this IncidentSummary.

        :param incident_type: The incident_type of this IncidentSummary.
        :type: oci.cims.models.IncidentResourceType
        Nr+   )r   r   r   r   r   r   Ø   r(   c                 C   r   )a¸  
        **[Required]** Gets the problem_type of this IncidentSummary.
        The kind of support ticket, such as a technical support request.

        Allowed values for this property are: "LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The problem_type of this IncidentSummary.
        :rtype: str
        )r   r!   r   r   r   r   â   s   zIncidentSummary.problem_typec                 C   s    g d¢}t ||ƒsd}|| _dS )zå
        Sets the problem_type of this IncidentSummary.
        The kind of support ticket, such as a technical support request.


        :param problem_type: The problem_type of this IncidentSummary.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   ñ   s   


c                 C   s   t | ƒS ©N)r   r!   r   r   r   Ú__repr__   s   zIncidentSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   zIncidentSummary.__eq__c                 C   s
   | |k S r,   r   r/   r   r   r   Ú__ne__	  s   
zIncidentSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZPROBLEM_TYPE_LIMITZPROBLEM_TYPE_LEGACY_LIMITZPROBLEM_TYPE_TECHZPROBLEM_TYPE_ACCOUNTr   Úpropertyr   Úsetterr   r   r   r   r   r   r-   r1   r2   r   r   r   r   r      sL    @




	
	
	
	
	
	
	
	

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   