/* Options: Date: 2026-09-21 22:53:19 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SetPosition.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/SetPosition/{Key}/{AreaID}/{Pixel}/{Width}") class SetPosition implements IConvertible, IPost { /** * Key identifying a location */ // @ApiMember(Description="Key identifying a location", IsRequired=true) String? Key; /** * Area ID */ // @ApiMember(Description="Area ID", IsRequired=true) int? AreaID; /** * Pixel number on the area */ // @ApiMember(Description="Pixel number on the area", IsRequired=true) int? Pixel; /** * Pixel width */ // @ApiMember(Description="Pixel width", IsRequired=true) int? Width; /** * Optional: name of the stockroom where the position is located */ // @ApiMember(Description="Optional: name of the stockroom where the position is located") String? StockroomName; /** * Optional: overwrite existing positions defined with the same key: Yes by default */ // @ApiMember(Description="Optional: overwrite existing positions defined with the same key: Yes by default") bool? Overwrite; SetPosition({this.Key,this.AreaID,this.Pixel,this.Width,this.StockroomName,this.Overwrite}); SetPosition.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Key = json['Key']; AreaID = json['AreaID']; Pixel = json['Pixel']; Width = json['Width']; StockroomName = json['StockroomName']; Overwrite = json['Overwrite']; return this; } Map toJson() => { 'Key': Key, 'AreaID': AreaID, 'Pixel': Pixel, 'Width': Width, 'StockroomName': StockroomName, 'Overwrite': Overwrite }; getTypeName() => "SetPosition"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'SetPosition': TypeInfo(TypeOf.Class, create:() => SetPosition()), });