@@ -1003,6 +1003,103 @@ def video_project_list_with_http_info(self, body, **kwargs): # noqa: E501
10031003 _request_timeout = params .get ('_request_timeout' ),
10041004 collection_formats = collection_formats )
10051005
1006+ def video_project_serial_task_create (self , body , ** kwargs ): # noqa: E501
1007+ """video_project_serial_task_create # noqa: E501
1008+
1009+ This method makes a synchronous HTTP request by default. To make an
1010+ asynchronous HTTP request, please pass async_req=True
1011+ >>> thread = api.video_project_serial_task_create(body, async_req=True)
1012+ >>> result = thread.get()
1013+
1014+ :param async_req bool
1015+ :param VideoProjectSerialTaskCreateRequest body: (required)
1016+ :return: VideoProjectSerialTaskCreateResponse
1017+ If the method is called asynchronously,
1018+ returns the request thread.
1019+ """
1020+ kwargs ['_return_http_data_only' ] = True
1021+ if kwargs .get ('async_req' ):
1022+ return self .video_project_serial_task_create_with_http_info (body , ** kwargs ) # noqa: E501
1023+ else :
1024+ (data ) = self .video_project_serial_task_create_with_http_info (body , ** kwargs ) # noqa: E501
1025+ return data
1026+
1027+ def video_project_serial_task_create_with_http_info (self , body , ** kwargs ): # noqa: E501
1028+ """video_project_serial_task_create # noqa: E501
1029+
1030+ This method makes a synchronous HTTP request by default. To make an
1031+ asynchronous HTTP request, please pass async_req=True
1032+ >>> thread = api.video_project_serial_task_create_with_http_info(body, async_req=True)
1033+ >>> result = thread.get()
1034+
1035+ :param async_req bool
1036+ :param VideoProjectSerialTaskCreateRequest body: (required)
1037+ :return: VideoProjectSerialTaskCreateResponse
1038+ If the method is called asynchronously,
1039+ returns the request thread.
1040+ """
1041+
1042+ all_params = ['body' ] # noqa: E501
1043+ all_params .append ('async_req' )
1044+ all_params .append ('_return_http_data_only' )
1045+ all_params .append ('_preload_content' )
1046+ all_params .append ('_request_timeout' )
1047+
1048+ params = locals ()
1049+ for key , val in six .iteritems (params ['kwargs' ]):
1050+ if key not in all_params :
1051+ raise TypeError (
1052+ "Got an unexpected keyword argument '%s'"
1053+ " to method video_project_serial_task_create" % key
1054+ )
1055+ params [key ] = val
1056+ del params ['kwargs' ]
1057+ # verify the required parameter 'body' is set
1058+ if self .api_client .client_side_validation and ('body' not in params or
1059+ params ['body' ] is None ): # noqa: E501
1060+ raise ValueError ("Missing the required parameter `body` when calling `video_project_serial_task_create`" ) # noqa: E501
1061+
1062+ collection_formats = {}
1063+
1064+ path_params = {}
1065+
1066+ query_params = []
1067+
1068+ header_params = {}
1069+
1070+ form_params = []
1071+ local_var_files = {}
1072+
1073+ body_params = None
1074+ if 'body' in params :
1075+ body_params = params ['body' ]
1076+ # HTTP header `Accept`
1077+ header_params ['Accept' ] = self .api_client .select_header_accept (
1078+ ['application/json' ]) # noqa: E501
1079+
1080+ # HTTP header `Content-Type`
1081+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1082+ ['application/json' ]) # noqa: E501
1083+
1084+ # Authentication setting
1085+ auth_settings = ['volcengineSign' ] # noqa: E501
1086+
1087+ return self .api_client .call_api (
1088+ '/VideoProjectSerialTaskCreate/2021-05-21/i18n_openapi/post/application_json/' , 'POST' ,
1089+ path_params ,
1090+ query_params ,
1091+ header_params ,
1092+ body = body_params ,
1093+ post_params = form_params ,
1094+ files = local_var_files ,
1095+ response_type = 'VideoProjectSerialTaskCreateResponse' , # noqa: E501
1096+ auth_settings = auth_settings ,
1097+ async_req = params .get ('async_req' ),
1098+ _return_http_data_only = params .get ('_return_http_data_only' ),
1099+ _preload_content = params .get ('_preload_content' , True ),
1100+ _request_timeout = params .get ('_request_timeout' ),
1101+ collection_formats = collection_formats )
1102+
10061103 def video_project_task_detail (self , body , ** kwargs ): # noqa: E501
10071104 """video_project_task_detail # noqa: E501
10081105
0 commit comments