updateCallWithHttpInfo method
Future<Response>
updateCallWithHttpInfo(
- String type,
- String id,
- UpdateCallRequest updateCallRequest
Update Call
Sends events: - call.updated Required permissions: - UpdateCall
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
UpdateCallRequest updateCallRequest (required):
Implementation
Future<Response> updateCallWithHttpInfo(
String type,
String id,
UpdateCallRequest updateCallRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = updateCallRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}