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 )Idz@
    An id along with a name to simplify display for a user
    c                 K   s(   ddd| _ ddd| _d| _d| _dS )a  
        Initializes a new Id 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 Id.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this Id.
        :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/os_management/models/id.py__init__   s   
zId.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Id.
        unique identifier that is immutable on creation


        :return: The id of this Id.
        :rtype: str
        r
   r   r   r   r   r   -      
zId.idc                 C   
   || _ dS )z
        Sets the id of this Id.
        unique identifier that is immutable on creation


        :param id: The id of this Id.
        :type: str
        Nr   )r   r   r   r   r   r   9      

c                 C   r   )z
        **[Required]** Gets the display_name of this Id.
        User friendly name


        :return: The display_name of this Id.
        :rtype: str
        r   r   r   r   r   r	   E   r   zId.display_namec                 C   r   )z
        Sets the display_name of this Id.
        User friendly name


        :param display_name: The display_name of this Id.
        :type: str
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | S N)r   r   r   r   r   __repr__]   s   zId.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__`   s   z	Id.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__f   s   
z	Id.__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   