/* Options: Date: 2026-09-21 22:53:48 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: SensorEvents.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/SensorEvents/{User}") class SensorEvents implements IConvertible, IPost { /** * User name required to identify him. */ // @ApiMember(Description="User name required to identify him.", IsRequired=true) String? User; /** * If given, only the expected position will be retured. */ // @ApiMember(Description="If given, only the expected position will be retured.") String? ExpectedPosition; /** * Optional: niveau de détail des événements (masque de bits Gestures=1, Detailed=2), aligné sur le webhook RegisterCallback. 0 = Legacy (défaut, position string, rétro-compatible) ; 1 = Gestures (JSON: Click/DoubleClick/LongPress + durationMs) ; 2 = Detailed (JSON: position, edge Down/Up, timestampUtc, seq) ; 3 = Both. Absent ou 0 => comportement inchangé pour les clients existants. */ // @ApiMember(Description="Optional: niveau de détail des événements (masque de bits Gestures=1, Detailed=2), aligné sur le webhook RegisterCallback. 0 = Legacy (défaut, position string, rétro-compatible) ; 1 = Gestures (JSON: Click/DoubleClick/LongPress + durationMs) ; 2 = Detailed (JSON: position, edge Down/Up, timestampUtc, seq) ; 3 = Both. Absent ou 0 => comportement inchangé pour les clients existants.") int? DetailLevel; SensorEvents({this.User,this.ExpectedPosition,this.DetailLevel}); SensorEvents.fromJson(Map json) { fromMap(json); } fromMap(Map json) { User = json['User']; ExpectedPosition = json['ExpectedPosition']; DetailLevel = json['DetailLevel']; return this; } Map toJson() => { 'User': User, 'ExpectedPosition': ExpectedPosition, 'DetailLevel': DetailLevel }; getTypeName() => "SensorEvents"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'SensorEvents': TypeInfo(TypeOf.Class, create:() => SensorEvents()), });