getInboxEmailCountWithHttpInfo method

Future<Response> getInboxEmailCountWithHttpInfo(
  1. String inboxId
)

Get email count in inbox

Note: This method returns the HTTP Response.

Parameters:

  • String inboxId (required): Id of inbox that emails belongs to

Implementation

Future<Response> getInboxEmailCountWithHttpInfo(String inboxId,) async {
  // ignore: prefer_const_declarations
  final path = r'/inboxes/{inboxId}/emails/count'
    .replaceAll('{inboxId}', inboxId);

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];


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