/* Options: Date: 2025-10-28 02:16:37 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ActionsAdd.* //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="/actions", Verbs="POST") @DataContract public static class ActionsAdd implements IReturn { @DataMember(Order=2) @Validate(Validator="NotNull") public Integer TenantsId = null; @DataMember(Order=3) @Validate(Validator="NotNull") public String Name = null; @DataMember(Order=4) public String ActionRoute = null; @DataMember(Order=5) @Validate(Validator="NotNull") public Boolean PaymentAction = null; @DataMember(Order=6) @Validate(Validator="NotNull") public Boolean CustomAction = null; public Integer getTenantsId() { return TenantsId; } public ActionsAdd setTenantsId(Integer value) { this.TenantsId = value; return this; } public String getName() { return Name; } public ActionsAdd setName(String value) { this.Name = value; return this; } public String getActionRoute() { return ActionRoute; } public ActionsAdd setActionRoute(String value) { this.ActionRoute = value; return this; } public Boolean isPaymentAction() { return PaymentAction; } public ActionsAdd setPaymentAction(Boolean value) { this.PaymentAction = value; return this; } public Boolean isCustomAction() { return CustomAction; } public ActionsAdd setCustomAction(Boolean value) { this.CustomAction = value; return this; } private static Object responseType = ActionsAddResponse.class; public Object getResponseType() { return responseType; } } public static class ActionsAddResponse { @DataMember(Order=2) public Integer TenantsId = null; @DataMember(Order=3) public String Name = null; @DataMember(Order=4) public String ActionRoute = null; @DataMember(Order=5) public Boolean PaymentAction = null; @DataMember(Order=6) public Boolean CustomAction = null; @DataMember(Order=8) public ResponseStatus ResponseStatus = null; public Integer getTenantsId() { return TenantsId; } public ActionsAddResponse setTenantsId(Integer value) { this.TenantsId = value; return this; } public String getName() { return Name; } public ActionsAddResponse setName(String value) { this.Name = value; return this; } public String getActionRoute() { return ActionRoute; } public ActionsAddResponse setActionRoute(String value) { this.ActionRoute = value; return this; } public Boolean isPaymentAction() { return PaymentAction; } public ActionsAddResponse setPaymentAction(Boolean value) { this.PaymentAction = value; return this; } public Boolean isCustomAction() { return CustomAction; } public ActionsAddResponse setCustomAction(Boolean value) { this.CustomAction = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public ActionsAddResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }