UpdateRequest class final

Parameters for updating a message template.

Carries name, about, channel, and purpose, among other supported fields.

Constructors

UpdateRequest({String? name, String? about, Channel? channel, String? purpose, String? locale, List<VariableInput>? variables, SMSContentInput? sms, EmailContentInput? email, List<String>? attachments, required String id})
const
UpdateRequest.fromJson(Map<String, Object?> json)
factory

Properties

about → String?
final
attachments → List<String>?
final
channel → Channel?
final
email → EmailContentInput?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
locale → String?
final
name → String?
final
purpose → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sms → SMSContentInput?
final
variables → List<VariableInput>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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