/* Options: Date: 2026-09-21 22:56:14 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: HideOnArea.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/HideOnArea/{AreaID}/{Color}/{Pixel}") class HideOnArea implements IConvertible, IPost { /** * Area ID */ // @ApiMember(Description="Area ID", IsRequired=true) int? AreaID; /** * HTML Color code (e.g. FF00FF) */ // @ApiMember(Description="HTML Color code (e.g. FF00FF)", IsRequired=true) String? Color; /** * Pixel number on the group */ // @ApiMember(Description="Pixel number on the group", IsRequired=true) int? Pixel; /** * Optional: delay the execution of the command (in seconds) */ // @ApiMember(Description="Optional: delay the execution of the command (in seconds)") int? Delay; /** * Optional: name of the owner of the color/command to allow color sharing */ // @ApiMember(Description="Optional: name of the owner of the color/command to allow color sharing") String? Owner; HideOnArea({this.AreaID,this.Color,this.Pixel,this.Delay,this.Owner}); HideOnArea.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AreaID = json['AreaID']; Color = json['Color']; Pixel = json['Pixel']; Delay = json['Delay']; Owner = json['Owner']; return this; } Map toJson() => { 'AreaID': AreaID, 'Color': Color, 'Pixel': Pixel, 'Delay': Delay, 'Owner': Owner }; getTypeName() => "HideOnArea"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'HideOnArea': TypeInfo(TypeOf.Class, create:() => HideOnArea()), });