getCallParticipantSessionMetricsWithHttpInfo method
Get call participant session metrics
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getCallParticipantSessionMetricsWithHttpInfo(
String type,
String id,
String session,
String user,
String userSession, {
DateTime? since,
DateTime? until,
}) async {
// ignore: prefer_const_declarations
final path =
r'/video/call/{type}/{id}/session/{session}/participant/{user}/{user_session}/details/track'
.replaceAll('{type}', type)
.replaceAll('{id}', id)
.replaceAll('{session}', session)
.replaceAll('{user}', user)
.replaceAll('{user_session}', userSession);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (since != null) {
queryParams.addAll(_queryParams('', 'since', since));
}
if (until != null) {
queryParams.addAll(_queryParams('', 'until', until));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}