object PolicyRulesWithSubjects
- Companion:
- class
- Source:
- PolicyRulesWithSubjects.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[Seq[io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule]]("nonResourceRules")(arrDecoder[NonResourcePolicyRule](decoder)).flatMap[String,PolicyRulesWithSubjects](((nonResourceRules:Option[Seq[NonResourcePolicyRule]])=>obj.readOpt[Seq[io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule]]("resourceRules")(arrDecoder[ResourcePolicyRule](decoder)).map[PolicyRulesWithSubjects](((resourceRules:Option[Seq[ResourcePolicyRule]])=>PolicyRulesWithSubjects.apply(subjects=subjects,nonResourceRules=nonResourceRules,resourceRules=resourceRules)))))))))
}
(new$anon():Decoder[PolicyRulesWithSubjects])
}" class="documentableAnchor">
implicit val obj.readOpt[Seq[io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule]]("nonResourceRules")(arrDecoder[NonResourcePolicyRule](decoder)).flatMap[String,PolicyRulesWithSubjects](((nonResourceRules:Option[Seq[NonResourcePolicyRule]])=>obj.readOpt[Seq[io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule]]("resourceRules")(arrDecoder[ResourcePolicyRule](decoder)).map[PolicyRulesWithSubjects](((resourceRules:Option[Seq[ResourcePolicyRule]])=>PolicyRulesWithSubjects.apply(subjects=subjects,nonResourceRules=nonResourceRules,resourceRules=resourceRules)))))))))
}
(new$anon():Decoder[PolicyRulesWithSubjects])
}" class="documentableName ">decoder: Decoder[PolicyRulesWithSubjects]