/* Options: Date: 2026-11-19 06:19:53 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: FormTestSubmissionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormFillFieldError implements IConvertible { String? K; String? Msg; FormFillFieldError({this.K,this.Msg}); FormFillFieldError.fromJson(Map json) { fromMap(json); } fromMap(Map json) { K = json['K']; Msg = json['Msg']; return this; } Map toJson() => { 'K': K, 'Msg': Msg }; getTypeName() => "FormFillFieldError"; TypeContext? context = _ctx; } class FormTestSubmissionResponse implements IConvertible { String? Number; String? SubmissionUID; List? Errors = []; ResponseStatus? ResponseStatus; FormTestSubmissionResponse({this.Number,this.SubmissionUID,this.Errors,this.ResponseStatus}); FormTestSubmissionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Number = json['Number']; SubmissionUID = json['SubmissionUID']; Errors = JsonConverters.fromJson(json['Errors'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Number': Number, 'SubmissionUID': SubmissionUID, 'Errors': JsonConverters.toJson(Errors,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormTestSubmissionResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/{FormUID}/test-submissions", "POST") class FormTestSubmissionRequest implements IReturn, IConvertible, IPost { String? FormUID; int? DraftRev; String? AnswersJson; String? Lang; FormTestSubmissionRequest({this.FormUID,this.DraftRev,this.AnswersJson,this.Lang}); FormTestSubmissionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; DraftRev = json['DraftRev']; AnswersJson = json['AnswersJson']; Lang = json['Lang']; return this; } Map toJson() => { 'FormUID': FormUID, 'DraftRev': DraftRev, 'AnswersJson': AnswersJson, 'Lang': Lang }; createResponse() => FormTestSubmissionResponse(); getResponseTypeName() => "FormTestSubmissionResponse"; getTypeName() => "FormTestSubmissionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormFillFieldError': TypeInfo(TypeOf.Class, create:() => FormFillFieldError()), 'FormTestSubmissionResponse': TypeInfo(TypeOf.Class, create:() => FormTestSubmissionResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormTestSubmissionRequest': TypeInfo(TypeOf.Class, create:() => FormTestSubmissionRequest()), });