/* Options: Date: 2025-04-04 17:12:58 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindDataAudit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DataAuditInstance implements IConvertible { int? DataAuditId; bool? IsIAuditable; int? SourceId; int? AuditType; String? InstanceType; String? Property; DateTime? AuditDateUtc; int? UserId; int? MemberId; String? OldValue; String? NewValue; int? InstanceId; DataAuditInstance({this.DataAuditId,this.IsIAuditable,this.SourceId,this.AuditType,this.InstanceType,this.Property,this.AuditDateUtc,this.UserId,this.MemberId,this.OldValue,this.NewValue,this.InstanceId}); DataAuditInstance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DataAuditId = json['DataAuditId']; IsIAuditable = json['IsIAuditable']; SourceId = json['SourceId']; AuditType = json['AuditType']; InstanceType = json['InstanceType']; Property = json['Property']; AuditDateUtc = JsonConverters.fromJson(json['AuditDateUtc'],'DateTime',context!); UserId = json['UserId']; MemberId = json['MemberId']; OldValue = json['OldValue']; NewValue = json['NewValue']; InstanceId = json['InstanceId']; return this; } Map toJson() => { 'DataAuditId': DataAuditId, 'IsIAuditable': IsIAuditable, 'SourceId': SourceId, 'AuditType': AuditType, 'InstanceType': InstanceType, 'Property': Property, 'AuditDateUtc': JsonConverters.toJson(AuditDateUtc,'DateTime',context!), 'UserId': UserId, 'MemberId': MemberId, 'OldValue': OldValue, 'NewValue': NewValue, 'InstanceId': InstanceId }; getTypeName() => "DataAuditInstance"; TypeContext? context = _ctx; } // @Route("/api/Query/DataAudit") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="DataAudit") class FindDataAudit extends QueryDb implements IReturn>, IConvertible { FindDataAudit(); FindDataAudit.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "FindDataAudit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'DataAuditInstance': TypeInfo(TypeOf.Class, create:() => DataAuditInstance()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'FindDataAudit': TypeInfo(TypeOf.Class, create:() => FindDataAudit()), 'List': TypeInfo(TypeOf.Class, create:() => []), });