1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

more models

This commit is contained in:
Kyle Spearrin
2019-04-12 11:42:45 -04:00
parent c89805d123
commit 87798612a6
17 changed files with 330 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using Bit.Core.Models.Response;
namespace Bit.Core.Models.Data
{
public class AttachmentData : Data
{
public AttachmentData() { }
public AttachmentData(AttachmentResponse response)
{
Id = response.Id;
Url = response.Url;
FileName = response.FileName;
Key = response.Key;
Size = response.Size;
SizeName = response.SizeName;
}
public string Id { get; set; }
public string Url { get; set; }
public string FileName { get; set; }
public string Key { get; set; }
public string Size { get; set; }
public string SizeName { get; set; }
}
}