src.index.GetGroupsResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetGroupsResult private(
groups: scala.collection.immutable.List[besom.api.akamai.outputs.GetGroupsGroup],
id: String
)
object GetGroupsResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetGroupsResult] =
besom.internal.Decoder.derived[GetGroupsResult]
given outputOps: {} with
extension(output: besom.types.Output[GetGroupsResult])
def groups : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetGroupsGroup]] = output.map(_.groups)
def id : besom.types.Output[String] = output.map(_.id)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetGroupsResult]])
def groups : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGroupsGroup]]] = output.map(_.map(_.groups))
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))