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