/* Options: Date: 2026-11-08 11:52:43 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: FormBuilderRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BhNameValue implements IConvertible { String? name; String? value; BhNameValue({this.name,this.value}); BhNameValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; value = json['value']; return this; } Map toJson() => { 'name': name, 'value': value }; getTypeName() => "BhNameValue"; TypeContext? context = _ctx; } abstract class IApiRequest { } abstract class IApiResponse { } class BhNotifyPub implements IConvertible { String? notifyType; String? notifyEventType; int? delay; BhNotifyPub({this.notifyType,this.notifyEventType,this.delay}); BhNotifyPub.fromJson(Map json) { fromMap(json); } fromMap(Map json) { notifyType = json['notifyType']; notifyEventType = json['notifyEventType']; delay = json['delay']; return this; } Map toJson() => { 'notifyType': notifyType, 'notifyEventType': notifyEventType, 'delay': delay }; getTypeName() => "BhNotifyPub"; TypeContext? context = _ctx; } class BhNotifySub implements IConvertible { String? notifyType; String? notifyActionType; BhNotifySub({this.notifyType,this.notifyActionType}); BhNotifySub.fromJson(Map json) { fromMap(json); } fromMap(Map json) { notifyType = json['notifyType']; notifyActionType = json['notifyActionType']; return this; } Map toJson() => { 'notifyType': notifyType, 'notifyActionType': notifyActionType }; getTypeName() => "BhNotifySub"; TypeContext? context = _ctx; } class BhValidation implements IConvertible { String? validationName; double? validationLength; String? validationPattern; BhValidation({this.validationName,this.validationLength,this.validationPattern}); BhValidation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { validationName = json['validationName']; validationLength = JsonConverters.toDouble(json['validationLength']); validationPattern = json['validationPattern']; return this; } Map toJson() => { 'validationName': validationName, 'validationLength': validationLength, 'validationPattern': validationPattern }; getTypeName() => "BhValidation"; TypeContext? context = _ctx; } class BhCustomValidation implements IConvertible { String? customFunctionName; List? customParams; BhCustomValidation({this.customFunctionName,this.customParams}); BhCustomValidation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { customFunctionName = json['customFunctionName']; customParams = JsonConverters.fromJson(json['customParams'],'List',context!); return this; } Map toJson() => { 'customFunctionName': customFunctionName, 'customParams': JsonConverters.toJson(customParams,'List',context!) }; getTypeName() => "BhCustomValidation"; TypeContext? context = _ctx; } class BhControlDto implements IConvertible { bool? disabled; String? label; String? label2; String? name; List? options; List? conditionalValues; String? selectGetUri; List? validation; List? notifyPubs; List? notifySubs; BhCustomValidation? customValidation; String? placeholder; String? type; dynamic? value; Map? validationMessages; String? validationPosition; bool? hideInitialValidation; String? widthClass; String? html; String? img; String? imgWidth; String? category; String? getUri; String? controlStyle; bool? hasSensitiveData; bool? debug; String? icon; String? mask; int? postService; String? printType; List? radioNames; List? children; BhControlDto({this.disabled,this.label,this.label2,this.name,this.options,this.conditionalValues,this.selectGetUri,this.validation,this.notifyPubs,this.notifySubs,this.customValidation,this.placeholder,this.type,this.value,this.validationMessages,this.validationPosition,this.hideInitialValidation,this.widthClass,this.html,this.img,this.imgWidth,this.category,this.getUri,this.controlStyle,this.hasSensitiveData,this.debug,this.icon,this.mask,this.postService,this.printType,this.radioNames,this.children}); BhControlDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { disabled = json['disabled']; label = json['label']; label2 = json['label2']; name = json['name']; options = JsonConverters.fromJson(json['options'],'List',context!); conditionalValues = JsonConverters.fromJson(json['conditionalValues'],'List',context!); selectGetUri = json['selectGetUri']; validation = JsonConverters.fromJson(json['validation'],'List',context!); notifyPubs = JsonConverters.fromJson(json['notifyPubs'],'List',context!); notifySubs = JsonConverters.fromJson(json['notifySubs'],'List',context!); customValidation = JsonConverters.fromJson(json['customValidation'],'BhCustomValidation',context!); placeholder = json['placeholder']; type = json['type']; value = JsonConverters.fromJson(json['value'],'dynamic',context!); validationMessages = JsonConverters.toStringMap(json['validationMessages']); validationPosition = json['validationPosition']; hideInitialValidation = json['hideInitialValidation']; widthClass = json['widthClass']; html = json['html']; img = json['img']; imgWidth = json['imgWidth']; category = json['category']; getUri = json['getUri']; controlStyle = json['controlStyle']; hasSensitiveData = json['hasSensitiveData']; debug = json['debug']; icon = json['icon']; mask = json['mask']; postService = json['postService']; printType = json['printType']; radioNames = JsonConverters.fromJson(json['radioNames'],'List',context!); children = JsonConverters.fromJson(json['children'],'List',context!); return this; } Map toJson() => { 'disabled': disabled, 'label': label, 'label2': label2, 'name': name, 'options': JsonConverters.toJson(options,'List',context!), 'conditionalValues': JsonConverters.toJson(conditionalValues,'List',context!), 'selectGetUri': selectGetUri, 'validation': JsonConverters.toJson(validation,'List',context!), 'notifyPubs': JsonConverters.toJson(notifyPubs,'List',context!), 'notifySubs': JsonConverters.toJson(notifySubs,'List',context!), 'customValidation': JsonConverters.toJson(customValidation,'BhCustomValidation',context!), 'placeholder': placeholder, 'type': type, 'value': JsonConverters.toJson(value,'dynamic',context!), 'validationMessages': validationMessages, 'validationPosition': validationPosition, 'hideInitialValidation': hideInitialValidation, 'widthClass': widthClass, 'html': html, 'img': img, 'imgWidth': imgWidth, 'category': category, 'getUri': getUri, 'controlStyle': controlStyle, 'hasSensitiveData': hasSensitiveData, 'debug': debug, 'icon': icon, 'mask': mask, 'postService': postService, 'printType': printType, 'radioNames': JsonConverters.toJson(radioNames,'List',context!), 'children': JsonConverters.toJson(children,'List',context!) }; getTypeName() => "BhControlDto"; TypeContext? context = _ctx; } class BhGroupDto implements IConvertible { String? name; String? type; String? groupStyle; bool? debug; List? notifyPubs; List? notifySubs; List? controlDetails; BhGroupDto? childGroup; BhGroupDto({this.name,this.type,this.groupStyle,this.debug,this.notifyPubs,this.notifySubs,this.controlDetails,this.childGroup}); BhGroupDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; type = json['type']; groupStyle = json['groupStyle']; debug = json['debug']; notifyPubs = JsonConverters.fromJson(json['notifyPubs'],'List',context!); notifySubs = JsonConverters.fromJson(json['notifySubs'],'List',context!); controlDetails = JsonConverters.fromJson(json['controlDetails'],'List',context!); childGroup = JsonConverters.fromJson(json['childGroup'],'BhGroupDto',context!); return this; } Map toJson() => { 'name': name, 'type': type, 'groupStyle': groupStyle, 'debug': debug, 'notifyPubs': JsonConverters.toJson(notifyPubs,'List',context!), 'notifySubs': JsonConverters.toJson(notifySubs,'List',context!), 'controlDetails': JsonConverters.toJson(controlDetails,'List',context!), 'childGroup': JsonConverters.toJson(childGroup,'BhGroupDto',context!) }; getTypeName() => "BhGroupDto"; TypeContext? context = _ctx; } class BhFormDto implements IConvertible { int? templateId; List? groups; BhFormDto({this.templateId,this.groups}); BhFormDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { templateId = json['templateId']; groups = JsonConverters.fromJson(json['groups'],'List',context!); return this; } Map toJson() => { 'templateId': templateId, 'groups': JsonConverters.toJson(groups,'List',context!) }; getTypeName() => "BhFormDto"; TypeContext? context = _ctx; } class BhServiceDetailInfoDto implements IConvertible { int? serviceId; String? name; String? mappedName; bool? required; BhServiceDetailInfoDto({this.serviceId,this.name,this.mappedName,this.required}); BhServiceDetailInfoDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { serviceId = json['serviceId']; name = json['name']; mappedName = json['mappedName']; required = json['required']; return this; } Map toJson() => { 'serviceId': serviceId, 'name': name, 'mappedName': mappedName, 'required': required }; getTypeName() => "BhServiceDetailInfoDto"; TypeContext? context = _ctx; } class BhServiceInfoDto implements IConvertible { int? serviceId; String? serviceName; String? uri; String? serviceType; bool? initFormState; List? serviceDetails; BhServiceInfoDto({this.serviceId,this.serviceName,this.uri,this.serviceType,this.initFormState,this.serviceDetails}); BhServiceInfoDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { serviceId = json['serviceId']; serviceName = json['serviceName']; uri = json['uri']; serviceType = json['serviceType']; initFormState = json['initFormState']; serviceDetails = JsonConverters.fromJson(json['serviceDetails'],'List',context!); return this; } Map toJson() => { 'serviceId': serviceId, 'serviceName': serviceName, 'uri': uri, 'serviceType': serviceType, 'initFormState': initFormState, 'serviceDetails': JsonConverters.toJson(serviceDetails,'List',context!) }; getTypeName() => "BhServiceInfoDto"; TypeContext? context = _ctx; } class FormBuilderRs implements IApiResponse, IConvertible { BhFormDto? form; List? services; FormBuilderRs({this.form,this.services}); FormBuilderRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { form = JsonConverters.fromJson(json['form'],'BhFormDto',context!); services = JsonConverters.fromJson(json['services'],'List',context!); return this; } Map toJson() => { 'form': JsonConverters.toJson(form,'BhFormDto',context!), 'services': JsonConverters.toJson(services,'List',context!) }; getTypeName() => "FormBuilderRs"; TypeContext? context = _ctx; } // @Route("/signup/api/nat/{natID}/group/{groupId}/formBuilder/type/{FormBuilderTypeID}/info", "GET") // @Route("/signup/api/nat/{natID}/group/{groupId}/{usertype}/user/{userid}/formBuilder/type/{FormBuilderTypeID}/info", "GET") class FormBuilderRq implements IReturn, IApiRequest, IConvertible { int? NatID; int? GroupId; int? FormBuilderTypeID; String? UserType; String? UserId; FormBuilderRq({this.NatID,this.GroupId,this.FormBuilderTypeID,this.UserType,this.UserId}); FormBuilderRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NatID = json['NatID']; GroupId = json['GroupId']; FormBuilderTypeID = json['FormBuilderTypeID']; UserType = json['UserType']; UserId = json['UserId']; return this; } Map toJson() => { 'NatID': NatID, 'GroupId': GroupId, 'FormBuilderTypeID': FormBuilderTypeID, 'UserType': UserType, 'UserId': UserId }; createResponse() => FormBuilderRs(); getResponseTypeName() => "FormBuilderRs"; getTypeName() => "FormBuilderRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'BhNameValue': TypeInfo(TypeOf.Class, create:() => BhNameValue()), 'IApiRequest': TypeInfo(TypeOf.Interface), 'IApiResponse': TypeInfo(TypeOf.Interface), 'BhNotifyPub': TypeInfo(TypeOf.Class, create:() => BhNotifyPub()), 'BhNotifySub': TypeInfo(TypeOf.Class, create:() => BhNotifySub()), 'BhValidation': TypeInfo(TypeOf.Class, create:() => BhValidation()), 'BhCustomValidation': TypeInfo(TypeOf.Class, create:() => BhCustomValidation()), 'BhControlDto': TypeInfo(TypeOf.Class, create:() => BhControlDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BhGroupDto': TypeInfo(TypeOf.Class, create:() => BhGroupDto()), 'BhFormDto': TypeInfo(TypeOf.Class, create:() => BhFormDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BhServiceDetailInfoDto': TypeInfo(TypeOf.Class, create:() => BhServiceDetailInfoDto()), 'BhServiceInfoDto': TypeInfo(TypeOf.Class, create:() => BhServiceInfoDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormBuilderRs': TypeInfo(TypeOf.Class, create:() => FormBuilderRs()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormBuilderRq': TypeInfo(TypeOf.Class, create:() => FormBuilderRq()), });