IEntry.cs
528 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents a Contentful entry resource.
/// </summary>
/// <typeparam name="T">The type the fields of the entry should be serialized into.</typeparam>
public interface IEntry<T> : IContentfulResource
{
/// <summary>
/// The fields of the entry deserialized to the type T.
/// </summary>
T Fields { get; set; }
}
}