/* Options: Date: 2026-08-12 18:49:20 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: ContainersRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ContainerItemDto implements IConvertible { String? Id; String? Name; String? Flag; bool? Warn; ContainerItemDto({this.Id,this.Name,this.Flag,this.Warn}); ContainerItemDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Flag = json['Flag']; Warn = json['Warn']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Flag': Flag, 'Warn': Warn }; getTypeName() => "ContainerItemDto"; TypeContext? context = _ctx; } class RecordContainerDto implements IConvertible { int? ContainerId; String? Barcode; String? Kind; String? Icon; String? Name; String? ZoneKey; String? Slot; String? Status; String? CheckoutJson; List? Items = []; RecordContainerDto({this.ContainerId,this.Barcode,this.Kind,this.Icon,this.Name,this.ZoneKey,this.Slot,this.Status,this.CheckoutJson,this.Items}); RecordContainerDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContainerId = json['ContainerId']; Barcode = json['Barcode']; Kind = json['Kind']; Icon = json['Icon']; Name = json['Name']; ZoneKey = json['ZoneKey']; Slot = json['Slot']; Status = json['Status']; CheckoutJson = json['CheckoutJson']; Items = JsonConverters.fromJson(json['Items'],'List',context!); return this; } Map toJson() => { 'ContainerId': ContainerId, 'Barcode': Barcode, 'Kind': Kind, 'Icon': Icon, 'Name': Name, 'ZoneKey': ZoneKey, 'Slot': Slot, 'Status': Status, 'CheckoutJson': CheckoutJson, 'Items': JsonConverters.toJson(Items,'List',context!) }; getTypeName() => "RecordContainerDto"; TypeContext? context = _ctx; } class ContainersResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Containers = []; ContainersResponse({this.ResponseStatus,this.Containers}); ContainersResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Containers = JsonConverters.fromJson(json['Containers'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Containers': JsonConverters.toJson(Containers,'List',context!) }; getTypeName() => "ContainersResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/warehouse/containers", "GET,OPTIONS") class ContainersRequest implements IReturn, IConvertible, IGet { ContainersRequest(); ContainersRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ContainersResponse(); getResponseTypeName() => "ContainersResponse"; getTypeName() => "ContainersRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ContainerItemDto': TypeInfo(TypeOf.Class, create:() => ContainerItemDto()), 'RecordContainerDto': TypeInfo(TypeOf.Class, create:() => RecordContainerDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContainersResponse': TypeInfo(TypeOf.Class, create:() => ContainersResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContainersRequest': TypeInfo(TypeOf.Class, create:() => ContainersRequest()), });