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