1
0
mirror of https://github.com/bitwarden/server synced 2025-12-31 07:33:43 +00:00
Files
server/src/Api/Models/Response/Organizations/OrganizationAutoEnrollStatusResponseModel.cs
Daniel García 4f87e4e1a4 [PM-2196] Improvements to the Swagger generator (#2914)
* Swagger fixes

Co-Authored-By: Oscar Hinton <Hinton@users.noreply.github.com>

* Make Response Models return Guids instead of strings

* Change strings into guids in ScimApplicationFactory

---------

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2023-07-14 17:18:26 +02:00

16 lines
457 B
C#

using Bit.Core.Models.Api;
namespace Bit.Api.Models.Response.Organizations;
public class OrganizationAutoEnrollStatusResponseModel : ResponseModel
{
public OrganizationAutoEnrollStatusResponseModel(Guid orgId, bool resetPasswordEnabled) : base("organizationAutoEnrollStatus")
{
Id = orgId;
ResetPasswordEnabled = resetPasswordEnabled;
}
public Guid Id { get; set; }
public bool ResetPasswordEnabled { get; set; }
}