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

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

The newest version!
package besom.api.akamai

final case class GetPropertyRulesArgs private(
  contractId: besom.types.Output[scala.Option[String]],
  groupId: besom.types.Output[scala.Option[String]],
  propertyId: besom.types.Output[String],
  ruleFormat: besom.types.Output[scala.Option[String]],
  version: besom.types.Output[scala.Option[Int]]
)

object GetPropertyRulesArgs:
  def apply(
    contractId: besom.types.Input.Optional[String] = scala.None,
    groupId: besom.types.Input.Optional[String] = scala.None,
    propertyId: besom.types.Input[String],
    ruleFormat: besom.types.Input.Optional[String] = scala.None,
    version: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): GetPropertyRulesArgs =
    new GetPropertyRulesArgs(
      contractId = contractId.asOptionOutput(isSecret = false),
      groupId = groupId.asOptionOutput(isSecret = false),
      propertyId = propertyId.asOutput(isSecret = false),
      ruleFormat = ruleFormat.asOptionOutput(isSecret = false),
      version = version.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy