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

src.jobs.v3.Job.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.jobs.v3

final case class Job private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  addresses: besom.types.Output[scala.collection.immutable.List[String]],
  applicationInfo: besom.types.Output[besom.api.googlenative.jobs.v3.outputs.ApplicationInfoResponse],
  companyDisplayName: besom.types.Output[String],
  companyName: besom.types.Output[String],
  compensationInfo: besom.types.Output[besom.api.googlenative.jobs.v3.outputs.CompensationInfoResponse],
  customAttributes: besom.types.Output[scala.Predef.Map[String, String]],
  degreeTypes: besom.types.Output[scala.collection.immutable.List[String]],
  department: besom.types.Output[String],
  derivedInfo: besom.types.Output[besom.api.googlenative.jobs.v3.outputs.JobDerivedInfoResponse],
  description: besom.types.Output[String],
  employmentTypes: besom.types.Output[scala.collection.immutable.List[String]],
  incentives: besom.types.Output[String],
  jobBenefits: besom.types.Output[scala.collection.immutable.List[String]],
  jobEndTime: besom.types.Output[String],
  jobLevel: besom.types.Output[String],
  jobStartTime: besom.types.Output[String],
  languageCode: besom.types.Output[String],
  name: besom.types.Output[String],
  postingCreateTime: besom.types.Output[String],
  postingExpireTime: besom.types.Output[String],
  postingPublishTime: besom.types.Output[String],
  postingRegion: besom.types.Output[String],
  postingUpdateTime: besom.types.Output[String],
  processingOptions: besom.types.Output[besom.api.googlenative.jobs.v3.outputs.ProcessingOptionsResponse],
  project: besom.types.Output[String],
  promotionValue: besom.types.Output[Int],
  qualifications: besom.types.Output[String],
  requisitionId: besom.types.Output[String],
  responsibilities: besom.types.Output[String],
  title: besom.types.Output[String],
  visibility: besom.types.Output[String]
) extends besom.CustomResource

object Job extends besom.ResourceCompanion[Job]:
  /** Resource constructor for Job. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[JobArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = Job(
    *          "my-resource",
    *          JobArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: JobArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Job] =
    ctx.readOrRegisterResource[Job, JobArgs]("google-native:jobs/v3:Job", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:jobs/v3:Job"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Job] =
    besom.internal.ResourceDecoder.derived[Job]

  given decoder(using besom.types.Context): besom.types.Decoder[Job] =
    besom.internal.Decoder.customResourceDecoder[Job]


  given outputOps: {} with
    extension(output: besom.types.Output[Job])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def addresses : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.addresses)
      def applicationInfo : besom.types.Output[besom.api.googlenative.jobs.v3.outputs.ApplicationInfoResponse] = output.flatMap(_.applicationInfo)
      def companyDisplayName : besom.types.Output[String] = output.flatMap(_.companyDisplayName)
      def companyName : besom.types.Output[String] = output.flatMap(_.companyName)
      def compensationInfo : besom.types.Output[besom.api.googlenative.jobs.v3.outputs.CompensationInfoResponse] = output.flatMap(_.compensationInfo)
      def customAttributes : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.customAttributes)
      def degreeTypes : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.degreeTypes)
      def department : besom.types.Output[String] = output.flatMap(_.department)
      def derivedInfo : besom.types.Output[besom.api.googlenative.jobs.v3.outputs.JobDerivedInfoResponse] = output.flatMap(_.derivedInfo)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def employmentTypes : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.employmentTypes)
      def incentives : besom.types.Output[String] = output.flatMap(_.incentives)
      def jobBenefits : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.jobBenefits)
      def jobEndTime : besom.types.Output[String] = output.flatMap(_.jobEndTime)
      def jobLevel : besom.types.Output[String] = output.flatMap(_.jobLevel)
      def jobStartTime : besom.types.Output[String] = output.flatMap(_.jobStartTime)
      def languageCode : besom.types.Output[String] = output.flatMap(_.languageCode)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def postingCreateTime : besom.types.Output[String] = output.flatMap(_.postingCreateTime)
      def postingExpireTime : besom.types.Output[String] = output.flatMap(_.postingExpireTime)
      def postingPublishTime : besom.types.Output[String] = output.flatMap(_.postingPublishTime)
      def postingRegion : besom.types.Output[String] = output.flatMap(_.postingRegion)
      def postingUpdateTime : besom.types.Output[String] = output.flatMap(_.postingUpdateTime)
      def processingOptions : besom.types.Output[besom.api.googlenative.jobs.v3.outputs.ProcessingOptionsResponse] = output.flatMap(_.processingOptions)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def promotionValue : besom.types.Output[Int] = output.flatMap(_.promotionValue)
      def qualifications : besom.types.Output[String] = output.flatMap(_.qualifications)
      def requisitionId : besom.types.Output[String] = output.flatMap(_.requisitionId)
      def responsibilities : besom.types.Output[String] = output.flatMap(_.responsibilities)
      def title : besom.types.Output[String] = output.flatMap(_.title)
      def visibility : besom.types.Output[String] = output.flatMap(_.visibility)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy