/* Options: Date: 2026-08-11 13:21:02 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: EngineErrorsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class WorkflowErrorGroupView implements IConvertible { int? ErrorGroupId; int? WorkflowId; String? WorkflowName; String? NodeId; String? Kind; String? Message; String? FixText; int? Count; DateTime? FirstSeen; DateTime? LastSeen; String? Status; List? Records = []; WorkflowErrorGroupView({this.ErrorGroupId,this.WorkflowId,this.WorkflowName,this.NodeId,this.Kind,this.Message,this.FixText,this.Count,this.FirstSeen,this.LastSeen,this.Status,this.Records}); WorkflowErrorGroupView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ErrorGroupId = json['ErrorGroupId']; WorkflowId = json['WorkflowId']; WorkflowName = json['WorkflowName']; NodeId = json['NodeId']; Kind = json['Kind']; Message = json['Message']; FixText = json['FixText']; Count = json['Count']; FirstSeen = JsonConverters.fromJson(json['FirstSeen'],'DateTime',context!); LastSeen = JsonConverters.fromJson(json['LastSeen'],'DateTime',context!); Status = json['Status']; Records = JsonConverters.fromJson(json['Records'],'List',context!); return this; } Map toJson() => { 'ErrorGroupId': ErrorGroupId, 'WorkflowId': WorkflowId, 'WorkflowName': WorkflowName, 'NodeId': NodeId, 'Kind': Kind, 'Message': Message, 'FixText': FixText, 'Count': Count, 'FirstSeen': JsonConverters.toJson(FirstSeen,'DateTime',context!), 'LastSeen': JsonConverters.toJson(LastSeen,'DateTime',context!), 'Status': Status, 'Records': JsonConverters.toJson(Records,'List',context!) }; getTypeName() => "WorkflowErrorGroupView"; TypeContext? context = _ctx; } class EngineErrorsResponse implements IConvertible { List? Errors = []; ResponseStatus? ResponseStatus; EngineErrorsResponse({this.Errors,this.ResponseStatus}); EngineErrorsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Errors = JsonConverters.fromJson(json['Errors'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Errors': JsonConverters.toJson(Errors,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineErrorsResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/errors", "GET,OPTIONS") class EngineErrorsRequest implements IReturn, IConvertible, IGet { EngineErrorsRequest(); EngineErrorsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => EngineErrorsResponse(); getResponseTypeName() => "EngineErrorsResponse"; getTypeName() => "EngineErrorsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WorkflowErrorGroupView': TypeInfo(TypeOf.Class, create:() => WorkflowErrorGroupView()), 'EngineErrorsResponse': TypeInfo(TypeOf.Class, create:() => EngineErrorsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EngineErrorsRequest': TypeInfo(TypeOf.Class, create:() => EngineErrorsRequest()), });