mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 22:23:18 +08:00
22 lines
666 B
C#
22 lines
666 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Api.Models.Request.Accounts
|
|
{
|
|
public class UpdateKeyRequestModel
|
|
{
|
|
[Required]
|
|
[StringLength(300)]
|
|
public string MasterPasswordHash { get; set; }
|
|
[Required]
|
|
public IEnumerable<CipherWithIdRequestModel> Ciphers { get; set; }
|
|
[Required]
|
|
public IEnumerable<FolderWithIdRequestModel> Folders { get; set; }
|
|
public IEnumerable<SendWithIdRequestModel> Sends { get; set; }
|
|
[Required]
|
|
public string PrivateKey { get; set; }
|
|
[Required]
|
|
public string Key { get; set; }
|
|
}
|
|
}
|