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