/* Options: Date: 2026-08-12 18:58:40 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ImagingBatchesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ImagingBatchDto implements IConvertible { int? BatchId; String? BatchKey; String? Title; String? CreatedByLbl; String? CreatedLabel; String? Stage; String? Dpi; String? Color; bool? DestroyAfter; String? ContainersJson; String? QaJson; String? ImportReceipt; String? LogJson; ImagingBatchDto({this.BatchId,this.BatchKey,this.Title,this.CreatedByLbl,this.CreatedLabel,this.Stage,this.Dpi,this.Color,this.DestroyAfter,this.ContainersJson,this.QaJson,this.ImportReceipt,this.LogJson}); ImagingBatchDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BatchId = json['BatchId']; BatchKey = json['BatchKey']; Title = json['Title']; CreatedByLbl = json['CreatedByLbl']; CreatedLabel = json['CreatedLabel']; Stage = json['Stage']; Dpi = json['Dpi']; Color = json['Color']; DestroyAfter = json['DestroyAfter']; ContainersJson = json['ContainersJson']; QaJson = json['QaJson']; ImportReceipt = json['ImportReceipt']; LogJson = json['LogJson']; return this; } Map toJson() => { 'BatchId': BatchId, 'BatchKey': BatchKey, 'Title': Title, 'CreatedByLbl': CreatedByLbl, 'CreatedLabel': CreatedLabel, 'Stage': Stage, 'Dpi': Dpi, 'Color': Color, 'DestroyAfter': DestroyAfter, 'ContainersJson': ContainersJson, 'QaJson': QaJson, 'ImportReceipt': ImportReceipt, 'LogJson': LogJson }; getTypeName() => "ImagingBatchDto"; TypeContext? context = _ctx; } class ImagingBatchesResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Batches = []; ImagingBatchesResponse({this.ResponseStatus,this.Batches}); ImagingBatchesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Batches = JsonConverters.fromJson(json['Batches'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Batches': JsonConverters.toJson(Batches,'List',context!) }; getTypeName() => "ImagingBatchesResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/imaging/batches", "GET,OPTIONS") class ImagingBatchesRequest implements IReturn, IConvertible, IGet { ImagingBatchesRequest(); ImagingBatchesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ImagingBatchesResponse(); getResponseTypeName() => "ImagingBatchesResponse"; getTypeName() => "ImagingBatchesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ImagingBatchDto': TypeInfo(TypeOf.Class, create:() => ImagingBatchDto()), 'ImagingBatchesResponse': TypeInfo(TypeOf.Class, create:() => ImagingBatchesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ImagingBatchesRequest': TypeInfo(TypeOf.Class, create:() => ImagingBatchesRequest()), });