// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>

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

    /// <summary>
    /// Name of a metric for any resource .
    /// </summary>
    public partial class ResourceMetricName
    {
        /// <summary>
        /// Initializes a new instance of the ResourceMetricName class.
        /// </summary>
        public ResourceMetricName()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the ResourceMetricName class.
        /// </summary>
        /// <param name="value">metric name value.</param>
        /// <param name="localizedValue">Localized metric name value.</param>
        public ResourceMetricName(string value = default(string), string localizedValue = default(string))
        {
            Value = value;
            LocalizedValue = localizedValue;
            CustomInit();
        }

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

        /// <summary>
        /// Gets metric name value.
        /// </summary>
        [JsonProperty(PropertyName = "value")]
        public string Value { get; private set; }

        /// <summary>
        /// Gets localized metric name value.
        /// </summary>
        [JsonProperty(PropertyName = "localizedValue")]
        public string LocalizedValue { get; private set; }

    }
}
