Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 1 | /******************************************************************************* |
| 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 | *******************************************************************************/ |
| 11 | using BaSyx.Models.Core.Common; |
| 12 | using Newtonsoft.Json; |
| 13 | using System.Xml.Serialization; |
| 14 | |
| 15 | namespace BaSyx.Models.Export |
| 16 | { |
| 17 | public class EnvironmentQualifier_V1_0 |
| 18 | { |
| 19 | [JsonProperty("qualifierType")] |
| 20 | [XmlElement("qualifierType")] |
| 21 | public string QualifierType { get; set; } |
| 22 | |
| 23 | [JsonProperty("qualifierValue")] |
| 24 | [XmlElement("qualifierValue")] |
| 25 | public string QualifierValue { get; set; } |
| 26 | |
| 27 | [JsonProperty("qualifierValueId")] |
| 28 | [XmlElement("qualifierValueId")] |
| 29 | public EnvironmentReference_V1_0 QualifierValueId { get; set; } |
| 30 | |
| 31 | [JsonProperty("modelType")] |
| 32 | [XmlIgnore] |
| 33 | public ModelType ModelType => ModelType.Qualifier; |
| 34 | |
| 35 | } |
| 36 | } |