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

src.index.inputs.DnsZoneTsigKeyArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.inputs

final case class DnsZoneTsigKeyArgs private(
  algorithm: besom.types.Output[String],
  name: besom.types.Output[String],
  secret: besom.types.Output[String]
)

object DnsZoneTsigKeyArgs:
  def apply(
    algorithm: besom.types.Input[String],
    name: besom.types.Input[String],
    secret: besom.types.Input[String]
  )(using besom.types.Context): DnsZoneTsigKeyArgs =
    new DnsZoneTsigKeyArgs(
      algorithm = algorithm.asOutput(isSecret = false),
      name = name.asOutput(isSecret = false),
      secret = secret.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy