getExpiredInboxRecordWithHttpInfo method

Future<Response> getExpiredInboxRecordWithHttpInfo(
  1. String expiredId
)

Get an expired inbox record

Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties

Note: This method returns the HTTP Response.

Parameters:

  • String expiredId (required): ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId

Implementation

Future<Response> getExpiredInboxRecordWithHttpInfo(String expiredId,) async {
  // ignore: prefer_const_declarations
  final path = r'/expired/{expiredId}'
    .replaceAll('{expiredId}', expiredId);

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