/* Options: Date: 2024-12-15 20:06:58 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: ResetPasswordResetRequest.* //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 ResetPasswordResetResponse implements IConvertible { ResponseStatus? responseStatus; ResetPasswordResetResponse({this.responseStatus}); ResetPasswordResetResponse.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() => "ResetPasswordResetResponse"; TypeContext? context = _ctx; } // @Route("/users/passwords/reset", "POST") class ResetPasswordResetRequest extends PostOperationUnTenanted implements IReturn, IConvertible { String? token; String? password; ResetPasswordResetRequest({this.token,this.password}); ResetPasswordResetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); token = json['token']; password = json['password']; return this; } Map toJson() => super.toJson()..addAll({ 'token': token, 'password': password }); createResponse() => ResetPasswordResetResponse(); getResponseTypeName() => "ResetPasswordResetResponse"; getTypeName() => "ResetPasswordResetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'PostOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'ResetPasswordResetResponse': TypeInfo(TypeOf.Class, create:() => ResetPasswordResetResponse()), 'ResetPasswordResetRequest': TypeInfo(TypeOf.Class, create:() => ResetPasswordResetRequest()), });