/* Options: Date: 2026-08-11 13:16:47 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: EngineWorkflowCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EngineWorkflowMutationResponse implements IConvertible { int? WorkflowId; int? VersionNum; bool? Forked; String? Status; int? ChangeRequestId; ResponseStatus? ResponseStatus; EngineWorkflowMutationResponse({this.WorkflowId,this.VersionNum,this.Forked,this.Status,this.ChangeRequestId,this.ResponseStatus}); EngineWorkflowMutationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { WorkflowId = json['WorkflowId']; VersionNum = json['VersionNum']; Forked = json['Forked']; Status = json['Status']; ChangeRequestId = json['ChangeRequestId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'WorkflowId': WorkflowId, 'VersionNum': VersionNum, 'Forked': Forked, 'Status': Status, 'ChangeRequestId': ChangeRequestId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineWorkflowMutationResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/workflows", "POST") class EngineWorkflowCreateRequest implements IReturn, IConvertible, IPost { String? Name; String? Vertical; String? Pack; String? Description; String? GraphJson; String? SourceKey; EngineWorkflowCreateRequest({this.Name,this.Vertical,this.Pack,this.Description,this.GraphJson,this.SourceKey}); EngineWorkflowCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Vertical = json['Vertical']; Pack = json['Pack']; Description = json['Description']; GraphJson = json['GraphJson']; SourceKey = json['SourceKey']; return this; } Map toJson() => { 'Name': Name, 'Vertical': Vertical, 'Pack': Pack, 'Description': Description, 'GraphJson': GraphJson, 'SourceKey': SourceKey }; createResponse() => EngineWorkflowMutationResponse(); getResponseTypeName() => "EngineWorkflowMutationResponse"; getTypeName() => "EngineWorkflowCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EngineWorkflowMutationResponse': TypeInfo(TypeOf.Class, create:() => EngineWorkflowMutationResponse()), 'EngineWorkflowCreateRequest': TypeInfo(TypeOf.Class, create:() => EngineWorkflowCreateRequest()), });