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

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

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

final case class GetImagingPolicyImagePolicyOutputArgs private(
  adaptiveQuality: besom.types.Output[scala.Option[String]],
  allowPristineOnDownsize: besom.types.Output[scala.Option[String]],
  allowedFormats: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  forcedFormats: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  perceptualQuality: besom.types.Output[scala.Option[String]],
  perceptualQualityFloor: besom.types.Output[scala.Option[String]],
  perceptualQualityVar: besom.types.Output[scala.Option[String]],
  preferModernFormats: besom.types.Output[scala.Option[String]],
  quality: besom.types.Output[scala.Option[String]],
  qualityVar: besom.types.Output[scala.Option[String]]
)

object GetImagingPolicyImagePolicyOutputArgs:
  def apply(
    adaptiveQuality: besom.types.Input.Optional[String] = scala.None,
    allowPristineOnDownsize: besom.types.Input.Optional[String] = scala.None,
    allowedFormats: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    forcedFormats: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    perceptualQuality: besom.types.Input.Optional[String] = scala.None,
    perceptualQualityFloor: besom.types.Input.Optional[String] = scala.None,
    perceptualQualityVar: besom.types.Input.Optional[String] = scala.None,
    preferModernFormats: besom.types.Input.Optional[String] = scala.None,
    quality: besom.types.Input.Optional[String] = scala.None,
    qualityVar: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetImagingPolicyImagePolicyOutputArgs =
    new GetImagingPolicyImagePolicyOutputArgs(
      adaptiveQuality = adaptiveQuality.asOptionOutput(isSecret = false),
      allowPristineOnDownsize = allowPristineOnDownsize.asOptionOutput(isSecret = false),
      allowedFormats = allowedFormats.asOptionOutput(isSecret = false),
      forcedFormats = forcedFormats.asOptionOutput(isSecret = false),
      perceptualQuality = perceptualQuality.asOptionOutput(isSecret = false),
      perceptualQualityFloor = perceptualQualityFloor.asOptionOutput(isSecret = false),
      perceptualQualityVar = perceptualQualityVar.asOptionOutput(isSecret = false),
      preferModernFormats = preferModernFormats.asOptionOutput(isSecret = false),
      quality = quality.asOptionOutput(isSecret = false),
      qualityVar = qualityVar.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy