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

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

The newest version!
package besom.api.akamai


final case class GetAppSecSelectableHostnamesResult private(
  activeInProduction: scala.Option[Boolean],
  activeInStaging: scala.Option[Boolean],
  configId: scala.Option[Int],
  contractid: scala.Option[String],
  groupid: scala.Option[Int],
  hostnames: scala.collection.immutable.List[String],
  hostnamesJson: String,
  id: String,
  outputText: String
)
object GetAppSecSelectableHostnamesResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetAppSecSelectableHostnamesResult])
      def activeInProduction : besom.types.Output[scala.Option[Boolean]] = output.map(_.activeInProduction)
      def activeInStaging : besom.types.Output[scala.Option[Boolean]] = output.map(_.activeInStaging)
      def configId : besom.types.Output[scala.Option[Int]] = output.map(_.configId)
      def contractid : besom.types.Output[scala.Option[String]] = output.map(_.contractid)
      def groupid : besom.types.Output[scala.Option[Int]] = output.map(_.groupid)
      def hostnames : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.hostnames)
      def hostnamesJson : besom.types.Output[String] = output.map(_.hostnamesJson)
      def id : besom.types.Output[String] = output.map(_.id)
      def outputText : besom.types.Output[String] = output.map(_.outputText)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetAppSecSelectableHostnamesResult]])
      def activeInProduction : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.activeInProduction))
      def activeInStaging : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.activeInStaging))
      def configId : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.configId))
      def contractid : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.contractid))
      def groupid : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.groupid))
      def hostnames : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.hostnames))
      def hostnamesJson : besom.types.Output[scala.Option[String]] = output.map(_.map(_.hostnamesJson))
      def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
      def outputText : besom.types.Output[scala.Option[String]] = output.map(_.map(_.outputText))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy