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