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

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

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

final case class GetPropertiesPropertyArgs private(
  contractId: besom.types.Output[String],
  groupId: besom.types.Output[String],
  latestVersion: besom.types.Output[Int],
  note: besom.types.Output[String],
  productId: besom.types.Output[String],
  productionVersion: besom.types.Output[Int],
  propertyId: besom.types.Output[String],
  propertyName: besom.types.Output[String],
  ruleFormat: besom.types.Output[String],
  stagingVersion: besom.types.Output[Int]
)

object GetPropertiesPropertyArgs:
  def apply(
    contractId: besom.types.Input[String],
    groupId: besom.types.Input[String],
    latestVersion: besom.types.Input[Int],
    note: besom.types.Input[String],
    productId: besom.types.Input[String],
    productionVersion: besom.types.Input[Int],
    propertyId: besom.types.Input[String],
    propertyName: besom.types.Input[String],
    ruleFormat: besom.types.Input[String],
    stagingVersion: besom.types.Input[Int]
  )(using besom.types.Context): GetPropertiesPropertyArgs =
    new GetPropertiesPropertyArgs(
      contractId = contractId.asOutput(isSecret = false),
      groupId = groupId.asOutput(isSecret = false),
      latestVersion = latestVersion.asOutput(isSecret = false),
      note = note.asOutput(isSecret = false),
      productId = productId.asOutput(isSecret = false),
      productionVersion = productionVersion.asOutput(isSecret = false),
      propertyId = propertyId.asOutput(isSecret = false),
      propertyName = propertyName.asOutput(isSecret = false),
      ruleFormat = ruleFormat.asOutput(isSecret = false),
      stagingVersion = stagingVersion.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy