/* Options: Date: 2025-12-06 05:24:42 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ActivateLocationDevice.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/locations/devices/activate", "POST") class ActivateLocationDevice implements IReturn, IConvertible, IPost { String? id; String? deviceId; ActivateLocationDevice({this.id,this.deviceId}); ActivateLocationDevice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; deviceId = json['deviceId']; return this; } Map toJson() => { 'id': id, 'deviceId': deviceId }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ActivateLocationDevice"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'ActivateLocationDevice': TypeInfo(TypeOf.Class, create:() => ActivateLocationDevice()), });