/* Options: Date: 2026-08-12 19:43:12 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: PickupsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecordsPickupDto implements IConvertible { int? PickupId; String? PickupKey; String? VendorName; String? VendorCert; String? Status; String? WfLabel; String? RunLabel; String? ManifestJson; String? QuoteJson; String? WindowLabel; String? VendorCertRef; String? LogJson; RecordsPickupDto({this.PickupId,this.PickupKey,this.VendorName,this.VendorCert,this.Status,this.WfLabel,this.RunLabel,this.ManifestJson,this.QuoteJson,this.WindowLabel,this.VendorCertRef,this.LogJson}); RecordsPickupDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PickupId = json['PickupId']; PickupKey = json['PickupKey']; VendorName = json['VendorName']; VendorCert = json['VendorCert']; Status = json['Status']; WfLabel = json['WfLabel']; RunLabel = json['RunLabel']; ManifestJson = json['ManifestJson']; QuoteJson = json['QuoteJson']; WindowLabel = json['WindowLabel']; VendorCertRef = json['VendorCertRef']; LogJson = json['LogJson']; return this; } Map toJson() => { 'PickupId': PickupId, 'PickupKey': PickupKey, 'VendorName': VendorName, 'VendorCert': VendorCert, 'Status': Status, 'WfLabel': WfLabel, 'RunLabel': RunLabel, 'ManifestJson': ManifestJson, 'QuoteJson': QuoteJson, 'WindowLabel': WindowLabel, 'VendorCertRef': VendorCertRef, 'LogJson': LogJson }; getTypeName() => "RecordsPickupDto"; TypeContext? context = _ctx; } class PickupsResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Pickups = []; PickupsResponse({this.ResponseStatus,this.Pickups}); PickupsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Pickups = JsonConverters.fromJson(json['Pickups'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Pickups': JsonConverters.toJson(Pickups,'List',context!) }; getTypeName() => "PickupsResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/logistics/pickups", "GET,OPTIONS") class PickupsRequest implements IReturn, IConvertible, IGet { PickupsRequest(); PickupsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => PickupsResponse(); getResponseTypeName() => "PickupsResponse"; getTypeName() => "PickupsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RecordsPickupDto': TypeInfo(TypeOf.Class, create:() => RecordsPickupDto()), 'PickupsResponse': TypeInfo(TypeOf.Class, create:() => PickupsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PickupsRequest': TypeInfo(TypeOf.Class, create:() => PickupsRequest()), });