/* Options: Date: 2025-09-05 04:31:28 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: GenerateTwoFactorAuthenticationKeyRequest.* //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 GenerateTwoFactorAuthenticationKeyResponse implements IConvertible { ResponseStatus? responseStatus; String? twoFactorUri; GenerateTwoFactorAuthenticationKeyResponse({this.responseStatus,this.twoFactorUri}); GenerateTwoFactorAuthenticationKeyResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); twoFactorUri = json['twoFactorUri']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'twoFactorUri': twoFactorUri }; getTypeName() => "GenerateTwoFactorAuthenticationKeyResponse"; TypeContext? context = _ctx; } // @Route("/users/2fa/generate-key", "PUT") class GenerateTwoFactorAuthenticationKeyRequest extends PutOperationTenanted implements IReturn, IConvertible { GenerateTwoFactorAuthenticationKeyRequest(); GenerateTwoFactorAuthenticationKeyRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => GenerateTwoFactorAuthenticationKeyResponse(); getResponseTypeName() => "GenerateTwoFactorAuthenticationKeyResponse"; getTypeName() => "GenerateTwoFactorAuthenticationKeyRequest"; 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), 'GenerateTwoFactorAuthenticationKeyResponse': TypeInfo(TypeOf.Class, create:() => GenerateTwoFactorAuthenticationKeyResponse()), 'GenerateTwoFactorAuthenticationKeyRequest': TypeInfo(TypeOf.Class, create:() => GenerateTwoFactorAuthenticationKeyRequest()), });