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

src.index.outputs.GetCloudwrapperLocationsLocation.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.outputs


final case class GetCloudwrapperLocationsLocation private(
  locationId: Int,
  locationName: String,
  multiCdnLocationId: String,
  trafficTypes: scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetCloudwrapperLocationsLocationTrafficType]]
)
object GetCloudwrapperLocationsLocation :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetCloudwrapperLocationsLocation])
      def locationId : besom.types.Output[Int] = output.map(_.locationId)
      def locationName : besom.types.Output[String] = output.map(_.locationName)
      def multiCdnLocationId : besom.types.Output[String] = output.map(_.multiCdnLocationId)
      def trafficTypes : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetCloudwrapperLocationsLocationTrafficType]]] = output.map(_.trafficTypes)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetCloudwrapperLocationsLocation]])
      def locationId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.locationId))
      def locationName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.locationName))
      def multiCdnLocationId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.multiCdnLocationId))
      def trafficTypes : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetCloudwrapperLocationsLocationTrafficType]]] = output.map(_.flatMap(_.trafficTypes))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy