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

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

The newest version!
package besom.api.akamai

final case class GetCpCodeArgs private(
  contractId: besom.types.Output[String],
  groupId: besom.types.Output[String],
  name: besom.types.Output[String]
)

object GetCpCodeArgs:
  def apply(
    contractId: besom.types.Input[String],
    groupId: besom.types.Input[String],
    name: besom.types.Input[String]
  )(using besom.types.Context): GetCpCodeArgs =
    new GetCpCodeArgs(
      contractId = contractId.asOutput(isSecret = false),
      groupId = groupId.asOutput(isSecret = false),
      name = name.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy