src.index.ImagingPolicySetArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class ImagingPolicySetArgs private(
contractId: besom.types.Output[String],
name: besom.types.Output[scala.Option[String]],
region: besom.types.Output[String],
`type`: besom.types.Output[String]
)
object ImagingPolicySetArgs:
def apply(
contractId: besom.types.Input[String],
name: besom.types.Input.Optional[String] = scala.None,
region: besom.types.Input[String],
`type`: besom.types.Input[String]
)(using besom.types.Context): ImagingPolicySetArgs =
new ImagingPolicySetArgs(
contractId = contractId.asOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
region = region.asOutput(isSecret = false),
`type` = `type`.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[ImagingPolicySetArgs] =
besom.internal.Encoder.derived[ImagingPolicySetArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ImagingPolicySetArgs] =
besom.internal.ArgsEncoder.derived[ImagingPolicySetArgs]