/* Options: Date: 2025-06-07 19:35:03 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: EjecutaQueryMxEmpFileRQ.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; enum Lenguajes { ES, PT, EN, } class EjecutaQueryRS implements IConvertible { List>? DatosConsulta; int? TotalRegistros; int? TotalGrupos; List? SummaryList; EjecutaQueryRS({this.DatosConsulta,this.TotalRegistros,this.TotalGrupos,this.SummaryList}); EjecutaQueryRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DatosConsulta = JsonConverters.fromJson(json['DatosConsulta'],'List>',context!); TotalRegistros = json['TotalRegistros']; TotalGrupos = json['TotalGrupos']; SummaryList = JsonConverters.fromJson(json['SummaryList'],'List',context!); return this; } Map toJson() => { 'DatosConsulta': JsonConverters.toJson(DatosConsulta,'List>',context!), 'TotalRegistros': TotalRegistros, 'TotalGrupos': TotalGrupos, 'SummaryList': JsonConverters.toJson(SummaryList,'List',context!) }; getTypeName() => "EjecutaQueryRS"; TypeContext? context = _ctx; } // @Route("/Utilidades/Consultas/Listados/EjecutarMultiempresa") class EjecutaQueryMxEmpFileRQ implements IReturn, IConvertible, IPost { int? IDVista; Map? Parametros; Lenguajes? Lenguaje; List? ListaEmpresas; EjecutaQueryMxEmpFileRQ({this.IDVista,this.Parametros,this.Lenguaje,this.ListaEmpresas}); EjecutaQueryMxEmpFileRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IDVista = json['IDVista']; Parametros = JsonConverters.fromJson(json['Parametros'],'Map',context!); Lenguaje = JsonConverters.fromJson(json['Lenguaje'],'Lenguajes',context!); ListaEmpresas = JsonConverters.fromJson(json['ListaEmpresas'],'List',context!); return this; } Map toJson() => { 'IDVista': IDVista, 'Parametros': JsonConverters.toJson(Parametros,'Map',context!), 'Lenguaje': JsonConverters.toJson(Lenguaje,'Lenguajes',context!), 'ListaEmpresas': JsonConverters.toJson(ListaEmpresas,'List',context!) }; createResponse() => EjecutaQueryRS(); getResponseTypeName() => "EjecutaQueryRS"; getTypeName() => "EjecutaQueryMxEmpFileRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: { 'Lenguajes': TypeInfo(TypeOf.Enum, enumValues:Lenguajes.values), 'EjecutaQueryRS': TypeInfo(TypeOf.Class, create:() => EjecutaQueryRS()), 'List>': TypeInfo(TypeOf.Class, create:() => >[]), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EjecutaQueryMxEmpFileRQ': TypeInfo(TypeOf.Class, create:() => EjecutaQueryMxEmpFileRQ()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), });