/* Options: Date: 2025-08-05 02:31:34 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: CaptchaRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CaptchaResponse implements IConvertible { String? Image; String? CorrectAnswer; String? InitializationVector; String? Key; String? Audio; CaptchaResponse({this.Image,this.CorrectAnswer,this.InitializationVector,this.Key,this.Audio}); CaptchaResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Image = json['Image']; CorrectAnswer = json['CorrectAnswer']; InitializationVector = json['InitializationVector']; Key = json['Key']; Audio = json['Audio']; return this; } Map toJson() => { 'Image': Image, 'CorrectAnswer': CorrectAnswer, 'InitializationVector': InitializationVector, 'Key': Key, 'Audio': Audio }; getTypeName() => "CaptchaResponse"; TypeContext? context = _ctx; } class CaptchaResponse implements IConvertible { String? Image; String? CorrectAnswer; String? InitializationVector; String? Key; String? Audio; CaptchaResponse({this.Image,this.CorrectAnswer,this.InitializationVector,this.Key,this.Audio}); CaptchaResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Image = json['Image']; CorrectAnswer = json['CorrectAnswer']; InitializationVector = json['InitializationVector']; Key = json['Key']; Audio = json['Audio']; return this; } Map toJson() => { 'Image': Image, 'CorrectAnswer': CorrectAnswer, 'InitializationVector': InitializationVector, 'Key': Key, 'Audio': Audio }; getTypeName() => "CaptchaResponse"; TypeContext? context = _ctx; } // @Route("/comments-api/captcha", "GET") class CaptchaRequest implements IReturn, IConvertible, IGet { CaptchaRequest(); CaptchaRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => CaptchaResponse(); getResponseTypeName() => "CaptchaResponse"; getTypeName() => "CaptchaRequest"; TypeContext? context = _ctx; } // @Route("/captcha", "GET") class CaptchaRequest implements IReturn, IConvertible, IGet { CaptchaRequest(); CaptchaRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => CaptchaResponse(); getResponseTypeName() => "CaptchaResponse"; getTypeName() => "CaptchaRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'CaptchaResponse': TypeInfo(TypeOf.Class, create:() => CaptchaResponse()), 'CaptchaRequest': TypeInfo(TypeOf.Class, create:() => CaptchaRequest()), });