/* Options: Date: 2026-11-23 14:27:17 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: FormAutomationSandboxRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormSandboxLine implements IConvertible { String? Tone; String? Mark; String? Text; FormSandboxLine({this.Tone,this.Mark,this.Text}); FormSandboxLine.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Tone = json['Tone']; Mark = json['Mark']; Text = json['Text']; return this; } Map toJson() => { 'Tone': Tone, 'Mark': Mark, 'Text': Text }; getTypeName() => "FormSandboxLine"; TypeContext? context = _ctx; } class FormAutomationSandboxResponse implements IConvertible { int? WorkflowId; String? Rule; List? Log = []; ResponseStatus? ResponseStatus; FormAutomationSandboxResponse({this.WorkflowId,this.Rule,this.Log,this.ResponseStatus}); FormAutomationSandboxResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { WorkflowId = json['WorkflowId']; Rule = json['Rule']; Log = JsonConverters.fromJson(json['Log'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'WorkflowId': WorkflowId, 'Rule': Rule, 'Log': JsonConverters.toJson(Log,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormAutomationSandboxResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/{FormUID}/automations/{WorkflowId}/sandbox", "POST") class FormAutomationSandboxRequest implements IReturn, IConvertible, IPost { String? FormUID; int? WorkflowId; String? SubmissionUID; FormAutomationSandboxRequest({this.FormUID,this.WorkflowId,this.SubmissionUID}); FormAutomationSandboxRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; WorkflowId = json['WorkflowId']; SubmissionUID = json['SubmissionUID']; return this; } Map toJson() => { 'FormUID': FormUID, 'WorkflowId': WorkflowId, 'SubmissionUID': SubmissionUID }; createResponse() => FormAutomationSandboxResponse(); getResponseTypeName() => "FormAutomationSandboxResponse"; getTypeName() => "FormAutomationSandboxRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormSandboxLine': TypeInfo(TypeOf.Class, create:() => FormSandboxLine()), 'FormAutomationSandboxResponse': TypeInfo(TypeOf.Class, create:() => FormAutomationSandboxResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormAutomationSandboxRequest': TypeInfo(TypeOf.Class, create:() => FormAutomationSandboxRequest()), });