/* Options: Date: 2026-08-12 19:18:25 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: PoolsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecordsPoolDto implements IConvertible { int? PoolId; String? PoolKey; String? Site; String? Method; String? Icon; String? Note; String? ItemsJson; int? Boxes; int? Pages; int? WeightLbs; int? ThBoxes; int? ThWeight; String? Status; RecordsPoolDto({this.PoolId,this.PoolKey,this.Site,this.Method,this.Icon,this.Note,this.ItemsJson,this.Boxes,this.Pages,this.WeightLbs,this.ThBoxes,this.ThWeight,this.Status}); RecordsPoolDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PoolId = json['PoolId']; PoolKey = json['PoolKey']; Site = json['Site']; Method = json['Method']; Icon = json['Icon']; Note = json['Note']; ItemsJson = json['ItemsJson']; Boxes = json['Boxes']; Pages = json['Pages']; WeightLbs = json['WeightLbs']; ThBoxes = json['ThBoxes']; ThWeight = json['ThWeight']; Status = json['Status']; return this; } Map toJson() => { 'PoolId': PoolId, 'PoolKey': PoolKey, 'Site': Site, 'Method': Method, 'Icon': Icon, 'Note': Note, 'ItemsJson': ItemsJson, 'Boxes': Boxes, 'Pages': Pages, 'WeightLbs': WeightLbs, 'ThBoxes': ThBoxes, 'ThWeight': ThWeight, 'Status': Status }; getTypeName() => "RecordsPoolDto"; TypeContext? context = _ctx; } class PoolsResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Pools = []; PoolsResponse({this.ResponseStatus,this.Pools}); PoolsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Pools = JsonConverters.fromJson(json['Pools'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Pools': JsonConverters.toJson(Pools,'List',context!) }; getTypeName() => "PoolsResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/logistics/pools", "GET,OPTIONS") class PoolsRequest implements IReturn, IConvertible, IGet { PoolsRequest(); PoolsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => PoolsResponse(); getResponseTypeName() => "PoolsResponse"; getTypeName() => "PoolsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RecordsPoolDto': TypeInfo(TypeOf.Class, create:() => RecordsPoolDto()), 'PoolsResponse': TypeInfo(TypeOf.Class, create:() => PoolsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PoolsRequest': TypeInfo(TypeOf.Class, create:() => PoolsRequest()), });