src.index.GetDatastreamDatasetFieldsArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetDatastreamDatasetFieldsArgs private(
productId: besom.types.Output[scala.Option[String]]
)
object GetDatastreamDatasetFieldsArgs:
def apply(
productId: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): GetDatastreamDatasetFieldsArgs =
new GetDatastreamDatasetFieldsArgs(
productId = productId.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetDatastreamDatasetFieldsArgs] =
besom.internal.Encoder.derived[GetDatastreamDatasetFieldsArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetDatastreamDatasetFieldsArgs] =
besom.internal.ArgsEncoder.derived[GetDatastreamDatasetFieldsArgs]