// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace BuildIt.CognitiveServices.Models
{
    using System.Linq;

    public partial class ErrorRecordV2
    {
        /// <summary>
        /// Initializes a new instance of the ErrorRecordV2 class.
        /// </summary>
        public ErrorRecordV2() { }

        /// <summary>
        /// Initializes a new instance of the ErrorRecordV2 class.
        /// </summary>
        /// <param name="id">Input document unique identifier the error refers
        /// to.</param>
        /// <param name="message">Error message.</param>
        public ErrorRecordV2(string id = default(string), string message = default(string))
        {
            Id = id;
            Message = message;
        }

        /// <summary>
        /// Gets or sets input document unique identifier the error refers to.
        /// </summary>
        [Newtonsoft.Json.JsonProperty(PropertyName = "id")]
        public string Id { get; set; }

        /// <summary>
        /// Gets or sets error message.
        /// </summary>
        [Newtonsoft.Json.JsonProperty(PropertyName = "message")]
        public string Message { get; set; }

    }
}
