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

src.index.ImagingPolicyImageArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class ImagingPolicyImageArgs private(
  activateOnProduction: besom.types.Output[scala.Option[Boolean]],
  contractId: besom.types.Output[String],
  json: besom.types.Output[String],
  policyId: besom.types.Output[String],
  policysetId: besom.types.Output[String]
)

object ImagingPolicyImageArgs:
  def apply(
    activateOnProduction: besom.types.Input.Optional[Boolean] = scala.None,
    contractId: besom.types.Input[String],
    json: besom.types.Input[String],
    policyId: besom.types.Input[String],
    policysetId: besom.types.Input[String]
  )(using besom.types.Context): ImagingPolicyImageArgs =
    new ImagingPolicyImageArgs(
      activateOnProduction = activateOnProduction.asOptionOutput(isSecret = false),
      contractId = contractId.asOutput(isSecret = false),
      json = json.asOutput(isSecret = false),
      policyId = policyId.asOutput(isSecret = false),
      policysetId = policysetId.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy