getUserNotificationCountWithHttpInfo method

Future<Response> getUserNotificationCountWithHttpInfo(
  1. String tenantId, [
  2. String? sso
])

Performs an HTTP 'GET /user-notifications/get-count' operation and returns the Response. Parameters:

Implementation

Future<Response> getUserNotificationCountWithHttpInfo(String tenantId, [ String? sso ]) async {
  // ignore: prefer_const_declarations
  final path = r'/user-notifications/get-count';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

    queryParams.addAll(_queryParams('', 'tenantId', tenantId));
  if (sso != null) {
    queryParams.addAll(_queryParams('', 'sso', sso));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}