Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
using System.Collections.Generic;
using Bit.Core.Enums;
using Bit.Core.Models.View;
using MessagePack;
namespace Bit.Core.Models
{
[MessagePackObject]
public class WatchDTO
public WatchDTO()
}
public WatchDTO(WatchState state)
State = state;
[Key(0)]
public WatchState State { get; private set; }
[Key(1)]
public List<SimpleCipherView> Ciphers { get; set; }
[Key(2)]
public UserDataDto UserData { get; set; }
[Key(3)]
public EnvironmentUrlDataDto EnvironmentData { get; set; }
//public SettingsDataDto SettingsData { get; set; }
public class UserDataDto
public string Id { get; set; }
public string Email { get; set; }
public string Name { get; set; }
public class EnvironmentUrlDataDto
public string Base { get; set; }
public string Icons { get; set; }
//public class SettingsDataDto
//{
// public int? VaultTimeoutInMinutes { get; set; }
// public VaultTimeoutAction VaultTimeoutAction { get; set; }
//}