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

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

The newest version!
package besom.api.akamai


final case class GetCpsEnrollmentsResult private(
  contractId: String,
  enrollments: scala.collection.immutable.List[besom.api.akamai.outputs.GetCpsEnrollmentsEnrollment],
  id: String
)
object GetCpsEnrollmentsResult :

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



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

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy