CommunicationService class base

tools.ozone.communication.*

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTemplate({required String name, required String contentMarkdown, required String subject, String? lang, String? createdBy, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<TemplateView>>
Administrative action to create a new, re-usable communication (email for now) template.
deleteTemplate({required String id, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Delete a communication template.
listTemplates({Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<CommunicationListTemplatesOutput>>
Get list of all communication templates.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateTemplate({required String id, String? name, String? lang, String? contentMarkdown, String? subject, String? updatedBy, bool? disabled, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<TemplateView>>
Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.

Operators

operator ==(Object other) bool
The equality operator.
inherited