using System.ComponentModel.DataAnnotations; namespace Bit.Api.Models.Public.Response; public class ListResponseModel : IResponseModel where T : IResponseModel { public ListResponseModel(IEnumerable data) { Data = data; } /// /// String representing the object's type. Objects of the same type share the same properties. /// /// list [Required] public string Object => "list"; /// /// An array containing the actual response elements, paginated by any request parameters. /// [Required] public IEnumerable Data { get; set; } }