//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
//
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
///
/// ScaleSpec describes the attributes of a scale subresource.
///
public partial class V1ScaleSpec
{
///
/// Initializes a new instance of the V1ScaleSpec class.
///
public V1ScaleSpec()
{
CustomInit();
}
///
/// Initializes a new instance of the V1ScaleSpec class.
///
/// desired number of instances for the scaled
/// object.
public V1ScaleSpec(int? replicas = default(int?))
{
Replicas = replicas;
CustomInit();
}
///
/// An initialization method that performs custom operations like setting defaults
///
partial void CustomInit();
///
/// Gets or sets desired number of instances for the scaled object.
///
[JsonProperty(PropertyName = "replicas")]
public int? Replicas { get; set; }
}
}