object LeaseSpec
- Companion:
- class
- Source:
- LeaseSpec.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[String]("holderIdentity")(stringDecoder[T](evidence$1)).flatMap[String,LeaseSpec](((holderIdentity:Option[String])=>obj.readOpt[Int]("leaseDurationSeconds")(intDecoder[T](evidence$1)).flatMap[String,LeaseSpec](((leaseDurationSeconds:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime]("renewTime")(decoder[T](evidence$1)).flatMap[String,LeaseSpec](((renewTime:Option[MicroTime])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime]("acquireTime")(decoder[T](evidence$1)).map[LeaseSpec](((acquireTime:Option[MicroTime])=>LeaseSpec.apply(leaseTransitions=leaseTransitions,holderIdentity=holderIdentity,leaseDurationSeconds=leaseDurationSeconds,renewTime=renewTime,acquireTime=acquireTime)))))))))))))
}
(new$anon():Decoder[T,LeaseSpec])
}" class="documentableAnchor">
implicit def obj.readOpt[String]("holderIdentity")(stringDecoder[T](evidence$1)).flatMap[String,LeaseSpec](((holderIdentity:Option[String])=>obj.readOpt[Int]("leaseDurationSeconds")(intDecoder[T](evidence$1)).flatMap[String,LeaseSpec](((leaseDurationSeconds:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime]("renewTime")(decoder[T](evidence$1)).flatMap[String,LeaseSpec](((renewTime:Option[MicroTime])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime]("acquireTime")(decoder[T](evidence$1)).map[LeaseSpec](((acquireTime:Option[MicroTime])=>LeaseSpec.apply(leaseTransitions=leaseTransitions,holderIdentity=holderIdentity,leaseDurationSeconds=leaseDurationSeconds,renewTime=renewTime,acquireTime=acquireTime)))))))))))))
}
(new$anon():Decoder[T,LeaseSpec])
}" class="documentableName ">decoderOf[T : Reader]: Decoder[T, LeaseSpec]
- Source:
- LeaseSpec.scala