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

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

The newest version!
package besom.api.akamai


final case class GetPropertyResult private(
  contractId: String,
  groupId: String,
  id: String,
  latestVersion: Int,
  name: String,
  note: String,
  productId: String,
  productionVersion: Int,
  propertyId: String,
  ruleFormat: String,
  rules: String,
  stagingVersion: Int,
  version: scala.Option[Int]
)
object GetPropertyResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetPropertyResult])
      def contractId : besom.types.Output[String] = output.map(_.contractId)
      def groupId : besom.types.Output[String] = output.map(_.groupId)
      def id : besom.types.Output[String] = output.map(_.id)
      def latestVersion : besom.types.Output[Int] = output.map(_.latestVersion)
      def name : besom.types.Output[String] = output.map(_.name)
      def note : besom.types.Output[String] = output.map(_.note)
      def productId : besom.types.Output[String] = output.map(_.productId)
      def productionVersion : besom.types.Output[Int] = output.map(_.productionVersion)
      def propertyId : besom.types.Output[String] = output.map(_.propertyId)
      def ruleFormat : besom.types.Output[String] = output.map(_.ruleFormat)
      def rules : besom.types.Output[String] = output.map(_.rules)
      def stagingVersion : besom.types.Output[Int] = output.map(_.stagingVersion)
      def version : besom.types.Output[scala.Option[Int]] = output.map(_.version)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetPropertyResult]])
      def contractId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contractId))
      def groupId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.groupId))
      def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
      def latestVersion : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.latestVersion))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def note : besom.types.Output[scala.Option[String]] = output.map(_.map(_.note))
      def productId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.productId))
      def productionVersion : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.productionVersion))
      def propertyId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.propertyId))
      def ruleFormat : besom.types.Output[scala.Option[String]] = output.map(_.map(_.ruleFormat))
      def rules : besom.types.Output[scala.Option[String]] = output.map(_.map(_.rules))
      def stagingVersion : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.stagingVersion))
      def version : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.version))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy