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

implemented repository for device apis

This commit is contained in:
Kyle Spearrin
2016-06-18 16:10:09 -04:00
parent 8677e9e7ae
commit 3e91510868
7 changed files with 51 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
using PushNotification.Plugin.Abstractions;
namespace Bit.App.Models.Api
{
public class DeviceRequest
{
public DeviceType Type { get; set; }
public string Name { get; set; }
public string PushToken { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using PushNotification.Plugin.Abstractions;
namespace Bit.App.Models.Api
{
public class DeviceResponse
{
public string Id { get; set; }
public string Name { get; set; }
public DeviceType Type { get; set; }
public DateTime CreationDate { get; set; }
}
}