@@ -165,6 +165,141 @@ def api_v2_tag_tag_id_delete_with_http_info(self, tag_id, **kwargs): # noqa: E5
165165 collection_formats = collection_formats ,
166166 _request_auth = local_var_params .get ('_request_auth' ))
167167
168+ def api_v2_tag_tag_id_transactions_get (self , tag_id , ** kwargs ): # noqa: E501
169+ """Get transactions by tag # noqa: E501
170+
171+ This method makes a synchronous HTTP request by default. To make an
172+ asynchronous HTTP request, please pass async_req=True
173+
174+ >>> thread = api.api_v2_tag_tag_id_transactions_get(tag_id, async_req=True)
175+ >>> result = thread.get()
176+
177+ :param tag_id: Tag id (required)
178+ :type tag_id: str
179+ :param async_req: Whether to execute the request asynchronously.
180+ :type async_req: bool, optional
181+ :param _preload_content: if False, the urllib3.HTTPResponse object will
182+ be returned without reading/decoding response
183+ data. Default is True.
184+ :type _preload_content: bool, optional
185+ :param _request_timeout: timeout setting for this request. If one
186+ number provided, it will be total request
187+ timeout. It can also be a pair (tuple) of
188+ (connection, read) timeouts.
189+ :return: Returns the result object.
190+ If the method is called asynchronously,
191+ returns the request thread.
192+ :rtype: ListTransactionsByTagResponse
193+ """
194+ kwargs ['_return_http_data_only' ] = True
195+ return self .api_v2_tag_tag_id_transactions_get_with_http_info (tag_id , ** kwargs ) # noqa: E501
196+
197+ def api_v2_tag_tag_id_transactions_get_with_http_info (self , tag_id , ** kwargs ): # noqa: E501
198+ """Get transactions by tag # noqa: E501
199+
200+ This method makes a synchronous HTTP request by default. To make an
201+ asynchronous HTTP request, please pass async_req=True
202+
203+ >>> thread = api.api_v2_tag_tag_id_transactions_get_with_http_info(tag_id, async_req=True)
204+ >>> result = thread.get()
205+
206+ :param tag_id: Tag id (required)
207+ :type tag_id: str
208+ :param async_req: Whether to execute the request asynchronously.
209+ :type async_req: bool, optional
210+ :param _return_http_data_only: response data without head status code
211+ and headers
212+ :type _return_http_data_only: bool, optional
213+ :param _preload_content: if False, the urllib3.HTTPResponse object will
214+ be returned without reading/decoding response
215+ data. Default is True.
216+ :type _preload_content: bool, optional
217+ :param _request_timeout: timeout setting for this request. If one
218+ number provided, it will be total request
219+ timeout. It can also be a pair (tuple) of
220+ (connection, read) timeouts.
221+ :param _request_auth: set to override the auth_settings for an a single
222+ request; this effectively ignores the authentication
223+ in the spec for a single request.
224+ :type _request_auth: dict, optional
225+ :return: Returns the result object.
226+ If the method is called asynchronously,
227+ returns the request thread.
228+ :rtype: tuple(ListTransactionsByTagResponse, status_code(int), headers(HTTPHeaderDict))
229+ """
230+
231+ local_var_params = locals ()
232+
233+ all_params = [
234+ 'tag_id'
235+ ]
236+ all_params .extend (
237+ [
238+ 'async_req' ,
239+ '_return_http_data_only' ,
240+ '_preload_content' ,
241+ '_request_timeout' ,
242+ '_request_auth'
243+ ]
244+ )
245+
246+ for key , val in six .iteritems (local_var_params ['kwargs' ]):
247+ if key not in all_params :
248+ raise ApiTypeError (
249+ "Got an unexpected keyword argument '%s'"
250+ " to method api_v2_tag_tag_id_transactions_get" % key
251+ )
252+ local_var_params [key ] = val
253+ del local_var_params ['kwargs' ]
254+ # verify the required parameter 'tag_id' is set
255+ if self .api_client .client_side_validation and ('tag_id' not in local_var_params or # noqa: E501
256+ local_var_params ['tag_id' ] is None ): # noqa: E501
257+ raise ApiValueError ("Missing the required parameter `tag_id` when calling `api_v2_tag_tag_id_transactions_get`" ) # noqa: E501
258+
259+ collection_formats = {}
260+
261+ path_params = {}
262+ if 'tag_id' in local_var_params :
263+ path_params ['tagId' ] = local_var_params ['tag_id' ] # noqa: E501
264+
265+ query_params = []
266+
267+ header_params = {}
268+
269+ form_params = []
270+ local_var_files = {}
271+
272+ body_params = None
273+ # HTTP header `Accept`
274+ header_params ['Accept' ] = self .api_client .select_header_accept (
275+ ['application/json' ]) # noqa: E501
276+
277+ # Authentication setting
278+ auth_settings = [] # noqa: E501
279+
280+ response_types_map = {
281+ 200 : "ListTransactionsByTagResponse" ,
282+ 400 : None ,
283+ 403 : None ,
284+ }
285+
286+ return self .api_client .call_api (
287+ '/api/v2/tag/{tagId}/transactions' , 'GET' ,
288+ path_params ,
289+ query_params ,
290+ header_params ,
291+ body = body_params ,
292+ post_params = form_params ,
293+ files = local_var_files ,
294+ response_types_map = response_types_map ,
295+ auth_settings = auth_settings ,
296+ async_req = local_var_params .get ('async_req' ),
297+ _return_http_data_only = local_var_params .get ('_return_http_data_only' ), # noqa: E501
298+ _preload_content = local_var_params .get ('_preload_content' , True ),
299+ _request_timeout = local_var_params .get ('_request_timeout' ),
300+ collection_formats = collection_formats ,
301+ _request_auth = local_var_params .get ('_request_auth' ))
302+
168303 def api_v2_transaction_transaction_id_file_get (self , transaction_id , name , ** kwargs ): # noqa: E501
169304 """Get Reprocess transaction file # noqa: E501
170305
0 commit comments