25 lines
650 B
C#
25 lines
650 B
C#
using RobotNet.VDA5050.Type;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace RobotNet.VDA5050.Factsheet;
|
|
|
|
|
|
public class ActionParameter
|
|
{
|
|
[Required]
|
|
[JsonPropertyName("key")]
|
|
public string Key { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[JsonPropertyName("valueDataType")]
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public ValueDataType ValueDataType { get; set; }
|
|
|
|
[JsonPropertyName("description")]
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("isOptional")]
|
|
public bool IsOptional { get; set; }
|
|
}
|