/* Options: Date: 2025-08-05 02:52:18 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CaptchaInfo.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CaptchaValidationResponse implements IConvertible { bool? IsValid; bool? RefreshCaptcha; CaptchaValidationResponse({this.IsValid,this.RefreshCaptcha}); CaptchaValidationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsValid = json['IsValid']; RefreshCaptcha = json['RefreshCaptcha']; return this; } Map toJson() => { 'IsValid': IsValid, 'RefreshCaptcha': RefreshCaptcha }; getTypeName() => "CaptchaValidationResponse"; TypeContext? context = _ctx; } class CaptchaValidationResponse implements IConvertible { bool? IsValid; bool? RefreshCaptcha; CaptchaValidationResponse({this.IsValid,this.RefreshCaptcha}); CaptchaValidationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsValid = json['IsValid']; RefreshCaptcha = json['RefreshCaptcha']; return this; } Map toJson() => { 'IsValid': IsValid, 'RefreshCaptcha': RefreshCaptcha }; getTypeName() => "CaptchaValidationResponse"; TypeContext? context = _ctx; } // @Route("/comments-api/captcha", "POST") class CaptchaInfo implements IReturn, IConvertible, IPost { String? Answer; String? CorrectAnswer; String? InitializationVector; String? Key; CaptchaInfo({this.Answer,this.CorrectAnswer,this.InitializationVector,this.Key}); CaptchaInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Answer = json['Answer']; CorrectAnswer = json['CorrectAnswer']; InitializationVector = json['InitializationVector']; Key = json['Key']; return this; } Map toJson() => { 'Answer': Answer, 'CorrectAnswer': CorrectAnswer, 'InitializationVector': InitializationVector, 'Key': Key }; createResponse() => CaptchaValidationResponse(); getResponseTypeName() => "CaptchaValidationResponse"; getTypeName() => "CaptchaInfo"; TypeContext? context = _ctx; } // @Route("/captcha", "POST") class CaptchaInfo implements IReturn, IConvertible, IPost { String? Answer; String? CorrectAnswer; String? InitializationVector; String? Key; CaptchaInfo({this.Answer,this.CorrectAnswer,this.InitializationVector,this.Key}); CaptchaInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Answer = json['Answer']; CorrectAnswer = json['CorrectAnswer']; InitializationVector = json['InitializationVector']; Key = json['Key']; return this; } Map toJson() => { 'Answer': Answer, 'CorrectAnswer': CorrectAnswer, 'InitializationVector': InitializationVector, 'Key': Key }; createResponse() => CaptchaValidationResponse(); getResponseTypeName() => "CaptchaValidationResponse"; getTypeName() => "CaptchaInfo"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'CaptchaValidationResponse': TypeInfo(TypeOf.Class, create:() => CaptchaValidationResponse()), 'CaptchaInfo': TypeInfo(TypeOf.Class, create:() => CaptchaInfo()), });