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

src.apigee.v1.DebugSessionArgs.scala Maven / Gradle / Ivy

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

final case class DebugSessionArgs private(
  apiId: besom.types.Output[String],
  count: besom.types.Output[scala.Option[Int]],
  environmentId: besom.types.Output[String],
  filter: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  organizationId: besom.types.Output[String],
  revisionId: besom.types.Output[String],
  timeout: besom.types.Output[scala.Option[String]],
  tracesize: besom.types.Output[scala.Option[Int]],
  validity: besom.types.Output[scala.Option[Int]]
)

object DebugSessionArgs:
  def apply(
    apiId: besom.types.Input[String],
    count: besom.types.Input.Optional[Int] = scala.None,
    environmentId: besom.types.Input[String],
    filter: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    organizationId: besom.types.Input[String],
    revisionId: besom.types.Input[String],
    timeout: besom.types.Input.Optional[String] = scala.None,
    tracesize: besom.types.Input.Optional[Int] = scala.None,
    validity: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): DebugSessionArgs =
    new DebugSessionArgs(
      apiId = apiId.asOutput(isSecret = false),
      count = count.asOptionOutput(isSecret = false),
      environmentId = environmentId.asOutput(isSecret = false),
      filter = filter.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      organizationId = organizationId.asOutput(isSecret = false),
      revisionId = revisionId.asOutput(isSecret = false),
      timeout = timeout.asOptionOutput(isSecret = false),
      tracesize = tracesize.asOptionOutput(isSecret = false),
      validity = validity.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy