/* Options: Date: 2026-11-22 21:09:01 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: FormAutomationsRequest.* //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}/automations", Verbs="GET") public static class FormAutomationsRequest implements IReturn { public UUID FormUID = null; public UUID getFormUID() { return FormUID; } public FormAutomationsRequest setFormUID(UUID value) { this.FormUID = value; return this; } private static Object responseType = FormAutomationsResponse.class; public Object getResponseType() { return responseType; } } public static class FormAutomationsResponse { public ArrayList Rules = new ArrayList(); public ArrayList Starters = new ArrayList(); public ArrayList Mapping = new ArrayList(); public String MapSummary = null; public Boolean CanAdd = null; public String AddRefusal = null; public Boolean CanToggle = null; public Boolean CanRemove = null; public Boolean CanOpenEngine = null; public ArrayList ReservedKeys = new ArrayList(); public ArrayList TestableFields = new ArrayList(); public ResponseStatus ResponseStatus = null; public ArrayList getRules() { return Rules; } public FormAutomationsResponse setRules(ArrayList value) { this.Rules = value; return this; } public ArrayList getStarters() { return Starters; } public FormAutomationsResponse setStarters(ArrayList value) { this.Starters = value; return this; } public ArrayList getMapping() { return Mapping; } public FormAutomationsResponse setMapping(ArrayList value) { this.Mapping = value; return this; } public String getMapSummary() { return MapSummary; } public FormAutomationsResponse setMapSummary(String value) { this.MapSummary = value; return this; } public Boolean isCanAdd() { return CanAdd; } public FormAutomationsResponse setCanAdd(Boolean value) { this.CanAdd = value; return this; } public String getAddRefusal() { return AddRefusal; } public FormAutomationsResponse setAddRefusal(String value) { this.AddRefusal = value; return this; } public Boolean isCanToggle() { return CanToggle; } public FormAutomationsResponse setCanToggle(Boolean value) { this.CanToggle = value; return this; } public Boolean isCanRemove() { return CanRemove; } public FormAutomationsResponse setCanRemove(Boolean value) { this.CanRemove = value; return this; } public Boolean isCanOpenEngine() { return CanOpenEngine; } public FormAutomationsResponse setCanOpenEngine(Boolean value) { this.CanOpenEngine = value; return this; } public ArrayList getReservedKeys() { return ReservedKeys; } public FormAutomationsResponse setReservedKeys(ArrayList value) { this.ReservedKeys = value; return this; } public ArrayList getTestableFields() { return TestableFields; } public FormAutomationsResponse setTestableFields(ArrayList value) { this.TestableFields = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FormAutomationsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class FormAutomationRule { public Integer WorkflowId = null; public String Name = null; public String Sentence = null; public String State = null; public String StateText = null; public String Numbers = null; public String Warn = null; public Boolean AnyApplication = null; public Boolean AlsoOthers = null; public String SharedText = null; public Boolean FromStarter = null; public String EngineLink = null; public Integer getWorkflowId() { return WorkflowId; } public FormAutomationRule setWorkflowId(Integer value) { this.WorkflowId = value; return this; } public String getName() { return Name; } public FormAutomationRule setName(String value) { this.Name = value; return this; } public String getSentence() { return Sentence; } public FormAutomationRule setSentence(String value) { this.Sentence = value; return this; } public String getState() { return State; } public FormAutomationRule setState(String value) { this.State = value; return this; } public String getStateText() { return StateText; } public FormAutomationRule setStateText(String value) { this.StateText = value; return this; } public String getNumbers() { return Numbers; } public FormAutomationRule setNumbers(String value) { this.Numbers = value; return this; } public String getWarn() { return Warn; } public FormAutomationRule setWarn(String value) { this.Warn = value; return this; } public Boolean isAnyApplication() { return AnyApplication; } public FormAutomationRule setAnyApplication(Boolean value) { this.AnyApplication = value; return this; } public Boolean isAlsoOthers() { return AlsoOthers; } public FormAutomationRule setAlsoOthers(Boolean value) { this.AlsoOthers = value; return this; } public String getSharedText() { return SharedText; } public FormAutomationRule setSharedText(String value) { this.SharedText = value; return this; } public Boolean isFromStarter() { return FromStarter; } public FormAutomationRule setFromStarter(Boolean value) { this.FromStarter = value; return this; } public String getEngineLink() { return EngineLink; } public FormAutomationRule setEngineLink(String value) { this.EngineLink = value; return this; } } public static class FormAutomationStarter { public String Key = null; public String Name = null; public String Text = null; public Boolean Added = null; public String getKey() { return Key; } public FormAutomationStarter setKey(String value) { this.Key = value; return this; } public String getName() { return Name; } public FormAutomationStarter setName(String value) { this.Name = value; return this; } public String getText() { return Text; } public FormAutomationStarter setText(String value) { this.Text = value; return this; } public Boolean isAdded() { return Added; } public FormAutomationStarter setAdded(Boolean value) { this.Added = value; return this; } } public static class FormMappingRow { public String Field = null; public String FieldKey = null; public String Target = null; public String Tone = null; public String Note = null; public String getField() { return Field; } public FormMappingRow setField(String value) { this.Field = value; return this; } public String getFieldKey() { return FieldKey; } public FormMappingRow setFieldKey(String value) { this.FieldKey = value; return this; } public String getTarget() { return Target; } public FormMappingRow setTarget(String value) { this.Target = value; return this; } public String getTone() { return Tone; } public FormMappingRow setTone(String value) { this.Tone = value; return this; } public String getNote() { return Note; } public FormMappingRow setNote(String value) { this.Note = value; return this; } } }