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