Get15118EVCertificateResponse.cs 887 B

123456789101112131415161718192021222324252627282930313233
  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 Get15118EVCertificateResponse
  13. {
  14. /// <summary>
  15. /// Indicates whether the message was processed
  16. /// properly
  17. /// </summary>
  18. [Required]
  19. [JsonConverter(typeof(StringEnumConverter))]
  20. public Iso15118EVCertificateStatusEnumType Status { set; get; }
  21. /// <summary>
  22. /// Raw CertificateInstallationReq request from EV,
  23. /// Base64 encoded.
  24. /// </summary>
  25. [Required]
  26. [StringLength(5600, MinimumLength = 0)]
  27. public string ExiResponse { set; get; }
  28. }
  29. }