/* Options: Date: 2025-06-07 19:53:27 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: CancelarEjecucionRQ.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GeneralRS implements IConvertible { /** * Id del código de respuesta 1: Correcto, -1: Error */ // @ApiMember(DataType="int", Description="Id del código de respuesta 1: Correcto, -1: Error", IsRequired=true, ParameterType="body") int? Codigo; /** * Mensaje que se envía al ejecutar el servicio */ // @ApiMember(DataType="string", Description="Mensaje que se envía al ejecutar el servicio", IsRequired=true, ParameterType="body") String? Mensaje; GeneralRS({this.Codigo,this.Mensaje}); GeneralRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Codigo = json['Codigo']; Mensaje = json['Mensaje']; return this; } Map toJson() => { 'Codigo': Codigo, 'Mensaje': Mensaje }; getTypeName() => "GeneralRS"; TypeContext? context = _ctx; } // @Route("/Utilidades/Procedimientos/CancelarEjecucion") class CancelarEjecucionRQ implements IReturn, IConvertible, IPost { double? CodigoEjecucion; String? MotivoCancela; CancelarEjecucionRQ({this.CodigoEjecucion,this.MotivoCancela}); CancelarEjecucionRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CodigoEjecucion = JsonConverters.toDouble(json['CodigoEjecucion']); MotivoCancela = json['MotivoCancela']; return this; } Map toJson() => { 'CodigoEjecucion': CodigoEjecucion, 'MotivoCancela': MotivoCancela }; createResponse() => GeneralRS(); getResponseTypeName() => "GeneralRS"; getTypeName() => "CancelarEjecucionRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: { 'GeneralRS': TypeInfo(TypeOf.Class, create:() => GeneralRS()), 'CancelarEjecucionRQ': TypeInfo(TypeOf.Class, create:() => CancelarEjecucionRQ()), });