All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.CpsDvEnrollmentArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class CpsDvEnrollmentArgs private(
  acknowledgePreVerificationWarnings: besom.types.Output[scala.Option[Boolean]],
  adminContact: besom.types.Output[besom.api.akamai.inputs.CpsDvEnrollmentAdminContactArgs],
  allowDuplicateCommonName: besom.types.Output[scala.Option[Boolean]],
  certificateChainType: besom.types.Output[scala.Option[String]],
  commonName: besom.types.Output[String],
  contractId: besom.types.Output[String],
  csr: besom.types.Output[besom.api.akamai.inputs.CpsDvEnrollmentCsrArgs],
  networkConfiguration: besom.types.Output[besom.api.akamai.inputs.CpsDvEnrollmentNetworkConfigurationArgs],
  organization: besom.types.Output[besom.api.akamai.inputs.CpsDvEnrollmentOrganizationArgs],
  sans: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  secureNetwork: besom.types.Output[String],
  signatureAlgorithm: besom.types.Output[String],
  sniOnly: besom.types.Output[Boolean],
  techContact: besom.types.Output[besom.api.akamai.inputs.CpsDvEnrollmentTechContactArgs],
  timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.CpsDvEnrollmentTimeoutsArgs]]
)

object CpsDvEnrollmentArgs:
  def apply(
    acknowledgePreVerificationWarnings: besom.types.Input.Optional[Boolean] = scala.None,
    adminContact: besom.types.Input[besom.api.akamai.inputs.CpsDvEnrollmentAdminContactArgs],
    allowDuplicateCommonName: besom.types.Input.Optional[Boolean] = scala.None,
    certificateChainType: besom.types.Input.Optional[String] = scala.None,
    commonName: besom.types.Input[String],
    contractId: besom.types.Input[String],
    csr: besom.types.Input[besom.api.akamai.inputs.CpsDvEnrollmentCsrArgs],
    networkConfiguration: besom.types.Input[besom.api.akamai.inputs.CpsDvEnrollmentNetworkConfigurationArgs],
    organization: besom.types.Input[besom.api.akamai.inputs.CpsDvEnrollmentOrganizationArgs],
    sans: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    secureNetwork: besom.types.Input[String],
    signatureAlgorithm: besom.types.Input[String],
    sniOnly: besom.types.Input[Boolean],
    techContact: besom.types.Input[besom.api.akamai.inputs.CpsDvEnrollmentTechContactArgs],
    timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.CpsDvEnrollmentTimeoutsArgs] = scala.None
  )(using besom.types.Context): CpsDvEnrollmentArgs =
    new CpsDvEnrollmentArgs(
      acknowledgePreVerificationWarnings = acknowledgePreVerificationWarnings.asOptionOutput(isSecret = false),
      adminContact = adminContact.asOutput(isSecret = false),
      allowDuplicateCommonName = allowDuplicateCommonName.asOptionOutput(isSecret = false),
      certificateChainType = certificateChainType.asOptionOutput(isSecret = false),
      commonName = commonName.asOutput(isSecret = false),
      contractId = contractId.asOutput(isSecret = false),
      csr = csr.asOutput(isSecret = false),
      networkConfiguration = networkConfiguration.asOutput(isSecret = false),
      organization = organization.asOutput(isSecret = false),
      sans = sans.asOptionOutput(isSecret = false),
      secureNetwork = secureNetwork.asOutput(isSecret = false),
      signatureAlgorithm = signatureAlgorithm.asOutput(isSecret = false),
      sniOnly = sniOnly.asOutput(isSecret = false),
      techContact = techContact.asOutput(isSecret = false),
      timeouts = timeouts.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[CpsDvEnrollmentArgs] =
    besom.internal.Encoder.derived[CpsDvEnrollmentArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CpsDvEnrollmentArgs] =
    besom.internal.ArgsEncoder.derived[CpsDvEnrollmentArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy