/* Options: Date: 2026-11-20 21:10:09 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: FormSubmissionDecidePreviewRequest.* //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/{SubmissionUID}/decide/preview", Verbs="POST") public static class FormSubmissionDecidePreviewRequest implements IReturn { public UUID SubmissionUID = null; public String Outcome = null; public String Reason = null; public String Note = null; public UUID getSubmissionUID() { return SubmissionUID; } public FormSubmissionDecidePreviewRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; } public String getOutcome() { return Outcome; } public FormSubmissionDecidePreviewRequest setOutcome(String value) { this.Outcome = value; return this; } public String getReason() { return Reason; } public FormSubmissionDecidePreviewRequest setReason(String value) { this.Reason = value; return this; } public String getNote() { return Note; } public FormSubmissionDecidePreviewRequest setNote(String value) { this.Note = value; return this; } private static Object responseType = FormSubmissionDecidePreviewResponse.class; public Object getResponseType() { return responseType; } } public static class FormSubmissionDecidePreviewResponse { public FormDecisionPlan Plan = null; public ResponseStatus ResponseStatus = null; public FormDecisionPlan getPlan() { return Plan; } public FormSubmissionDecidePreviewResponse setPlan(FormDecisionPlan value) { this.Plan = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FormSubmissionDecidePreviewResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class FormDecisionPlan { public String Who = null; public String Stage = null; public ArrayList Choices = new ArrayList(); public String Outcome = null; public ArrayList Reasons = new ArrayList(); public String Reason = null; public Boolean NeedSig = null; public String SignerName = null; public String SignerRefusal = null; public ArrayList Effects = new ArrayList(); public String Block = null; public String GoLabel = null; public String GoCls = null; public Boolean CanDecide = null; public String Refusal = null; public String getWho() { return Who; } public FormDecisionPlan setWho(String value) { this.Who = value; return this; } public String getStage() { return Stage; } public FormDecisionPlan setStage(String value) { this.Stage = value; return this; } public ArrayList getChoices() { return Choices; } public FormDecisionPlan setChoices(ArrayList value) { this.Choices = value; return this; } public String getOutcome() { return Outcome; } public FormDecisionPlan setOutcome(String value) { this.Outcome = value; return this; } public ArrayList getReasons() { return Reasons; } public FormDecisionPlan setReasons(ArrayList value) { this.Reasons = value; return this; } public String getReason() { return Reason; } public FormDecisionPlan setReason(String value) { this.Reason = value; return this; } public Boolean isNeedSig() { return NeedSig; } public FormDecisionPlan setNeedSig(Boolean value) { this.NeedSig = value; return this; } public String getSignerName() { return SignerName; } public FormDecisionPlan setSignerName(String value) { this.SignerName = value; return this; } public String getSignerRefusal() { return SignerRefusal; } public FormDecisionPlan setSignerRefusal(String value) { this.SignerRefusal = value; return this; } public ArrayList getEffects() { return Effects; } public FormDecisionPlan setEffects(ArrayList value) { this.Effects = value; return this; } public String getBlock() { return Block; } public FormDecisionPlan setBlock(String value) { this.Block = value; return this; } public String getGoLabel() { return GoLabel; } public FormDecisionPlan setGoLabel(String value) { this.GoLabel = value; return this; } public String getGoCls() { return GoCls; } public FormDecisionPlan setGoCls(String value) { this.GoCls = value; return this; } public Boolean isCanDecide() { return CanDecide; } public FormDecisionPlan setCanDecide(Boolean value) { this.CanDecide = value; return this; } public String getRefusal() { return Refusal; } public FormDecisionPlan setRefusal(String value) { this.Refusal = value; return this; } } public static class FormDecisionChoice { public String Id = null; public String Label = null; public String getId() { return Id; } public FormDecisionChoice setId(String value) { this.Id = value; return this; } public String getLabel() { return Label; } public FormDecisionChoice setLabel(String value) { this.Label = value; return this; } } public static class FormDecisionEffect { public String Kind = null; public String Text = null; public String Tone = null; public String getKind() { return Kind; } public FormDecisionEffect setKind(String value) { this.Kind = value; return this; } public String getText() { return Text; } public FormDecisionEffect setText(String value) { this.Text = value; return this; } public String getTone() { return Tone; } public FormDecisionEffect setTone(String value) { this.Tone = value; return this; } } }