1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-21 18:53:29 +00:00
Files
mobile/src/Core/Models/Request/DeviceRequest.cs
2023-09-29 11:02:19 -03:00

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; }
}
}