src.index.ProviderArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok
final case class ProviderArgs private(
apiBaseUrl: besom.types.Output[scala.Option[String]],
apiKey: besom.types.Output[String]
)
object ProviderArgs:
def apply(
apiBaseUrl: besom.types.Input.Optional[String] = scala.None,
apiKey: besom.types.Input[String]
)(using besom.types.Context): ProviderArgs =
new ProviderArgs(
apiBaseUrl = apiBaseUrl.asOptionOutput(isSecret = false),
apiKey = apiKey.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[ProviderArgs] =
besom.internal.Encoder.derived[ProviderArgs]
given providerArgsEncoder(using besom.types.Context): besom.types.ProviderArgsEncoder[ProviderArgs] =
besom.internal.ProviderArgsEncoder.derived[ProviderArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy