1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-26 05:03:39 +00:00

api models

This commit is contained in:
Kyle Spearrin
2019-04-16 11:07:32 -04:00
parent 567ebcd06e
commit 5d2f4e6ca4
11 changed files with 244 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using Bit.Core.Models.Domain;
using System.Collections.Generic;
using System.Linq;
namespace Bit.Core.Models.Request
{
public class CipherCreateRequest
{
public CipherCreateRequest(Cipher cipher)
{
Cipher = new CipherRequest(cipher);
CollectionIds = cipher.CollectionIds?.ToList();
}
public CipherRequest Cipher { get; set; }
public List<string> CollectionIds { get; set; }
}
}