/* Options: Date: 2024-12-23 11:41:26 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: SendSmsForPasswordResetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class SendSmsForPasswordResetResponse implements IConvertible { String? sentSmsWithRequestId; String? smsPasswordResetAndLoginRequestToken; SendSmsForPasswordResetResponse({this.sentSmsWithRequestId,this.smsPasswordResetAndLoginRequestToken}); SendSmsForPasswordResetResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sentSmsWithRequestId = json['sentSmsWithRequestId']; smsPasswordResetAndLoginRequestToken = json['smsPasswordResetAndLoginRequestToken']; return this; } Map toJson() => { 'sentSmsWithRequestId': sentSmsWithRequestId, 'smsPasswordResetAndLoginRequestToken': smsPasswordResetAndLoginRequestToken }; getTypeName() => "SendSmsForPasswordResetResponse"; TypeContext? context = _ctx; } // @Route("/login/send_sms_for_password_reset", "POST") class SendSmsForPasswordResetRequest implements IReturn, IPost, IConvertible { String? phoneNumber; SendSmsForPasswordResetRequest({this.phoneNumber}); SendSmsForPasswordResetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phoneNumber = json['phoneNumber']; return this; } Map toJson() => { 'phoneNumber': phoneNumber }; createResponse() => SendSmsForPasswordResetResponse(); getResponseTypeName() => "SendSmsForPasswordResetResponse"; getTypeName() => "SendSmsForPasswordResetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'SendSmsForPasswordResetResponse': TypeInfo(TypeOf.Class, create:() => SendSmsForPasswordResetResponse()), 'SendSmsForPasswordResetRequest': TypeInfo(TypeOf.Class, create:() => SendSmsForPasswordResetRequest()), });