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