src.index.inputs.CpsDvEnrollmentCsrArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class CpsDvEnrollmentCsrArgs private(
city: besom.types.Output[String],
countryCode: besom.types.Output[String],
organization: besom.types.Output[String],
organizationalUnit: besom.types.Output[scala.Option[String]],
preferredTrustChain: besom.types.Output[scala.Option[String]],
state: besom.types.Output[scala.Option[String]]
)
object CpsDvEnrollmentCsrArgs:
def apply(
city: besom.types.Input[String],
countryCode: besom.types.Input[String],
organization: besom.types.Input[String],
organizationalUnit: besom.types.Input.Optional[String] = scala.None,
preferredTrustChain: besom.types.Input.Optional[String] = scala.None,
state: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): CpsDvEnrollmentCsrArgs =
new CpsDvEnrollmentCsrArgs(
city = city.asOutput(isSecret = false),
countryCode = countryCode.asOutput(isSecret = false),
organization = organization.asOutput(isSecret = false),
organizationalUnit = organizationalUnit.asOptionOutput(isSecret = false),
preferredTrustChain = preferredTrustChain.asOptionOutput(isSecret = false),
state = state.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[CpsDvEnrollmentCsrArgs] =
besom.internal.Encoder.derived[CpsDvEnrollmentCsrArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CpsDvEnrollmentCsrArgs] =
besom.internal.ArgsEncoder.derived[CpsDvEnrollmentCsrArgs]