/* Options: Date: 2026-12-06 01:53:21 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: FormZipPreviewRequest.* //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/zip/preview", Verbs="POST") public static class FormZipPreviewRequest implements IReturn { public FormSubmissionSearchRequest Query = null; public ArrayList SubmissionUIDs = new ArrayList(); public FormSubmissionSearchRequest getQuery() { return Query; } public FormZipPreviewRequest setQuery(FormSubmissionSearchRequest value) { this.Query = value; return this; } public ArrayList getSubmissionUIDs() { return SubmissionUIDs; } public FormZipPreviewRequest setSubmissionUIDs(ArrayList value) { this.SubmissionUIDs = value; return this; } private static Object responseType = FormZipPreviewResponse.class; public Object getResponseType() { return responseType; } } @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 FormZipPreviewResponse { public Boolean CanExport = null; public String Message = null; public UUID FormUID = null; public String FormName = null; public Integer Rows = null; public Integer Submissions = null; public Integer Files = null; public Long Bytes = null; public String SizeText = null; public Integer LeftOut = null; public Integer SensitiveLeftOut = null; public Integer KeepDays = null; public Integer MaxFiles = null; public Long MaxBytes = null; public FormZipJobView Existing = null; public ResponseStatus ResponseStatus = null; public Boolean isCanExport() { return CanExport; } public FormZipPreviewResponse setCanExport(Boolean value) { this.CanExport = value; return this; } public String getMessage() { return Message; } public FormZipPreviewResponse setMessage(String value) { this.Message = value; return this; } public UUID getFormUID() { return FormUID; } public FormZipPreviewResponse setFormUID(UUID value) { this.FormUID = value; return this; } public String getFormName() { return FormName; } public FormZipPreviewResponse setFormName(String value) { this.FormName = value; return this; } public Integer getRows() { return Rows; } public FormZipPreviewResponse setRows(Integer value) { this.Rows = value; return this; } public Integer getSubmissions() { return Submissions; } public FormZipPreviewResponse setSubmissions(Integer value) { this.Submissions = value; return this; } public Integer getFiles() { return Files; } public FormZipPreviewResponse setFiles(Integer value) { this.Files = value; return this; } public Long getBytes() { return Bytes; } public FormZipPreviewResponse setBytes(Long value) { this.Bytes = value; return this; } public String getSizeText() { return SizeText; } public FormZipPreviewResponse setSizeText(String value) { this.SizeText = value; return this; } public Integer getLeftOut() { return LeftOut; } public FormZipPreviewResponse setLeftOut(Integer value) { this.LeftOut = value; return this; } public Integer getSensitiveLeftOut() { return SensitiveLeftOut; } public FormZipPreviewResponse setSensitiveLeftOut(Integer value) { this.SensitiveLeftOut = value; return this; } public Integer getKeepDays() { return KeepDays; } public FormZipPreviewResponse setKeepDays(Integer value) { this.KeepDays = value; return this; } public Integer getMaxFiles() { return MaxFiles; } public FormZipPreviewResponse setMaxFiles(Integer value) { this.MaxFiles = value; return this; } public Long getMaxBytes() { return MaxBytes; } public FormZipPreviewResponse setMaxBytes(Long value) { this.MaxBytes = value; return this; } public FormZipJobView getExisting() { return Existing; } public FormZipPreviewResponse setExisting(FormZipJobView value) { this.Existing = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FormZipPreviewResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class FormZipJobView { public UUID ZipUID = null; public UUID FormUID = null; public String FormName = null; public String Status = null; public String StatusText = null; public String Message = null; public String FileName = null; public Integer Submissions = null; public Integer Files = null; public Long Bytes = null; public Integer LeftOut = null; public Integer FilesIn = null; public Long BytesIn = null; public Integer LeftOutIn = null; public Long ZipBytes = null; public String SizeText = null; public Date CreatedAt = null; public String CreatedText = null; public Date CompletedAt = null; public Date ExpiresAt = null; public String ExpiresText = null; public Integer Downloads = null; public String LastDownloadText = null; public UUID getZipUID() { return ZipUID; } public FormZipJobView setZipUID(UUID value) { this.ZipUID = value; return this; } public UUID getFormUID() { return FormUID; } public FormZipJobView setFormUID(UUID value) { this.FormUID = value; return this; } public String getFormName() { return FormName; } public FormZipJobView setFormName(String value) { this.FormName = value; return this; } public String getStatus() { return Status; } public FormZipJobView setStatus(String value) { this.Status = value; return this; } public String getStatusText() { return StatusText; } public FormZipJobView setStatusText(String value) { this.StatusText = value; return this; } public String getMessage() { return Message; } public FormZipJobView setMessage(String value) { this.Message = value; return this; } public String getFileName() { return FileName; } public FormZipJobView setFileName(String value) { this.FileName = value; return this; } public Integer getSubmissions() { return Submissions; } public FormZipJobView setSubmissions(Integer value) { this.Submissions = value; return this; } public Integer getFiles() { return Files; } public FormZipJobView setFiles(Integer value) { this.Files = value; return this; } public Long getBytes() { return Bytes; } public FormZipJobView setBytes(Long value) { this.Bytes = value; return this; } public Integer getLeftOut() { return LeftOut; } public FormZipJobView setLeftOut(Integer value) { this.LeftOut = value; return this; } public Integer getFilesIn() { return FilesIn; } public FormZipJobView setFilesIn(Integer value) { this.FilesIn = value; return this; } public Long getBytesIn() { return BytesIn; } public FormZipJobView setBytesIn(Long value) { this.BytesIn = value; return this; } public Integer getLeftOutIn() { return LeftOutIn; } public FormZipJobView setLeftOutIn(Integer value) { this.LeftOutIn = value; return this; } public Long getZipBytes() { return ZipBytes; } public FormZipJobView setZipBytes(Long value) { this.ZipBytes = value; return this; } public String getSizeText() { return SizeText; } public FormZipJobView setSizeText(String value) { this.SizeText = value; return this; } public Date getCreatedAt() { return CreatedAt; } public FormZipJobView setCreatedAt(Date value) { this.CreatedAt = value; return this; } public String getCreatedText() { return CreatedText; } public FormZipJobView setCreatedText(String value) { this.CreatedText = value; return this; } public Date getCompletedAt() { return CompletedAt; } public FormZipJobView setCompletedAt(Date value) { this.CompletedAt = value; return this; } public Date getExpiresAt() { return ExpiresAt; } public FormZipJobView setExpiresAt(Date value) { this.ExpiresAt = value; return this; } public String getExpiresText() { return ExpiresText; } public FormZipJobView setExpiresText(String value) { this.ExpiresText = value; return this; } public Integer getDownloads() { return Downloads; } public FormZipJobView setDownloads(Integer value) { this.Downloads = value; return this; } public String getLastDownloadText() { return LastDownloadText; } public FormZipJobView setLastDownloadText(String value) { this.LastDownloadText = value; return this; } } }