mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
23 lines
563 B
C#
23 lines
563 B
C#
using System.Collections.Generic;
|
|
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; }
|
|
}
|
|
}
|