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

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

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

final case class GetImagingPolicyImagePolicyArgs private(
  breakpoints: besom.types.Output[scala.Option[besom.api.akamai.inputs.GetImagingPolicyImagePolicyBreakpointsArgs]],
  hosts: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  output: besom.types.Output[scala.Option[besom.api.akamai.inputs.GetImagingPolicyImagePolicyOutputArgs]],
  postBreakpointTransformations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetImagingPolicyImagePolicyPostBreakpointTransformationArgs]]],
  rolloutDuration: besom.types.Output[scala.Option[String]],
  serveStaleDuration: besom.types.Output[scala.Option[String]],
  transformations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetImagingPolicyImagePolicyTransformationArgs]]],
  variables: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetImagingPolicyImagePolicyVariableArgs]]]
)

object GetImagingPolicyImagePolicyArgs:
  def apply(
    breakpoints: besom.types.Input.Optional[besom.api.akamai.inputs.GetImagingPolicyImagePolicyBreakpointsArgs] = scala.None,
    hosts: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    output: besom.types.Input.Optional[besom.api.akamai.inputs.GetImagingPolicyImagePolicyOutputArgs] = scala.None,
    postBreakpointTransformations: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetImagingPolicyImagePolicyPostBreakpointTransformationArgs]]] = scala.None,
    rolloutDuration: besom.types.Input.Optional[String] = scala.None,
    serveStaleDuration: besom.types.Input.Optional[String] = scala.None,
    transformations: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetImagingPolicyImagePolicyTransformationArgs]]] = scala.None,
    variables: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetImagingPolicyImagePolicyVariableArgs]]] = scala.None
  )(using besom.types.Context): GetImagingPolicyImagePolicyArgs =
    new GetImagingPolicyImagePolicyArgs(
      breakpoints = breakpoints.asOptionOutput(isSecret = false),
      hosts = hosts.asOptionOutput(isSecret = false),
      output = output.asOptionOutput(isSecret = false),
      postBreakpointTransformations = postBreakpointTransformations.asOptionOutput(isSecret = false),
      rolloutDuration = rolloutDuration.asOptionOutput(isSecret = false),
      serveStaleDuration = serveStaleDuration.asOptionOutput(isSecret = false),
      transformations = transformations.asOptionOutput(isSecret = false),
      variables = variables.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy