1
0
mirror of https://github.com/bitwarden/server synced 2025-12-26 05:03:18 +00:00
Files
server/src/Core/Models/Api/Request/PushUpdateRequestModel.cs
2022-08-29 14:53:16 -04:00

21 lines
471 B
C#

using System.ComponentModel.DataAnnotations;
namespace Bit.Core.Models.Api;
public class PushUpdateRequestModel
{
public PushUpdateRequestModel()
{ }
public PushUpdateRequestModel(IEnumerable<string> deviceIds, string organizationId)
{
DeviceIds = deviceIds;
OrganizationId = organizationId;
}
[Required]
public IEnumerable<string> DeviceIds { get; set; }
[Required]
public string OrganizationId { get; set; }
}