
    ~i                     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
    iam20210801

    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                       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 Zd Zd Zd ZdS )IAM20210801ApizNOTE: 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     u/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkiam20210801/api/iam20210801_api.py__init__zIAM20210801Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  attach_policy_in_project  # noqa: E501

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

        :param async_req bool
        :param AttachPolicyInProjectRequest body: (required)
        :return: AttachPolicyInProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get'attach_policy_in_project_with_http_infor   bodykwargsdatas       r   attach_policy_in_projectz'IAM20210801Api.attach_policy_in_project$   ]     ,0'(::k"" 	?4?OOOOOATA$QQ&QQT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$  attach_policy_in_project  # noqa: E501

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

        :param async_req bool
        :param AttachPolicyInProjectRequest body: (required)
        :return: AttachPolicyInProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zJGot an unexpected keyword argument '%s' to method attach_policy_in_projectNzMMissing the required parameter `body` when calling `attach_policy_in_project`application/jsonAccept
text/plainContent-TypevolcengineSignz5/AttachPolicyInProject/2021-08-01/iam/get/text_plain/GETAttachPolicyInProjectResponseT
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   z6IAM20210801Api.attach_policy_in_project_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$:<?@   F3KK8?1 	nvV7K7K7=f~7MlmmmV .K"&/"F"F #" #"h )-(R(RN) )n% **''CU#!9'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  create_project  # noqa: E501

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

        :param async_req bool
        :param CreateProjectRequest body: (required)
        :return: CreateProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   create_project_with_http_infor   s       r   create_projectzIAM20210801Api.create_project   ]     ,0'(::k"" 	545dEEfEEE7T7GGGGT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   create_project  # noqa: E501

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

        :param async_req bool
        :param CreateProjectRequest body: (required)
        :return: CreateProjectResponse
                 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 create_projectNzCMissing the required parameter `body` when calling `create_project`r   r   r   r    r!   z-/CreateProject/2021-08-01/iam/get/text_plain/r"   CreateProjectResponseTr$   r*   r5   s                  r   rB   z,IAM20210801Api.create_project_with_http_info        X
+&&&2333,---,---fX&677 	 	HC*$$0256   F3KK8?1 	dvV7K7K7=f~7MbcccV .K"&/"F"F #" #"h )-(R(RN) )n% **'';U#!1'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_project  # 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_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteProjectRequest body: (required)
        :return: DeleteProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_project_with_http_infor   s       r   delete_projectzIAM20210801Api.delete_project   rD   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   delete_project  # 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_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteProjectRequest body: (required)
        :return: DeleteProjectResponse
                 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_projectNzCMissing the required parameter `body` when calling `delete_project`r   r   r   r    r!   z-/DeleteProject/2021-08-01/iam/get/text_plain/r"   DeleteProjectResponseTr$   r*   r5   s                  r   rI   z,IAM20210801Api.delete_project_with_http_info   rG   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  detach_policy_in_project  # noqa: E501

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

        :param async_req bool
        :param DetachPolicyInProjectRequest body: (required)
        :return: DetachPolicyInProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'detach_policy_in_project_with_http_infor   s       r   detach_policy_in_projectz'IAM20210801Api.detach_policy_in_projectG  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$  detach_policy_in_project  # noqa: E501

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

        :param async_req bool
        :param DetachPolicyInProjectRequest body: (required)
        :return: DetachPolicyInProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method detach_policy_in_projectNzMMissing the required parameter `body` when calling `detach_policy_in_project`r   r   r   r    r!   z5/DetachPolicyInProject/2021-08-01/iam/get/text_plain/r"   DetachPolicyInProjectResponseTr$   r*   r5   s                  r   rN   z6IAM20210801Api.detach_policy_in_project_with_http_info\  r@   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  get_project  # noqa: E501

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

        :param async_req bool
        :param GetProjectRequest body: (required)
        :return: GetProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   get_project_with_http_infor   s       r   get_projectzIAM20210801Api.get_project  s]     ,0'(::k"" 	2424BB6BBB4T4TDDVDDT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  get_project  # noqa: E501

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

        :param async_req bool
        :param GetProjectRequest body: (required)
        :return: GetProjectResponse
                 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 get_projectNz@Missing the required parameter `body` when calling `get_project`r   r   r   r    r!   z*/GetProject/2021-08-01/iam/get/text_plain/r"   GetProjectResponseTr$   r*   r5   s                  r   rS   z)IAM20210801Api.get_project_with_http_info  s     X
