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                   @   s4  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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 ))ÚUserz(
    Details about the user object.
    c                 K   sx   ddddddddd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 User 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 User.
        :type key: str

        :param first_name:
            The value to assign to the first_name property of this User.
        :type first_name: str

        :param last_name:
            The value to assign to the last_name property of this User.
        :type last_name: str

        :param country:
            The value to assign to the country property of this User.
        :type country: str

        :param csi:
            The value to assign to the csi property of this User.
        :type csi: str

        :param phone:
            The value to assign to the phone property of this User.
        :type phone: str

        :param timezone:
            The value to assign to the timezone property of this User.
        :type timezone: str

        :param organization_name:
            The value to assign to the organization_name property of this User.
        :type organization_name: str

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

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

        Ústr)
ÚkeyÚ
first_nameÚ	last_nameÚcountryÚcsiÚphoneÚtimezoneÚorganization_nameÚcompartment_idÚcontact_emailr   Z	firstNameZlastNamer   r   r   r   ZorganizationNameZcompartmentIdZcontactEmailN)Zswagger_typesZattribute_mapÚ_keyÚ_first_nameÚ
_last_nameÚ_countryÚ_csiÚ_phoneÚ	_timezoneÚ_organization_nameÚ_compartment_idÚ_contact_email)ÚselfÚkwargs© r   ú8usr/lib/python3.10/site-packages/oci/cims/models/user.pyÚ__init__   s@   /öö
zUser.__init__c                 C   ó   | j S )z 
        **[Required]** Gets the key of this User.
        Unique identifier for the user.


        :return: The key of this User.
        :rtype: str
        ©r   ©r   r   r   r   r   e   ó   
zUser.keyc                 C   ó
   || _ dS )z“
        Sets the key of this User.
        Unique identifier for the user.


        :param key: The key of this User.
        :type: str
        Nr"   )r   r   r   r   r   r   q   ó   

c                 C   r!   )z—
        Gets the first_name of this User.
        First name of the user.


        :return: The first_name of this User.
        :rtype: str
        ©r   r#   r   r   r   r	   }   r$   zUser.first_namec                 C   r%   )z 
        Sets the first_name of this User.
        First name of the user.


        :param first_name: The first_name of this User.
        :type: str
        Nr'   )r   r	   r   r   r   r	   ‰   r&   c                 C   r!   )z”
        Gets the last_name of this User.
        Last name of the user.


        :return: The last_name of this User.
        :rtype: str
        ©r   r#   r   r   r   r
   •   r$   zUser.last_namec                 C   r%   )zœ
        Sets the last_name of this User.
        Last name of the user.


        :param last_name: The last_name of this User.
        :type: str
        Nr(   )r   r
   r   r   r   r
   ¡   r&   c                 C   r!   )zŽ
        Gets the country of this User.
        Country of the user.


        :return: The country of this User.
        :rtype: str
        ©r   r#   r   r   r   r   ­   r$   zUser.countryc                 C   r%   )z”
        Sets the country of this User.
        Country of the user.


        :param country: The country of this User.
        :type: str
        Nr)   )r   r   r   r   r   r   ¹   r&   c                 C   r!   )z“
        Gets the csi of this User.
        CSI to be associated to the user.


        :return: The csi of this User.
        :rtype: str
        ©r   r#   r   r   r   r   Å   r$   zUser.csic                 C   r%   )z•
        Sets the csi of this User.
        CSI to be associated to the user.


        :param csi: The csi of this User.
        :type: str
        Nr*   )r   r   r   r   r   r   Ñ   r&   c                 C   r!   )z‘
        Gets the phone of this User.
        Contact number of the user.


        :return: The phone of this User.
        :rtype: str
        ©r   r#   r   r   r   r   Ý   r$   z
User.phonec                 C   r%   )z•
        Sets the phone of this User.
        Contact number of the user.


        :param phone: The phone of this User.
        :type: str
        Nr+   )r   r   r   r   r   r   é   r&   c                 C   r!   )z‘
        Gets the timezone of this User.
        Timezone of the user.


        :return: The timezone of this User.
        :rtype: str
        ©r   r#   r   r   r   r   õ   r$   zUser.timezonec                 C   r%   )z˜
        Sets the timezone of this User.
        Timezone of the user.


        :param timezone: The timezone of this User.
        :type: str
        Nr,   )r   r   r   r   r   r     r&   c                 C   r!   )z§
        Gets the organization_name of this User.
        Organization of the user.


        :return: The organization_name of this User.
        :rtype: str
        ©r   r#   r   r   r   r     r$   zUser.organization_namec                 C   r%   )z·
        Sets the organization_name of this User.
        Organization of the user.


        :param organization_name: The organization_name of this User.
        :type: str
        Nr-   )r   r   r   r   r   r     r&   c                 C   r!   )z 
        Gets the compartment_id of this User.
        The OCID of the tenancy.


        :return: The compartment_id of this User.
        :rtype: str
        ©r   r#   r   r   r   r   %  r$   zUser.compartment_idc                 C   r%   )z­
        Sets the compartment_id of this User.
        The OCID of the tenancy.


        :param compartment_id: The compartment_id of this User.
        :type: str
        Nr.   )r   r   r   r   r   r   1  r&   c                 C   r!   )z¦
        Gets the contact_email of this User.
        The email of the contact person.


        :return: The contact_email of this User.
        :rtype: str
        ©r   r#   r   r   r   r   =  r$   zUser.contact_emailc                 C   r%   )z²
        Sets the contact_email of this User.
        The email of the contact person.


        :param contact_email: The contact_email of this User.
        :type: str
        Nr/   )r   r   r   r   r   r   I  r&   c                 C   s   t | ƒS ©N)r   r#   r   r   r   Ú__repr__U  s   zUser.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__X  s   zUser.__eq__c                 C   s
   | |k S r0   r   r3   r   r   r   Ú__ne__^  s   
zUser.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r    Úpropertyr   Úsetterr	   r
   r   r   r   r   r   r   r   r1   r5   r6   r   r   r   r   r      s\    S



















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   