/* Options: Date: 2025-06-07 19:16:04 Version: 8.12 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://soluser-recaudo.sgsas.co //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DownloadReportRQ.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DownloadReportRS implements IConvertible { String? File; bool? isDownload; String? error; DownloadReportRS({this.File,this.isDownload,this.error}); DownloadReportRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { File = json['File']; isDownload = json['isDownload']; error = json['error']; return this; } Map toJson() => { 'File': File, 'isDownload': isDownload, 'error': error }; getTypeName() => "DownloadReportRS"; TypeContext? context = _ctx; } // @Route("/restfiles/GetDownloadReport") class DownloadReportRQ implements IReturn, IConvertible, IPost { double? reporte; DownloadReportRQ({this.reporte}); DownloadReportRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { reporte = JsonConverters.toDouble(json['reporte']); return this; } Map toJson() => { 'reporte': reporte }; createResponse() => DownloadReportRS(); getResponseTypeName() => "DownloadReportRS"; getTypeName() => "DownloadReportRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: { 'DownloadReportRS': TypeInfo(TypeOf.Class, create:() => DownloadReportRS()), 'DownloadReportRQ': TypeInfo(TypeOf.Class, create:() => DownloadReportRQ()), });