
    xh	                     "     G d  de           ZdS )c                       e Zd ZdZd
dZed             Zej        d             Zed             Zej        d             Zd Z	d	 Z
dS )SendAtaH  A unix timestamp allowing you to specify when you want your
    email to be delivered. This may be overridden by the
    personalizations[x].send_at parameter. You can't schedule more
    than 72 hours in advance. If you have the flexibility, it's
    better to schedule mail for off-peak times. Most emails are
    scheduled and sent at the top of the hour or half hour.
    Scheduling email to avoid those times (for example, scheduling
    at 10:53) can result in lower deferral rates because it won't
    be going through our servers at the same times as everyone else's
    mail.Nc                 J    d| _         d| _        ||| _        |	|| _        dS dS )a@  Create a unix timestamp specifying when your email should
        be delivered.

        :param send_at: Unix timestamp
        :type send_at: integer
        :param name: p is the Personalization object or Personalization object
                     index
        :type name: Personalization, integer, optional
        N)_send_at_personalizationsend_atpersonalization)selfr   ps      P/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/send_at.py__init__zSendAt.__init__   s:      $"DL=#$D    =    c                     | j         S )z3A unix timestamp.

        :rtype: integer
        r   r	   s    r   r   zSendAt.send_at   s     }r   c                     || _         dS )z`A unix timestamp.

        :param value: A unix timestamp.
        :type value: integer
        Nr   r	   values     r   r   zSendAt.send_at&   s     r   c                     | j         S )zmThe Personalization object or Personalization object index

        :rtype: Personalization, integer
        r   r   s    r   r   zSendAt.personalization/   s     $$r   c                     || _         dS )zThe Personalization object or Personalization object index

        :param value: The Personalization object or Personalization object
                      index
        :type value: Personalization, integer
        Nr   r   s     r   r   zSendAt.personalization7   s     !&r   c                 D    t          |                                           S )zKGet a JSON representation of this object.

        :rtype: integer
        )strgetr   s    r   __str__zSendAt.__str__A   s    
 488::r   c                     | j         S )z
        Get a JSON-ready representation of this SendAt object.

        :returns: The unix timestamp, ready for use in a request body.
        :rtype: integer
        )r   r   s    r   r   z
SendAt.getH   s     |r   )NN)__name__
__module____qualname____doc__r   propertyr   setterr   r   r    r   r   r   r      s        	 	% % % %$   X ^  ^ % % X% & & &      r   r   N)objectr   r"   r   r   <module>r$      sC   N N N N NV N N N N Nr   