o
    éË·eå  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zí
The Template Default Content API endpoint

Documentation: http://developer.mailchimp.com/documentation/mailchimp/reference/templates/default-content/
Schema: https://api.mailchimp.com/schema/3.0/Templates/Defaultcontent/Collection.json
é    )Úunicode_literals)ÚBaseApic                       s(   e Zd ZdZ‡ fdd„Zdd„ Z‡  ZS )ÚTemplateDefaultContentz>
    Manage the default content for a MailChimp template.
    c                    s&   t t| ƒj|i |¤Ž d| _d| _dS )z)
        Initialize the endpoint
        Ú	templatesN)Úsuperr   Ú__init__ÚendpointÚtemplate_id)ÚselfÚargsÚkwargs©Ú	__class__© úa/var/www/ideatree/venv/lib/python3.10/site-packages/mailchimp3/entities/templatedefaultcontent.pyr      s   
zTemplateDefaultContent.__init__c                 K   s$   || _ | jjdd|  |d¡i|¤ŽS )ue  
        Get the sections that you can edit in a template, including each
        sectionâ€™s default content.

        :param template_id: The unique id for the template.
        :type template_id: :py:class:`str`
        :param queryparams: The query string parameters
        queryparams['fields'] = []
        queryparams['exclude_fields'] = []
        Úurlzdefault-contentNr   )r	   Ú
_mc_clientÚ_getÚ_build_path)r
   r	   Úqueryparamsr   r   r   Úall   s   zTemplateDefaultContent.all)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__r   r   r   r   r      s    	r   N)r   Ú
__future__r   Úmailchimp3.baseapir   r   r   r   r   r   Ú<module>   s   