MetricSpec

final case class MetricSpec(`object`: Option[ObjectMetricSource], external: Option[ExternalMetricSource], containerResource: Option[ContainerResourceMetricSource], resource: Option[ResourceMetricSource], pods: Option[PodsMetricSource], `type`: String)

MetricSpec specifies how to scale based on a single metric (only type and one other matching field should be set at once).

Source:
MetricSpec.scala
trait Product
trait Equals
class Object
trait Matchable
class Any