Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using RobotNet.VDA5050.Type;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet.VDA5050.Factsheet;
|
||||
|
||||
|
||||
public class OptionalParameter
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("parameter")]
|
||||
public string Parameter { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
[JsonPropertyName("support")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public Support Support { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user