object SubjectAccessReviewSpec
- Companion:
- class
- Source:
- SubjectAccessReviewSpec.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[io.k8s.api.authorization.v1.ResourceAttributes]("resourceAttributes")(decoder).flatMap[String,SubjectAccessReviewSpec](((resourceAttributes:Option[ResourceAttributes])=>obj.readOpt[String]("uid")(stringDecoder).flatMap[String,SubjectAccessReviewSpec](((uid:Option[String])=>obj.readOpt[Map[String,Seq[String]]]("extra")(mapDecoder[Seq[String]](arrDecoder[String](stringDecoder))).flatMap[String,SubjectAccessReviewSpec](((extra:Option[Map[String,Seq[String]]])=>obj.readOpt[String]("user")(stringDecoder).flatMap[String,SubjectAccessReviewSpec](((user:Option[String])=>obj.readOpt[io.k8s.api.authorization.v1.NonResourceAttributes]("nonResourceAttributes")(decoder).map[SubjectAccessReviewSpec](((nonResourceAttributes:Option[NonResourceAttributes])=>SubjectAccessReviewSpec.apply(groups=groups,resourceAttributes=resourceAttributes,uid=uid,extra=extra,user=user,nonResourceAttributes=nonResourceAttributes)))))))))))))))
}
(new$anon():Decoder[SubjectAccessReviewSpec])
}" class="documentableAnchor">
implicit val obj.readOpt[io.k8s.api.authorization.v1.ResourceAttributes]("resourceAttributes")(decoder).flatMap[String,SubjectAccessReviewSpec](((resourceAttributes:Option[ResourceAttributes])=>obj.readOpt[String]("uid")(stringDecoder).flatMap[String,SubjectAccessReviewSpec](((uid:Option[String])=>obj.readOpt[Map[String,Seq[String]]]("extra")(mapDecoder[Seq[String]](arrDecoder[String](stringDecoder))).flatMap[String,SubjectAccessReviewSpec](((extra:Option[Map[String,Seq[String]]])=>obj.readOpt[String]("user")(stringDecoder).flatMap[String,SubjectAccessReviewSpec](((user:Option[String])=>obj.readOpt[io.k8s.api.authorization.v1.NonResourceAttributes]("nonResourceAttributes")(decoder).map[SubjectAccessReviewSpec](((nonResourceAttributes:Option[NonResourceAttributes])=>SubjectAccessReviewSpec.apply(groups=groups,resourceAttributes=resourceAttributes,uid=uid,extra=extra,user=user,nonResourceAttributes=nonResourceAttributes)))))))))))))))
}
(new$anon():Decoder[SubjectAccessReviewSpec])
}" class="documentableName ">decoder: Decoder[SubjectAccessReviewSpec]