@@ -2167,6 +2167,103 @@ def restore_pod_with_http_info(self, body, **kwargs): # noqa: E501
21672167 _request_timeout = params .get ('_request_timeout' ),
21682168 collection_formats = collection_formats )
21692169
2170+ def start_recording (self , body , ** kwargs ): # noqa: E501
2171+ """start_recording # noqa: E501
2172+
2173+ This method makes a synchronous HTTP request by default. To make an
2174+ asynchronous HTTP request, please pass async_req=True
2175+ >>> thread = api.start_recording(body, async_req=True)
2176+ >>> result = thread.get()
2177+
2178+ :param async_req bool
2179+ :param StartRecordingRequest body: (required)
2180+ :return: StartRecordingResponse
2181+ If the method is called asynchronously,
2182+ returns the request thread.
2183+ """
2184+ kwargs ['_return_http_data_only' ] = True
2185+ if kwargs .get ('async_req' ):
2186+ return self .start_recording_with_http_info (body , ** kwargs ) # noqa: E501
2187+ else :
2188+ (data ) = self .start_recording_with_http_info (body , ** kwargs ) # noqa: E501
2189+ return data
2190+
2191+ def start_recording_with_http_info (self , body , ** kwargs ): # noqa: E501
2192+ """start_recording # noqa: E501
2193+
2194+ This method makes a synchronous HTTP request by default. To make an
2195+ asynchronous HTTP request, please pass async_req=True
2196+ >>> thread = api.start_recording_with_http_info(body, async_req=True)
2197+ >>> result = thread.get()
2198+
2199+ :param async_req bool
2200+ :param StartRecordingRequest body: (required)
2201+ :return: StartRecordingResponse
2202+ If the method is called asynchronously,
2203+ returns the request thread.
2204+ """
2205+
2206+ all_params = ['body' ] # noqa: E501
2207+ all_params .append ('async_req' )
2208+ all_params .append ('_return_http_data_only' )
2209+ all_params .append ('_preload_content' )
2210+ all_params .append ('_request_timeout' )
2211+
2212+ params = locals ()
2213+ for key , val in six .iteritems (params ['kwargs' ]):
2214+ if key not in all_params :
2215+ raise TypeError (
2216+ "Got an unexpected keyword argument '%s'"
2217+ " to method start_recording" % key
2218+ )
2219+ params [key ] = val
2220+ del params ['kwargs' ]
2221+ # verify the required parameter 'body' is set
2222+ if self .api_client .client_side_validation and ('body' not in params or
2223+ params ['body' ] is None ): # noqa: E501
2224+ raise ValueError ("Missing the required parameter `body` when calling `start_recording`" ) # noqa: E501
2225+
2226+ collection_formats = {}
2227+
2228+ path_params = {}
2229+
2230+ query_params = []
2231+
2232+ header_params = {}
2233+
2234+ form_params = []
2235+ local_var_files = {}
2236+
2237+ body_params = None
2238+ if 'body' in params :
2239+ body_params = params ['body' ]
2240+ # HTTP header `Accept`
2241+ header_params ['Accept' ] = self .api_client .select_header_accept (
2242+ ['application/json' ]) # noqa: E501
2243+
2244+ # HTTP header `Content-Type`
2245+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
2246+ ['application/json' ]) # noqa: E501
2247+
2248+ # Authentication setting
2249+ auth_settings = ['volcengineSign' ] # noqa: E501
2250+
2251+ return self .api_client .call_api (
2252+ '/StartRecording/2025-05-01/acep/post/application_json/' , 'POST' ,
2253+ path_params ,
2254+ query_params ,
2255+ header_params ,
2256+ body = body_params ,
2257+ post_params = form_params ,
2258+ files = local_var_files ,
2259+ response_type = 'StartRecordingResponse' , # noqa: E501
2260+ auth_settings = auth_settings ,
2261+ async_req = params .get ('async_req' ),
2262+ _return_http_data_only = params .get ('_return_http_data_only' ),
2263+ _preload_content = params .get ('_preload_content' , True ),
2264+ _request_timeout = params .get ('_request_timeout' ),
2265+ collection_formats = collection_formats )
2266+
21702267 def start_screen_shot (self , body , ** kwargs ): # noqa: E501
21712268 """start_screen_shot # noqa: E501
21722269
@@ -2264,6 +2361,103 @@ def start_screen_shot_with_http_info(self, body, **kwargs): # noqa: E501
22642361 _request_timeout = params .get ('_request_timeout' ),
22652362 collection_formats = collection_formats )
22662363
2364+ def stop_recording (self , body , ** kwargs ): # noqa: E501
2365+ """stop_recording # noqa: E501
2366+
2367+ This method makes a synchronous HTTP request by default. To make an
2368+ asynchronous HTTP request, please pass async_req=True
2369+ >>> thread = api.stop_recording(body, async_req=True)
2370+ >>> result = thread.get()
2371+
2372+ :param async_req bool
2373+ :param StopRecordingRequest body: (required)
2374+ :return: StopRecordingResponse
2375+ If the method is called asynchronously,
2376+ returns the request thread.
2377+ """
2378+ kwargs ['_return_http_data_only' ] = True
2379+ if kwargs .get ('async_req' ):
2380+ return self .stop_recording_with_http_info (body , ** kwargs ) # noqa: E501
2381+ else :
2382+ (data ) = self .stop_recording_with_http_info (body , ** kwargs ) # noqa: E501
2383+ return data
2384+
2385+ def stop_recording_with_http_info (self , body , ** kwargs ): # noqa: E501
2386+ """stop_recording # noqa: E501
2387+
2388+ This method makes a synchronous HTTP request by default. To make an
2389+ asynchronous HTTP request, please pass async_req=True
2390+ >>> thread = api.stop_recording_with_http_info(body, async_req=True)
2391+ >>> result = thread.get()
2392+
2393+ :param async_req bool
2394+ :param StopRecordingRequest body: (required)
2395+ :return: StopRecordingResponse
2396+ If the method is called asynchronously,
2397+ returns the request thread.
2398+ """
2399+
2400+ all_params = ['body' ] # noqa: E501
2401+ all_params .append ('async_req' )
2402+ all_params .append ('_return_http_data_only' )
2403+ all_params .append ('_preload_content' )
2404+ all_params .append ('_request_timeout' )
2405+
2406+ params = locals ()
2407+ for key , val in six .iteritems (params ['kwargs' ]):
2408+ if key not in all_params :
2409+ raise TypeError (
2410+ "Got an unexpected keyword argument '%s'"
2411+ " to method stop_recording" % key
2412+ )
2413+ params [key ] = val
2414+ del params ['kwargs' ]
2415+ # verify the required parameter 'body' is set
2416+ if self .api_client .client_side_validation and ('body' not in params or
2417+ params ['body' ] is None ): # noqa: E501
2418+ raise ValueError ("Missing the required parameter `body` when calling `stop_recording`" ) # noqa: E501
2419+
2420+ collection_formats = {}
2421+
2422+ path_params = {}
2423+
2424+ query_params = []
2425+
2426+ header_params = {}
2427+
2428+ form_params = []
2429+ local_var_files = {}
2430+
2431+ body_params = None
2432+ if 'body' in params :
2433+ body_params = params ['body' ]
2434+ # HTTP header `Accept`
2435+ header_params ['Accept' ] = self .api_client .select_header_accept (
2436+ ['application/json' ]) # noqa: E501
2437+
2438+ # HTTP header `Content-Type`
2439+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
2440+ ['application/json' ]) # noqa: E501
2441+
2442+ # Authentication setting
2443+ auth_settings = ['volcengineSign' ] # noqa: E501
2444+
2445+ return self .api_client .call_api (
2446+ '/StopRecording/2025-05-01/acep/post/application_json/' , 'POST' ,
2447+ path_params ,
2448+ query_params ,
2449+ header_params ,
2450+ body = body_params ,
2451+ post_params = form_params ,
2452+ files = local_var_files ,
2453+ response_type = 'StopRecordingResponse' , # noqa: E501
2454+ auth_settings = auth_settings ,
2455+ async_req = params .get ('async_req' ),
2456+ _return_http_data_only = params .get ('_return_http_data_only' ),
2457+ _preload_content = params .get ('_preload_content' , True ),
2458+ _request_timeout = params .get ('_request_timeout' ),
2459+ collection_formats = collection_formats )
2460+
22672461 def stop_screen_shot (self , body , ** kwargs ): # noqa: E501
22682462 """stop_screen_shot # noqa: E501
22692463
0 commit comments