mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
61 lines
1.7 KiB
C#
61 lines
1.7 KiB
C#
namespace MediaBrowser.Model.Channels
|
|
{
|
|
public class ChannelQuery
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the user identifier.
|
|
/// </summary>
|
|
/// <value>The user identifier.</value>
|
|
public string UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Skips over a given number of items within the results. Use for paging.
|
|
/// </summary>
|
|
/// <value>The start index.</value>
|
|
public int? StartIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// The maximum number of items to return
|
|
/// </summary>
|
|
/// <value>The limit.</value>
|
|
public int? Limit { get; set; }
|
|
}
|
|
|
|
public class AllChannelMediaQuery
|
|
{
|
|
public string[] ChannelIds { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the user identifier.
|
|
/// </summary>
|
|
/// <value>The user identifier.</value>
|
|
public string UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Skips over a given number of items within the results. Use for paging.
|
|
/// </summary>
|
|
/// <value>The start index.</value>
|
|
public int? StartIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// The maximum number of items to return
|
|
/// </summary>
|
|
/// <value>The limit.</value>
|
|
public int? Limit { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the content types.
|
|
/// </summary>
|
|
/// <value>The content types.</value>
|
|
public ChannelMediaContentType[] ContentTypes { get; set; }
|
|
|
|
public AllChannelMediaQuery()
|
|
{
|
|
ChannelIds = new string[] { };
|
|
|
|
ContentTypes = new ChannelMediaContentType[] { };
|
|
}
|
|
}
|
|
|
|
}
|