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:
11
src/App/Models/Api/Request/DeviceRequest.cs
Normal file
11
src/App/Models/Api/Request/DeviceRequest.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
13
src/App/Models/Api/Response/DeviceResponse.cs
Normal file
13
src/App/Models/Api/Response/DeviceResponse.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user