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