enum MinknowApi::Notifications::NotificationContent::Type

Defined in:

generated/minknow_api/notifications.pb.cr

Enum Members

NOTIFICATION_TYPE_INFO = 0
NOTIFICATION_TYPE_WARNING = 1
NOTIFICATION_TYPE_ERROR = 2

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_raw?(raw : Int32) : self | Nil #

[View source]

Instance Method Detail

def notification_type_error? #

Returns true if this enum value equals NOTIFICATION_TYPE_ERROR


[View source]
def notification_type_info? #

Returns true if this enum value equals NOTIFICATION_TYPE_INFO


[View source]
def notification_type_warning? #

Returns true if this enum value equals NOTIFICATION_TYPE_WARNING


[View source]