/* Options: Date: 2025-12-06 05:24:30 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: DeactivateLocationDevice.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/locations/devices/deactivate", "POST") class DeactivateLocationDevice implements IReturn, IConvertible, IPost { String? id; String? deviceId; DeactivateLocationDevice({this.id,this.deviceId}); DeactivateLocationDevice.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() => "DeactivateLocationDevice"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'DeactivateLocationDevice': TypeInfo(TypeOf.Class, create:() => DeactivateLocationDevice()), });