o
    .jy                     @   sJ   d Z ddlZddlmZ ddlmZ ddlmZ G dd deZdgZ	dS )	zUID values from :rfc:`9253`.    N)ClassVar)Self   )vTextc                   @   s   e Zd ZU dZdZee ed< ede	fddZ
edefddZedefd	d
ZdefddZddlmZmZmZ edee	 fddZdS )vUidzJA UID of a component.

    This is defined in :rfc:`9253`, Section 7.
    UIDdefault_valuereturnc                 C   s   t t S )zCreate a new UID for convenience.

        .. code-block:: pycon

            >>> from icalendar import vUid
            >>> vUid.new()
            vUid('d755cef5-2311-46ed-a0e1-6733c9e15c63')

        )r   uuiduuid4cls r   G/home/thesage/.local/lib/python3.10/site-packages/icalendar/prop/uid.pynew   s   zvUid.newc                 C   s   t | S zThe UID of this property.)strselfr   r   r   uid    s   zvUid.uidc                 C   s   | j S r   )r   r   r   r   r   
ical_value%   s   zvUid.ical_valuec                 C   s   | j j d| jdS )z
repr(self)())	__class____name__r   r   r   r   r   __repr__*   s   zvUid.__repr__r   )FMTTYPELABELLINKRELc                 C   s
   | dgS )zExamples of vUid.z$d755cef5-2311-46ed-a0e1-6733c9e15c63r   r   r   r   r   examples0   s   
zvUid.examplesN)r   
__module____qualname____doc__r   r   r   __annotations__classmethodr   r   propertyr   r   r   icalendar.paramr   r   r   listr   r   r   r   r   r      s   
 r   )
r"   r
   typingr   icalendar.compatibilityr   textr   r   __all__r   r   r   r   <module>   s    
+