mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 15:13:19 +08:00
25 lines
560 B
C#
25 lines
560 B
C#
|
|
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
|
|||
|
|
};
|
|||
|
|
}
|
|||
|
|
}
|