#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 required 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.StartsWith("http", StringComparison.OrdinalIgnoreCase);
}
}