/* Options: Date: 2025-06-07 19:16:46 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: DeleteFileBxRQ.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DeleteFileRS implements IConvertible { bool? isDelete; String? error; DeleteFileRS({this.isDelete,this.error}); DeleteFileRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isDelete = json['isDelete']; error = json['error']; return this; } Map toJson() => { 'isDelete': isDelete, 'error': error }; getTypeName() => "DeleteFileRS"; TypeContext? context = _ctx; } // @Route("/restfiles/files") // @Route("/restfiles/files/{Path*}") class RestFiles implements IConvertible, IGet { String? Path; String? TextContents; bool? ForDownload; RestFiles({this.Path,this.TextContents,this.ForDownload}); RestFiles.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Path = json['Path']; TextContents = json['TextContents']; ForDownload = json['ForDownload']; return this; } Map toJson() => { 'Path': Path, 'TextContents': TextContents, 'ForDownload': ForDownload }; getTypeName() => "RestFiles"; TypeContext? context = _ctx; } // @Route("/restfiles/DeleteFileBxRQ") class DeleteFileBxRQ implements IReturn, IConvertible, IPost { double? idArchivo; String? usua_login; double? carp_carp; bool? isDirectory; int? empr_empr; int? sist_sist; String? path; RestFiles? dataDelete; DeleteFileBxRQ({this.idArchivo,this.usua_login,this.carp_carp,this.isDirectory,this.empr_empr,this.sist_sist,this.path,this.dataDelete}); DeleteFileBxRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { idArchivo = JsonConverters.toDouble(json['idArchivo']); usua_login = json['usua_login']; carp_carp = JsonConverters.toDouble(json['carp_carp']); isDirectory = json['isDirectory']; empr_empr = json['empr_empr']; sist_sist = json['sist_sist']; path = json['path']; dataDelete = JsonConverters.fromJson(json['dataDelete'],'RestFiles',context!); return this; } Map toJson() => { 'idArchivo': idArchivo, 'usua_login': usua_login, 'carp_carp': carp_carp, 'isDirectory': isDirectory, 'empr_empr': empr_empr, 'sist_sist': sist_sist, 'path': path, 'dataDelete': JsonConverters.toJson(dataDelete,'RestFiles',context!) }; createResponse() => DeleteFileRS(); getResponseTypeName() => "DeleteFileRS"; getTypeName() => "DeleteFileBxRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: { 'DeleteFileRS': TypeInfo(TypeOf.Class, create:() => DeleteFileRS()), 'RestFiles': TypeInfo(TypeOf.Class, create:() => RestFiles()), 'DeleteFileBxRQ': TypeInfo(TypeOf.Class, create:() => DeleteFileBxRQ()), });