EmbeddedSocial-Service/code/Models/Responses/FeedResponse.cs

29 строки
705 B
C#
Исходник Постоянная ссылка Обычный вид История

2019-12-13 03:03:19 +03:00
// <copyright file="FeedResponse.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace SocialPlus.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// Feed response
/// </summary>
/// <typeparam name="T">The generic type parameter.</typeparam>
public class FeedResponse<T>
{
/// <summary>
/// Gets or sets feed data
/// </summary>
[Required]
public List<T> Data { get; set; }
/// <summary>
/// Gets or sets feed cursor
/// </summary>
[Required]
public string Cursor { get; set; }
}
}