/* Options: Date: 2026-11-21 20:59:25 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: FormNoticePreviewRequest.* //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}/notices/preview", Verbs="POST") public static class FormNoticePreviewRequest implements IReturn { public UUID FormUID = null; public String Id = null; public String Lang = null; public String Channel = null; public String Subject = null; public String Body = null; public String Text = null; public String Closing = null; public UUID SubmissionUID = null; public UUID getFormUID() { return FormUID; } public FormNoticePreviewRequest setFormUID(UUID value) { this.FormUID = value; return this; } public String getId() { return Id; } public FormNoticePreviewRequest setId(String value) { this.Id = value; return this; } public String getLang() { return Lang; } public FormNoticePreviewRequest setLang(String value) { this.Lang = value; return this; } public String getChannel() { return Channel; } public FormNoticePreviewRequest setChannel(String value) { this.Channel = value; return this; } public String getSubject() { return Subject; } public FormNoticePreviewRequest setSubject(String value) { this.Subject = value; return this; } public String getBody() { return Body; } public FormNoticePreviewRequest setBody(String value) { this.Body = value; return this; } public String getText() { return Text; } public FormNoticePreviewRequest setText(String value) { this.Text = value; return this; } public String getClosing() { return Closing; } public FormNoticePreviewRequest setClosing(String value) { this.Closing = value; return this; } public UUID getSubmissionUID() { return SubmissionUID; } public FormNoticePreviewRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; } private static Object responseType = FormNoticePreviewResponse.class; public Object getResponseType() { return responseType; } } public static class FormNoticePreviewResponse { public String Subject = null; public String Body = null; public String Meta = null; public String SubmissionUID = null; public Boolean Sample = null; public String SampleNote = null; public Integer TextLength = null; public Integer Segments = null; public Boolean Wide = null; public ArrayList Problems = new ArrayList(); public ArrayList Samples = new ArrayList(); public ResponseStatus ResponseStatus = null; public String getSubject() { return Subject; } public FormNoticePreviewResponse setSubject(String value) { this.Subject = value; return this; } public String getBody() { return Body; } public FormNoticePreviewResponse setBody(String value) { this.Body = value; return this; } public String getMeta() { return Meta; } public FormNoticePreviewResponse setMeta(String value) { this.Meta = value; return this; } public String getSubmissionUID() { return SubmissionUID; } public FormNoticePreviewResponse setSubmissionUID(String value) { this.SubmissionUID = value; return this; } public Boolean isSample() { return Sample; } public FormNoticePreviewResponse setSample(Boolean value) { this.Sample = value; return this; } public String getSampleNote() { return SampleNote; } public FormNoticePreviewResponse setSampleNote(String value) { this.SampleNote = value; return this; } public Integer getTextLength() { return TextLength; } public FormNoticePreviewResponse setTextLength(Integer value) { this.TextLength = value; return this; } public Integer getSegments() { return Segments; } public FormNoticePreviewResponse setSegments(Integer value) { this.Segments = value; return this; } public Boolean isWide() { return Wide; } public FormNoticePreviewResponse setWide(Boolean value) { this.Wide = value; return this; } public ArrayList getProblems() { return Problems; } public FormNoticePreviewResponse setProblems(ArrayList value) { this.Problems = value; return this; } public ArrayList getSamples() { return Samples; } public FormNoticePreviewResponse setSamples(ArrayList value) { this.Samples = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FormNoticePreviewResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = 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; } } }