Ë
    T>{iC  ã                  óÚ   — d Z ddlmZ ddlZddlZddlZddlmZmZ ddlm	Z	 ddl
mZmZmZmZmZmZmZmZmZmZ ddlmZmZmZmZmZmZ ddlmZ  G d	„ d
e«      Zej?                  «        y)aˆ  
Cashfree Payment Gateway APIs

Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites.

The version of the OpenAPI document: 2023-08-01
Contact: developers@cashfree.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
é    )ÚannotationsN)ÚdateÚdatetime)Ú!CreateTerminalRequestTerminalMeta)
Úvalidate_argumentsÚValidationErrorÚFieldÚ	StrictStrÚStrictBytesÚ	StrictIntÚStrictFloatÚ
StrictBoolÚfield_validatorÚ	BaseModel)ÚAnyÚDictÚListÚOptionalÚTupleÚUnion)Ú	Annotatedc                  ó  — e Zd ZU dZdZded<   dZded<   dZded<   dZded<   dZ	ded	<   dZ
ded
<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   g d¢Z	 dddœZdd„Zdd„Zedd„«       Zedd„«       Zd„ Zedd„«       Zy)ÚUpdateTerminalEntityz"
    Update terminal response
    NzOptional[StrictStr]Úadded_onzOptional[StrictInt]Úcf_terminal_idÚlast_updated_onÚterminal_addressÚterminal_emailÚterminal_typeÚ
teminal_idÚterminal_nameÚterminal_noteÚterminal_phone_noÚterminal_statusz+Optional[CreateTerminalRequestTerminalMeta]Úterminal_meta©r   r   r   r   r   r   r    r!   r"   r#   r$   r%   T)Úpopulate_by_nameÚvalidate_assignmentc                óL   — t        j                  | j                  d¬«      «      S )z:Returns the string representation of the model using aliasT)Úby_alias)ÚpprintÚpformatÚdict©Úselfs    úg/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/cashfree_pg/models/update_terminal_entity.pyÚto_strzUpdateTerminalEntity.to_str5   s   € ä�~‰~˜dŸi™i°˜iÓ6Ó7Ð7ó    c                óH   — t        j                  | j                  «       «      S )z8Returns the JSON representation of the model using alias)ÚjsonÚdumpsÚto_dictr.   s    r0   Úto_jsonzUpdateTerminalEntity.to_json9   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r2   c                óJ   — | j                  t        j                  |«      «      S )ú=Create an instance of UpdateTerminalEntity from a JSON string)Ú	from_dictr4   Úloads)ÚclsÚjson_strs     r0   Ú	from_jsonzUpdateTerminalEntity.from_json=   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r2   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)r9   z·added_on, cf_terminal_id, last_updated_on, terminal_address, terminal_email, terminal_type, teminal_id, terminal_name, terminal_note, terminal_phone_no, terminal_status, terminal_metaN)r4   r;   Úkeysr:   )r<   r=   Ú	temp_dicts      r0   Úfrom_json_for_one_ofz)UpdateTerminalEntity.from_json_for_one_ofB   sU   € ô —J‘J˜xÓ(ˆ	ð Eð  IR÷  IWñ  IWó  IYñ  YØ—=‘=¤§¡¨HÓ!5Ó6Ð6Ør2   c                ó€   — | j                  di d¬«      }| j                  r| j                  j                  «       |d<   |S )z>Returns the dictionary representation of the model using aliasT)r*   ÚexcludeÚexclude_noner%   )r-   r%   r6   )r/   Ú_dicts     r0   r6   zUpdateTerminalEntity.to_dictJ   sH   € à—	‘	 4ð#à'+ð ó -ˆð
 ×ÒØ%)×%7Ñ%7×%?Ñ%?Ó%AˆE�/Ñ"Øˆr2   c                óN  — |€yt        |t        «      st        j                  |«      S t        j                  |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d	«      |j	                  d
«      |j	                  d«      |j	                  d«      |j	                  d«      �$t        j                  |j	                  d«      «      nddœ«      }|S )z6Create an instance of UpdateTerminalEntity from a dictNr   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   )Ú
isinstancer-   r   Ú	parse_objÚgetr   r:   )r<   ÚobjÚ_objs      r0   r:   zUpdateTerminalEntity.from_dictU   s  € ð ˆ;Øä˜#œtÔ$Ü'×1Ñ1°#Ó6Ð6ä#×-Ñ-ØŸ™ 
Ó+Ø!Ÿg™gÐ&6Ó7Ø"Ÿw™wÐ'8Ó9Ø #§¡Ð(:Ó ;Ø!Ÿg™gÐ&6Ó7Ø ŸW™W _Ó5ØŸ'™' ,Ó/Ø ŸW™W _Ó5Ø ŸW™W _Ó5Ø!$§¡Ð)<Ó!=Ø"Ÿw™wÐ'8Ó9Øfi×fmÑfmÐn}Óf~ð  gKÔ>×HÑHÈÏÉÐQ`ÓIaÔbð  QUñ/
ó ˆð ˆr2   )ÚreturnÚstr)r=   rN   rM   r   )rK   r-   rM   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   r   r   r   r   r    r!   r"   r#   r$   r%   Ú!_UpdateTerminalEntity__propertiesÚmodel_configr1   r7   Úclassmethodr>   rB   r6   r:   © r2   r0   r   r      sô   … ñð %)€HÐ!Ó(Ø*.€NÐ'Ó.Ø+/€OÐ(Ó/Ø,0ÐÐ)Ó0Ø*.€NÐ'Ó.Ø)-€MÐ&Ó-Ø&*€JÐ#Ó*Ø)-€MÐ&Ó-Ø)-€MÐ&Ó-Ø-1ÐÐ*Ó1Ø+/€OÐ(Ó/ØAE€MÐ>ÓEò e€Lð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðò	ð òó ñr2   r   ) rR   Ú
__future__r   r+   Úrer4   r   r   Ú8cashfree_pg.models.create_terminal_request_terminal_metar   Úpydanticr   r   r	   r
   r   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildrW   r2   r0   ú<module>r_      sY   ðñ
õ #Û Û 	Û ç #õ g÷ X÷  X÷  Xß :× :Ý 'ôP˜9ô Pðh × "Ñ "Õ $r2   