o
    e                     @   sL   d Z ddlmZmZ ddlmZ ddlT G dd deZG dd deZd	S )
z+
Pricing class - along with its list class
    )PlivoResourcePlivoResourceInterface)to_param_dict)*c                   @   s   e Zd Zd ZdZdd ZdS )Pricingcountry_isoc                 C   s   | j j| jS )N)clientpricinggetid)self r   K/var/www/html/venv/lib/python3.10/site-packages/plivo/resources/pricings.pyr
      s   zPricing.getN)__name__
__module____qualname___name_identifier_stringr
   r   r   r   r   r      s    r   c                   @   s(   e Zd ZeZeedgddd ZdS )Pricingsz
^[A-Z]{2}$)r   c                 C   s   | j jddt| jt tdS )NGET)r   )response_type)r   requestr   r
   localsr   )r   r   r   r   r   r
      s
   zPricings.getN)r   r   r   r   _resource_typevalidate_argsregexr
   r   r   r   r   r      s    r   N)	__doc__
plivo.baser   r   plivo.utilsr   plivo.utils.validatorsr   r   r   r   r   r   <module>   s   