src.index.PropertyBootstrapArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class PropertyBootstrapArgs private(
contractId: besom.types.Output[String],
groupId: besom.types.Output[String],
name: besom.types.Output[scala.Option[String]],
productId: besom.types.Output[String]
)
object PropertyBootstrapArgs:
def apply(
contractId: besom.types.Input[String],
groupId: besom.types.Input[String],
name: besom.types.Input.Optional[String] = scala.None,
productId: besom.types.Input[String]
)(using besom.types.Context): PropertyBootstrapArgs =
new PropertyBootstrapArgs(
contractId = contractId.asOutput(isSecret = false),
groupId = groupId.asOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
productId = productId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[PropertyBootstrapArgs] =
besom.internal.Encoder.derived[PropertyBootstrapArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[PropertyBootstrapArgs] =
besom.internal.ArgsEncoder.derived[PropertyBootstrapArgs]