OperationType enum

Inheritance
Available extensions

Values

webhook → const OperationType

webhook is the webhook operation type. Sends a request to a webhook URL.

Layrz API equivalent: WEBHOOKS

email → const OperationType

email is the email operation type. Sends an email to a one or more recipients.

Layrz API equivalent: SENDEMAIL

registerInAsset → const OperationType

registerInAsset is the register in asset operation type. Registers the event into the asset.

Layrz API equivalent: ACTIVATEASSET

inAppNotification → const OperationType

inAppNotification is the in-app notification operation type. Sends an in-app notification to the user. To receive the notificaiton, the user must be logged in.

Layrz API equivalent: INAPPNOTIFICATION

twilio → const OperationType

twilio is the Twilio operation type. Sends an SMS message to a phone number.

Layrz API equivalent: TWILIO

mobilePopupNotification → const OperationType

mobilePopupNotification is the mobile popup notification operation type. Sends a popup notification to the user's mobile device.

Layrz API equivalent: MOBILE_POPUP_NOTIFICATION

bhsPush → const OperationType

bhsPush is the BHS push operation type. Sends a push notification to the user's mobile device. Only used by Brickhouse Security sub-ecosystem

Layrz API equivalent: BHS_PUSH

pushNotification → const OperationType

pushNotification is the push notification operation type. Sends a push notification to the user's mobile or desktop device. Uses our own push notification system.

Layrz API equivalent: PUSH_NOTIFICATION

sms → const OperationType

sms is the SMS operation type. Sends an SMS message to a phone number.

This operation type works using the Layrz Messaging Engine, it's not customizable. To ensure compatibility with the engine, the number must be in E.164 format.

Layrz API equivalent: SMS

voiceCall → const OperationType

voiceCall is the voice call operation type. Makes a voice call to a phone number.

This operation type works using the Layrz Messaging Engine, it's not customizable. To ensure compatibility with the engine, the number must be in E.164 format.

Layrz API equivalent: VOICE_CALL

whatsappMessage → const OperationType

whatsappMessage is the WhatsApp message operation type. Sends a WhatsApp message to a phone number.

This operation type works using the Layrz Messaging Engine, it's not customizable. To ensure compatibility with the engine, the number must be in E.164 format.

Layrz API equivalent: WHATSAPP_MESSAGE

unknown → const OperationType

unknown is the unknown operation type. This is used when the operation type is not recognized.

Layrz API equivalent: UNKNOWN

Properties

color Color
no setter
hashCode int
The hash code for this object.
no setterinherited
icon IconData
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translationKey String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toJson returns the string representation of the enum value.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(String json) OperationType
fromJson returns the enum value from a string representation.

Constants

values → const List<OperationType>
A constant List of the values in this enum, in order of their declaration.