aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Common.Tests/Models/BoolTypeModel.cs
blob: feb952efc52f4643bb4c776d144935af3a919d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Text.Json.Serialization;
using MediaBrowser.Common.Json.Converters;

namespace Jellyfin.Common.Tests.Models
{
    /// <summary>
    /// The bool type model.
    /// </summary>
    public class BoolTypeModel
    {
        /// <summary>
        /// Gets or sets a value indicating whether the value is true or false.
        /// </summary>
        [JsonConverter(typeof(JsonBoolNumberConverter))]
        public bool Value { get; set; }
    }
}