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

src.index.BotmanJavascriptInjectionArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class BotmanJavascriptInjectionArgs private(
  configId: besom.types.Output[Int],
  javascriptInjection: besom.types.Output[String],
  securityPolicyId: besom.types.Output[String]
)

object BotmanJavascriptInjectionArgs:
  def apply(
    configId: besom.types.Input[Int],
    javascriptInjection: besom.types.Input[String],
    securityPolicyId: besom.types.Input[String]
  )(using besom.types.Context): BotmanJavascriptInjectionArgs =
    new BotmanJavascriptInjectionArgs(
      configId = configId.asOutput(isSecret = false),
      javascriptInjection = javascriptInjection.asOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy