using EVCB_OCPP.Packet20.DataTypes.EnumTypes;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
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 PublishFirmwareStatusNotificationRequest
{
///
///This contains the progress status of the
///publishfirmware installation
///
[Required]
[JsonConverter(typeof(StringEnumConverter))]
public PublishFirmwareStatusEnumType Status { set; get; }
///
/// Required if status is Published. Can be multiple
///URI’s, if the Local Controller supports e.g.HTTP, HTTPS,
///and FTP.
///
public List Location { set; get; }
///
/// The request id that was provided in the
/// PublishFirmwareRequest which triggered this action.
///
public int? RequestId { set; get; }
}
}