All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.GetContractsResult.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai


final case class GetContractsResult private(
  contracts: scala.collection.immutable.List[besom.api.akamai.outputs.GetContractsContract],
  id: String
)
object GetContractsResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetContractsResult] =
    besom.internal.Decoder.derived[GetContractsResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetContractsResult])
      def contracts : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetContractsContract]] = output.map(_.contracts)
      def id : besom.types.Output[String] = output.map(_.id)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetContractsResult]])
      def contracts : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetContractsContract]]] = output.map(_.map(_.contracts))
      def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy