/* Options: Date: 2025-09-03 20:35:06 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ResetTwoFactorAuthenticationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class PutOperationUnTenanted implements IPut { PutOperationUnTenanted(); PutOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PutOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class PutOperationTenanted extends PutOperationUnTenanted implements ITenantedRequest { String? organisationId; PutOperationTenanted({this.organisationId}); PutOperationTenanted.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); organisationId = json['organisationId']; return this; } Map toJson() => super.toJson()..addAll({ 'organisationId': organisationId }); getTypeName() => "PutOperationTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class ITenantedRequest { String? organisationId; } class ResetTwoFactorAuthenticationResponse implements IConvertible { ResponseStatus? responseStatus; ResetTwoFactorAuthenticationResponse({this.responseStatus}); ResetTwoFactorAuthenticationResponse.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() => "ResetTwoFactorAuthenticationResponse"; TypeContext? context = _ctx; } // @Route("/users/2fa/reset", "PUT") class ResetTwoFactorAuthenticationRequest extends PutOperationTenanted implements IReturn, IConvertible { String? targetUserId; String? callerCode; ResetTwoFactorAuthenticationRequest({this.targetUserId,this.callerCode}); ResetTwoFactorAuthenticationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); targetUserId = json['targetUserId']; callerCode = json['callerCode']; return this; } Map toJson() => super.toJson()..addAll({ 'targetUserId': targetUserId, 'callerCode': callerCode }); createResponse() => ResetTwoFactorAuthenticationResponse(); getResponseTypeName() => "ResetTwoFactorAuthenticationResponse"; getTypeName() => "ResetTwoFactorAuthenticationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'foundrystage_api_app.azurewebsites.net', types: { 'PutOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'PutOperationTenanted': TypeInfo(TypeOf.AbstractClass), 'ITenantedRequest': TypeInfo(TypeOf.Interface), 'ResetTwoFactorAuthenticationResponse': TypeInfo(TypeOf.Class, create:() => ResetTwoFactorAuthenticationResponse()), 'ResetTwoFactorAuthenticationRequest': TypeInfo(TypeOf.Class, create:() => ResetTwoFactorAuthenticationRequest()), });