object MetricTarget
- Companion:
- class
- Source:
- MetricTarget.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Implicits
Implicits
obj.readOpt[Int]("averageUtilization")(intDecoder).flatMap[String,MetricTarget](((averageUtilization:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("averageValue")(decoder).flatMap[String,MetricTarget](((averageValue:Option[Quantity])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("value")(decoder).map[MetricTarget](((value:Option[Quantity])=>MetricTarget.apply(type=type,averageUtilization=averageUtilization,averageValue=averageValue,value=value)))))))))))
}
(new$anon():Decoder[MetricTarget])
}" class="documentableAnchor">
implicit val obj.readOpt[Int]("averageUtilization")(intDecoder).flatMap[String,MetricTarget](((averageUtilization:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("averageValue")(decoder).flatMap[String,MetricTarget](((averageValue:Option[Quantity])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("value")(decoder).map[MetricTarget](((value:Option[Quantity])=>MetricTarget.apply(type=type,averageUtilization=averageUtilization,averageValue=averageValue,value=value)))))))))))
}
(new$anon():Decoder[MetricTarget])
}" class="documentableName ">decoder: Decoder[MetricTarget]
- Source:
- MetricTarget.scala