/* Options: Date: 2025-05-05 18:00:25 Version: 8.61 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProcessBulkAllocationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BackOrderAllocation implements IConvertible { int? Row; String? Comm; String? BackOrder; BackOrderAllocation({this.Row,this.Comm,this.BackOrder}); BackOrderAllocation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Row = json['Row']; Comm = json['Comm']; BackOrder = json['BackOrder']; return this; } Map toJson() => { 'Row': Row, 'Comm': Comm, 'BackOrder': BackOrder }; getTypeName() => "BackOrderAllocation"; TypeContext? context = _ctx; } class ProcessBulkAllocationResponse implements IConvertible { ProcessBulkAllocationResponse(); ProcessBulkAllocationResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "ProcessBulkAllocationResponse"; TypeContext? context = _ctx; } // @Route("/v1/BackOrder/PerformBulkAllocations", "POST") class ProcessBulkAllocationRequest implements IReturn, IConvertible, IPost { List? Allocations = []; ProcessBulkAllocationRequest({this.Allocations}); ProcessBulkAllocationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Allocations = JsonConverters.fromJson(json['Allocations'],'List',context!); return this; } Map toJson() => { 'Allocations': JsonConverters.toJson(Allocations,'List',context!) }; createResponse() => ProcessBulkAllocationResponse(); getResponseTypeName() => "ProcessBulkAllocationResponse"; getTypeName() => "ProcessBulkAllocationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'BackOrderAllocation': TypeInfo(TypeOf.Class, create:() => BackOrderAllocation()), 'ProcessBulkAllocationResponse': TypeInfo(TypeOf.Class, create:() => ProcessBulkAllocationResponse()), 'ProcessBulkAllocationRequest': TypeInfo(TypeOf.Class, create:() => ProcessBulkAllocationRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });