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