
    ~iYz                     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 )z
    httpdns

    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                   z    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 Zd ZdS )
HTTPDNSApizNOTE: 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     m/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkhttpdns/api/httpdns_api.py__init__zHTTPDNSApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  add_domain  # 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_domain(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param AddDomainRequest body: (required)
        :return: AddDomainResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)getadd_domain_with_http_infor   bodykwargsdatas       r   
add_domainzHTTPDNSApi.add_domain$   ]     ,0'(::k"" 	141$AA&AAA3T3DCCFCCT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_domain  # 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_domain_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param AddDomainRequest body: (required)
        :return: AddDomainResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   z<Got an unexpected keyword argument '%s' to method add_domainNz?Missing the required parameter `body` when calling `add_domain`application/jsonAcceptContent-TypevolcengineSignz4/AddDomain/2023-09-01/httpdns/post/application_json/POSTAddDomainResponseT
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   z$HTTPDNSApi.add_domain_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$,.12   F3KK8?1 	`vV7K7K7=f~7M^___V .K"&/"F"F #" #"h )-(R(R )" )"n% **''BF#!-'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  add_domain_record  # 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_domain_record(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param AddDomainRecordRequest body: (required)
        :return: AddDomainRecordResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r    add_domain_record_with_http_infor   s       r   add_domain_recordzHTTPDNSApi.add_domain_record   s]     ,0'(::k"" 	848HHHHH:T:4JJ6JJT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_domain_record  # 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_domain_record_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param AddDomainRecordRequest body: (required)
        :return: AddDomainRecordResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zCGot an unexpected keyword argument '%s' to method add_domain_recordNzFMissing the required parameter `body` when calling `add_domain_record`r   r   r   r    z:/AddDomainRecord/2023-09-01/httpdns/post/application_json/r!   AddDomainRecordResponseTr#   r)   r4   s                  r   rA   z+HTTPDNSApi.add_domain_record_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$3589   F3KK8?1 	gvV7K7K7=f~7MefffV .K"&/"F"F #" #"h )-(R(R )" )"n% **''H&#!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  delete_domain  # noqa: E501

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

        :param async_req bool
        :param DeleteDomainRequest body: (required)
        :return: DeleteDomainResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_domain_with_http_infor   s       r   delete_domainzHTTPDNSApi.delete_domain   s]     ,0'(::k"" 	444TDDVDDD6T6tFFvFFT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  delete_domain  # noqa: E501

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

        :param async_req bool
        :param DeleteDomainRequest body: (required)
        :return: DeleteDomainResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z?Got an unexpected keyword argument '%s' to method delete_domainNzBMissing the required parameter `body` when calling `delete_domain`r   r   r   r    z7/DeleteDomain/2023-09-01/httpdns/post/application_json/r!   DeleteDomainResponseTr#   r)   r4   s                  r   rF   z'HTTPDNSApi.delete_domain_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$/145   F3KK8?1 	cvV7K7K7=f~7MabbbV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Ev#!0'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  delete_domain_record  # noqa: E501

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

        :param async_req bool
        :param DeleteDomainRecordRequest body: (required)
        :return: DeleteDomainRecordResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #delete_domain_record_with_http_infor   s       r   delete_domain_recordzHTTPDNSApi.delete_domain_recordG  ]     ,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  delete_domain_record  # noqa: E501

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

        :param async_req bool
        :param DeleteDomainRecordRequest body: (required)
        :return: DeleteDomainRecordResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method delete_domain_recordNzIMissing the required parameter `body` when calling `delete_domain_record`r   r   r   r    z=/DeleteDomainRecord/2023-09-01/httpdns/post/application_json/r!   DeleteDomainRecordResponseTr#   r)   r4   s                  r   rK   z.HTTPDNSApi.delete_domain_record_with_http_info\      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% **''KV#!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 )a  list_domain_overview  # noqa: E501

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

        :param async_req bool
        :param ListDomainOverviewRequest body: (required)
        :return: ListDomainOverviewResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #list_domain_overview_with_http_infor   s       r   list_domain_overviewzHTTPDNSApi.list_domain_overview  rM   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  list_domain_overview  # noqa: E501

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

        :param async_req bool
        :param ListDomainOverviewRequest body: (required)
        :return: ListDomainOverviewResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method list_domain_overviewNzIMissing the required parameter `body` when calling `list_domain_overview`r   r   r   r    z=/ListDomainOverview/2023-09-01/httpdns/post/application_json/r!   ListDomainOverviewResponseTr#   r)   r4   s                  r   rR   z.HTTPDNSApi.list_domain_overview_with_http_info  rP   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_domain_records  # noqa: E501

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

        :param async_req bool
        :param ListDomainRecordsRequest body: (required)
        :return: ListDomainRecordsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "list_domain_records_with_http_infor   s       r   list_domain_recordszHTTPDNSApi.list_domain_records	  s]     ,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  list_domain_records  # noqa: E501

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

        :param async_req bool
        :param ListDomainRecordsRequest body: (required)
        :return: ListDomainRecordsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method list_domain_recordsNzHMissing the required parameter `body` when calling `list_domain_records`r   r   r   r    z</ListDomainRecords/2023-09-01/httpdns/post/application_json/r!   ListDomainRecordsResponseTr#   r)   r4   s                  r   rW   z-HTTPDNSApi.list_domain_records_with_http_info  s    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% **''JF#!5'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  list_lines  # noqa: E501

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

        :param async_req bool
        :param ListLinesRequest body: (required)
        :return: ListLinesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_lines_with_http_infor   s       r   
list_lineszHTTPDNSApi.list_linesj  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  list_lines  # noqa: E501

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

        :param async_req bool
        :param ListLinesRequest body: (required)
        :return: ListLinesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z<Got an unexpected keyword argument '%s' to method list_linesNz?Missing the required parameter `body` when calling `list_lines`r   r   r   r    z4/ListLines/2023-09-01/httpdns/post/application_json/r!   ListLinesResponseTr#   r)   r4   s                  r   r\   z$HTTPDNSApi.list_lines_with_http_info  r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  update_domain_record  # 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_domain_record(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateDomainRecordRequest body: (required)
        :return: UpdateDomainRecordResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #update_domain_record_with_http_infor   s       r   update_domain_recordzHTTPDNSApi.update_domain_record  rM   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  update_domain_record  # 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_domain_record_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateDomainRecordRequest body: (required)
        :return: UpdateDomainRecordResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method update_domain_recordNzIMissing the required parameter `body` when calling `update_domain_record`r   r   r   r    z=/UpdateDomainRecord/2023-09-01/httpdns/post/application_json/r!   UpdateDomainRecordResponseTr#   r)   r4   s                  r   ra   z.HTTPDNSApi.update_domain_record_with_http_info  rP   r   r   )__name__
__module____qualname____doc__r   r   r   rB   rA   rG   rF   rL   rK   rS   rR   rX   rW   r]   r\   rb   ra    r   r   r   r      sC        % % % %
  *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3X  *J3 J3 J3 J3 J3r   r   )rh   
__future__r   rer,   r   objectr   ri   r   r   <module>rm      s     ' & & & & & 				 


    R3 R3 R3 R3 R3 R3 R3 R3 R3 R3r   