/* Options: Date: 2026-08-12 18:50:11 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; RecordAuditDto({this.EventId,this.RecordKey,this.Verb,this.WhoLabel,this.Detail,this.WhenLabel}); 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']; return this; } Map toJson() => { 'EventId': EventId, 'RecordKey': RecordKey, 'Verb': Verb, 'WhoLabel': WhoLabel, 'Detail': Detail, 'WhenLabel': WhenLabel }; getTypeName() => "RecordAuditDto"; TypeContext? context = _ctx; } class RecordAuditResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Events = []; RecordAuditResponse({this.ResponseStatus,this.Events}); RecordAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Events = JsonConverters.fromJson(json['Events'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Events': JsonConverters.toJson(Events,'List',context!) }; getTypeName() => "RecordAuditResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/audit", "GET,OPTIONS") class OrgAuditTrailRequest implements IReturn, IConvertible, IGet { String? Q; String? Verb; int? Top; OrgAuditTrailRequest({this.Q,this.Verb,this.Top}); OrgAuditTrailRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Q = json['Q']; Verb = json['Verb']; Top = json['Top']; return this; } Map toJson() => { 'Q': Q, 'Verb': Verb, '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()), });