All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.run.v1.GetJobResult.scala Maven / Gradle / Ivy

package besom.api.googlenative.run.v1


final case class GetJobResult private(
  apiVersion: String,
  kind: String,
  metadata: besom.api.googlenative.run.v1.outputs.ObjectMetaResponse,
  spec: besom.api.googlenative.run.v1.outputs.JobSpecResponse,
  status: besom.api.googlenative.run.v1.outputs.JobStatusResponse
)
object GetJobResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetJobResult] =
    besom.internal.Decoder.derived[GetJobResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetJobResult])
      def apiVersion : besom.types.Output[String] = output.map(_.apiVersion)
      def kind : besom.types.Output[String] = output.map(_.kind)
      def metadata : besom.types.Output[besom.api.googlenative.run.v1.outputs.ObjectMetaResponse] = output.map(_.metadata)
      def spec : besom.types.Output[besom.api.googlenative.run.v1.outputs.JobSpecResponse] = output.map(_.spec)
      def status : besom.types.Output[besom.api.googlenative.run.v1.outputs.JobStatusResponse] = output.map(_.status)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetJobResult]])
      def apiVersion : besom.types.Output[scala.Option[String]] = output.map(_.map(_.apiVersion))
      def kind : besom.types.Output[scala.Option[String]] = output.map(_.map(_.kind))
      def metadata : besom.types.Output[scala.Option[besom.api.googlenative.run.v1.outputs.ObjectMetaResponse]] = output.map(_.map(_.metadata))
      def spec : besom.types.Output[scala.Option[besom.api.googlenative.run.v1.outputs.JobSpecResponse]] = output.map(_.map(_.spec))
      def status : besom.types.Output[scala.Option[besom.api.googlenative.run.v1.outputs.JobStatusResponse]] = output.map(_.map(_.status))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy