/* Options: Date: 2025-08-05 02:20:51 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CaptchaInfo.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/comments-api/captcha", Verbs="POST") public static class CaptchaInfo implements IReturn { public String Answer = null; public String CorrectAnswer = null; public String InitializationVector = null; public String Key = null; public String getAnswer() { return Answer; } public CaptchaInfo setAnswer(String value) { this.Answer = value; return this; } public String getCorrectAnswer() { return CorrectAnswer; } public CaptchaInfo setCorrectAnswer(String value) { this.CorrectAnswer = value; return this; } public String getInitializationVector() { return InitializationVector; } public CaptchaInfo setInitializationVector(String value) { this.InitializationVector = value; return this; } public String getKey() { return Key; } public CaptchaInfo setKey(String value) { this.Key = value; return this; } private static Object responseType = CaptchaValidationResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/captcha", Verbs="POST") public static class CaptchaInfo implements IReturn { public String Answer = null; public String CorrectAnswer = null; public String InitializationVector = null; public String Key = null; public String getAnswer() { return Answer; } public CaptchaInfo setAnswer(String value) { this.Answer = value; return this; } public String getCorrectAnswer() { return CorrectAnswer; } public CaptchaInfo setCorrectAnswer(String value) { this.CorrectAnswer = value; return this; } public String getInitializationVector() { return InitializationVector; } public CaptchaInfo setInitializationVector(String value) { this.InitializationVector = value; return this; } public String getKey() { return Key; } public CaptchaInfo setKey(String value) { this.Key = value; return this; } private static Object responseType = CaptchaValidationResponse.class; public Object getResponseType() { return responseType; } } public static class CaptchaValidationResponse { public Boolean IsValid = null; public Boolean RefreshCaptcha = null; public Boolean getIsValid() { return IsValid; } public CaptchaValidationResponse setIsValid(Boolean value) { this.IsValid = value; return this; } public Boolean isRefreshCaptcha() { return RefreshCaptcha; } public CaptchaValidationResponse setRefreshCaptcha(Boolean value) { this.RefreshCaptcha = value; return this; } } public static class CaptchaValidationResponse { public Boolean IsValid = null; public Boolean RefreshCaptcha = null; public Boolean getIsValid() { return IsValid; } public CaptchaValidationResponse setIsValid(Boolean value) { this.IsValid = value; return this; } public Boolean isRefreshCaptcha() { return RefreshCaptcha; } public CaptchaValidationResponse setRefreshCaptcha(Boolean value) { this.RefreshCaptcha = value; return this; } } }