jellyfin/MediaBrowser.Model/Entities/UserItemData.cs
LukePulverenti Luke Pulverenti luke pulverenti cb7f04e4d3 Upgraded Protobuf, and added api support for it
2012-08-29 08:21:56 -04:00

26 lines
484 B
C#

using System;
using ProtoBuf;
namespace MediaBrowser.Model.Entities
{
[ProtoContract]
public class UserItemData
{
[ProtoMember(1)]
public UserItemRating Rating { get; set; }
[ProtoMember(2)]
public long PlaybackPositionTicks { get; set; }
[ProtoMember(3)]
public int PlayCount { get; set; }
}
public enum UserItemRating
{
Likes,
Dislikes,
Favorite
}
}