dev.azure.com/aidainnovazione0090/DeviceManager/_git/go-mod-core-contracts@v1.0.2/models/notification.go (about)

     1  //
     2  // Copyright (C) 2021 IOTech Ltd
     3  //
     4  // SPDX-License-Identifier: Apache-2.0
     5  
     6  package models
     7  
     8  type Notification struct {
     9  	DBTimestamp
    10  	Category    string
    11  	Content     string
    12  	ContentType string
    13  	Description string
    14  	Id          string
    15  	Labels      []string
    16  	Sender      string
    17  	Severity    NotificationSeverity
    18  	Status      NotificationStatus
    19  }
    20  
    21  // NotificationSeverity indicates the level of severity for the notification.
    22  type NotificationSeverity string
    23  
    24  // NotificationStatus indicates the current processing status of the notification.
    25  type NotificationStatus string