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