mirror of
https://github.com/bitwarden/server
synced 2025-12-23 03:33:35 +00:00
17 lines
443 B
C#
17 lines
443 B
C#
using Bit.Core.Models.Data;
|
|
|
|
namespace Bit.Api.Models.Public.Response;
|
|
|
|
public class AssociationWithPermissionsResponseModel : AssociationWithPermissionsBaseModel
|
|
{
|
|
public AssociationWithPermissionsResponseModel(SelectionReadOnly selection)
|
|
{
|
|
if (selection == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(selection));
|
|
}
|
|
Id = selection.Id;
|
|
ReadOnly = selection.ReadOnly;
|
|
}
|
|
}
|