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