
    ,h	                     >    d dl mZ d dlmZ d dlmZ  G d de      Zy)    )	constants)
Attachment)MessageBasec                       e Zd ZdZdedddej                  fdZed        Z	ed        Z
ed        Zed	        Zed
        Zed        Zed        Zed        Zy)Appointmentz9
    Parser for Microsoft Outlook Appointment files.
     NFc           
      <    t        j                  | |||||||       y )N)r   __init__)selfpathprefixattachmentClassfilenamedelayAttachmentsoverrideEncodingattachmentErrorBehaviors           Y/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/extract_msg/appointment.pyr
   zAppointment.__init__
   s(    T4(L\^n  qH  	I    c                 &    | j                  dd      S )z4
        The class type of the appointment.
        _appointmentClassType0024_ensureSetNamedr   s    r   appointmentClassTypez Appointment.appointmentClassType   s    
 ##$;VDDr   c                 &    | j                  dd      S )z2
        The end date of the appointment.
        _endDate00610040_ensureSetPropertyr   s    r   endDatezAppointment.endDate   s    
 &&z:>>r   c                    	 | j                   S # t        $ rg | j                  j                  d      | _         | j                   | j                  j                  d      n| j                   | _         | j                   cY S w xY w)z6
        Returns the location of the meeting.
        82080002)_Appointment__locationAttributeErrornamedgetNamedValuer   s    r   locationzAppointment.location   sh    
	#??" 	#"jj66v>DOBF//BYdjj66v>_c_n_nDO??"	#s    A-A>=A>c                 &    | j                  dd      S )z@
        Returns the optional attendees of the meeting.
        _optionalAttendees0007r   r   s    r   optionalAttendeeszAppointment.optionalAttendees'       
 ##$8&AAr   c                 &    | j                  dd      S )z@
        Returns the required attendees of the meeting.
        _requiredAttendees0006r   r   s    r   requiredAttendeeszAppointment.requiredAttendees.   r.   r   c                 &    | j                  dd      S )z@
        Returns the resource attendees of the meeting.
        _resourceAttendees0008r   r   s    r   resourceAttendeeszAppointment.resourceAttendees5   r.   r   c                 &    | j                  dd      S )z4
        The start date of the appointment.
        
_startDate00600040r   r   s    r   	startDatezAppointment.startDate=   s    
 &&|Z@@r   c                 &    | j                  dd      S )z7
        Returns the time zone of the meeting.
        	_timeZone000Cr   r   s    r   timeZonezAppointment.timeZoneD   s    
 ##K88r   )__name__
__module____qualname____doc__r   r   ATTACHMENT_ERROR_THROWr
   propertyr   r!   r)   r-   r2   r6   r:   r>    r   r   r   r      s     ')JSWlq  GK  gp  gG  gG I E E ? ? 	# 	# B B B B B B A A 9 9r   r   N)extract_msgr   extract_msg.attachmentr   extract_msg.message_baser   r   rE   r   r   <module>rI      s    ! - 0D9+ D9r   