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

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

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

final case class GtmDatacenterDefaultLoadObjectArgs private(
  loadObject: besom.types.Output[scala.Option[String]],
  loadObjectPort: besom.types.Output[scala.Option[Int]],
  loadServers: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)

object GtmDatacenterDefaultLoadObjectArgs:
  def apply(
    loadObject: besom.types.Input.Optional[String] = scala.None,
    loadObjectPort: besom.types.Input.Optional[Int] = scala.None,
    loadServers: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
  )(using besom.types.Context): GtmDatacenterDefaultLoadObjectArgs =
    new GtmDatacenterDefaultLoadObjectArgs(
      loadObject = loadObject.asOptionOutput(isSecret = false),
      loadObjectPort = loadObjectPort.asOptionOutput(isSecret = false),
      loadServers = loadServers.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy