/* Options: Date: 2026-09-21 23:11:39 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: ShowArea.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/ShowArea/{AreaID}/{ColorStart}/{ColorStop}/{Duration}") class ShowArea implements IConvertible, IPost { /** * Area ID */ // @ApiMember(Description="Area ID", IsRequired=true) int? AreaID; /** * HTML Color code (e.g. FF00FF) of the first pixel */ // @ApiMember(Description="HTML Color code (e.g. FF00FF) of the first pixel", IsRequired=true) String? ColorStart; /** * HTML Color code (e.g. FF00FF) of the last pixel */ // @ApiMember(Description="HTML Color code (e.g. FF00FF) of the last pixel", IsRequired=true) String? ColorStop; /** * Duration in seconds */ // @ApiMember(Description="Duration in seconds", IsRequired=true) int? Duration; /** * 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; ShowArea({this.AreaID,this.ColorStart,this.ColorStop,this.Duration,this.Owner}); ShowArea.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AreaID = json['AreaID']; ColorStart = json['ColorStart']; ColorStop = json['ColorStop']; Duration = json['Duration']; Owner = json['Owner']; return this; } Map toJson() => { 'AreaID': AreaID, 'ColorStart': ColorStart, 'ColorStop': ColorStop, 'Duration': Duration, 'Owner': Owner }; getTypeName() => "ShowArea"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'ShowArea': TypeInfo(TypeOf.Class, create:() => ShowArea()), });