/* Options: Date: 2026-01-25 12:26:51 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListTwilioAlerts.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; /** * Gets alerts filtered by date */ // @Route("/twilio/alerts", "GET") // @Api(Description="Gets alerts filtered by date") class ListTwilioAlerts implements IReturn>, IGet, IConvertible { /** * The account ID you are listing for */ // @ApiMember(Description="The account ID you are listing for") String? accountId; /** * The start date to retrieve alerts for (YYYY-MM-DD) */ // @ApiMember(Description="The start date to retrieve alerts for (YYYY-MM-DD)") String? startDate; /** * The end date to retrieve alerts for (YYYY-MM-DD) */ // @ApiMember(Description="The end date to retrieve alerts for (YYYY-MM-DD)") String? endDate; ListTwilioAlerts({this.accountId,this.startDate,this.endDate}); ListTwilioAlerts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; startDate = json['startDate']; endDate = json['endDate']; return this; } Map toJson() => { 'accountId': accountId, 'startDate': startDate, 'endDate': endDate }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "ListTwilioAlerts"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'evovoice.io', types: { 'List': TypeInfo(TypeOf.Class, create:() => []), 'TwilioAlertInfo': TypeInfo(TypeOf.Class, create:() => TwilioAlertInfo()), 'ListTwilioAlerts': TypeInfo(TypeOf.Class, create:() => ListTwilioAlerts()), });