/* Options: Date: 2024-12-23 11:52:21 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: EmailSendVerificationCodeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class EmailSendVerificationCodeResponse implements IConvertible { String? sentEmailWithRequestId; String? emailVerificationWithCodeToken; EmailSendVerificationCodeResponse({this.sentEmailWithRequestId,this.emailVerificationWithCodeToken}); EmailSendVerificationCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sentEmailWithRequestId = json['sentEmailWithRequestId']; emailVerificationWithCodeToken = json['emailVerificationWithCodeToken']; return this; } Map toJson() => { 'sentEmailWithRequestId': sentEmailWithRequestId, 'emailVerificationWithCodeToken': emailVerificationWithCodeToken }; getTypeName() => "EmailSendVerificationCodeResponse"; TypeContext? context = _ctx; } // @Route("/signup/send-verification-email", "PUT") class EmailSendVerificationCodeRequest implements IReturn, IPut, IConvertible { // @Validate(Validator="NotEmpty") // @Validate(Validator="Email") String? email; EmailSendVerificationCodeRequest({this.email}); EmailSendVerificationCodeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { email = json['email']; return this; } Map toJson() => { 'email': email }; createResponse() => EmailSendVerificationCodeResponse(); getResponseTypeName() => "EmailSendVerificationCodeResponse"; getTypeName() => "EmailSendVerificationCodeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'EmailSendVerificationCodeResponse': TypeInfo(TypeOf.Class, create:() => EmailSendVerificationCodeResponse()), 'EmailSendVerificationCodeRequest': TypeInfo(TypeOf.Class, create:() => EmailSendVerificationCodeRequest()), });