/* Options: Date: 2026-01-27 18:36:48 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetQuestion.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/{Brand}/question/{TemplateGuid}/{QuestionGuid}", Verbs="GET") // @Route(Path="/{Brand}/question/{TemplateGuid}/{QuestionGuid}/page/{PageNumber}", Verbs="GET") // @Route(Path="/{Brand}/question/{TemplateGuid}/{QuestionGuid}/{ParsedRoot*}/folder/revisited/{FolderBrowser*}", Verbs="GET") // @Route(Path="/{Brand}/question/{TemplateGuid}/{QuestionGuid}/{ParsedRoot*}/folder/revisited/{FolderBrowser*}/page/{PageNumber}", Verbs="GET") // @Route(Path="/{Brand}/question/{TemplateGuid}/{QuestionGuid}/{ParsedRoot*}/folder/revisited/{FolderBrowser*}/search/{SearchTerm}", Verbs="GET") // @Route(Path="/{Brand}/question/{TemplateGuid}/{QuestionGuid}/{ParsedRoot*}/folder/revisited/{FolderBrowser*}/search/{SearchTerm}/page/{PageNumber}", Verbs="GET") public static class GetQuestion extends QuestionRequestDto implements IReturn { public String ParsedRoot = null; public String SearchTerm = null; public Integer PageNumber = null; public String getParsedRoot() { return ParsedRoot; } public GetQuestion setParsedRoot(String value) { this.ParsedRoot = value; return this; } public String getSearchTerm() { return SearchTerm; } public GetQuestion setSearchTerm(String value) { this.SearchTerm = value; return this; } public Integer getPageNumber() { return PageNumber; } public GetQuestion setPageNumber(Integer value) { this.PageNumber = value; return this; } private static Object responseType = GetQuestionResponse.class; public Object getResponseType() { return responseType; } } public static class GetQuestionResponse extends ScanResponseBase { public IClientQuestion Question = null; public Boolean RegexMatches = null; public String RegexHint = null; public String SelectedFolder = null; public IUser LoggedInUser = null; public IMetadataParserEx MetadataParser = null; public String ParsedRoot = null; public String FolderBrowser = null; public String Parent = null; public String SearchTerm = null; public Integer PageNumber = null; public IClientQuestion getQuestion() { return Question; } public GetQuestionResponse setQuestion(IClientQuestion value) { this.Question = value; return this; } public Boolean isRegexMatches() { return RegexMatches; } public GetQuestionResponse setRegexMatches(Boolean value) { this.RegexMatches = value; return this; } public String getRegexHint() { return RegexHint; } public GetQuestionResponse setRegexHint(String value) { this.RegexHint = value; return this; } public String getSelectedFolder() { return SelectedFolder; } public GetQuestionResponse setSelectedFolder(String value) { this.SelectedFolder = value; return this; } public IUser getLoggedInUser() { return LoggedInUser; } public GetQuestionResponse setLoggedInUser(IUser value) { this.LoggedInUser = value; return this; } public IMetadataParserEx getMetadataParser() { return MetadataParser; } public GetQuestionResponse setMetadataParser(IMetadataParserEx value) { this.MetadataParser = value; return this; } public String getParsedRoot() { return ParsedRoot; } public GetQuestionResponse setParsedRoot(String value) { this.ParsedRoot = value; return this; } public String getFolderBrowser() { return FolderBrowser; } public GetQuestionResponse setFolderBrowser(String value) { this.FolderBrowser = value; return this; } public String getParent() { return Parent; } public GetQuestionResponse setParent(String value) { this.Parent = value; return this; } public String getSearchTerm() { return SearchTerm; } public GetQuestionResponse setSearchTerm(String value) { this.SearchTerm = value; return this; } public Integer getPageNumber() { return PageNumber; } public GetQuestionResponse setPageNumber(Integer value) { this.PageNumber = value; return this; } } public static enum Brand { Desktop, Hp, Kyocera, NeaScan, Samsung, FujiXerox, Ta, Utax, Epson, ScanFront400, Sharp, Ricoh, FujiFilm; } public static class RequestBase extends DtoBase { } public static class QuestionRequestDto extends RequestBase { public String TemplateGuid = null; public String QuestionGuid = null; public String Parent = null; public String FolderBrowser = null; public String getTemplateGuid() { return TemplateGuid; } public QuestionRequestDto setTemplateGuid(String value) { this.TemplateGuid = value; return this; } public String getQuestionGuid() { return QuestionGuid; } public QuestionRequestDto setQuestionGuid(String value) { this.QuestionGuid = value; return this; } public String getParent() { return Parent; } public QuestionRequestDto setParent(String value) { this.Parent = value; return this; } public String getFolderBrowser() { return FolderBrowser; } public QuestionRequestDto setFolderBrowser(String value) { this.FolderBrowser = value; return this; } } public static class ResponseBase extends DtoBase { public String SelectedUiLanguage = null; public String svSession = null; public String Title = null; public String PageTip = null; public Boolean NewBrowser = null; public Boolean ScanFront400TA = null; public Boolean ScanFront400UTAX = null; public String getSelectedUiLanguage() { return SelectedUiLanguage; } public ResponseBase setSelectedUiLanguage(String value) { this.SelectedUiLanguage = value; return this; } public String getSvSession() { return svSession; } public ResponseBase setSvSession(String value) { this.svSession = value; return this; } public String getTitle() { return Title; } public ResponseBase setTitle(String value) { this.Title = value; return this; } public String getPageTip() { return PageTip; } public ResponseBase setPageTip(String value) { this.PageTip = value; return this; } public Boolean isNewBrowser() { return NewBrowser; } public ResponseBase setNewBrowser(Boolean value) { this.NewBrowser = value; return this; } public Boolean isScanFront400TA() { return ScanFront400TA; } public ResponseBase setScanFront400TA(Boolean value) { this.ScanFront400TA = value; return this; } public Boolean isScanFront400UTAX() { return ScanFront400UTAX; } public ResponseBase setScanFront400UTAX(Boolean value) { this.ScanFront400UTAX = value; return this; } } public static interface IClientQuestion implements ITemplateQuestion { public String QuestionGuid = null; public String ValueDisplayed = null; public String ValueReturned = null; public Boolean Answered = null; public Boolean RegexMatches = null; public String RegexHint = null; } public static interface IUser implements IIdTemplatesItem { public ReadOnlyCollection Groups = null; public String EmailAddress = null; public Boolean HasPassword = null; public String HomeFolder = null; public String Password = null; public Boolean SbcUser = null; } public static interface IMetadataParserEx implements IMetadataParser { } public static interface IClientTemplate { public String Description = null; public byte[] Icon = null; public ITemplateModificationInfo ModificationInfo = null; public String Name = null; public ArrayList Questions = null; public ITemplate Template = null; public String TemplateGuid = null; } public static class ScanResponseBase extends ResponseBase { public IClientTemplate Template = null; public ArrayList GlobalQuestions = null; public Boolean CanEnableScanButton = null; public IClientTemplate getTemplate() { return Template; } public ScanResponseBase setTemplate(IClientTemplate value) { this.Template = value; return this; } public ArrayList getGlobalQuestions() { return GlobalQuestions; } public ScanResponseBase setGlobalQuestions(ArrayList value) { this.GlobalQuestions = value; return this; } public Boolean isCanEnableScanButton() { return CanEnableScanButton; } public ScanResponseBase setCanEnableScanButton(Boolean value) { this.CanEnableScanButton = value; return this; } } public static class DtoBase { public Brand Brand = null; public Brand getBrand() { return Brand; } public DtoBase setBrand(Brand value) { this.Brand = value; return this; } } public static enum TemplateQuestionType { Edit, List, EditList, Browse, Password, Date, Time, Boolean, Integer, Double, BrowseList; } public static interface ITemplatePicklist implements IStatus { public String Guid = null; } public static interface ITemplateQuestion implements IStatus { public String TagName = null; public String Question = null; public String Tooltip = null; public String DefaultValue = null; public Boolean HideDefaultValue = null; public String Regex = null; public String Sample = null; public TemplateQuestionType QuestionType = null; public Integer MinimumSize = null; public Integer MaximumSize = null; public Boolean IsRequired = null; public ITemplatePicklist Picklist = null; } public static interface IStatus implements IInterface { public Boolean Status = null; } public static interface IInterface { } public static interface IUserGroup implements IIdTemplatesItem, IGroup { public ReadOnlyCollection Users = null; } public static interface IIdTemplatesItem implements IStatus { public String Id = null; public String Name = null; public String Description = null; public ReadOnlyCollection Templates = null; } public static interface IMetadataParser { } public static interface ITemplateModificationInfo { public String Guid = null; public Date TemplateModificationDateTime = null; public Date IconModificationDateTime = null; } public static interface ITemplate implements IStatus { public String TemplateVersion = null; public String ScannerVisionVersion = null; public String Guid = null; public String BeginScript = null; public String EndScript = null; public TemplateType TemplateType = null; public IGeneral General = null; public ICapture Capture = null; public IXmlMetadataImport XmlMetadataImport = null; public INotifications Notifications = null; public IValidator Validator = null; } public static interface IGroup implements IInterface { public Boolean UseGroupSettings = null; } public static enum TemplateType { Workflow, FreeForm; } public static interface IGeneral implements IInterface { public String Name = null; public String Description = null; public String Icon = null; public ITemplateSchedule Schedule = null; public IRejection Rejection = null; public IBadDocumentRejection BadDocumentRejection = null; public PdfLoadResolution PdfLoadResolution = null; } public static interface ICapture implements IInterface { public ReadOnlyCollection CaptureSources = null; } public static interface IXmlMetadataImport implements IStatus { public String SampleDocumentName = null; public ReadOnlyCollection TagMappings = null; public ReadOnlyCollection NamespaceMappings = null; } public static interface INotifications implements IStatus { public ReadOnlyCollection Notifications = null; } public static interface IValidator { public IValidationErrors ValidationErrors = null; public Boolean IsValid = null; } public static interface ITemplateSchedule implements IInterface { public TimeSpan Time = null; public TimeSpan EndTime = null; public Boolean NoEndTime = null; public TemplateScheduleType Type = null; } public static interface IRejection { public Integer RejectAfter = null; public String RejectionPath = null; public ICredentials ShareCredentials = null; } public static interface IBadDocumentRejection implements IStatus { public String RejectionPath = null; public ICredentials ShareCredentials = null; } public static enum PdfLoadResolution { Default, Dpi100, Dpi150, Dpi200, Dpi300, Dpi400, Dpi500, Dpi600; } public static interface ICaptureSource implements IStatus { } public static interface IXmlMetadataImportTagMapping implements IInterface { public String XPathExpression = null; public IStringMetadata Metadata = null; } public static interface IXmlMetadataImportNamespaceMapping implements IInterface { public String Prefix = null; public String Name = null; } public static interface INotification implements IStatus { public String Description = null; public String To = null; public String Subject = null; public String Body = null; public String Cc = null; public String Bcc = null; public NotificationType NotificationType = null; } public static interface IValidationErrors { public ReadOnlyCollection Errors = null; } public static enum TemplateScheduleType { Interval, Fixed; } public static interface ICredentials implements IInterface { public String Username = null; public String Password = null; } public static interface IStringMetadata implements IMetadata { public Boolean IsSecure = null; public String SampleValue = null; public String Value = null; } public static enum NotificationType { FailureOnly, SuccessOnly, Always; } public static interface IValidationError { public String Property = null; public String ErrorMessage = null; } public static enum DataType { String, Boolean, Integer, Double, DateTime; } public static interface IMetadata implements IDataTypeInterface { public String TagName = null; public String Description = null; } public static interface IDataTypeInterface implements IInterface { public DataType DataType = null; } }