/* Options: Date: 2026-08-01 16:55:10 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dmsshow.kyocerasolutions.cz //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrotherTemplateQuestionResponse.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; enum Brand { Desktop, Hp, Kyocera, NeaScan, Samsung, FujiXerox, Ta, Utax, Epson, ScanFront400, Sharp, Ricoh, FujiFilm, Brother, } class DtoBase implements IConvertible { Brand? Brand; DtoBase({this.Brand}); DtoBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Brand = JsonConverters.fromJson(json['Brand'],'Brand',context!); return this; } Map toJson() => { 'Brand': JsonConverters.toJson(Brand,'Brand',context!) }; getTypeName() => "DtoBase"; TypeContext? context = _ctx; } class RequestBase extends DtoBase implements IConvertible { RequestBase(); RequestBase.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "RequestBase"; TypeContext? context = _ctx; } class QuestionRequestDto extends RequestBase implements IConvertible { String? TemplateGuid; String? QuestionGuid; String? Parent; String? FolderBrowser; QuestionRequestDto({this.TemplateGuid,this.QuestionGuid,this.Parent,this.FolderBrowser}); QuestionRequestDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TemplateGuid = json['TemplateGuid']; QuestionGuid = json['QuestionGuid']; Parent = json['Parent']; FolderBrowser = json['FolderBrowser']; return this; } Map toJson() => super.toJson()..addAll({ 'TemplateGuid': TemplateGuid, 'QuestionGuid': QuestionGuid, 'Parent': Parent, 'FolderBrowser': FolderBrowser }); getTypeName() => "QuestionRequestDto"; TypeContext? context = _ctx; } abstract class IClientQuestion extends ITemplateQuestion { String? QuestionGuid; String? ValueDisplayed; String? ValueReturned; bool? Answered; bool? RegexMatches; String? RegexHint; } enum TemplateQuestionType { Edit, List, EditList, Browse, Password, Date, Time, Boolean, Integer, Double, BrowseList, } abstract class ITemplatePicklist extends IStatus { String? Guid; } abstract class ITemplateQuestion extends IStatus { String? TagName; String? Question; String? Tooltip; String? DefaultValue; bool? HideDefaultValue; String? Regex; String? Sample; TemplateQuestionType? QuestionType; int? MinimumSize; int? MaximumSize; bool? IsRequired; ITemplatePicklist? Picklist; } abstract class IStatus extends IInterface { bool? Status; } abstract class IInterface { } // @Route("/{Brand}/templates/{TemplateGuid}/submit") class BrotherTemplateQuestionResponse extends QuestionRequestDto implements IConvertible, IPost { IClientQuestion? Question; BrotherTemplateQuestionResponse({this.Question}); BrotherTemplateQuestionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Question = JsonConverters.fromJson(json['Question'],'IClientQuestion',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Question': JsonConverters.toJson(Question,'IClientQuestion',context!) }); getTypeName() => "BrotherTemplateQuestionResponse"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dmsshow.kyocerasolutions.cz', types: { 'Brand': TypeInfo(TypeOf.Enum, enumValues:Brand.values), 'DtoBase': TypeInfo(TypeOf.Class, create:() => DtoBase()), 'RequestBase': TypeInfo(TypeOf.Class, create:() => RequestBase()), 'QuestionRequestDto': TypeInfo(TypeOf.Class, create:() => QuestionRequestDto()), 'IClientQuestion': TypeInfo(TypeOf.Interface), 'TemplateQuestionType': TypeInfo(TypeOf.Enum, enumValues:TemplateQuestionType.values), 'ITemplatePicklist': TypeInfo(TypeOf.Interface), 'ITemplateQuestion': TypeInfo(TypeOf.Interface), 'IStatus': TypeInfo(TypeOf.Interface), 'IInterface': TypeInfo(TypeOf.Interface), 'BrotherTemplateQuestionResponse': TypeInfo(TypeOf.Class, create:() => BrotherTemplateQuestionResponse()), });