/* Options: Date: 2026-08-11 12:32:45 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: EngineWorkflowPauseRequest.* //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/{WorkflowId}/pause", "POST") // @Route("/v1/engine/workflows/{WorkflowId}/resume", "POST") class EngineWorkflowPauseRequest implements IReturn, IConvertible, IPost { int? WorkflowId; EngineWorkflowPauseRequest({this.WorkflowId}); EngineWorkflowPauseRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { WorkflowId = json['WorkflowId']; return this; } Map toJson() => { 'WorkflowId': WorkflowId }; createResponse() => EngineWorkflowMutationResponse(); getResponseTypeName() => "EngineWorkflowMutationResponse"; getTypeName() => "EngineWorkflowPauseRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EngineWorkflowMutationResponse': TypeInfo(TypeOf.Class, create:() => EngineWorkflowMutationResponse()), 'EngineWorkflowPauseRequest': TypeInfo(TypeOf.Class, create:() => EngineWorkflowPauseRequest()), });