using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Entities
{
///
/// Interface IHasMetadata
///
public interface IHasMetadata : IHasImages
{
///
/// Gets the preferred metadata country code.
///
/// System.String.
string GetPreferredMetadataCountryCode();
///
/// Gets the date modified.
///
/// The date modified.
DateTime DateModified { get; }
///
/// Gets the locked fields.
///
/// The locked fields.
List LockedFields { get; }
///
/// Gets or sets the date last saved.
///
/// The date last saved.
DateTime DateLastSaved { get; set; }
///
/// Updates to repository.
///
/// The update reason.
/// The cancellation token.
/// Task.
Task UpdateToRepository(ItemUpdateType updateReason, CancellationToken cancellationToken);
///
/// This is called before any metadata refresh and returns true or false indicating if changes were made
///
/// true if XXXX, false otherwise.
bool BeforeMetadataRefresh();
///
/// Gets or sets a value indicating whether this instance is unidentified.
///
/// true if this instance is unidentified; otherwise, false.
bool IsUnidentified { get; set; }
///
/// Gets the item identities.
///
List Identities { get; set; }
}
}