blob: c3d74d1b45124d2910df10f7d6dfee10f8cf32d4 [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;
12
13namespace BaSyx.Models.Core.AssetAdministrationShell.References
14{
15 public interface IKey
16 {
17 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "type")]
18 KeyElements Type { get; }
19 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "idType")]
20 KeyType IdType { get; }
21 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "value")]
22 string Value { get; }
23 [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "local")]
24 bool Local { get; }
25 }
26}