@@ -35,20 +35,19 @@ def __init__(self, api_client=None):
3535 api_client = ApiClient ()
3636 self .api_client = api_client
3737
38- def replies_list (self , project_id , key_id , comment_id , replies_list_parameters , ** kwargs ): # noqa: E501
38+ def replies_list (self , project_id , key_id , comment_id , ** kwargs ): # noqa: E501
3939 """List replies # noqa: E501
4040
4141 List all replies for a comment. # noqa: E501
4242 This method makes a synchronous HTTP request by default. To make an
4343 asynchronous HTTP request, please pass async_req=True
44- >>> thread = api.replies_list(project_id, key_id, comment_id, replies_list_parameters, async_req=True)
44+ >>> thread = api.replies_list(project_id, key_id, comment_id, async_req=True)
4545 >>> result = thread.get()
4646
4747 :param async_req bool: execute request asynchronously
4848 :param str project_id: Project ID (required)
4949 :param str key_id: Translation Key ID (required)
5050 :param str comment_id: Comment ID (required)
51- :param RepliesListParameters replies_list_parameters: (required)
5251 :param str x_phrase_app_otp: Two-Factor-Authentication token (optional)
5352 :param int page: Page number
5453 :param int per_page: Limit on the number of objects to be returned, between 1 and 100. 25 by default
@@ -68,22 +67,21 @@ def replies_list(self, project_id, key_id, comment_id, replies_list_parameters,
6867 returns the request thread.
6968 """
7069 kwargs ['_return_http_data_only' ] = True
71- return self .replies_list_with_http_info (project_id , key_id , comment_id , replies_list_parameters , ** kwargs ) # noqa: E501
70+ return self .replies_list_with_http_info (project_id , key_id , comment_id , ** kwargs ) # noqa: E501
7271
73- def replies_list_with_http_info (self , project_id , key_id , comment_id , replies_list_parameters , ** kwargs ): # noqa: E501
72+ def replies_list_with_http_info (self , project_id , key_id , comment_id , ** kwargs ): # noqa: E501
7473 """List replies # noqa: E501
7574
7675 List all replies for a comment. # noqa: E501
7776 This method makes a synchronous HTTP request by default. To make an
7877 asynchronous HTTP request, please pass async_req=True
79- >>> thread = api.replies_list_with_http_info(project_id, key_id, comment_id, replies_list_parameters, async_req=True)
78+ >>> thread = api.replies_list_with_http_info(project_id, key_id, comment_id, async_req=True)
8079 >>> result = thread.get()
8180
8281 :param async_req bool: execute request asynchronously
8382 :param str project_id: Project ID (required)
8483 :param str key_id: Translation Key ID (required)
8584 :param str comment_id: Comment ID (required)
86- :param RepliesListParameters replies_list_parameters: (required)
8785 :param str x_phrase_app_otp: Two-Factor-Authentication token (optional)
8886 :param int page: Page number
8987 :param int per_page: Limit on the number of objects to be returned, between 1 and 100. 25 by default
@@ -111,7 +109,6 @@ def replies_list_with_http_info(self, project_id, key_id, comment_id, replies_li
111109 'project_id' ,
112110 'key_id' ,
113111 'comment_id' ,
114- 'replies_list_parameters' ,
115112 'x_phrase_app_otp' ,
116113 'page' ,
117114 'per_page' ,
@@ -149,10 +146,6 @@ def replies_list_with_http_info(self, project_id, key_id, comment_id, replies_li
149146 if self .api_client .client_side_validation and ('comment_id' not in local_var_params or # noqa: E501
150147 local_var_params ['comment_id' ] is None ): # noqa: E501
151148 raise ApiValueError ("Missing the required parameter `comment_id` when calling `replies_list`" ) # noqa: E501
152- # verify the required parameter 'replies_list_parameters' is set
153- if self .api_client .client_side_validation and ('replies_list_parameters' not in local_var_params or # noqa: E501
154- local_var_params ['replies_list_parameters' ] is None ): # noqa: E501
155- raise ApiValueError ("Missing the required parameter `replies_list_parameters` when calling `replies_list`" ) # noqa: E501
156149
157150 collection_formats = {}
158151
@@ -187,16 +180,10 @@ def replies_list_with_http_info(self, project_id, key_id, comment_id, replies_li
187180 local_var_files = {}
188181
189182 body_params = None
190- if 'replies_list_parameters' in local_var_params :
191- body_params = local_var_params ['replies_list_parameters' ]
192183 # HTTP header `Accept`
193184 header_params ['Accept' ] = self .api_client .select_header_accept (
194185 ['application/json' ]) # noqa: E501
195186
196- # HTTP header `Content-Type`
197- header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
198- ['application/json' ]) # noqa: E501
199-
200187 # Authentication setting
201188 auth_settings = ['Basic' , 'Token' ] # noqa: E501
202189
0 commit comments