using EVCB_OCPP.Packet20.DataTypes.EnumTypes; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using NJsonSchema; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EVCB_OCPP.Packet20.Messages { public class GetDisplayMessagesRequest { /// /// If provided the Charging Station shall return /// Display Messages of the given ids.This field SHALL NOT /// contain more ids than set in /// NumberOfDisplayMessages.maxLimit /// public List Id { set; get; } /// /// The Id of this request /// [Required] public int RequestId { set; get; } /// /// If provided the Charging Station shall return ///Display Messages with the given priority only /// [JsonConverter(typeof(StringEnumConverter))] public MessagePriorityEnumType Priority { set; get; } /// /// If provided the Charging Station shall return /// Display Messages with the given state only. /// [JsonConverter(typeof(StringEnumConverter))] public MessageStateEnumType State { set; get; } } }