using EVCB_OCPP.Packet20.DataTypes;
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 GetCompositeScheduleResponse
{
///
/// The Charging Station will indicate if it was able
///to process the request
///
[Required]
[JsonConverter(typeof(StringEnumConverter))]
public GenericStatusEnumType Status { set; get; }
///
/// This field contains the calculated composite
/// schedule.It may only be omitted when this message
/// contains status Rejected.
///
public CompositeScheduleType Schedule { set; get; }
}
}