
    ~i#m                     J    d Z ddlmZ ddlZddlZddlZ G d de          ZdS )a  
    advdefence20230308

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )absolute_importNc                   n    e Zd ZdZddZd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd Zd Zd ZdS )ADVDEFENCE20230308ApizNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    Ref: https://github.com/swagger-api/swagger-codegen
    Nc                 >    |t          j                    }|| _        d S N)volcenginesdkcore	ApiClient
api_client)selfr
   s     /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkadvdefence20230308/api/advdefence20230308_api.py__init__zADVDEFENCE20230308Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  add_web_def_cc_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.add_web_def_cc_rule(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param AddWebDefCcRuleRequest body: (required)
        :return: AddWebDefCcRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get"add_web_def_cc_rule_with_http_infor   bodykwargsdatas       r   add_web_def_cc_rulez)ADVDEFENCE20230308Api.add_web_def_cc_rule$   ]     ,0'(::k"" 	:4:4JJ6JJJ<T<TLLVLLTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  add_web_def_cc_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.add_web_def_cc_rule_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param AddWebDefCcRuleRequest body: (required)
        :return: AddWebDefCcRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zEGot an unexpected keyword argument '%s' to method add_web_def_cc_ruleNzHMissing the required parameter `body` when calling `add_web_def_cc_rule`application/jsonAcceptContent-TypevolcengineSignz=/AddWebDefCcRule/2023-03-08/advdefence/post/application_json/POSTAddWebDefCcRuleResponseT
r   post_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formatsappendlocalssix	iteritems	TypeErrorr
   client_side_validation
ValueErrorselect_header_acceptselect_header_content_typecall_apir   r   r   r   
all_paramsparamskeyvalr(   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr'   s                  r   r   z8ADVDEFENCE20230308Api.add_web_def_cc_rule_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$57:;   F3KK8?1 	ivV7K7K7=f~7MghhhV .K"&/"F"F #" #"h )-(R(R )" )"n% **''KV#!3'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  batch_add_fwd_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.batch_add_fwd_rule(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param BatchAddFwdRuleRequest body: (required)
        :return: BatchAddFwdRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   !batch_add_fwd_rule_with_http_infor   s       r   batch_add_fwd_rulez(ADVDEFENCE20230308Api.batch_add_fwd_rule   s]     ,0'(::k"" 	949$II&III;T;DKKFKKTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  batch_add_fwd_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.batch_add_fwd_rule_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param BatchAddFwdRuleRequest body: (required)
        :return: BatchAddFwdRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zDGot an unexpected keyword argument '%s' to method batch_add_fwd_ruleNzGMissing the required parameter `body` when calling `batch_add_fwd_rule`r   r   r   r    z=/BatchAddFwdRule/2023-03-08/advdefence/post/application_json/r!   BatchAddFwdRuleResponseTr#   r)   r4   s                  r   rA   z7ADVDEFENCE20230308Api.batch_add_fwd_rule_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$469:   F3KK8?1 	hvV7K7K7=f~7MfgggV .K"&/"F"F #" #"h )-(R(R )" )"n% **''KV#!3'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  del_web_def_cc_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.del_web_def_cc_rule(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DelWebDefCcRuleRequest body: (required)
        :return: DelWebDefCcRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "del_web_def_cc_rule_with_http_infor   s       r   del_web_def_cc_rulez)ADVDEFENCE20230308Api.del_web_def_cc_rule   r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  del_web_def_cc_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.del_web_def_cc_rule_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DelWebDefCcRuleRequest body: (required)
        :return: DelWebDefCcRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method del_web_def_cc_ruleNzHMissing the required parameter `body` when calling `del_web_def_cc_rule`r   r   r   r    z=/DelWebDefCcRule/2023-03-08/advdefence/post/application_json/r!   DelWebDefCcRuleResponseTr#   r)   r4   s                  r   rF   z8ADVDEFENCE20230308Api.del_web_def_cc_rule_with_http_info   r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  describe_attack_flow  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_attack_flow(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeAttackFlowRequest body: (required)
        :return: DescribeAttackFlowResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #describe_attack_flow_with_http_infor   s       r   describe_attack_flowz*ADVDEFENCE20230308Api.describe_attack_flowG  s]     ,0'(::k"" 	;4;DKKFKKK=T=dMMfMMTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  describe_attack_flow  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_attack_flow_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeAttackFlowRequest body: (required)
        :return: DescribeAttackFlowResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method describe_attack_flowNzIMissing the required parameter `body` when calling `describe_attack_flow`r   r   r   r    z@/DescribeAttackFlow/2023-03-08/advdefence/post/application_json/r!   DescribeAttackFlowResponseTr#   r)   r4   s                  r   rK   z9ADVDEFENCE20230308Api.describe_attack_flow_with_http_info\  s    X
+&&&2333,---,---fX&677 	 	HC*$$68;<   F3KK8?1 	jvV7K7K7=f~7MhiiiV .K"&/"F"F #" #"h )-(R(R )" )"n% **''NPV#!6'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a1  describe_biz_flow_and_conn_count  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_biz_flow_and_conn_count(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeBizFlowAndConnCountRequest body: (required)
        :return: DescribeBizFlowAndConnCountResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   /describe_biz_flow_and_conn_count_with_http_infor   s       r    describe_biz_flow_and_conn_countz6ADVDEFENCE20230308Api.describe_biz_flow_and_conn_count  s_     ,0'(::k"" 	G4GWWPVWWWITI$YYRXYYTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a@  describe_biz_flow_and_conn_count  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_biz_flow_and_conn_count_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeBizFlowAndConnCountRequest body: (required)
        :return: DescribeBizFlowAndConnCountResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zRGot an unexpected keyword argument '%s' to method describe_biz_flow_and_conn_countNzUMissing the required parameter `body` when calling `describe_biz_flow_and_conn_count`r   r   r   r    zI/DescribeBizFlowAndConnCount/2023-03-08/advdefence/post/application_json/r!   #DescribeBizFlowAndConnCountResponseTr#   r)   r4   s                  r   rP   zEADVDEFENCE20230308Api.describe_biz_flow_and_conn_count_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$BDGH   F3KK8?1 	vvV7K7K7=f~7MtuuuV .K"&/"F"F #" #"h )-(R(R )" )"n% **''WY_#!?'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  upd_web_def_cc_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.upd_web_def_cc_rule(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdWebDefCcRuleRequest body: (required)
        :return: UpdWebDefCcRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "upd_web_def_cc_rule_with_http_infor   s       r   upd_web_def_cc_rulez)ADVDEFENCE20230308Api.upd_web_def_cc_rule	  r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  upd_web_def_cc_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.upd_web_def_cc_rule_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdWebDefCcRuleRequest body: (required)
        :return: UpdWebDefCcRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method upd_web_def_cc_ruleNzHMissing the required parameter `body` when calling `upd_web_def_cc_rule`r   r   r   r    z=/UpdWebDefCcRule/2023-03-08/advdefence/post/application_json/r!   UpdWebDefCcRuleResponseTr#   r)   r4   s                  r   rU   z8ADVDEFENCE20230308Api.upd_web_def_cc_rule_with_http_info  r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  update_fwd_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_fwd_rule(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateFwdRuleRequest body: (required)
        :return: UpdateFwdRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_fwd_rule_with_http_infor   s       r   update_fwd_rulez%ADVDEFENCE20230308Api.update_fwd_rulej  s]     ,0'(::k"" 	646tFFvFFF8T8HHHHTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  update_fwd_rule  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_fwd_rule_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateFwdRuleRequest body: (required)
        :return: UpdateFwdRuleResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zAGot an unexpected keyword argument '%s' to method update_fwd_ruleNzDMissing the required parameter `body` when calling `update_fwd_rule`r   r   r   r    z;/UpdateFwdRule/2023-03-08/advdefence/post/application_json/r!   UpdateFwdRuleResponseTr#   r)   r4   s                  r   rZ   z4ADVDEFENCE20230308Api.update_fwd_rule_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$1367   F3KK8?1 	evV7K7K7=f~7McdddV .K"&/"F"F #" #"h )-(R(R )" )"n% **''I6#!1'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   r   )__name__
__module____qualname____doc__r   r   r   rB   rA   rG   rF   rL   rK   rQ   rP   rV   rU   r[   rZ    r   r   r   r      s!        % % % %
  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3 J3 J3r   r   )ra   
__future__r   rer,   r   objectr   rb   r   r   <module>rf      s     ' & & & & & 				 


    q
3 q
3 q
3 q
3 q
3F q
3 q
3 q
3 q
3 q
3r   