/// <summary>
 /// Initializes a new instance of the V2beta2ObjectMetricSource class.
 /// </summary>
 /// <param name="metric">metric identifies the target metric by name
 /// and selector</param>
 /// <param name="target">target specifies the target value for the
 /// given metric</param>
 public V2beta2ObjectMetricSource(V2beta2CrossVersionObjectReference describedObject, V2beta2MetricIdentifier metric, V2beta2MetricTarget target)
 {
     DescribedObject = describedObject;
     Metric          = metric;
     Target          = target;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// V2beta2ContainerResourceMetricSource class.
 /// </summary>
 /// <param name="container">container is the name of the container in
 /// the pods of the scaling target</param>
 /// <param name="name">name is the name of the resource in
 /// question.</param>
 /// <param name="target">target specifies the target value for the
 /// given metric</param>
 public V2beta2ContainerResourceMetricSource(string container, string name, V2beta2MetricTarget target)
 {
     Container = container;
     Name      = name;
     Target    = target;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V2beta2ResourceMetricSource
 /// class.
 /// </summary>
 /// <param name="name">name is the name of the resource in
 /// question.</param>
 /// <param name="target">target specifies the target value for the
 /// given metric</param>
 public V2beta2ResourceMetricSource(string name, V2beta2MetricTarget target)
 {
     Name   = name;
     Target = target;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V2beta2PodsMetricSource class.
 /// </summary>
 /// <param name="metric">metric identifies the target metric by name
 /// and selector</param>
 /// <param name="target">target specifies the target value for the
 /// given metric</param>
 public V2beta2PodsMetricSource(V2beta2MetricIdentifier metric, V2beta2MetricTarget target)
 {
     Metric = metric;
     Target = target;
     CustomInit();
 }