/* Options: Date: 2026-09-21 22:54:40 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: ShowPredictive.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum HeaderMode { on, off, once, } // @Route("/ShowPredictive/{BlinkKey}/{SteadyKey}/{Color}/{ShowHeader}/{Owner}") class ShowPredictive implements IConvertible, IPost { /** * Key identifying a location that will be shown blinking */ // @ApiMember(Description="Key identifying a location that will be shown blinking", IsRequired=true) String? BlinkKey; /** * Key identifying a location that will be shown not blinking */ // @ApiMember(Description="Key identifying a location that will be shown not blinking", IsRequired=true) String? SteadyKey; /** * HTML Color code (e.g. FF00FF) */ // @ApiMember(Description="HTML Color code (e.g. FF00FF)", IsRequired=true) String? Color; /** * Indicates the way the area header will be displayed (possible values are on, off, once) */ // @ApiMember(Description="Indicates the way the area header will be displayed (possible values are on, off, once)", IsRequired=true) HeaderMode? ShowHeader; /** * Name of the owner of the color/command to allow color sharing */ // @ApiMember(Description="Name of the owner of the color/command to allow color sharing", IsRequired=true) String? Owner; /** * Optional: name of the stockroom where to show the position */ // @ApiMember(Description="Optional: name of the stockroom where to show the position") String? StockroomName; ShowPredictive({this.BlinkKey,this.SteadyKey,this.Color,this.ShowHeader,this.Owner,this.StockroomName}); ShowPredictive.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BlinkKey = json['BlinkKey']; SteadyKey = json['SteadyKey']; Color = json['Color']; ShowHeader = JsonConverters.fromJson(json['ShowHeader'],'HeaderMode',context!); Owner = json['Owner']; StockroomName = json['StockroomName']; return this; } Map toJson() => { 'BlinkKey': BlinkKey, 'SteadyKey': SteadyKey, 'Color': Color, 'ShowHeader': JsonConverters.toJson(ShowHeader,'HeaderMode',context!), 'Owner': Owner, 'StockroomName': StockroomName }; getTypeName() => "ShowPredictive"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'HeaderMode': TypeInfo(TypeOf.Enum, enumValues:HeaderMode.values), 'ShowPredictive': TypeInfo(TypeOf.Class, create:() => ShowPredictive()), });