rename channel query objects

This commit is contained in:
Luke Pulverenti
2014-05-31 11:13:07 -04:00
parent 704571605b
commit df83adbb71
16 changed files with 58 additions and 33 deletions

View File

@@ -21,7 +21,7 @@ namespace MediaBrowser.Api.LiveTv
public class GetChannels : IReturn<QueryResult<ChannelInfoDto>>
{
[ApiMember(Name = "Type", Description = "Optional filter by channel type.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
public ChannelType? Type { get; set; }
public LiveTvChannelType? Type { get; set; }
[ApiMember(Name = "UserId", Description = "Optional filter by user and attach user data.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
public string UserId { get; set; }
@@ -294,7 +294,7 @@ namespace MediaBrowser.Api.LiveTv
public object Get(GetChannels request)
{
var result = _liveTvManager.GetChannels(new ChannelQuery
var result = _liveTvManager.GetChannels(new LiveTvChannelQuery
{
ChannelType = request.Type,
UserId = request.UserId,