1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 00:03:22 +00:00

Cipher api repository and various sync operations from push notifications.

This commit is contained in:
Kyle Spearrin
2016-06-29 21:59:18 -04:00
parent 84836fe89b
commit 2d6e0bd95a
21 changed files with 399 additions and 62 deletions

View File

@@ -0,0 +1,7 @@
namespace Bit.App.Models.Api
{
public class FolderDataModel
{
public string Name { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
using System.Collections.Generic;
namespace Bit.App.Models.Api
{
public class CipherHistoryResponse
{
public IEnumerable<CipherResponse> Revised { get; set; }
public IEnumerable<string> Deleted { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using Bit.App.Enums;
using System;
namespace Bit.App.Models.Api
{
public class CipherResponse
{
public string Id { get; set; }
public string FolderId { get; set; }
public CipherType Type { get; set; }
public bool Favorite { get; set; }
public dynamic Data { get; set; }
public DateTime RevisionDate { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace Bit.App.Models.Api
{
public class SiteDataModel
{
public string Name { get; set; }
public string Uri { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Notes { get; set; }
}
}