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

src.index.inputs.EventSubscriptionSourceArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok.inputs

final case class EventSubscriptionSourceArgs private(
  fields: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  filter: besom.types.Output[scala.Option[String]],
  `type`: besom.types.Output[scala.Option[String]],
  uri: besom.types.Output[scala.Option[String]]
)

object EventSubscriptionSourceArgs:
  def apply(
    fields: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    filter: besom.types.Input.Optional[String] = scala.None,
    `type`: besom.types.Input.Optional[String] = scala.None,
    uri: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): EventSubscriptionSourceArgs =
    new EventSubscriptionSourceArgs(
      fields = fields.asOptionOutput(isSecret = false),
      filter = filter.asOptionOutput(isSecret = false),
      `type` = `type`.asOptionOutput(isSecret = false),
      uri = uri.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy