2025-07-08 17:32:49 -04:00
|
|
|
|
// FIXME: Update this file to be null safe and then delete the line below
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
|
|
using Bit.Core.AdminConsole.OrganizationAuth.Models;
|
2024-05-26 20:56:52 -05:00
|
|
|
|
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
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|