mirror of
https://github.com/bitwarden/server
synced 2025-12-16 08:13:33 +00:00
28 lines
653 B
C#
28 lines
653 B
C#
// FIXME: Update this file to be null safe and then delete the line below
|
|
#nullable disable
|
|
|
|
using Bit.Core.AdminConsole.OrganizationAuth.Models;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Api.AdminConsole.Models.Request;
|
|
|
|
public class OrganizationAuthRequestUpdateManyRequestModel
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
[EncryptedString]
|
|
public string Key { get; set; }
|
|
|
|
public bool Approved { get; set; }
|
|
|
|
public OrganizationAuthRequestUpdate ToOrganizationAuthRequestUpdate()
|
|
{
|
|
return new OrganizationAuthRequestUpdate
|
|
{
|
|
Id = Id,
|
|
Key = Key,
|
|
Approved = Approved
|
|
};
|
|
}
|
|
}
|