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

namespace Microsoft.Azure.Management.Reservations.Models
{
    using Microsoft.Azure;
    using Microsoft.Azure.Management;
    using Microsoft.Azure.Management.Reservations;
    using Newtonsoft.Json;
    using System.Linq;

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

        /// <summary>
        /// Initializes a new instance of the OperationResponse class.
        /// </summary>
        public OperationResponse(string name = default(string), OperationDisplay display = default(OperationDisplay), string origin = default(string))
        {
            Name = name;
            Display = display;
            Origin = origin;
            CustomInit();
        }

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

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

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "display")]
        public OperationDisplay Display { get; set; }

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

    }
}
