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