/* Options: Date: 2026-11-14 01:51:11 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: FormArchiveRequest.* //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/{FormUID}/archive", Verbs="POST") public static class FormArchiveRequest implements IReturn { public UUID FormUID = null; public UUID getFormUID() { return FormUID; } public FormArchiveRequest setFormUID(UUID value) { this.FormUID = value; return this; } private static Object responseType = FormResponse.class; public Object getResponseType() { return responseType; } } public static class FormResponse { public FormDetail Form = null; public ResponseStatus ResponseStatus = null; public FormDetail getForm() { return Form; } public FormResponse setForm(FormDetail value) { this.Form = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FormResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class FormCard { public UUID FormUID = null; public String Name = null; public String Slug = null; public String Noun = null; public String NumberPrefix = null; public String Description = null; public String Tone = null; public String Status = null; public Integer PublishedVersionNo = null; public Date PublishedAt = null; public String PublishedBy = null; public Boolean DraftDirty = null; public Date DraftUpdatedAt = null; public String DraftUpdatedBy = null; public String PackLabel = null; public String SettingsJson = null; public FormStats Stats = null; public ArrayList Offered = new ArrayList(); public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public UUID getFormUID() { return FormUID; } public FormCard setFormUID(UUID value) { this.FormUID = value; return this; } public String getName() { return Name; } public FormCard setName(String value) { this.Name = value; return this; } public String getSlug() { return Slug; } public FormCard setSlug(String value) { this.Slug = value; return this; } public String getNoun() { return Noun; } public FormCard setNoun(String value) { this.Noun = value; return this; } public String getNumberPrefix() { return NumberPrefix; } public FormCard setNumberPrefix(String value) { this.NumberPrefix = value; return this; } public String getDescription() { return Description; } public FormCard setDescription(String value) { this.Description = value; return this; } public String getTone() { return Tone; } public FormCard setTone(String value) { this.Tone = value; return this; } public String getStatus() { return Status; } public FormCard setStatus(String value) { this.Status = value; return this; } public Integer getPublishedVersionNo() { return PublishedVersionNo; } public FormCard setPublishedVersionNo(Integer value) { this.PublishedVersionNo = value; return this; } public Date getPublishedAt() { return PublishedAt; } public FormCard setPublishedAt(Date value) { this.PublishedAt = value; return this; } public String getPublishedBy() { return PublishedBy; } public FormCard setPublishedBy(String value) { this.PublishedBy = value; return this; } public Boolean isDraftDirty() { return DraftDirty; } public FormCard setDraftDirty(Boolean value) { this.DraftDirty = value; return this; } public Date getDraftUpdatedAt() { return DraftUpdatedAt; } public FormCard setDraftUpdatedAt(Date value) { this.DraftUpdatedAt = value; return this; } public String getDraftUpdatedBy() { return DraftUpdatedBy; } public FormCard setDraftUpdatedBy(String value) { this.DraftUpdatedBy = value; return this; } public String getPackLabel() { return PackLabel; } public FormCard setPackLabel(String value) { this.PackLabel = value; return this; } public String getSettingsJson() { return SettingsJson; } public FormCard setSettingsJson(String value) { this.SettingsJson = value; return this; } public FormStats getStats() { return Stats; } public FormCard setStats(FormStats value) { this.Stats = value; return this; } public ArrayList getOffered() { return Offered; } public FormCard setOffered(ArrayList value) { this.Offered = value; return this; } public String getCreatedBy() { return CreatedBy; } public FormCard setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public FormCard setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public FormCard setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } } public static class FormDetail extends FormCard { public String DraftJson = null; public Integer DraftRev = null; public UUID SourceTemplateUID = null; public ArrayList Warnings = new ArrayList(); public ArrayList AlwaysHidden = new ArrayList(); public String getDraftJson() { return DraftJson; } public FormDetail setDraftJson(String value) { this.DraftJson = value; return this; } public Integer getDraftRev() { return DraftRev; } public FormDetail setDraftRev(Integer value) { this.DraftRev = value; return this; } public UUID getSourceTemplateUID() { return SourceTemplateUID; } public FormDetail setSourceTemplateUID(UUID value) { this.SourceTemplateUID = value; return this; } public ArrayList getWarnings() { return Warnings; } public FormDetail setWarnings(ArrayList value) { this.Warnings = value; return this; } public ArrayList getAlwaysHidden() { return AlwaysHidden; } public FormDetail setAlwaysHidden(ArrayList value) { this.AlwaysHidden = value; return this; } } public static class FormStats { public Integer Total = null; public Integer NeedDecision = null; public Integer Waiting = null; public Integer Overdue = null; public Integer getTotal() { return Total; } public FormStats setTotal(Integer value) { this.Total = value; return this; } public Integer getNeedDecision() { return NeedDecision; } public FormStats setNeedDecision(Integer value) { this.NeedDecision = value; return this; } public Integer getWaiting() { return Waiting; } public FormStats setWaiting(Integer value) { this.Waiting = value; return this; } public Integer getOverdue() { return Overdue; } public FormStats setOverdue(Integer value) { this.Overdue = value; return this; } } }