/* Options: Date: 2025-05-05 02:24:09 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListCalls.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Retrieve all calls */ // @Route("/billing/calls", "GET") // @Api(Description="Retrieve all calls") class ListCalls implements IReturn>, IConvertible, IGet { /** * The account ID you are listing for */ // @ApiMember(Description="The account ID you are listing for") String? accountId; /** * The start date to retrieve calls for (YYYY-MM-DD) */ // @ApiMember(Description="The start date to retrieve calls for (YYYY-MM-DD)") String? startDate; /** * The end date to retrieve calls for (YYYY-MM-DD) */ // @ApiMember(Description="The end date to retrieve calls for (YYYY-MM-DD)") String? endDate; ListCalls({this.accountId,this.startDate,this.endDate}); ListCalls.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() => "ListCalls"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'List': TypeInfo(TypeOf.Class, create:() => []), 'CallInfo': TypeInfo(TypeOf.Class, create:() => CallInfo()), 'ListCalls': TypeInfo(TypeOf.Class, create:() => ListCalls()), });