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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dd Zdd Zdd ZdS )Contactz+
    Contact details for the customer.
    PRIMARY	ALTERNATE	SECONDARYADMINMANAGERc                 K   s<   ddddd| _ ddddd| _d| _d| _d| _d| _dS )a  
        Initializes a new Contact object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param contact_name:
            The value to assign to the contact_name property of this Contact.
        :type contact_name: str

        :param contact_email:
            The value to assign to the contact_email property of this Contact.
        :type contact_email: str

        :param contact_phone:
            The value to assign to the contact_phone property of this Contact.
        :type contact_phone: str

        :param contact_type:
            The value to assign to the contact_type property of this Contact.
            Allowed values for this property are: "PRIMARY", "ALTERNATE", "SECONDARY", "ADMIN", "MANAGER", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type contact_type: str

        str)contact_namecontact_emailcontact_phonecontact_typeZcontactNameZcontactEmailZcontactPhoneZcontactTypeN)Zswagger_typesZattribute_map_contact_name_contact_email_contact_phone_contact_type)selfkwargs r   ;usr/lib/python3.10/site-packages/oci/cims/models/contact.py__init__&   s   
zContact.__init__c                 C      | j S )z
        Gets the contact_name of this Contact.
        The name of the contact person.


        :return: The contact_name of this Contact.
        :rtype: str
        r   r   r   r   r   r   Q      
zContact.contact_namec                 C   
   || _ dS )z
        Sets the contact_name of this Contact.
        The name of the contact person.


        :param contact_name: The contact_name of this Contact.
        :type: str
        Nr   )r   r   r   r   r   r   ]      

c                 C   r   )z
        Gets the contact_email of this Contact.
        The email of the contact person.


        :return: The contact_email of this Contact.
        :rtype: str
        r   r   r   r   r   r   i   r   zContact.contact_emailc                 C   r   )z
        Sets the contact_email of this Contact.
        The email of the contact person.


        :param contact_email: The contact_email of this Contact.
        :type: str
        Nr    )r   r   r   r   r   r   u   r   c                 C   r   )z
        Gets the contact_phone of this Contact.
        The phone number of the contact person.


        :return: The contact_phone of this Contact.
        :rtype: str
        r   r   r   r   r   r      r   zContact.contact_phonec                 C   r   )z
        Sets the contact_phone of this Contact.
        The phone number of the contact person.


        :param contact_phone: The contact_phone of this Contact.
        :type: str
        Nr!   )r   r   r   r   r   r      r   c                 C   r   )a  
        Gets the contact_type of this Contact.
        The type of contact, such as primary or alternate.

        Allowed values for this property are: "PRIMARY", "ALTERNATE", "SECONDARY", "ADMIN", "MANAGER", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The contact_type of this Contact.
        :rtype: str
        )r   r   r   r   r   r      s   zContact.contact_typec                 C   s    g d}t ||sd}|| _dS )z
        Sets the contact_type of this Contact.
        The type of contact, such as primary or alternate.


        :param contact_type: The contact_type of this Contact.
        :type: str
        )r   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Contact.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zContact.__eq__c                 C   s
   | |k S r"   r   r%   r   r   r   __ne__   s   
zContact.__ne__N)__name__
__module____qualname____doc__ZCONTACT_TYPE_PRIMARYZCONTACT_TYPE_ALTERNATEZCONTACT_TYPE_SECONDARYZCONTACT_TYPE_ADMINZCONTACT_TYPE_MANAGERr   propertyr   setterr   r   r   r#   r'   r(   r   r   r   r   r      s6    +







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   