mirror of
https://github.com/bitwarden/mobile
synced 2025-12-21 18:53:29 +00:00
21 lines
574 B
C#
21 lines
574 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;
|
|
}
|
|
|
|
public Enums.DeviceType? Type { get; set; }
|
|
public string Name { get; set; }
|
|
public string Identifier { get; set; }
|
|
public string PushToken { get; set; }
|
|
}
|
|
}
|