/* Options: Date: 2026-11-08 11:51:45 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: FormBuilderGetChapterRq.* //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 FormBuilderGetChapterRs implements IApiResponse, IConvertible { BhNameValue? nameValue; FormBuilderGetChapterRs({this.nameValue}); FormBuilderGetChapterRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { nameValue = JsonConverters.fromJson(json['nameValue'],'BhNameValue',context!); return this; } Map toJson() => { 'nameValue': JsonConverters.toJson(nameValue,'BhNameValue',context!) }; getTypeName() => "FormBuilderGetChapterRs"; TypeContext? context = _ctx; } // @Route("/signup/api/nat/{natID}/group/{groupId}/formBuilder/getChapter", "GET") class FormBuilderGetChapterRq implements IReturn, IApiRequest, IConvertible { int? NatID; int? GroupID; FormBuilderGetChapterRq({this.NatID,this.GroupID}); FormBuilderGetChapterRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NatID = json['NatID']; GroupID = json['GroupID']; return this; } Map toJson() => { 'NatID': NatID, 'GroupID': GroupID }; createResponse() => FormBuilderGetChapterRs(); getResponseTypeName() => "FormBuilderGetChapterRs"; getTypeName() => "FormBuilderGetChapterRq"; 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), 'FormBuilderGetChapterRs': TypeInfo(TypeOf.Class, create:() => FormBuilderGetChapterRs()), 'FormBuilderGetChapterRq': TypeInfo(TypeOf.Class, create:() => FormBuilderGetChapterRq()), });