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

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

The newest version!
package besom.api.akamai


final case class GetPropertiesResult private(
  contractId: String,
  groupId: String,
  id: String,
  properties: scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertiesProperty]
)
object GetPropertiesResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetPropertiesResult])
      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 properties : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertiesProperty]] = output.map(_.properties)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetPropertiesResult]])
      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 properties : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertiesProperty]]] = output.map(_.map(_.properties))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy