/* Options: Date: 2026-08-11 13:21:48 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: EngineSuggestionsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class WorkflowSuggestionView implements IConvertible { int? SuggestionId; String? SuggestionKey; String? Title; String? Evidence; String? Impact; String? Vertical; WorkflowSuggestionView({this.SuggestionId,this.SuggestionKey,this.Title,this.Evidence,this.Impact,this.Vertical}); WorkflowSuggestionView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SuggestionId = json['SuggestionId']; SuggestionKey = json['SuggestionKey']; Title = json['Title']; Evidence = json['Evidence']; Impact = json['Impact']; Vertical = json['Vertical']; return this; } Map toJson() => { 'SuggestionId': SuggestionId, 'SuggestionKey': SuggestionKey, 'Title': Title, 'Evidence': Evidence, 'Impact': Impact, 'Vertical': Vertical }; getTypeName() => "WorkflowSuggestionView"; TypeContext? context = _ctx; } class EngineSuggestionsResponse implements IConvertible { List? Suggestions = []; ResponseStatus? ResponseStatus; EngineSuggestionsResponse({this.Suggestions,this.ResponseStatus}); EngineSuggestionsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Suggestions = JsonConverters.fromJson(json['Suggestions'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Suggestions': JsonConverters.toJson(Suggestions,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineSuggestionsResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/suggestions", "GET,OPTIONS") class EngineSuggestionsRequest implements IReturn, IConvertible, IGet { EngineSuggestionsRequest(); EngineSuggestionsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => EngineSuggestionsResponse(); getResponseTypeName() => "EngineSuggestionsResponse"; getTypeName() => "EngineSuggestionsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WorkflowSuggestionView': TypeInfo(TypeOf.Class, create:() => WorkflowSuggestionView()), 'EngineSuggestionsResponse': TypeInfo(TypeOf.Class, create:() => EngineSuggestionsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EngineSuggestionsRequest': TypeInfo(TypeOf.Class, create:() => EngineSuggestionsRequest()), });