/* Options: Date: 2026-08-12 18:54:44 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: DispositionBatchesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DispositionBatchDto implements IConvertible { int? BatchId; String? BatchKey; String? Title; String? Status; String? MethodSummary; String? CreatedByLbl; String? CreatedLabel; String? ItemsJson; String? ChainJson; String? ReturnReason; String? CertJson; String? LogJson; DispositionBatchDto({this.BatchId,this.BatchKey,this.Title,this.Status,this.MethodSummary,this.CreatedByLbl,this.CreatedLabel,this.ItemsJson,this.ChainJson,this.ReturnReason,this.CertJson,this.LogJson}); DispositionBatchDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BatchId = json['BatchId']; BatchKey = json['BatchKey']; Title = json['Title']; Status = json['Status']; MethodSummary = json['MethodSummary']; CreatedByLbl = json['CreatedByLbl']; CreatedLabel = json['CreatedLabel']; ItemsJson = json['ItemsJson']; ChainJson = json['ChainJson']; ReturnReason = json['ReturnReason']; CertJson = json['CertJson']; LogJson = json['LogJson']; return this; } Map toJson() => { 'BatchId': BatchId, 'BatchKey': BatchKey, 'Title': Title, 'Status': Status, 'MethodSummary': MethodSummary, 'CreatedByLbl': CreatedByLbl, 'CreatedLabel': CreatedLabel, 'ItemsJson': ItemsJson, 'ChainJson': ChainJson, 'ReturnReason': ReturnReason, 'CertJson': CertJson, 'LogJson': LogJson }; getTypeName() => "DispositionBatchDto"; TypeContext? context = _ctx; } class DispositionBatchesResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Batches = []; DispositionBatchesResponse({this.ResponseStatus,this.Batches}); DispositionBatchesResponse.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() => "DispositionBatchesResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/disposition/batches", "GET,OPTIONS") class DispositionBatchesRequest implements IReturn, IConvertible, IGet { DispositionBatchesRequest(); DispositionBatchesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DispositionBatchesResponse(); getResponseTypeName() => "DispositionBatchesResponse"; getTypeName() => "DispositionBatchesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DispositionBatchDto': TypeInfo(TypeOf.Class, create:() => DispositionBatchDto()), 'DispositionBatchesResponse': TypeInfo(TypeOf.Class, create:() => DispositionBatchesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DispositionBatchesRequest': TypeInfo(TypeOf.Class, create:() => DispositionBatchesRequest()), });