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