
    xhz
                     "     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ed             Z	e	j        d	             Z	d
 Z
dS )	CustomArgag  Values that will be carried along with the email and its activity data.

    Substitutions will not be made on custom arguments, so any string entered
    into this parameter will be assumed to be the custom argument that you
    would like to be used. Top-level CustomArgs may be overridden by ones in a
    Personalization. May not exceed 10,000 bytes.
    Nc                 j    d| _         d| _        d| _        ||| _        ||| _        |	|| _        dS dS )a  Create a CustomArg with the given key and value.

            :param key: Key for this CustomArg
            :type key: string, optional
            :param value: Value of this CustomArg
            :type value: string, optional
            :param p: p is the Personalization object or Personalization
                      object index
            :type p: Personalization, integer, optional
        N)_key_value_personalizationkeyvaluepersonalization)selfr   r	   ps       S/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/custom_arg.py__init__zCustomArg.__init__
   sM     	 $?DHDJ=#$D    =    c                     | j         S )z8Key for this CustomArg.

        :rtype: string
        r   r   s    r   r   zCustomArg.key    s     yr   c                     || _         dS )zkKey for this CustomArg.

        :param value: Key for this CustomArg.
        :type value: string
        Nr   r   r	   s     r   r   zCustomArg.key(   s     			r   c                     | j         S )z9Value of this CustomArg.

        :rtype: string
        r   r   s    r   r	   zCustomArg.value1   s     {r   c                     || _         dS )zmValue of this CustomArg.

        :param value: Value of this CustomArg.
        :type value: string
        Nr   r   s     r   r	   zCustomArg.value9   s     r   c                     | j         S )zmThe Personalization object or Personalization object index

        :rtype: Personalization, integer
        r   r   s    r   r
   zCustomArg.personalizationB   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CustomArg.personalizationJ   s     !&r   c                 D    i }| j         | j        | j        || j         <   |S )z
        Get a JSON-ready representation of this CustomArg.

        :returns: This CustomArg, ready for use in a request body.
        :rtype: dict
        )r   r	   )r   
custom_args     r   getzCustomArg.getT   s,     
8DJ$:#':Jtx r   )NNN)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   r    r   r   r   r      s         % % % %,   X 	Z  Z   X \  \ % % X% & & &
 
 
 
 
r   r   N)objectr   r$   r   r   <module>r&      sC   ] ] ] ] ] ] ] ] ] ]r   