/* Options: Date: 2025-06-07 19:09:44 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: InsertReportRQ.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class InsertReportRS implements IConvertible { bool? isInsertado; String? Error; InsertReportRS({this.isInsertado,this.Error}); InsertReportRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isInsertado = json['isInsertado']; Error = json['Error']; return this; } Map toJson() => { 'isInsertado': isInsertado, 'Error': Error }; getTypeName() => "InsertReportRS"; TypeContext? context = _ctx; } // @Route("/restfiles/InsertReportRQ") class InsertReportRQ implements IReturn, IConvertible, IPost { String? usua_login; double? carp_carp; double? rept_rept; String? rept_nombre; int? rept_tipo; DateTime? rept_fecmodi; DateTime? rept_fecelimi; String? rept_version; int? rept_tamano; double? blob_blob; double? vist_vist; InsertReportRQ({this.usua_login,this.carp_carp,this.rept_rept,this.rept_nombre,this.rept_tipo,this.rept_fecmodi,this.rept_fecelimi,this.rept_version,this.rept_tamano,this.blob_blob,this.vist_vist}); InsertReportRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { usua_login = json['usua_login']; carp_carp = JsonConverters.toDouble(json['carp_carp']); rept_rept = JsonConverters.toDouble(json['rept_rept']); rept_nombre = json['rept_nombre']; rept_tipo = json['rept_tipo']; rept_fecmodi = JsonConverters.fromJson(json['rept_fecmodi'],'DateTime',context!); rept_fecelimi = JsonConverters.fromJson(json['rept_fecelimi'],'DateTime',context!); rept_version = json['rept_version']; rept_tamano = json['rept_tamano']; blob_blob = JsonConverters.toDouble(json['blob_blob']); vist_vist = JsonConverters.toDouble(json['vist_vist']); return this; } Map toJson() => { 'usua_login': usua_login, 'carp_carp': carp_carp, 'rept_rept': rept_rept, 'rept_nombre': rept_nombre, 'rept_tipo': rept_tipo, 'rept_fecmodi': JsonConverters.toJson(rept_fecmodi,'DateTime',context!), 'rept_fecelimi': JsonConverters.toJson(rept_fecelimi,'DateTime',context!), 'rept_version': rept_version, 'rept_tamano': rept_tamano, 'blob_blob': blob_blob, 'vist_vist': vist_vist }; createResponse() => InsertReportRS(); getResponseTypeName() => "InsertReportRS"; getTypeName() => "InsertReportRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: { 'InsertReportRS': TypeInfo(TypeOf.Class, create:() => InsertReportRS()), 'InsertReportRQ': TypeInfo(TypeOf.Class, create:() => InsertReportRQ()), });