mirror of
https://github.com/bitwarden/server
synced 2025-12-26 05:03:18 +00:00
21 lines
471 B
C#
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; }
|
|
}
|