ChannelCredential class

Annotations
  • @JsonSerializable.new()

Constructors

ChannelCredential({required String webhookUrl, String? channel, List<String> deviceTokens = const [], String? alertUid, String? title, String? imageUrl, String? state, String? externalUrl})
ChannelCredential.fromJson(Map<String, dynamic> json)
factory

Properties

alertUid → String?
alert_uid for grafana on-call webhook payload
final
channel → String?
Channel specification for Mattermost chat notifications
final
deviceTokens → List<String>
Contains an array of the subscriber device tokens for a given provider. Used on Push integrations
final
externalUrl → String?
link_to_upstream_details property fo grafana on call webhook
final
hashCode → int
The hash code for this object.
no setterinherited
imageUrl → String?
image_url property fo grafana on call webhook
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String?
state property fo grafana on call webhook
final
title → String?
title to be used with grafana on call webhook
final
webhookUrl ↔ String
Webhook url used by chat app integrations. The webhook should be obtained from the chat app provider.
latefinal

Methods

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

Operators

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