/* Options: Date: 2026-11-20 04:20:42 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: FormSubmissionSearchRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/forms/submissions/search", Verbs="POST") public static class FormSubmissionSearchRequest implements IReturn { public UUID FormUID = null; public String Mode = null; public ArrayList Forms = new ArrayList(); public ArrayList Stages = new ArrayList(); public ArrayList Assignees = new ArrayList(); public ArrayList Branches = new ArrayList(); public ArrayList Tags = new ArrayList(); public String Search = null; public String SortKey = null; public Integer SortDir = null; public Integer Skip = null; public Integer Take = null; public ArrayList Conds = new ArrayList(); public ArrayList Flags = new ArrayList(); public UUID getFormUID() { return FormUID; } public FormSubmissionSearchRequest setFormUID(UUID value) { this.FormUID = value; return this; } public String getMode() { return Mode; } public FormSubmissionSearchRequest setMode(String value) { this.Mode = value; return this; } public ArrayList getForms() { return Forms; } public FormSubmissionSearchRequest setForms(ArrayList value) { this.Forms = value; return this; } public ArrayList getStages() { return Stages; } public FormSubmissionSearchRequest setStages(ArrayList value) { this.Stages = value; return this; } public ArrayList getAssignees() { return Assignees; } public FormSubmissionSearchRequest setAssignees(ArrayList value) { this.Assignees = value; return this; } public ArrayList getBranches() { return Branches; } public FormSubmissionSearchRequest setBranches(ArrayList value) { this.Branches = value; return this; } public ArrayList getTags() { return Tags; } public FormSubmissionSearchRequest setTags(ArrayList value) { this.Tags = value; return this; } public String getSearch() { return Search; } public FormSubmissionSearchRequest setSearch(String value) { this.Search = value; return this; } public String getSortKey() { return SortKey; } public FormSubmissionSearchRequest setSortKey(String value) { this.SortKey = value; return this; } public Integer getSortDir() { return SortDir; } public FormSubmissionSearchRequest setSortDir(Integer value) { this.SortDir = value; return this; } public Integer getSkip() { return Skip; } public FormSubmissionSearchRequest setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public FormSubmissionSearchRequest setTake(Integer value) { this.Take = value; return this; } public ArrayList getConds() { return Conds; } public FormSubmissionSearchRequest setConds(ArrayList value) { this.Conds = value; return this; } public ArrayList getFlags() { return Flags; } public FormSubmissionSearchRequest setFlags(ArrayList value) { this.Flags = value; return this; } private static Object responseType = FormSubmissionSearchResponse.class; public Object getResponseType() { return responseType; } } public static class FormSubmissionSearchResponse { public ArrayList Rows = new ArrayList(); public Integer Matching = null; public Integer ScopeTotal = null; public ArrayList StageMatching = new ArrayList(); public FormInboxCounts Counts = null; public ArrayList Stages = new ArrayList(); public Boolean Capped = null; public ArrayList FilterFields = new ArrayList(); public ArrayList TagOptions = new ArrayList(); public ResponseStatus ResponseStatus = null; public ArrayList getRows() { return Rows; } public FormSubmissionSearchResponse setRows(ArrayList value) { this.Rows = value; return this; } public Integer getMatching() { return Matching; } public FormSubmissionSearchResponse setMatching(Integer value) { this.Matching = value; return this; } public Integer getScopeTotal() { return ScopeTotal; } public FormSubmissionSearchResponse setScopeTotal(Integer value) { this.ScopeTotal = value; return this; } public ArrayList getStageMatching() { return StageMatching; } public FormSubmissionSearchResponse setStageMatching(ArrayList value) { this.StageMatching = value; return this; } public FormInboxCounts getCounts() { return Counts; } public FormSubmissionSearchResponse setCounts(FormInboxCounts value) { this.Counts = value; return this; } public ArrayList getStages() { return Stages; } public FormSubmissionSearchResponse setStages(ArrayList value) { this.Stages = value; return this; } public Boolean isCapped() { return Capped; } public FormSubmissionSearchResponse setCapped(Boolean value) { this.Capped = value; return this; } public ArrayList getFilterFields() { return FilterFields; } public FormSubmissionSearchResponse setFilterFields(ArrayList value) { this.FilterFields = value; return this; } public ArrayList getTagOptions() { return TagOptions; } public FormSubmissionSearchResponse setTagOptions(ArrayList value) { this.TagOptions = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FormSubmissionSearchResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class FormAnswerCond { public String F = null; public String Op = null; public String V = null; public String getF() { return F; } public FormAnswerCond setF(String value) { this.F = value; return this; } public String getOp() { return Op; } public FormAnswerCond setOp(String value) { this.Op = value; return this; } public String getV() { return V; } public FormAnswerCond setV(String value) { this.V = value; return this; } } public static class FormInboxRow { public UUID SubmissionUID = null; public UUID FormUID = null; public String FormName = null; public Integer VersionNo = null; public String Number = null; public String ApplicantName = null; public String Stage = null; public String StageLabel = null; public String StageTone = null; public Integer AssigneeAgentId = null; public String AssigneeName = null; public String BranchName = null; public Date SubmittedAt = null; public String SubmittedText = null; public ArrayList Tags = new ArrayList(); public Integer DocsOk = null; public Integer DocsNeed = null; public Boolean IsTest = null; public String VersionText = null; public UUID getSubmissionUID() { return SubmissionUID; } public FormInboxRow setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; } public UUID getFormUID() { return FormUID; } public FormInboxRow setFormUID(UUID value) { this.FormUID = value; return this; } public String getFormName() { return FormName; } public FormInboxRow setFormName(String value) { this.FormName = value; return this; } public Integer getVersionNo() { return VersionNo; } public FormInboxRow setVersionNo(Integer value) { this.VersionNo = value; return this; } public String getNumber() { return Number; } public FormInboxRow setNumber(String value) { this.Number = value; return this; } public String getApplicantName() { return ApplicantName; } public FormInboxRow setApplicantName(String value) { this.ApplicantName = value; return this; } public String getStage() { return Stage; } public FormInboxRow setStage(String value) { this.Stage = value; return this; } public String getStageLabel() { return StageLabel; } public FormInboxRow setStageLabel(String value) { this.StageLabel = value; return this; } public String getStageTone() { return StageTone; } public FormInboxRow setStageTone(String value) { this.StageTone = value; return this; } public Integer getAssigneeAgentId() { return AssigneeAgentId; } public FormInboxRow setAssigneeAgentId(Integer value) { this.AssigneeAgentId = value; return this; } public String getAssigneeName() { return AssigneeName; } public FormInboxRow setAssigneeName(String value) { this.AssigneeName = value; return this; } public String getBranchName() { return BranchName; } public FormInboxRow setBranchName(String value) { this.BranchName = value; return this; } public Date getSubmittedAt() { return SubmittedAt; } public FormInboxRow setSubmittedAt(Date value) { this.SubmittedAt = value; return this; } public String getSubmittedText() { return SubmittedText; } public FormInboxRow setSubmittedText(String value) { this.SubmittedText = value; return this; } public ArrayList getTags() { return Tags; } public FormInboxRow setTags(ArrayList value) { this.Tags = value; return this; } public Integer getDocsOk() { return DocsOk; } public FormInboxRow setDocsOk(Integer value) { this.DocsOk = value; return this; } public Integer getDocsNeed() { return DocsNeed; } public FormInboxRow setDocsNeed(Integer value) { this.DocsNeed = value; return this; } public Boolean getIsTest() { return IsTest; } public FormInboxRow setIsTest(Boolean value) { this.IsTest = value; return this; } public String getVersionText() { return VersionText; } public FormInboxRow setVersionText(String value) { this.VersionText = value; return this; } } public static class FormInboxCount { public String V = null; public String L = null; public Integer N = null; public String getV() { return V; } public FormInboxCount setV(String value) { this.V = value; return this; } public String getL() { return L; } public FormInboxCount setL(String value) { this.L = value; return this; } public Integer getN() { return N; } public FormInboxCount setN(Integer value) { this.N = value; return this; } } public static class FormInboxCounts { public ArrayList Stages = new ArrayList(); public ArrayList Assignees = new ArrayList(); public ArrayList Branches = new ArrayList(); public ArrayList Tags = new ArrayList(); public ArrayList Forms = new ArrayList(); public ArrayList Flags = new ArrayList(); public ArrayList getStages() { return Stages; } public FormInboxCounts setStages(ArrayList value) { this.Stages = value; return this; } public ArrayList getAssignees() { return Assignees; } public FormInboxCounts setAssignees(ArrayList value) { this.Assignees = value; return this; } public ArrayList getBranches() { return Branches; } public FormInboxCounts setBranches(ArrayList value) { this.Branches = value; return this; } public ArrayList getTags() { return Tags; } public FormInboxCounts setTags(ArrayList value) { this.Tags = value; return this; } public ArrayList getForms() { return Forms; } public FormInboxCounts setForms(ArrayList value) { this.Forms = value; return this; } public ArrayList getFlags() { return Flags; } public FormInboxCounts setFlags(ArrayList value) { this.Flags = value; return this; } } public static class FormStageInfo { public String Id = null; public String Label = null; public String Tone = null; public String Kind = null; public String getId() { return Id; } public FormStageInfo setId(String value) { this.Id = value; return this; } public String getLabel() { return Label; } public FormStageInfo setLabel(String value) { this.Label = value; return this; } public String getTone() { return Tone; } public FormStageInfo setTone(String value) { this.Tone = value; return this; } public String getKind() { return Kind; } public FormStageInfo setKind(String value) { this.Kind = value; return this; } } public static class FormFilterField { public String K = null; public String L = null; public String T = null; public ArrayList Opts = new ArrayList(); public String getK() { return K; } public FormFilterField setK(String value) { this.K = value; return this; } public String getL() { return L; } public FormFilterField setL(String value) { this.L = value; return this; } public String getT() { return T; } public FormFilterField setT(String value) { this.T = value; return this; } public ArrayList getOpts() { return Opts; } public FormFilterField setOpts(ArrayList value) { this.Opts = value; return this; } } public static class FormFilterOpt { public String Id = null; public String L = null; public String getId() { return Id; } public FormFilterOpt setId(String value) { this.Id = value; return this; } public String getL() { return L; } public FormFilterOpt setL(String value) { this.L = value; return this; } } }