/* Options: Date: 2026-11-08 11:39:11 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FormBuilderModelRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormBuilderModelNameValue implements IConvertible { String? Name; dynamic? Value; FormBuilderModelNameValue({this.Name,this.Value}); FormBuilderModelNameValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Value = JsonConverters.fromJson(json['Value'],'dynamic',context!); return this; } Map toJson() => { 'Name': Name, 'Value': JsonConverters.toJson(Value,'dynamic',context!) }; getTypeName() => "FormBuilderModelNameValue"; TypeContext? context = _ctx; } class FormBuilderModelRs implements IConvertible { String? message; int? modelStateId; FormBuilderModelRs({this.message,this.modelStateId}); FormBuilderModelRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { message = json['message']; modelStateId = json['modelStateId']; return this; } Map toJson() => { 'message': message, 'modelStateId': modelStateId }; getTypeName() => "FormBuilderModelRs"; TypeContext? context = _ctx; } // @Route("/signup/api/formbuilder/model", "POST") class FormBuilderModelRq implements IReturn, IConvertible { int? TemplateId; String? BhUserID; String? UserType; String? ClientDocNo; String? FormType; int? ConfirmationNumber; List? NameValues; String? GroupPlans; int? natId; int? chapId; FormBuilderModelRq({this.TemplateId,this.BhUserID,this.UserType,this.ClientDocNo,this.FormType,this.ConfirmationNumber,this.NameValues,this.GroupPlans,this.natId,this.chapId}); FormBuilderModelRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TemplateId = json['TemplateId']; BhUserID = json['BhUserID']; UserType = json['UserType']; ClientDocNo = json['ClientDocNo']; FormType = json['FormType']; ConfirmationNumber = json['ConfirmationNumber']; NameValues = JsonConverters.fromJson(json['NameValues'],'List',context!); GroupPlans = json['GroupPlans']; natId = json['natId']; chapId = json['chapId']; return this; } Map toJson() => { 'TemplateId': TemplateId, 'BhUserID': BhUserID, 'UserType': UserType, 'ClientDocNo': ClientDocNo, 'FormType': FormType, 'ConfirmationNumber': ConfirmationNumber, 'NameValues': JsonConverters.toJson(NameValues,'List',context!), 'GroupPlans': GroupPlans, 'natId': natId, 'chapId': chapId }; createResponse() => FormBuilderModelRs(); getResponseTypeName() => "FormBuilderModelRs"; getTypeName() => "FormBuilderModelRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'FormBuilderModelNameValue': TypeInfo(TypeOf.Class, create:() => FormBuilderModelNameValue()), 'FormBuilderModelRs': TypeInfo(TypeOf.Class, create:() => FormBuilderModelRs()), 'FormBuilderModelRq': TypeInfo(TypeOf.Class, create:() => FormBuilderModelRq()), 'List': TypeInfo(TypeOf.Class, create:() => []), });