src.index.outputs.GetContractsContract.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class GetContractsContract private(
contractId: String,
contractTypeName: String
)
object GetContractsContract :
given decoder(using besom.types.Context): besom.types.Decoder[GetContractsContract] =
besom.internal.Decoder.derived[GetContractsContract]
given outputOps: {} with
extension(output: besom.types.Output[GetContractsContract])
def contractId : besom.types.Output[String] = output.map(_.contractId)
def contractTypeName : besom.types.Output[String] = output.map(_.contractTypeName)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetContractsContract]])
def contractId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contractId))
def contractTypeName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contractTypeName))