/* Options: Date: 2026-08-11 12:33:08 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: EngineSuggestionActionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EngineActionResponse implements IConvertible { int? Affected; int? CreatedWorkflowId; ResponseStatus? ResponseStatus; EngineActionResponse({this.Affected,this.CreatedWorkflowId,this.ResponseStatus}); EngineActionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Affected = json['Affected']; CreatedWorkflowId = json['CreatedWorkflowId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Affected': Affected, 'CreatedWorkflowId': CreatedWorkflowId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineActionResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/suggestions/{SuggestionId}/{Action}", "POST") class EngineSuggestionActionRequest implements IReturn, IConvertible, IPost { int? SuggestionId; String? Action; EngineSuggestionActionRequest({this.SuggestionId,this.Action}); EngineSuggestionActionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SuggestionId = json['SuggestionId']; Action = json['Action']; return this; } Map toJson() => { 'SuggestionId': SuggestionId, 'Action': Action }; createResponse() => EngineActionResponse(); getResponseTypeName() => "EngineActionResponse"; getTypeName() => "EngineSuggestionActionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EngineActionResponse': TypeInfo(TypeOf.Class, create:() => EngineActionResponse()), 'EngineSuggestionActionRequest': TypeInfo(TypeOf.Class, create:() => EngineSuggestionActionRequest()), });