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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )Ú	Principalz"
    An authorized principal.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aÃ  
        Initializes a new Principal 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 Principal.
        :type id: str

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

        Ústr)ÚidÚdisplay_namer   ZdisplayNameN)Zswagger_typesZattribute_mapÚ_idÚ_display_name)ÚselfÚkwargs© r   ú<usr/lib/python3.10/site-packages/oci/jms/models/principal.pyÚ__init__   s   þþ
zPrincipal.__init__c                 C   ó   | j S )zú
        **[Required]** Gets the id of this Principal.
        The `OCID`__ of the principal.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this Principal.
        :rtype: str
        ©r
   ©r   r   r   r   r   -   s   zPrincipal.idc                 C   ó
   || _ dS )zì
        Sets the id of this Principal.
        The `OCID`__ of the principal.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this Principal.
        :type: str
        Nr   )r   r   r   r   r   r   ;   s   
c                 C   r   )z·
        **[Required]** Gets the display_name of this Principal.
        The name of the principal.


        :return: The display_name of this Principal.
        :rtype: str
        ©r   r   r   r   r   r	   I   s   
zPrincipal.display_namec                 C   r   )z³
        Sets the display_name of this Principal.
        The name of the principal.


        :param display_name: The display_name of this Principal.
        :type: str
        Nr   )r   r	   r   r   r   r	   U   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__a   s   zPrincipal.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__d   s   zPrincipal.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__j   s   
zPrincipal.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r   r   r   r   r   r   r   r      s    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   