mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
Turn on file scoped namespaces (#2225)
This commit is contained in:
@ -1,17 +1,16 @@
|
||||
using Bit.Core.Models.Api;
|
||||
|
||||
namespace Bit.Api.Models.Response
|
||||
{
|
||||
public class ListResponseModel<T> : ResponseModel where T : ResponseModel
|
||||
{
|
||||
public ListResponseModel(IEnumerable<T> data, string continuationToken = null)
|
||||
: base("list")
|
||||
{
|
||||
Data = data;
|
||||
ContinuationToken = continuationToken;
|
||||
}
|
||||
namespace Bit.Api.Models.Response;
|
||||
|
||||
public IEnumerable<T> Data { get; set; }
|
||||
public string ContinuationToken { get; set; }
|
||||
public class ListResponseModel<T> : ResponseModel where T : ResponseModel
|
||||
{
|
||||
public ListResponseModel(IEnumerable<T> data, string continuationToken = null)
|
||||
: base("list")
|
||||
{
|
||||
Data = data;
|
||||
ContinuationToken = continuationToken;
|
||||
}
|
||||
|
||||
public IEnumerable<T> Data { get; set; }
|
||||
public string ContinuationToken { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user