PublishFirmwareResponse.cs 596 B

123456789101112131415161718192021222324
  1. using EVCB_OCPP.Packet20.DataTypes.EnumTypes;
  2. using Newtonsoft.Json;
  3. using Newtonsoft.Json.Converters;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel.DataAnnotations;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace EVCB_OCPP.Packet20.Messages
  11. {
  12. public class PublishFirmwareResponse
  13. {
  14. /// <summary>
  15. /// Indicates whether the request was accepted.
  16. /// </summary>
  17. [Required]
  18. [JsonConverter(typeof(StringEnumConverter))]
  19. public GenericStatusEnumType Status { set; get; }
  20. }
  21. }