/* Options: Date: 2025-12-06 10:52:02 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TrackingLog.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/trackinglog", "POST") class TrackingLog implements IConvertible, IPost { int? tenantsId; int? appUserId; int? mediaId; int? mediaPercentage; int? score; String? menuItems; String? entities; String? ipAddress; String? country; DateTime? accessDateTime; TrackingLog({this.tenantsId,this.appUserId,this.mediaId,this.mediaPercentage,this.score,this.menuItems,this.entities,this.ipAddress,this.country,this.accessDateTime}); TrackingLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tenantsId = json['tenantsId']; appUserId = json['appUserId']; mediaId = json['mediaId']; mediaPercentage = json['mediaPercentage']; score = json['score']; menuItems = json['menuItems']; entities = json['entities']; ipAddress = json['ipAddress']; country = json['country']; accessDateTime = JsonConverters.fromJson(json['accessDateTime'],'DateTime',context!); return this; } Map toJson() => { 'tenantsId': tenantsId, 'appUserId': appUserId, 'mediaId': mediaId, 'mediaPercentage': mediaPercentage, 'score': score, 'menuItems': menuItems, 'entities': entities, 'ipAddress': ipAddress, 'country': country, 'accessDateTime': JsonConverters.toJson(accessDateTime,'DateTime',context!) }; getTypeName() => "TrackingLog"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'TrackingLog': TypeInfo(TypeOf.Class, create:() => TrackingLog()), });