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

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

The newest version!
package besom.api.akamai

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

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy