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

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

The newest version!
package besom.api.akamai

final case class GtmDomainArgs private(
  cnameCoalescingEnabled: besom.types.Output[scala.Option[Boolean]],
  comment: besom.types.Output[scala.Option[String]],
  contract: besom.types.Output[scala.Option[String]],
  defaultErrorPenalty: besom.types.Output[scala.Option[Int]],
  defaultSslClientCertificate: besom.types.Output[scala.Option[String]],
  defaultSslClientPrivateKey: besom.types.Output[scala.Option[String]],
  defaultTimeoutPenalty: besom.types.Output[scala.Option[Int]],
  emailNotificationLists: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  endUserMappingEnabled: besom.types.Output[scala.Option[Boolean]],
  group: besom.types.Output[scala.Option[String]],
  loadFeedback: besom.types.Output[scala.Option[Boolean]],
  loadImbalancePercentage: besom.types.Output[scala.Option[Double]],
  name: besom.types.Output[scala.Option[String]],
  signAndServe: besom.types.Output[scala.Option[Boolean]],
  signAndServeAlgorithm: besom.types.Output[scala.Option[String]],
  `type`: besom.types.Output[String],
  waitOnComplete: besom.types.Output[scala.Option[Boolean]]
)

object GtmDomainArgs:
  def apply(
    cnameCoalescingEnabled: besom.types.Input.Optional[Boolean] = scala.None,
    comment: besom.types.Input.Optional[String] = scala.None,
    contract: besom.types.Input.Optional[String] = scala.None,
    defaultErrorPenalty: besom.types.Input.Optional[Int] = scala.None,
    defaultSslClientCertificate: besom.types.Input.Optional[String] = scala.None,
    defaultSslClientPrivateKey: besom.types.Input.Optional[String] = scala.None,
    defaultTimeoutPenalty: besom.types.Input.Optional[Int] = scala.None,
    emailNotificationLists: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    endUserMappingEnabled: besom.types.Input.Optional[Boolean] = scala.None,
    group: besom.types.Input.Optional[String] = scala.None,
    loadFeedback: besom.types.Input.Optional[Boolean] = scala.None,
    loadImbalancePercentage: besom.types.Input.Optional[Double] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    signAndServe: besom.types.Input.Optional[Boolean] = scala.None,
    signAndServeAlgorithm: besom.types.Input.Optional[String] = scala.None,
    `type`: besom.types.Input[String],
    waitOnComplete: besom.types.Input.Optional[Boolean] = scala.None
  )(using besom.types.Context): GtmDomainArgs =
    new GtmDomainArgs(
      cnameCoalescingEnabled = cnameCoalescingEnabled.asOptionOutput(isSecret = false),
      comment = comment.asOptionOutput(isSecret = false),
      contract = contract.asOptionOutput(isSecret = false),
      defaultErrorPenalty = defaultErrorPenalty.asOptionOutput(isSecret = false),
      defaultSslClientCertificate = defaultSslClientCertificate.asOptionOutput(isSecret = false),
      defaultSslClientPrivateKey = defaultSslClientPrivateKey.asOptionOutput(isSecret = false),
      defaultTimeoutPenalty = defaultTimeoutPenalty.asOptionOutput(isSecret = false),
      emailNotificationLists = emailNotificationLists.asOptionOutput(isSecret = false),
      endUserMappingEnabled = endUserMappingEnabled.asOptionOutput(isSecret = false),
      group = group.asOptionOutput(isSecret = false),
      loadFeedback = loadFeedback.asOptionOutput(isSecret = false),
      loadImbalancePercentage = loadImbalancePercentage.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      signAndServe = signAndServe.asOptionOutput(isSecret = false),
      signAndServeAlgorithm = signAndServeAlgorithm.asOptionOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false),
      waitOnComplete = waitOnComplete.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy