/* Options: Date: 2026-11-22 21:17:34 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: FormAutomationRemovePreviewRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormAutomationRemovePreviewResponse implements IConvertible { String? Title; String? Text; String? Cancels; String? Refusal; ResponseStatus? ResponseStatus; FormAutomationRemovePreviewResponse({this.Title,this.Text,this.Cancels,this.Refusal,this.ResponseStatus}); FormAutomationRemovePreviewResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Title = json['Title']; Text = json['Text']; Cancels = json['Cancels']; Refusal = json['Refusal']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Title': Title, 'Text': Text, 'Cancels': Cancels, 'Refusal': Refusal, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormAutomationRemovePreviewResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/{FormUID}/automations/{WorkflowId}/remove", "GET") class FormAutomationRemovePreviewRequest implements IReturn, IConvertible, IGet { String? FormUID; int? WorkflowId; FormAutomationRemovePreviewRequest({this.FormUID,this.WorkflowId}); FormAutomationRemovePreviewRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; WorkflowId = json['WorkflowId']; return this; } Map toJson() => { 'FormUID': FormUID, 'WorkflowId': WorkflowId }; createResponse() => FormAutomationRemovePreviewResponse(); getResponseTypeName() => "FormAutomationRemovePreviewResponse"; getTypeName() => "FormAutomationRemovePreviewRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormAutomationRemovePreviewResponse': TypeInfo(TypeOf.Class, create:() => FormAutomationRemovePreviewResponse()), 'FormAutomationRemovePreviewRequest': TypeInfo(TypeOf.Class, create:() => FormAutomationRemovePreviewRequest()), });