using System;

namespace GitHub.Models
{
    /// <summary>
    /// Holds the details of a commit.
    /// </summary>
    public class CommitModel
    {
        /// <summary>
        /// Gets or sets the author of the commit.
        /// </summary>
        public CommitActorModel Author { get; set; }

        /// <summary>
        /// Gets or sets the abbreviated git object ID for the commit.
        /// </summary>
        public string AbbreviatedOid { get; set; }

        /// <summary>
        /// Gets or sets the commit headline.
        /// </summary>
        public string MessageHeadline { get; set; }

        /// <summary>
        /// Gets or sets the git object ID for the commit.
        /// </summary>
        public string Oid { get; set; }
    }
}
