updateTemplate method

Future<XRPCResponse<TemplateView>> updateTemplate({
  1. required String id,
  2. String? name,
  3. String? lang,
  4. String? contentMarkdown,
  5. String? subject,
  6. String? updatedBy,
  7. bool? disabled,
  8. Map<String, String>? $headers,
  9. Map<String, String>? $unknown,
})

Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.

Implementation

Future<XRPCResponse<TemplateView>> updateTemplate({
  required String id,
  String? name,
  String? lang,
  String? contentMarkdown,
  String? subject,
  String? updatedBy,
  bool? disabled,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneCommunicationUpdateTemplate(
  id: id,
  name: name,
  lang: lang,
  contentMarkdown: contentMarkdown,
  subject: subject,
  updatedBy: updatedBy,
  disabled: disabled,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);