workspaceListDirectMessagesWithHttpInfo method
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/direct-messages' operation and returns the Response.
Parameters:
Implementation
Future<Response> workspaceListDirectMessagesWithHttpInfo(String org, String workspace,) async {
// ignore: prefer_const_declarations
final path = r'/v1/organizations/{org}/workspaces/{workspace}/direct-messages'
.replaceAll('{org}', org)
.replaceAll('{workspace}', workspace);
// 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,
);
}