+&&&2333,---,---fX&677 	 	HC*$$-/23   F3KK8?1 	avV7K7K7=f~7M_```V .K"&/"F"F #" #"h )-(R(RN) )n% **''8%#!.'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_project_identities  # 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_project_identities(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectIdentitiesRequest body: (required)
        :return: ListProjectIdentitiesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   &list_project_identities_with_http_infor   s       r   list_project_identitiesz&IAM20210801Api.list_project_identities	  s]     ,0'(::k"" 	>4>tNNvNNN@T@PPPPT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_project_identities  # 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_project_identities_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectIdentitiesRequest body: (required)
        :return: ListProjectIdentitiesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zIGot an unexpected keyword argument '%s' to method list_project_identitiesNzLMissing the required parameter `body` when calling `list_project_identities`r   r   r   r    r!   z5/ListProjectIdentities/2021-08-01/iam/get/text_plain/r"   ListProjectIdentitiesResponseTr$   r*   r5   s                  r   rX   z5IAM20210801Api.list_project_identities_with_http_info  s     X
+&&&2333,---,---fX&677 	 	HC*$$9;>?   F3KK8?1 	mvV7K7K7=f~7MklllV .K"&/"F"F #" #"h )-(R(RN) )n% **''CU#!9'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_project_resources  # 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_project_resources(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectResourcesRequest body: (required)
        :return: ListProjectResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   %list_project_resources_with_http_infor   s       r   list_project_resourcesz%IAM20210801Api.list_project_resourcesj  s]     ,0'(::k"" 	=4=dMMfMMM?T?OOOOT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_project_resources  # 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_project_resources_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectResourcesRequest body: (required)
        :return: ListProjectResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method list_project_resourcesNzKMissing the required parameter `body` when calling `list_project_resources`r   r   r   r    r!   z4/ListProjectResources/2021-08-01/iam/get/text_plain/r"   ListProjectResourcesResponseTr$   r*   r5   s                  r   r]   z4IAM20210801Api.list_project_resources_with_http_info  s     X
+&&&2333,---,---fX&677 	 	HC*$$8:=>   F3KK8?1 	lvV7K7K7=f~7MjkkkV .K"&/"F"F #" #"h )-(R(RN) )n% **''BE#!8'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_projects  # 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_projects(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectsRequest body: (required)
        :return: ListProjectsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_projects_with_http_infor   s       r   list_projectszIAM20210801Api.list_projects  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  list_projects  # 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_projects_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectsRequest body: (required)
        :return: ListProjectsResponse
                 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_projectsNzBMissing the required parameter `body` when calling `list_projects`r   r   r   r    r!   z,/ListProjects/2021-08-01/iam/get/text_plain/r"   ListProjectsResponseTr$   r*   r5   s                  r   rb   z+IAM20210801Api.list_projects_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) )n% **'':E#!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  move_project_resource  # noqa: E501

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

        :param async_req bool
        :param MoveProjectResourceRequest body: (required)
        :return: MoveProjectResourceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   $move_project_resource_with_http_infor   s       r   move_project_resourcez$IAM20210801Api.move_project_resource,  s]     ,0'(::k"" 	<4<TLLVLLL>T>tNNvNNT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  move_project_resource  # noqa: E501

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

        :param async_req bool
        :param MoveProjectResourceRequest body: (required)
        :return: MoveProjectResourceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zGGot an unexpected keyword argument '%s' to method move_project_resourceNzJMissing the required parameter `body` when calling `move_project_resource`r   r   r   r    r!   z3/MoveProjectResource/2021-08-01/iam/get/text_plain/r"   MoveProjectResourceResponseTr$   r*   r5   s                  r   rg   z3IAM20210801Api.move_project_resource_with_http_infoA  s     X
+&&&2333,---,---fX&677 	 	HC*$$79<=   F3KK8?1 	kvV7K7K7=f~7MijjjV .K"&/"F"F #" #"h )-(R(RN) )n% **''A5#!7'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  update_project  # 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_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateProjectRequest body: (required)
        :return: UpdateProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_project_with_http_infor   s       r   update_projectzIAM20210801Api.update_project  rD   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_project  # 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_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateProjectRequest body: (required)
        :return: UpdateProjectResponse
                 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 update_projectNzCMissing the required parameter `body` when calling `update_project`r   r   r   r    r!   z-/UpdateProject/2021-08-01/iam/get/text_plain/r"   UpdateProjectResponseTr$   r*   r5   s                  r   rl   z,IAM20210801Api.update_project_with_http_info  rG   r   r   )__name__
__module____qualname____doc__r   r   r   rC   rB   rJ   rI   rO   rN   rT   rS   rY   rX   r^   r]   rc   rb   rh   rg   rm   rl    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3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3 J3 J3r   r   )rs   
__future__r   rer-   r   objectr   rt   r   r   <module>rx      s     ' & & & & & 				 


    T3 T3 T3 T3 T3V T3 T3 T3 T3 T3r   