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

namespace k8s.Models
{
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// MetricValueStatus holds the current value for a metric
    /// </summary>
    public partial class V2beta2MetricValueStatus
    {
        /// <summary>
        /// Initializes a new instance of the V2beta2MetricValueStatus class.
        /// </summary>
        public V2beta2MetricValueStatus()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the V2beta2MetricValueStatus class.
        /// </summary>
        /// <param name="averageUtilization">currentAverageUtilization is the
        /// current value of the average of the resource metric across all
        /// relevant pods, represented as a percentage of the requested value
        /// of the resource for the pods.</param>
        /// <param name="averageValue">averageValue is the current value of the
        /// average of the metric across all relevant pods (as a
        /// quantity)</param>
        /// <param name="value">value is the current value of the metric (as a
        /// quantity).</param>
        public V2beta2MetricValueStatus(int? averageUtilization = default(int?), ResourceQuantity averageValue = default(ResourceQuantity), ResourceQuantity value = default(ResourceQuantity))
        {
            AverageUtilization = averageUtilization;
            AverageValue = averageValue;
            Value = value;
            CustomInit();
        }

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

        /// <summary>
        /// Gets or sets currentAverageUtilization is the current value of the
        /// average of the resource metric across all relevant pods,
        /// represented as a percentage of the requested value of the resource
        /// for the pods.
        /// </summary>
        [JsonProperty(PropertyName = "averageUtilization")]
        public int? AverageUtilization { get; set; }

        /// <summary>
        /// Gets or sets averageValue is the current value of the average of
        /// the metric across all relevant pods (as a quantity)
        /// </summary>
        [JsonProperty(PropertyName = "averageValue")]
        public ResourceQuantity AverageValue { get; set; }

        /// <summary>
        /// Gets or sets value is the current value of the metric (as a
        /// quantity).
        /// </summary>
        [JsonProperty(PropertyName = "value")]
        public ResourceQuantity Value { get; set; }

    }
}
