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