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

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

The newest version!
package besom.api.akamai


final case class GetAuthoritiesSetResult private(
  authorities: scala.collection.immutable.List[String],
  contract: String,
  id: String
)
object GetAuthoritiesSetResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetAuthoritiesSetResult])
      def authorities : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.authorities)
      def contract : besom.types.Output[String] = output.map(_.contract)
      def id : besom.types.Output[String] = output.map(_.id)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetAuthoritiesSetResult]])
      def authorities : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.authorities))
      def contract : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contract))
      def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy