mirror of
https://github.com/bitwarden/server.git
synced 2025-06-13 14:30:50 -05:00

* PM-22564 fixing namespaces * PM-22564 fixing namespace in integration test * PM-22564 fixing .sqlproj file
27 lines
907 B
C#
27 lines
907 B
C#
using Bit.Core.Dirt.Reports.Models.Data;
|
|
|
|
namespace Bit.Api.Dirt.Models.Response;
|
|
|
|
public class MemberCipherDetailsResponseModel
|
|
{
|
|
public Guid? UserGuid { get; set; }
|
|
public string UserName { get; set; }
|
|
public string Email { get; set; }
|
|
public bool UsesKeyConnector { get; set; }
|
|
|
|
/// <summary>
|
|
/// A distinct list of the cipher ids associated with
|
|
/// the organization member
|
|
/// </summary>
|
|
public IEnumerable<string> CipherIds { get; set; }
|
|
|
|
public MemberCipherDetailsResponseModel(MemberAccessCipherDetails memberAccessCipherDetails)
|
|
{
|
|
this.UserGuid = memberAccessCipherDetails.UserGuid;
|
|
this.UserName = memberAccessCipherDetails.UserName;
|
|
this.Email = memberAccessCipherDetails.Email;
|
|
this.UsesKeyConnector = memberAccessCipherDetails.UsesKeyConnector;
|
|
this.CipherIds = memberAccessCipherDetails.CipherIds;
|
|
}
|
|
}
|