/* Options: Date: 2026-08-11 12:38:05 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: EngineAuditRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class WorkflowAuditView implements IConvertible { DateTime? At; String? RunKey; int? WorkflowId; String? WorkflowName; String? Actor; String? Action; String? ObjectLabel; String? BeforeValue; String? AfterValue; WorkflowAuditView({this.At,this.RunKey,this.WorkflowId,this.WorkflowName,this.Actor,this.Action,this.ObjectLabel,this.BeforeValue,this.AfterValue}); WorkflowAuditView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { At = JsonConverters.fromJson(json['At'],'DateTime',context!); RunKey = json['RunKey']; WorkflowId = json['WorkflowId']; WorkflowName = json['WorkflowName']; Actor = json['Actor']; Action = json['Action']; ObjectLabel = json['ObjectLabel']; BeforeValue = json['BeforeValue']; AfterValue = json['AfterValue']; return this; } Map toJson() => { 'At': JsonConverters.toJson(At,'DateTime',context!), 'RunKey': RunKey, 'WorkflowId': WorkflowId, 'WorkflowName': WorkflowName, 'Actor': Actor, 'Action': Action, 'ObjectLabel': ObjectLabel, 'BeforeValue': BeforeValue, 'AfterValue': AfterValue }; getTypeName() => "WorkflowAuditView"; TypeContext? context = _ctx; } class EngineAuditResponse implements IConvertible { List? Entries = []; ResponseStatus? ResponseStatus; EngineAuditResponse({this.Entries,this.ResponseStatus}); EngineAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Entries = JsonConverters.fromJson(json['Entries'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Entries': JsonConverters.toJson(Entries,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineAuditResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/audit", "GET,OPTIONS") class EngineAuditRequest implements IReturn, IConvertible, IGet { EngineAuditRequest(); EngineAuditRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => EngineAuditResponse(); getResponseTypeName() => "EngineAuditResponse"; getTypeName() => "EngineAuditRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WorkflowAuditView': TypeInfo(TypeOf.Class, create:() => WorkflowAuditView()), 'EngineAuditResponse': TypeInfo(TypeOf.Class, create:() => EngineAuditResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EngineAuditRequest': TypeInfo(TypeOf.Class, create:() => EngineAuditRequest()), });