getCallSessionParticipantStatsDetailsWithHttpInfo method

Future<Response> getCallSessionParticipantStatsDetailsWithHttpInfo(
  1. String callType,
  2. String callId,
  3. String session,
  4. String user,
  5. String userSession, {
  6. String? since,
  7. String? until,
  8. int? maxPoints,
})

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,
  );
}