@@ -8278,103 +8278,6 @@ def update_activity_embedded_url_api_with_http_info(self, body, **kwargs): # no
82788278 _request_timeout = params .get ('_request_timeout' ),
82798279 collection_formats = collection_formats )
82808280
8281- def update_activity_menu_api (self , body , ** kwargs ): # noqa: E501
8282- """update_activity_menu_api # noqa: E501
8283-
8284- This method makes a synchronous HTTP request by default. To make an
8285- asynchronous HTTP request, please pass async_req=True
8286- >>> thread = api.update_activity_menu_api(body, async_req=True)
8287- >>> result = thread.get()
8288-
8289- :param async_req bool
8290- :param UpdateActivityMenuAPIRequest body: (required)
8291- :return: UpdateActivityMenuAPIResponse
8292- If the method is called asynchronously,
8293- returns the request thread.
8294- """
8295- kwargs ['_return_http_data_only' ] = True
8296- if kwargs .get ('async_req' ):
8297- return self .update_activity_menu_api_with_http_info (body , ** kwargs ) # noqa: E501
8298- else :
8299- (data ) = self .update_activity_menu_api_with_http_info (body , ** kwargs ) # noqa: E501
8300- return data
8301-
8302- def update_activity_menu_api_with_http_info (self , body , ** kwargs ): # noqa: E501
8303- """update_activity_menu_api # noqa: E501
8304-
8305- This method makes a synchronous HTTP request by default. To make an
8306- asynchronous HTTP request, please pass async_req=True
8307- >>> thread = api.update_activity_menu_api_with_http_info(body, async_req=True)
8308- >>> result = thread.get()
8309-
8310- :param async_req bool
8311- :param UpdateActivityMenuAPIRequest body: (required)
8312- :return: UpdateActivityMenuAPIResponse
8313- If the method is called asynchronously,
8314- returns the request thread.
8315- """
8316-
8317- all_params = ['body' ] # noqa: E501
8318- all_params .append ('async_req' )
8319- all_params .append ('_return_http_data_only' )
8320- all_params .append ('_preload_content' )
8321- all_params .append ('_request_timeout' )
8322-
8323- params = locals ()
8324- for key , val in six .iteritems (params ['kwargs' ]):
8325- if key not in all_params :
8326- raise TypeError (
8327- "Got an unexpected keyword argument '%s'"
8328- " to method update_activity_menu_api" % key
8329- )
8330- params [key ] = val
8331- del params ['kwargs' ]
8332- # verify the required parameter 'body' is set
8333- if self .api_client .client_side_validation and ('body' not in params or
8334- params ['body' ] is None ): # noqa: E501
8335- raise ValueError ("Missing the required parameter `body` when calling `update_activity_menu_api`" ) # noqa: E501
8336-
8337- collection_formats = {}
8338-
8339- path_params = {}
8340-
8341- query_params = []
8342-
8343- header_params = {}
8344-
8345- form_params = []
8346- local_var_files = {}
8347-
8348- body_params = None
8349- if 'body' in params :
8350- body_params = params ['body' ]
8351- # HTTP header `Accept`
8352- header_params ['Accept' ] = self .api_client .select_header_accept (
8353- ['application/json' ]) # noqa: E501
8354-
8355- # HTTP header `Content-Type`
8356- header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
8357- ['application/json' ]) # noqa: E501
8358-
8359- # Authentication setting
8360- auth_settings = ['volcengineSign' ] # noqa: E501
8361-
8362- return self .api_client .call_api (
8363- '/UpdateActivityMenuAPI/2020-06-01/livesaas/post/application_json/' , 'POST' ,
8364- path_params ,
8365- query_params ,
8366- header_params ,
8367- body = body_params ,
8368- post_params = form_params ,
8369- files = local_var_files ,
8370- response_type = 'UpdateActivityMenuAPIResponse' , # noqa: E501
8371- auth_settings = auth_settings ,
8372- async_req = params .get ('async_req' ),
8373- _return_http_data_only = params .get ('_return_http_data_only' ),
8374- _preload_content = params .get ('_preload_content' , True ),
8375- _request_timeout = params .get ('_request_timeout' ),
8376- collection_formats = collection_formats )
8377-
83788281 def update_activity_status_api (self , body , ** kwargs ): # noqa: E501
83798282 """update_activity_status_api # noqa: E501
83808283
0 commit comments