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

namespace AutorestClient.Models
{
    using Newtonsoft.Json;
    using System.Collections;
    using System.Collections.Generic;
    using System.Linq;

    /// <summary>
    /// ResponseError
    /// </summary>
    /// <remarks>
    /// ResponseError
    /// </remarks>
    public partial class ResponseError
    {
        /// <summary>
        /// Initializes a new instance of the ResponseError class.
        /// </summary>
        public ResponseError()
        {
          CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the ResponseError class.
        /// </summary>
        public ResponseError(string errorCode = default(string), string fieldName = default(string), string message = default(string), IDictionary<string, string> meta = default(IDictionary<string, string>))
        {
            ErrorCode = errorCode;
            FieldName = fieldName;
            Message = message;
            Meta = meta;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "ErrorCode")]
        public string ErrorCode { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "FieldName")]
        public string FieldName { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "Message")]
        public string Message { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "Meta")]
        public IDictionary<string, string> Meta { get; set; }

    }
}
