CommunicationUpdateTemplateInput constructor

  1. @JsonSerializable(includeIfNull: false)
const CommunicationUpdateTemplateInput({
  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, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory CommunicationUpdateTemplateInput({
  /// ID of the template to be updated.
  required String id,

  /// Name of the template.
  String? name,

  /// Message language.
  String? lang,

  /// Content of the template, markdown supported, can contain variable placeholders.
  String? contentMarkdown,

  /// Subject of the message, used in emails.
  String? subject,

  /// DID of the user who is updating the template.
  String? updatedBy,
  bool? disabled,

  Map<String, dynamic>? $unknown,
}) = _CommunicationUpdateTemplateInput;