/* Options: Date: 2026-09-21 22:56:00 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: PBL_ShowPredictive.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PBL_StandardResponse implements IConvertible { bool? Success; String? Error; dynamic? Result; String? Color; PBL_StandardResponse({this.Success,this.Error,this.Result,this.Color}); PBL_StandardResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; Error = json['Error']; Result = JsonConverters.fromJson(json['Result'],'dynamic',context!); Color = json['Color']; return this; } Map toJson() => { 'Success': Success, 'Error': Error, 'Result': JsonConverters.toJson(Result,'dynamic',context!), 'Color': Color }; getTypeName() => "PBL_StandardResponse"; TypeContext? context = _ctx; } // @Route("/PBL_ShowPredictive") class PBL_ShowPredictive implements IReturn, IConvertible, IPost { /** * Position identifying a location that will be shown blinking (ex. current position) */ // @ApiMember(Description="Position identifying a location that will be shown blinking (ex. current position)", IsRequired=true) String? BlinkPosition; /** * Position identifying a location that will be shown not blinking (ex. next position) */ // @ApiMember(Description="Position identifying a location that will be shown not blinking (ex. next position)") String? SteadyPosition; /** * Optional: HTML Color code (e.g. FF00FF) */ // @ApiMember(Description="Optional: HTML Color code (e.g. FF00FF)") String? Color; /** * 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; PBL_ShowPredictive({this.BlinkPosition,this.SteadyPosition,this.Color,this.Owner}); PBL_ShowPredictive.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BlinkPosition = json['BlinkPosition']; SteadyPosition = json['SteadyPosition']; Color = json['Color']; Owner = json['Owner']; return this; } Map toJson() => { 'BlinkPosition': BlinkPosition, 'SteadyPosition': SteadyPosition, 'Color': Color, 'Owner': Owner }; createResponse() => PBL_StandardResponse(); getResponseTypeName() => "PBL_StandardResponse"; getTypeName() => "PBL_ShowPredictive"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'PBL_StandardResponse': TypeInfo(TypeOf.Class, create:() => PBL_StandardResponse()), 'PBL_ShowPredictive': TypeInfo(TypeOf.Class, create:() => PBL_ShowPredictive()), });