toolsOzoneCommunicationListTemplates function

Future<XRPCResponse<CommunicationListTemplatesOutput>> toolsOzoneCommunicationListTemplates({
  1. required ServiceContext $ctx,
  2. Map<String, String>? $headers,
  3. Map<String, String>? $unknown,
})

Get list of all communication templates.

Implementation

Future<XRPCResponse<CommunicationListTemplatesOutput>>
toolsOzoneCommunicationListTemplates({
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneCommunicationListTemplates,
  headers: $headers,
  parameters: {...?$unknown},
  to: const CommunicationListTemplatesOutputConverter().fromJson,
);