src.index.EventDestinationArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok
final case class EventDestinationArgs private(
description: besom.types.Output[scala.Option[String]],
format: besom.types.Output[scala.Option[String]],
metadata: besom.types.Output[scala.Option[String]],
targets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EventDestinationTargetArgs]]],
verifyWithTestEvent: besom.types.Output[scala.Option[Boolean]]
)
object EventDestinationArgs:
def apply(
description: besom.types.Input.Optional[String] = scala.None,
format: besom.types.Input.Optional[String] = scala.None,
metadata: besom.types.Input.Optional[String] = scala.None,
targets: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EventDestinationTargetArgs]]] = scala.None,
verifyWithTestEvent: besom.types.Input.Optional[Boolean] = scala.None
)(using besom.types.Context): EventDestinationArgs =
new EventDestinationArgs(
description = description.asOptionOutput(isSecret = false),
format = format.asOptionOutput(isSecret = false),
metadata = metadata.asOptionOutput(isSecret = false),
targets = targets.asOptionOutput(isSecret = false),
verifyWithTestEvent = verifyWithTestEvent.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[EventDestinationArgs] =
besom.internal.Encoder.derived[EventDestinationArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EventDestinationArgs] =
besom.internal.ArgsEncoder.derived[EventDestinationArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy