using System; using System.Collections.Generic; using Bit.Core.Enums; using Bit.Core.Models.Api; namespace Bit.Core.Models.Response { public class CipherResponse { public string Id { get; set; } public string OrganizationId { get; set; } public string FolderId { get; set; } public Enums.CipherType Type { get; set; } public string Name { get; set; } public string Notes { get; set; } public List Fields { get; set; } public LoginApi Login { get; set; } public CardApi Card { get; set; } public IdentityApi Identity { get; set; } public SecureNoteApi SecureNote { get; set; } public bool Favorite { get; set; } public bool Edit { get; set; } public bool ViewPassword { get; set; } = true; // Fallback for old server versions public bool OrganizationUseTotp { get; set; } public DateTime RevisionDate { get; set; } public List Attachments { get; set; } public List PasswordHistory { get; set; } public List CollectionIds { get; set; } public DateTime? DeletedDate { get; set; } public CipherRepromptType Reprompt { get; set; } } }