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