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