/* Options: Date: 2025-05-04 23:51:04 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: ListUsageRecords.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Gets all usage records for specified date range */ // @Route("/billing/usage", "GET") // @Api(Description="Gets all usage records for specified date range") class ListUsageRecords 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 usage records for (YYYY-MM-DD) */ // @ApiMember(Description="The start date to retrieve usage records for (YYYY-MM-DD)") String? startDate; /** * The end date to retrieve usage records for (YYYY-MM-DD) */ // @ApiMember(Description="The end date to retrieve usage records for (YYYY-MM-DD)") String? endDate; ListUsageRecords({this.accountId,this.startDate,this.endDate}); ListUsageRecords.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() => "ListUsageRecords"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'List': TypeInfo(TypeOf.Class, create:() => []), 'UsageRecordInfo': TypeInfo(TypeOf.Class, create:() => UsageRecordInfo()), 'ListUsageRecords': TypeInfo(TypeOf.Class, create:() => ListUsageRecords()), });