/* Options: Date: 2026-09-26 23:36:20 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: OrgAuditTrailRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecordAuditDto implements IConvertible { int? EventId; String? RecordKey; String? Verb; String? WhoLabel; String? Detail; String? WhenLabel; String? EventRef; String? ActorKind; String? AuthContext; String? Ip; String? Device; String? RelKind; String? RelKey; String? WhenFull; int? AgeDays; String? RecordName; String? SeriesName; RecordAuditDto({this.EventId,this.RecordKey,this.Verb,this.WhoLabel,this.Detail,this.WhenLabel,this.EventRef,this.ActorKind,this.AuthContext,this.Ip,this.Device,this.RelKind,this.RelKey,this.WhenFull,this.AgeDays,this.RecordName,this.SeriesName}); RecordAuditDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EventId = json['EventId']; RecordKey = json['RecordKey']; Verb = json['Verb']; WhoLabel = json['WhoLabel']; Detail = json['Detail']; WhenLabel = json['WhenLabel']; EventRef = json['EventRef']; ActorKind = json['ActorKind']; AuthContext = json['AuthContext']; Ip = json['Ip']; Device = json['Device']; RelKind = json['RelKind']; RelKey = json['RelKey']; WhenFull = json['WhenFull']; AgeDays = json['AgeDays']; RecordName = json['RecordName']; SeriesName = json['SeriesName']; return this; } Map toJson() => { 'EventId': EventId, 'RecordKey': RecordKey, 'Verb': Verb, 'WhoLabel': WhoLabel, 'Detail': Detail, 'WhenLabel': WhenLabel, 'EventRef': EventRef, 'ActorKind': ActorKind, 'AuthContext': AuthContext, 'Ip': Ip, 'Device': Device, 'RelKind': RelKind, 'RelKey': RelKey, 'WhenFull': WhenFull, 'AgeDays': AgeDays, 'RecordName': RecordName, 'SeriesName': SeriesName }; getTypeName() => "RecordAuditDto"; TypeContext? context = _ctx; } class RecordAuditResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Events = []; int? Total; RecordAuditResponse({this.ResponseStatus,this.Events,this.Total}); RecordAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Events = JsonConverters.fromJson(json['Events'],'List',context!); Total = json['Total']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Events': JsonConverters.toJson(Events,'List',context!), 'Total': Total }; getTypeName() => "RecordAuditResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/audit", "GET,OPTIONS") class OrgAuditTrailRequest implements IReturn, IConvertible, IGet { String? Q; String? Verb; int? Range; int? Page; int? PageSize; int? Top; OrgAuditTrailRequest({this.Q,this.Verb,this.Range,this.Page,this.PageSize,this.Top}); OrgAuditTrailRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Q = json['Q']; Verb = json['Verb']; Range = json['Range']; Page = json['Page']; PageSize = json['PageSize']; Top = json['Top']; return this; } Map toJson() => { 'Q': Q, 'Verb': Verb, 'Range': Range, 'Page': Page, 'PageSize': PageSize, 'Top': Top }; createResponse() => RecordAuditResponse(); getResponseTypeName() => "RecordAuditResponse"; getTypeName() => "OrgAuditTrailRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RecordAuditDto': TypeInfo(TypeOf.Class, create:() => RecordAuditDto()), 'RecordAuditResponse': TypeInfo(TypeOf.Class, create:() => RecordAuditResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'OrgAuditTrailRequest': TypeInfo(TypeOf.Class, create:() => OrgAuditTrailRequest()), });