/* Options: Date: 2025-09-14 05:33:11 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-gateway-api-supplierconnect.azurewebsites.net/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ResendScheduleNotification.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ScheduleResponse implements IConvertible { String? ReferenceId; String? CommunicationId; bool? Success; String? Message; String? Payload; ScheduleResponse({this.ReferenceId,this.CommunicationId,this.Success,this.Message,this.Payload}); ScheduleResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReferenceId = json['ReferenceId']; CommunicationId = json['CommunicationId']; Success = json['Success']; Message = json['Message']; Payload = json['Payload']; return this; } Map toJson() => { 'ReferenceId': ReferenceId, 'CommunicationId': CommunicationId, 'Success': Success, 'Message': Message, 'Payload': Payload }; getTypeName() => "ScheduleResponse"; TypeContext? context = _ctx; } /** * Resends the notification to supplier for a given SupplierConnect schedule by id. (This will return the same information returned on a create schedule request with only change being the communication id which will be the id of the new notification.) */ // @Route("/schedules/{id}/resend", "POST") // @Api(Description="Resends the notification to supplier for a given SupplierConnect schedule by id. (This will return the same information returned on a create schedule request with only change being the communication id which will be the id of the new notification.)") class ResendScheduleNotification implements IReturn, IConvertible, IPost { /** * Id of the schedule request to resend the notification for */ // @DataMember(Name="id") // @ApiMember(Description="Id of the schedule request to resend the notification for", IsRequired=true, Name="id") String? id; ResendScheduleNotification({this.id}); ResendScheduleNotification.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['Id']; return this; } Map toJson() => { 'id': id }; createResponse() => ScheduleResponse(); getResponseTypeName() => "ScheduleResponse"; getTypeName() => "ResendScheduleNotification"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'production_eros_gateway_api_supplierconnect.azurewebsites.net', types: { 'ScheduleResponse': TypeInfo(TypeOf.Class, create:() => ScheduleResponse()), 'ResendScheduleNotification': TypeInfo(TypeOf.Class, create:() => ResendScheduleNotification()), });