src.index.GetPropertiesSearchResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetPropertiesSearchResult private(
id: String,
key: String,
properties: scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertiesSearchProperty],
value: String
)
object GetPropertiesSearchResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetPropertiesSearchResult] =
besom.internal.Decoder.derived[GetPropertiesSearchResult]
given outputOps: {} with
extension(output: besom.types.Output[GetPropertiesSearchResult])
def id : besom.types.Output[String] = output.map(_.id)
def key : besom.types.Output[String] = output.map(_.key)
def properties : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertiesSearchProperty]] = output.map(_.properties)
def value : besom.types.Output[String] = output.map(_.value)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetPropertiesSearchResult]])
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def key : besom.types.Output[scala.Option[String]] = output.map(_.map(_.key))
def properties : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertiesSearchProperty]]] = output.map(_.map(_.properties))
def value : besom.types.Output[scala.Option[String]] = output.map(_.map(_.value))