object APIResource
- Companion:
- class
- Source:
- APIResource.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.read[Seq[String]]("verbs")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,APIResource](((verbs:Seq[String])=>obj.read[Boolean]("namespaced")(booleanDecoder[T](evidence$1)).flatMap[String,APIResource](((namespaced:Boolean)=>obj.read[String]("singularName")(stringDecoder[T](evidence$1)).flatMap[String,APIResource](((singularName:String)=>obj.readOpt[String]("version")(stringDecoder[T](evidence$1)).flatMap[String,APIResource](((version:Option[String])=>obj.readOpt[Seq[String]]("categories")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,APIResource](((categories:Option[Seq[String]])=>obj.readOpt[Seq[String]]("shortNames")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,APIResource](((shortNames:Option[Seq[String]])=>obj.readOpt[String]("storageVersionHash")(stringDecoder[T](evidence$1)).flatMap[String,APIResource](((storageVersionHash:Option[String])=>obj.readOpt[String]("group")(stringDecoder[T](evidence$1)).map[APIResource](((group:Option[String])=>APIResource.apply(name=name,verbs=verbs,namespaced=namespaced,singularName=singularName,version=version,categories=categories,shortNames=shortNames,storageVersionHash=storageVersionHash,group=group)))))))))))))))))))))
}
(new$anon():Decoder[T,APIResource])
}" class="documentableAnchor">
implicit def obj.read[Seq[String]]("verbs")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,APIResource](((verbs:Seq[String])=>obj.read[Boolean]("namespaced")(booleanDecoder[T](evidence$1)).flatMap[String,APIResource](((namespaced:Boolean)=>obj.read[String]("singularName")(stringDecoder[T](evidence$1)).flatMap[String,APIResource](((singularName:String)=>obj.readOpt[String]("version")(stringDecoder[T](evidence$1)).flatMap[String,APIResource](((version:Option[String])=>obj.readOpt[Seq[String]]("categories")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,APIResource](((categories:Option[Seq[String]])=>obj.readOpt[Seq[String]]("shortNames")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,APIResource](((shortNames:Option[Seq[String]])=>obj.readOpt[String]("storageVersionHash")(stringDecoder[T](evidence$1)).flatMap[String,APIResource](((storageVersionHash:Option[String])=>obj.readOpt[String]("group")(stringDecoder[T](evidence$1)).map[APIResource](((group:Option[String])=>APIResource.apply(name=name,verbs=verbs,namespaced=namespaced,singularName=singularName,version=version,categories=categories,shortNames=shortNames,storageVersionHash=storageVersionHash,group=group)))))))))))))))))))))
}
(new$anon():Decoder[T,APIResource])
}" class="documentableName ">decoderOf[T : Reader]: Decoder[T, APIResource]
- Source:
- APIResource.scala