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

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

package besom.api.googlenative.testing.v1

final case class DeviceSessionArgs private(
  androidDevice: besom.types.Output[besom.api.googlenative.testing.v1.inputs.AndroidDeviceArgs],
  expireTime: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  ttl: besom.types.Output[scala.Option[String]]
)

object DeviceSessionArgs:
  def apply(
    androidDevice: besom.types.Input[besom.api.googlenative.testing.v1.inputs.AndroidDeviceArgs],
    expireTime: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    ttl: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): DeviceSessionArgs =
    new DeviceSessionArgs(
      androidDevice = androidDevice.asOutput(isSecret = false),
      expireTime = expireTime.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      ttl = ttl.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy