| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/clicksend_client/models/__pycache__/ |
Upload File : |
�
qk�f� � �B � d Z ddlZddlZddlZddlmZ G d� de� Zy)a�
ClickSend v3 API
This is an official SDK for [ClickSend](https://clicksend.com) Below you will find a current list of the available methods for clicksend. *NOTE: You will need to create a free account to use the API. You can register [here](https://dashboard.clicksend.com/#/signup/step1/)..* # noqa: E501
OpenAPI spec version: 3.1
Contact: support@clicksend.com
Generated by: https://github.com/clicksend-api/clicksend-codegen.git
� N)�
Configurationc �f � e Zd ZdZ dddddd�Zdddddd�Zi Zdd
�Zed� � Z e j d� � Z ed
� � Zej d� � Zed� � Zej d� � Zed� � Z
e
j d� � Z
ed� � Zej d� � Zd� Zd� Zd� Zd� Zd� Zd� Zy )�
AttachmentzuNOTE: This class is auto generated by the clicksend code generator program.
Do not edit the class manually.
�str)�content�type�filename�disposition�
content_idr r r r
r Nc �� � |�
t � }|| _ d| _ d| _ d| _ d| _ d| _ d| _ || _ || _ || _
|| _ || _ y)z'Attachment - a model defined in SwaggerN� classType)
r �_configuration�_content�_type� _filename�_disposition�_content_id�
discriminatorr r r r
r )�selfr r r r
r r s �DC:\Python312\Lib\site-packages\clicksend_client/models/attachment.py�__init__zAttachment.__init__7 sh � ��!�*�_�N�,�����
���
���� ������(�������� � ��
�&���$��� c � � | j S )z�Gets the content of this Attachment. # noqa: E501
The base64-encoded contents of the file. # noqa: E501
:return: The content of this Attachment. # noqa: E501
:rtype: str
)r �r s r r zAttachment.contentJ s � � �}�}�r c �X � | j j r
|�t d� �|| _ y)z�Sets the content of this Attachment.
The base64-encoded contents of the file. # noqa: E501
:param content: The content of this Attachment. # noqa: E501
:type: str
Nz/Invalid value for `content`, must not be `None`)r �client_side_validation�
ValueErrorr )r r s r r zAttachment.contentU s* � � ���5�5�'�/��N�O�O���
r c � � | j S )z�Gets the type of this Attachment. # noqa: E501
The type of file being attached. # noqa: E501
:return: The type of this Attachment. # noqa: E501
:rtype: str
)r r s r r zAttachment.typec s � � �z�z�r c �X � | j j r
|�t d� �|| _ y)z�Sets the type of this Attachment.
The type of file being attached. # noqa: E501
:param type: The type of this Attachment. # noqa: E501
:type: str
Nz,Invalid value for `type`, must not be `None`)r r r r )r r s r r zAttachment.typen s* � � ���5�5�$�,��K�L�L���
r c � � | j S )z�Gets the filename of this Attachment. # noqa: E501
The name of the file being attached. # noqa: E501
:return: The filename of this Attachment. # noqa: E501
:rtype: str
)r r s r r zAttachment.filename| s � � �~�~�r c �X � | j j r
|�t d� �|| _ y)z�Sets the filename of this Attachment.
The name of the file being attached. # noqa: E501
:param filename: The filename of this Attachment. # noqa: E501
:type: str
Nz0Invalid value for `filename`, must not be `None`)r r r r )r r s r r zAttachment.filename� s+ � � ���5�5�(�:J��O�P�P�!��r c � � | j S )a Gets the disposition of this Attachment. # noqa: E501
Inline for content that can be displayed within the email, or attachment for any other files. # noqa: E501
:return: The disposition of this Attachment. # noqa: E501
:rtype: str
)r r s r r
zAttachment.disposition� s � � � � � r c �X � | j j r
|�t d� �|| _ y)a Sets the disposition of this Attachment.
Inline for content that can be displayed within the email, or attachment for any other files. # noqa: E501
:param disposition: The disposition of this Attachment. # noqa: E501
:type: str
Nz3Invalid value for `disposition`, must not be `None`)r r r r )r r
s r r
zAttachment.disposition� s, � � ���5�5�+�:M��R�S�S�'��r c � � | j S )z�Gets the content_id of this Attachment. # noqa: E501
An ID for the content. # noqa: E501
:return: The content_id of this Attachment. # noqa: E501
:rtype: str
)r r s r r zAttachment.content_id� s � � ���r c �X � | j j r
|�t d� �|| _ y)z�Sets the content_id of this Attachment.
An ID for the content. # noqa: E501
:param content_id: The content_id of this Attachment. # noqa: E501
:type: str
Nz2Invalid value for `content_id`, must not be `None`)r r r r )r r s r r zAttachment.content_id� s, � � ���5�5�*�:L��Q�R�R�%��r c �r � || j j � }| j j |� S )z:Returns the real base class specified by the discriminator)r �lower�discriminator_value_class_map�get)r �data�discriminator_values r �get_real_child_modelzAttachment.get_real_child_model� s4 � �"�4�#5�#5�6�<�<�>���1�1�5�5�6I�J�Jr c �� � i }t j | j � D ]� \ }}t | |� }t |t
� rt t
d� |� � ||<