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

src.logging.v2.ExclusionArgs.scala Maven / Gradle / Ivy

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

final case class ExclusionArgs private(
  description: besom.types.Output[scala.Option[String]],
  disabled: besom.types.Output[scala.Option[Boolean]],
  filter: besom.types.Output[String],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]]
)

object ExclusionArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    disabled: besom.types.Input.Optional[Boolean] = scala.None,
    filter: besom.types.Input[String],
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): ExclusionArgs =
    new ExclusionArgs(
      description = description.asOptionOutput(isSecret = false),
      disabled = disabled.asOptionOutput(isSecret = false),
      filter = filter.asOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy