/* Options: Date: 2026-08-17 09:14:35 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetExtraInfoForm.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ExtraInfoFieldInfo implements IConvertible { int? id; String? fieldKey; String? fieldType; String? labelIs; String? labelEn; String? placeholderIs; String? placeholderEn; bool? isRequired; int? maxLength; String? optionsJson; String? scope; int? sortOrder; bool? isSystem; bool? isActive; bool? hasAnswers; ExtraInfoFieldInfo({this.id,this.fieldKey,this.fieldType,this.labelIs,this.labelEn,this.placeholderIs,this.placeholderEn,this.isRequired,this.maxLength,this.optionsJson,this.scope,this.sortOrder,this.isSystem,this.isActive,this.hasAnswers}); ExtraInfoFieldInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; fieldKey = json['fieldKey']; fieldType = json['fieldType']; labelIs = json['labelIs']; labelEn = json['labelEn']; placeholderIs = json['placeholderIs']; placeholderEn = json['placeholderEn']; isRequired = json['isRequired']; maxLength = json['maxLength']; optionsJson = json['optionsJson']; scope = json['scope']; sortOrder = json['sortOrder']; isSystem = json['isSystem']; isActive = json['isActive']; hasAnswers = json['hasAnswers']; return this; } Map toJson() => { 'id': id, 'fieldKey': fieldKey, 'fieldType': fieldType, 'labelIs': labelIs, 'labelEn': labelEn, 'placeholderIs': placeholderIs, 'placeholderEn': placeholderEn, 'isRequired': isRequired, 'maxLength': maxLength, 'optionsJson': optionsJson, 'scope': scope, 'sortOrder': sortOrder, 'isSystem': isSystem, 'isActive': isActive, 'hasAnswers': hasAnswers }; getTypeName() => "ExtraInfoFieldInfo"; TypeContext? context = _ctx; } class ExtraInfoFormResult implements IConvertible { int? eventId; bool? showAlert; String? alertTitleIs; String? alertTitleEn; String? alertBodyIs; String? alertBodyEn; String? alertButtonIs; String? alertButtonEn; bool? isDefault; List? fields; ExtraInfoFormResult({this.eventId,this.showAlert,this.alertTitleIs,this.alertTitleEn,this.alertBodyIs,this.alertBodyEn,this.alertButtonIs,this.alertButtonEn,this.isDefault,this.fields}); ExtraInfoFormResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; showAlert = json['showAlert']; alertTitleIs = json['alertTitleIs']; alertTitleEn = json['alertTitleEn']; alertBodyIs = json['alertBodyIs']; alertBodyEn = json['alertBodyEn']; alertButtonIs = json['alertButtonIs']; alertButtonEn = json['alertButtonEn']; isDefault = json['isDefault']; fields = JsonConverters.fromJson(json['fields'],'List',context!); return this; } Map toJson() => { 'eventId': eventId, 'showAlert': showAlert, 'alertTitleIs': alertTitleIs, 'alertTitleEn': alertTitleEn, 'alertBodyIs': alertBodyIs, 'alertBodyEn': alertBodyEn, 'alertButtonIs': alertButtonIs, 'alertButtonEn': alertButtonEn, 'isDefault': isDefault, 'fields': JsonConverters.toJson(fields,'List',context!) }; getTypeName() => "ExtraInfoFormResult"; TypeContext? context = _ctx; } // @Route("/extraInfo/form/{EventId}", "GET") class GetExtraInfoForm implements IReturn, IConvertible { int? eventId; GetExtraInfoForm({this.eventId}); GetExtraInfoForm.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; return this; } Map toJson() => { 'eventId': eventId }; createResponse() => ExtraInfoFormResult(); getResponseTypeName() => "ExtraInfoFormResult"; getTypeName() => "GetExtraInfoForm"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'ExtraInfoFieldInfo': TypeInfo(TypeOf.Class, create:() => ExtraInfoFieldInfo()), 'ExtraInfoFormResult': TypeInfo(TypeOf.Class, create:() => ExtraInfoFormResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetExtraInfoForm': TypeInfo(TypeOf.Class, create:() => GetExtraInfoForm()), });