blob: 15a667c7503017393dcb3a65dcee4e2412bd458e [file] [log] [blame]
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01001/*******************************************************************************
2* Copyright (c) 2020 Robert Bosch GmbH
3* Author: Constantin Ziesche (constantin.ziesche@bosch.com)
4*
5* This program and the accompanying materials are made available under the
6* terms of the Eclipse Public License 2.0 which is available at
7* http://www.eclipse.org/legal/epl-2.0
8*
9* SPDX-License-Identifier: EPL-2.0
10*******************************************************************************/
11using System.Runtime.Serialization;
12using BaSyx.Models.Core.AssetAdministrationShell.References;
13
14namespace BaSyx.Models.Core.AssetAdministrationShell.Generics.SubmodelElementTypes
15{
16 public interface IPublishableEvent
17 {
18 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "originator")]
19 string Originator { get; }
20
21 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "eventReference")]
22 IReference<IEvent> EventReference { get; }
23
24 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "timestamp")]
25 string Timestamp { get; }
26
27 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "message")]
28 string Message { get; set; }
29
30 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "messageId")]
31 string MessageId { get; set; }
32
33 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "name")]
34 string Name { get; set; }
35
36 }
37}