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

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

package besom.api.googlenative.batch.v1


final case class GetJobResult private(
  allocationPolicy: besom.api.googlenative.batch.v1.outputs.AllocationPolicyResponse,
  createTime: String,
  labels: scala.Predef.Map[String, String],
  logsPolicy: besom.api.googlenative.batch.v1.outputs.LogsPolicyResponse,
  name: String,
  notifications: scala.collection.immutable.List[besom.api.googlenative.batch.v1.outputs.JobNotificationResponse],
  priority: String,
  status: besom.api.googlenative.batch.v1.outputs.JobStatusResponse,
  taskGroups: scala.collection.immutable.List[besom.api.googlenative.batch.v1.outputs.TaskGroupResponse],
  uid: String,
  updateTime: String
)
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 allocationPolicy : besom.types.Output[besom.api.googlenative.batch.v1.outputs.AllocationPolicyResponse] = output.map(_.allocationPolicy)
      def createTime : besom.types.Output[String] = output.map(_.createTime)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.map(_.labels)
      def logsPolicy : besom.types.Output[besom.api.googlenative.batch.v1.outputs.LogsPolicyResponse] = output.map(_.logsPolicy)
      def name : besom.types.Output[String] = output.map(_.name)
      def notifications : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.batch.v1.outputs.JobNotificationResponse]] = output.map(_.notifications)
      def priority : besom.types.Output[String] = output.map(_.priority)
      def status : besom.types.Output[besom.api.googlenative.batch.v1.outputs.JobStatusResponse] = output.map(_.status)
      def taskGroups : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.batch.v1.outputs.TaskGroupResponse]] = output.map(_.taskGroups)
      def uid : besom.types.Output[String] = output.map(_.uid)
      def updateTime : besom.types.Output[String] = output.map(_.updateTime)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetJobResult]])
      def allocationPolicy : besom.types.Output[scala.Option[besom.api.googlenative.batch.v1.outputs.AllocationPolicyResponse]] = output.map(_.map(_.allocationPolicy))
      def createTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.createTime))
      def labels : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.map(_.labels))
      def logsPolicy : besom.types.Output[scala.Option[besom.api.googlenative.batch.v1.outputs.LogsPolicyResponse]] = output.map(_.map(_.logsPolicy))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def notifications : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.batch.v1.outputs.JobNotificationResponse]]] = output.map(_.map(_.notifications))
      def priority : besom.types.Output[scala.Option[String]] = output.map(_.map(_.priority))
      def status : besom.types.Output[scala.Option[besom.api.googlenative.batch.v1.outputs.JobStatusResponse]] = output.map(_.map(_.status))
      def taskGroups : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.batch.v1.outputs.TaskGroupResponse]]] = output.map(_.map(_.taskGroups))
      def uid : besom.types.Output[scala.Option[String]] = output.map(_.map(_.uid))
      def updateTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.updateTime))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy