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