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

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

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

final case class CloudwrapperConfigurationLocationArgs private(
  capacity: besom.types.Output[scala.Option[besom.api.akamai.inputs.CloudwrapperConfigurationLocationCapacityArgs]],
  comments: besom.types.Output[String],
  trafficTypeId: besom.types.Output[Int]
)

object CloudwrapperConfigurationLocationArgs:
  def apply(
    capacity: besom.types.Input.Optional[besom.api.akamai.inputs.CloudwrapperConfigurationLocationCapacityArgs] = scala.None,
    comments: besom.types.Input[String],
    trafficTypeId: besom.types.Input[Int]
  )(using besom.types.Context): CloudwrapperConfigurationLocationArgs =
    new CloudwrapperConfigurationLocationArgs(
      capacity = capacity.asOptionOutput(isSecret = false),
      comments = comments.asOutput(isSecret = false),
      trafficTypeId = trafficTypeId.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy