/* Options: Date: 2025-01-07 11:36:26 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InitiatePasswordResetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class PostOperationUnTenanted implements IPost { PostOperationUnTenanted(); PostOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PostOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class InitiatePasswordResetResponse implements IConvertible { ResponseStatus? responseStatus; InitiatePasswordResetResponse({this.responseStatus}); InitiatePasswordResetResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "InitiatePasswordResetResponse"; TypeContext? context = _ctx; } // @Route("/users/passwords/reset/initiate", "POST") class InitiatePasswordResetRequest extends PostOperationUnTenanted implements IReturn, IConvertible { String? email; InitiatePasswordResetRequest({this.email}); InitiatePasswordResetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); email = json['email']; return this; } Map toJson() => super.toJson()..addAll({ 'email': email }); createResponse() => InitiatePasswordResetResponse(); getResponseTypeName() => "InitiatePasswordResetResponse"; getTypeName() => "InitiatePasswordResetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'PostOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'InitiatePasswordResetResponse': TypeInfo(TypeOf.Class, create:() => InitiatePasswordResetResponse()), 'InitiatePasswordResetRequest': TypeInfo(TypeOf.Class, create:() => InitiatePasswordResetRequest()), });