/* Options: Date: 2025-10-28 02:11:55 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: UploadBatchErrors.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class BatchErrorsRequest implements IConvertible { int? BatchId; // @DataMember(Order=3) // @Required() String? Type; // @DataMember(Order=4) String? Message; int? Row; String? Code; BatchErrorsRequest({this.BatchId,this.Type,this.Message,this.Row,this.Code}); BatchErrorsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BatchId = json['BatchId']; Type = json['Type']; Message = json['Message']; Row = json['Row']; Code = json['Code']; return this; } Map toJson() => { 'BatchId': BatchId, 'Type': Type, 'Message': Message, 'Row': Row, 'Code': Code }; getTypeName() => "BatchErrorsRequest"; TypeContext? context = _ctx; } class BatchErrorsResponse implements IConvertible { int? Records; ResponseStatus? ResponseStatus; BatchErrorsResponse({this.Records,this.ResponseStatus}); BatchErrorsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Records = json['Records']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Records': Records, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "BatchErrorsResponse"; TypeContext? context = _ctx; } class UploadBatchErrors extends ListBase implements IReturn, IConvertible, IPost { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; BatchErrorsRequest operator [](int index) => l[index]; void operator []=(int index, BatchErrorsRequest value) { l[index] = value; } UploadBatchErrors(); UploadBatchErrors.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => BatchErrorsResponse(); getResponseTypeName() => "BatchErrorsResponse"; getTypeName() => "UploadBatchErrors"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'BatchErrorsRequest': TypeInfo(TypeOf.Class, create:() => BatchErrorsRequest()), 'BatchErrorsResponse': TypeInfo(TypeOf.Class, create:() => BatchErrorsResponse()), 'UploadBatchErrors': TypeInfo(TypeOf.Class, create:() => UploadBatchErrors()), });