src.index.GetPropertyHostnamesResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetPropertyHostnamesResult private(
contractId: String,
groupId: String,
hostnames: scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertyHostnamesHostname],
id: String,
propertyId: String,
version: Int
)
object GetPropertyHostnamesResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetPropertyHostnamesResult] =
besom.internal.Decoder.derived[GetPropertyHostnamesResult]
given outputOps: {} with
extension(output: besom.types.Output[GetPropertyHostnamesResult])
def contractId : besom.types.Output[String] = output.map(_.contractId)
def groupId : besom.types.Output[String] = output.map(_.groupId)
def hostnames : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertyHostnamesHostname]] = output.map(_.hostnames)
def id : besom.types.Output[String] = output.map(_.id)
def propertyId : besom.types.Output[String] = output.map(_.propertyId)
def version : besom.types.Output[Int] = output.map(_.version)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetPropertyHostnamesResult]])
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 hostnames : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertyHostnamesHostname]]] = output.map(_.map(_.hostnames))
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def propertyId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.propertyId))
def version : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.version))