/* Options: Date: 2025-10-27 21:34:04 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BatchViewQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BatchView implements IConvertible { int? Id; DateTime? CreatedDate; String? FileName; String? FileSize; int? RecordCount; int? UserAuthId; String? RowVersionGuid; int? InsertedRecords; int? UpdatedRecords; int? DeletedRecords; String? UploadType; int? StatusCodesId; String? StatusCodeDescription; BatchView({this.Id,this.CreatedDate,this.FileName,this.FileSize,this.RecordCount,this.UserAuthId,this.RowVersionGuid,this.InsertedRecords,this.UpdatedRecords,this.DeletedRecords,this.UploadType,this.StatusCodesId,this.StatusCodeDescription}); BatchView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); FileName = json['FileName']; FileSize = json['FileSize']; RecordCount = json['RecordCount']; UserAuthId = json['UserAuthId']; RowVersionGuid = json['RowVersionGuid']; InsertedRecords = json['InsertedRecords']; UpdatedRecords = json['UpdatedRecords']; DeletedRecords = json['DeletedRecords']; UploadType = json['UploadType']; StatusCodesId = json['StatusCodesId']; StatusCodeDescription = json['StatusCodeDescription']; return this; } Map toJson() => { 'Id': Id, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'FileName': FileName, 'FileSize': FileSize, 'RecordCount': RecordCount, 'UserAuthId': UserAuthId, 'RowVersionGuid': RowVersionGuid, 'InsertedRecords': InsertedRecords, 'UpdatedRecords': UpdatedRecords, 'DeletedRecords': DeletedRecords, 'UploadType': UploadType, 'StatusCodesId': StatusCodesId, 'StatusCodeDescription': StatusCodeDescription }; getTypeName() => "BatchView"; TypeContext? context = _ctx; } // @Route("/batch_view", "GET") // @Route("/batch_view/{Id}", "GET") class BatchViewQuery extends QueryDb implements IReturn>, IGet, IConvertible { int? UserAuthId; BatchViewQuery({this.UserAuthId}); BatchViewQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); UserAuthId = json['UserAuthId']; return this; } Map toJson() => super.toJson()..addAll({ 'UserAuthId': UserAuthId }); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "BatchViewQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'BatchView': TypeInfo(TypeOf.Class, create:() => BatchView()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'BatchViewQuery': TypeInfo(TypeOf.Class, create:() => BatchViewQuery()), 'List': TypeInfo(TypeOf.Class, create:() => []), });