getCallSessionParticipantStatsDetailsWithHttpInfo method
Get call session participant stats details
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getCallSessionParticipantStatsDetailsWithHttpInfo(
String callType,
String callId,
String session,
String user,
String userSession, {
String? since,
String? until,
int? maxPoints,
}) async {
// ignore: prefer_const_declarations
final path =
r'/video/call_stats/{call_type}/{call_id}/{session}/participant/{user}/{user_session}/details'
.replaceAll('{call_type}', callType)
.replaceAll('{call_id}', callId)
.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));
}
if (maxPoints != null) {
queryParams.addAll(_queryParams('', 'max_points', maxPoints));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}