/* Options: Date: 2025-06-27 20:50:45 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CurrentDataProcessRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DataProcessLog implements IConvertible { int? id; int? dataProcess_Id; int? rowNumber; int? failureReasonId; String? failureReason; String? metaData; String? metaData2; bool? hasFailed; DataProcessLog({this.id,this.dataProcess_Id,this.rowNumber,this.failureReasonId,this.failureReason,this.metaData,this.metaData2,this.hasFailed}); DataProcessLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; dataProcess_Id = json['dataProcess_Id']; rowNumber = json['rowNumber']; failureReasonId = json['failureReasonId']; failureReason = json['failureReason']; metaData = json['metaData']; metaData2 = json['metaData2']; hasFailed = json['hasFailed']; return this; } Map toJson() => { 'id': id, 'dataProcess_Id': dataProcess_Id, 'rowNumber': rowNumber, 'failureReasonId': failureReasonId, 'failureReason': failureReason, 'metaData': metaData, 'metaData2': metaData2, 'hasFailed': hasFailed }; getTypeName() => "DataProcessLog"; TypeContext? context = _ctx; } class CurrentDataProcessResponse implements IConvertible { int? id; int? type; int? status; String? statusName; int? totalRecords; int? processedRecords; String? fileName; String? originalFileName; String? dateCreated; String? dateStarted; String? dateFinished; String? gasId; List? dataProcessResultLogs = []; int? failedCount; int? successCount; CurrentDataProcessResponse({this.id,this.type,this.status,this.statusName,this.totalRecords,this.processedRecords,this.fileName,this.originalFileName,this.dateCreated,this.dateStarted,this.dateFinished,this.gasId,this.dataProcessResultLogs,this.failedCount,this.successCount}); CurrentDataProcessResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; type = json['type']; status = json['status']; statusName = json['statusName']; totalRecords = json['totalRecords']; processedRecords = json['processedRecords']; fileName = json['fileName']; originalFileName = json['originalFileName']; dateCreated = json['dateCreated']; dateStarted = json['dateStarted']; dateFinished = json['dateFinished']; gasId = json['gasId']; dataProcessResultLogs = JsonConverters.fromJson(json['dataProcessResultLogs'],'List',context!); failedCount = json['failedCount']; successCount = json['successCount']; return this; } Map toJson() => { 'id': id, 'type': type, 'status': status, 'statusName': statusName, 'totalRecords': totalRecords, 'processedRecords': processedRecords, 'fileName': fileName, 'originalFileName': originalFileName, 'dateCreated': dateCreated, 'dateStarted': dateStarted, 'dateFinished': dateFinished, 'gasId': gasId, 'dataProcessResultLogs': JsonConverters.toJson(dataProcessResultLogs,'List',context!), 'failedCount': failedCount, 'successCount': successCount }; getTypeName() => "CurrentDataProcessResponse"; TypeContext? context = _ctx; } // @Route("/v1/GetUserCurrentDataProcess", "GET") class CurrentDataProcessRequest implements IReturn, IGet, IConvertible { CurrentDataProcessRequest(); CurrentDataProcessRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => CurrentDataProcessResponse(); getResponseTypeName() => "CurrentDataProcessResponse"; getTypeName() => "CurrentDataProcessRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: { 'DataProcessLog': TypeInfo(TypeOf.Class, create:() => DataProcessLog()), 'CurrentDataProcessResponse': TypeInfo(TypeOf.Class, create:() => CurrentDataProcessResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CurrentDataProcessRequest': TypeInfo(TypeOf.Class, create:() => CurrentDataProcessRequest()), });