getExpiredInboxByInboxIdWithHttpInfo method

Future<Response> getExpiredInboxByInboxIdWithHttpInfo(
  1. String inboxId
)

Get expired inbox record for a previously existing inbox

Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId

Note: This method returns the HTTP Response.

Parameters:

  • String inboxId (required): ID of inbox you want to retrieve (not the inbox ID)

Implementation

Future<Response> getExpiredInboxByInboxIdWithHttpInfo(String inboxId,) async {
  // ignore: prefer_const_declarations
  final path = r'/expired/inbox/{inboxId}'
    .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,
  );
}