#pragma warning disable CS1591
using System;
using System.Text.Json.Serialization;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Entities
{
public class ItemImageInfo
{
///
/// Gets or sets the path.
///
/// The path.
public string Path { get; set; }
///
/// Gets or sets the type.
///
/// The type.
public ImageType Type { get; set; }
///
/// Gets or sets the date modified.
///
/// The date modified.
public DateTime DateModified { get; set; }
public int Width { get; set; }
public int Height { get; set; }
///
/// Gets or sets the blurhash.
///
/// The blurhash.
public string BlurHash { get; set; }
[JsonIgnore]
public bool IsLocalFile => Path == null || !Path.StartsWith("http", StringComparison.OrdinalIgnoreCase);
}
}