src.index.AppSecAdvancedSettingsPragmaHeaderArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecAdvancedSettingsPragmaHeaderArgs private(
configId: besom.types.Output[Int],
pragmaHeader: besom.types.Output[String],
securityPolicyId: besom.types.Output[scala.Option[String]]
)
object AppSecAdvancedSettingsPragmaHeaderArgs:
def apply(
configId: besom.types.Input[Int],
pragmaHeader: besom.types.Input[String],
securityPolicyId: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): AppSecAdvancedSettingsPragmaHeaderArgs =
new AppSecAdvancedSettingsPragmaHeaderArgs(
configId = configId.asOutput(isSecret = false),
pragmaHeader = pragmaHeader.asOutput(isSecret = false),
securityPolicyId = securityPolicyId.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecAdvancedSettingsPragmaHeaderArgs] =
besom.internal.Encoder.derived[AppSecAdvancedSettingsPragmaHeaderArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecAdvancedSettingsPragmaHeaderArgs] =
besom.internal.ArgsEncoder.derived[AppSecAdvancedSettingsPragmaHeaderArgs]