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