
    9i                         S r SSKJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	g)z3
This module defines some Response classes for BTS
    )BceResponsec                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )CreateSignatureResponse   z
Create Signature Response
c                    > [         [        U ]  5         [        UR                  5      U l        [        UR
                  5      U l        UR                  U l        g N)superr   __init__strsignature_idstatusmetadataselfbce_response	__class__s     [/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/baidubce/services/sms/model.pyr
    CreateSignatureResponse.__init__   sC    %t57 9 9:,--.$--    )r   r   r   __name__
__module____qualname____firstlineno____doc__r
   __static_attributes____classcell__r   s   @r   r   r          . .r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )GetSignatureResponse#   z
Get Signature Response
c                   > [         [        U ]  5         [        UR                  5      U l        [        UR
                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l	        [        UR                  5      U l
        UR                  U l        g r   )r	   r!   r
   r   r   user_idcontentcountry_typecontent_typereviewr   r   r   s     r   r
   GetSignatureResponse.__init__(   s    "D24 9 9:<//0<//0 9 9: 9 9:,--.,--.$--r   )r%   r'   r&   r   r(   r   r   r$   r   r   s   @r   r!   r!   #   s    	. 	.r   r!   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )CreateTemplateResponse4   z
Create Template Response
c                    > [         [        U ]  5         [        UR                  5      U l        [        UR
                  5      U l        UR                  U l        g r   )r	   r+   r
   r   template_idr   r   r   s     r   r
   CreateTemplateResponse.__init__9   sC    $d46|778,--.$--r   )r   r   r.   r   r   s   @r   r+   r+   4   r   r   r+   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )GetTemplateResponse@   z
Get Template Response
c                    > [         [        U ]  5         [        UR                  5      U l        [        UR
                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l	        [        UR                  5      U l
        [        UR                  5      U l        [        UR                  5      U l        UR                  U l        g r   )r	   r1   r
   r   r.   r$   namer%   sms_typedescriptionr(   r   r&   r   r   s     r   r
   GetTemplateResponse.__init__E   s    !413|778<//0))*	<//0L112|778,--.,--. 9 9:$--r   )
r%   r&   r6   r   r4   r(   r5   r   r.   r$   r   r   s   @r   r1   r1   @   s    . .r   r1   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )QueryQuotaResponseS   z
Query Quota Response
c                   > [         [        U ]  5         UR                  U l        UR                  U l        UR
                  U l        UR                  U l        UR                  U l        UR                  U l        UR                  U l	        UR                  U l
        UR                  U l        UR                  U l        UR                  U l        UR                  U l        UR                   U l        g r   )r	   r9   r
   quota_per_dayquota_per_monthquota_remain_todayquota_remain_this_monthapply_quota_per_dayapply_quota_per_monthapply_check_statuscheck_reply(rate_limit_per_mobile_per_sign_by_minute&rate_limit_per_mobile_per_sign_by_hour&reate_limit_per_mobile_per_sign_by_day%rate_limit_per_mobile_per_sign_by_dayrate_limit_white_listr   r   s     r   r
   QueryQuotaResponse.__init__X   s     $02)77+;;"."A"A'3'K'K$#/#C#C %1%G%G""."A"A'338D8m8m56B6i6i35A5h5h2%1%G%G"$--r   )rB   r@   rA   rC   r   r<   r=   r?   r>   rG   rE   rD   rH   r   r   s   @r   r9   r9   S   s    . .r   r9   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )GetMobileBlackResponsei   z
Get Mobile Black Response
c                    > [         [        U ]  5         UR                  U l        UR                  U l        UR
                  U l        UR                  U l        UR                  U l        g r   )	r	   rK   r
   total_countpage_no	page_size
blacklistsblack_listsr   r   s     r   r
   GetMobileBlackResponse.__init__n   sT    $d46'33#++%//'22$--r   )rR   r   rO   rP   rN   r   r   s   @r   rK   rK   i   s    . .r   rK   c                   2   ^  \ rS rSrSrU 4S jrS rSrU =r$ )ListStatisticsResponsew   z-
Get Statistics Information Response as List
c                    > [         [        U ]  5         [        [	        U R
                  UR                  5      5      U l        g r   )r	   rU   r
   listmap%_ListStatisticsResponse__result_transstatistics_resultsr   s     r   r
   ListStatisticsResponse.__init__|   s1    $d46"&s4+>+>@_@_'`"ar   c                    0 SUR                   _SUR                  _SUR                  _SUR                  _SUR                  _SUR
                  _SUR                  _SUR                  _S	UR                  _S
UR                  _SUR                  _SUR                  _SUR                  _SUR                  _SUR                  _SUR                  _SUR                   _UR"                  UR$                  UR&                  UR(                  UR*                  UR,                  UR.                  UR0                  UR2                  UR4                  S.
EnU$ )Ndatetimecountry_alpha2_codesubmit_countsubmit_long_countresponse_success_countresponse_success_proportiondeliver_success_countdeliver_success_long_countdeliver_success_proportiondeliver_failure_countdeliver_failure_proportionreceipt_proportionunknown_countunknown_proportionresponse_timeout_countunknown_error_countnot_exist_count)
signature_or_template_countabnormal_countoverclocking_countother_error_countblacklist_countroute_error_countissue_failure_countparameter_error_countillegal_word_countanomaly_count)r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   )r   statistics_resultress      r   __result_trans%ListStatisticsResponse.__result_trans   s   
)22
!#4#H#H
 -::
  !2!D!D	

 %&7&N&N
 *+<+X+X
 $%6%L%L
 )*;*V*V
 )*;*V*V
 $%6%L%L
 )*;*V*V
 !"3"F"F
 .<<
 !"3"F"F
 %&7&N&N
  "#4#H#H!
" 0@@#
$ ,=+X+X/>>"3"F"F!2!D!D0@@!2!D!D#4#H#H%6%L%L"3"F"F.<<7
: 
r   )r[   )	r   r   r   r   r   r
   rZ   r   r   r   s   @r   rU   rU   w   s    b r   rU   N)
r   baidubce.bce_responser   r   r!   r+   r1   r9   rK   rU    r   r   <module>r      sc   " .	.k 	..; ."	.[ 	..+ .&. .,.[ .'[ 'r   