src.index.AppSecAdvancedSettingsPrefetchArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecAdvancedSettingsPrefetchArgs private(
allExtensions: besom.types.Output[Boolean],
configId: besom.types.Output[Int],
enableAppLayer: besom.types.Output[Boolean],
enableRateControls: besom.types.Output[Boolean],
extensions: besom.types.Output[scala.collection.immutable.List[String]]
)
object AppSecAdvancedSettingsPrefetchArgs:
def apply(
allExtensions: besom.types.Input[Boolean],
configId: besom.types.Input[Int],
enableAppLayer: besom.types.Input[Boolean],
enableRateControls: besom.types.Input[Boolean],
extensions: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]]
)(using besom.types.Context): AppSecAdvancedSettingsPrefetchArgs =
new AppSecAdvancedSettingsPrefetchArgs(
allExtensions = allExtensions.asOutput(isSecret = false),
configId = configId.asOutput(isSecret = false),
enableAppLayer = enableAppLayer.asOutput(isSecret = false),
enableRateControls = enableRateControls.asOutput(isSecret = false),
extensions = extensions.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecAdvancedSettingsPrefetchArgs] =
besom.internal.Encoder.derived[AppSecAdvancedSettingsPrefetchArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecAdvancedSettingsPrefetchArgs] =
besom.internal.ArgsEncoder.derived[AppSecAdvancedSettingsPrefetchArgs]