mirror of
https://github.com/bitwarden/android.git
synced 2026-11-18 06:34:24 -06:00
22 lines
607 B
C#
22 lines
607 B
C#
using Bit.Core.Abstractions;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Models.Request
|
|
{
|
|
public class DeviceRequest
|
|
{
|
|
public DeviceRequest(string appId, IPlatformUtilsService platformUtilsService)
|
|
{
|
|
Type = platformUtilsService.GetDevice();
|
|
Name = platformUtilsService.GetDeviceString();
|
|
Identifier = appId;
|
|
PushToken = null; // TODO?
|
|
}
|
|
|
|
public DeviceType? Type { get; set; }
|
|
public string Name { get; set; }
|
|
public string Identifier { get; set; }
|
|
public string PushToken { get; set; }
|
|
}
|
|
}
|