o
    ,ÂifÝ  ã                   @   s@   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S )é    N)ÚOptional)ÚEntity)ÚStringCollectionc                       sN   e Zd Zedd„ ƒZedd„ ƒZedd„ ƒZedd„ ƒZd‡ fd
d„	Z‡  Z	S )ÚOutlookItemc                 C   s   | j  dd¡S )zÄ
        Identifies the version of the item. Every time the item is changed, changeKey changes as well.
        This allows Exchange to apply changes to the correct version of the object.
        Ú	ChangeKeyN)Ú
propertiesÚget©Úself© r   úO/var/www/html/corbot_env/lib/python3.10/site-packages/office365/outlook/item.pyÚ
change_key	   s   zOutlookItem.change_keyc                 C   s   | j  dtƒ ¡S )z'The categories associated with the itemÚ
categories)r   r   r   r	   r   r   r   r      s   zOutlookItem.categoriesc                 C   ó   | j  dtjj¡S )úÃ
        The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.
        For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
        ÚcreatedDateTime©r   r   ÚdatetimeÚminr	   r   r   r   Úcreated_datetime   ó   zOutlookItem.created_datetimec                 C   r   )r   ÚlastModifiedDateTimer   r	   r   r   r   Úlast_modified_datetime   r   z"OutlookItem.last_modified_datetimeNc                    s4   |d u r| j | jdœ}| |d ¡}tt| ƒ ||¡S )N)r   r   )r   r   r   Úsuperr   Úget_property)r
   ÚnameÚdefault_valueÚproperty_mapping©Ú	__class__r   r   r   '   s   þzOutlookItem.get_property)N)
Ú__name__Ú
__module__Ú__qualname__Úpropertyr   r   r   r   r   Ú__classcell__r   r   r   r   r      s    



r   )r   Útypingr   Úoffice365.entityr   Ú#office365.runtime.types.collectionsr   r   r   r   r   r   Ú<module>   s
    