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

src.testing.v1.TestMatrixArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.testing.v1

final case class TestMatrixArgs private(
  clientInfo: besom.types.Output[scala.Option[besom.api.googlenative.testing.v1.inputs.ClientInfoArgs]],
  environmentMatrix: besom.types.Output[besom.api.googlenative.testing.v1.inputs.EnvironmentMatrixArgs],
  failFast: besom.types.Output[scala.Option[Boolean]],
  flakyTestAttempts: besom.types.Output[scala.Option[Int]],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]],
  resultStorage: besom.types.Output[besom.api.googlenative.testing.v1.inputs.ResultStorageArgs],
  testSpecification: besom.types.Output[besom.api.googlenative.testing.v1.inputs.TestSpecificationArgs]
)

object TestMatrixArgs:
  def apply(
    clientInfo: besom.types.Input.Optional[besom.api.googlenative.testing.v1.inputs.ClientInfoArgs] = scala.None,
    environmentMatrix: besom.types.Input[besom.api.googlenative.testing.v1.inputs.EnvironmentMatrixArgs],
    failFast: besom.types.Input.Optional[Boolean] = scala.None,
    flakyTestAttempts: besom.types.Input.Optional[Int] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None,
    resultStorage: besom.types.Input[besom.api.googlenative.testing.v1.inputs.ResultStorageArgs],
    testSpecification: besom.types.Input[besom.api.googlenative.testing.v1.inputs.TestSpecificationArgs]
  )(using besom.types.Context): TestMatrixArgs =
    new TestMatrixArgs(
      clientInfo = clientInfo.asOptionOutput(isSecret = false),
      environmentMatrix = environmentMatrix.asOutput(isSecret = false),
      failFast = failFast.asOptionOutput(isSecret = false),
      flakyTestAttempts = flakyTestAttempts.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      resultStorage = resultStorage.asOutput(isSecret = false),
      testSpecification = testSpecification.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy