/* Options: Date: 2024-12-23 11:59:40 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EmailVerificationWithCodeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class EmailVerificationWithCodeResponse implements IConvertible { String? verifiedEmail; EmailVerificationWithCodeResponse({this.verifiedEmail}); EmailVerificationWithCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { verifiedEmail = json['verifiedEmail']; return this; } Map toJson() => { 'verifiedEmail': verifiedEmail }; getTypeName() => "EmailVerificationWithCodeResponse"; TypeContext? context = _ctx; } // @Route("/signup/verify-email", "POST") class EmailVerificationWithCodeRequest implements IReturn, IPost, IConvertible { String? shortCode; String? token; EmailVerificationWithCodeRequest({this.shortCode,this.token}); EmailVerificationWithCodeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { shortCode = json['shortCode']; token = json['token']; return this; } Map toJson() => { 'shortCode': shortCode, 'token': token }; createResponse() => EmailVerificationWithCodeResponse(); getResponseTypeName() => "EmailVerificationWithCodeResponse"; getTypeName() => "EmailVerificationWithCodeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'EmailVerificationWithCodeResponse': TypeInfo(TypeOf.Class, create:() => EmailVerificationWithCodeResponse()), 'EmailVerificationWithCodeRequest': TypeInfo(TypeOf.Class, create:() => EmailVerificationWithCodeRequest()), });