All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.toolresults.v1beta3.PerfSampleSeriesArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.toolresults.v1beta3

final case class PerfSampleSeriesArgs private(
  basicPerfSampleSeries: besom.types.Output[scala.Option[besom.api.googlenative.toolresults.v1beta3.inputs.BasicPerfSampleSeriesArgs]],
  executionId: besom.types.Output[String],
  historyId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  stepId: besom.types.Output[String]
)

object PerfSampleSeriesArgs:
  def apply(
    basicPerfSampleSeries: besom.types.Input.Optional[besom.api.googlenative.toolresults.v1beta3.inputs.BasicPerfSampleSeriesArgs] = scala.None,
    executionId: besom.types.Input[String],
    historyId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    stepId: besom.types.Input[String]
  )(using besom.types.Context): PerfSampleSeriesArgs =
    new PerfSampleSeriesArgs(
      basicPerfSampleSeries = basicPerfSampleSeries.asOptionOutput(isSecret = false),
      executionId = executionId.asOutput(isSecret = false),
      historyId = historyId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      stepId = stepId.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[PerfSampleSeriesArgs] =
    besom.internal.Encoder.derived[PerfSampleSeriesArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[PerfSampleSeriesArgs] =
    besom.internal.ArgsEncoder.derived[PerfSampleSeriesArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy