
src.jobs.v3.Company.scala Maven / Gradle / Ivy
package besom.api.googlenative.jobs.v3
final case class Company private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
careerSiteUri: besom.types.Output[String],
derivedInfo: besom.types.Output[besom.api.googlenative.jobs.v3.outputs.CompanyDerivedInfoResponse],
displayName: besom.types.Output[String],
eeoText: besom.types.Output[String],
externalId: besom.types.Output[String],
headquartersAddress: besom.types.Output[String],
hiringAgency: besom.types.Output[Boolean],
imageUri: besom.types.Output[String],
keywordSearchableJobCustomAttributes: besom.types.Output[scala.collection.immutable.List[String]],
name: besom.types.Output[String],
project: besom.types.Output[String],
size: besom.types.Output[String],
suspended: besom.types.Output[Boolean],
websiteUri: besom.types.Output[String]
) extends besom.CustomResource
object Company extends besom.ResourceCompanion[Company]:
/** Resource constructor for Company.
*
* @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 [[CompanyArgs]] 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 = Company(
* "my-resource",
* CompanyArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: CompanyArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Company] =
ctx.readOrRegisterResource[Company, CompanyArgs]("google-native:jobs/v3:Company", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:jobs/v3:Company"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Company] =
besom.internal.ResourceDecoder.derived[Company]
given decoder(using besom.types.Context): besom.types.Decoder[Company] =
besom.internal.Decoder.customResourceDecoder[Company]
given outputOps: {} with
extension(output: besom.types.Output[Company])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def careerSiteUri : besom.types.Output[String] = output.flatMap(_.careerSiteUri)
def derivedInfo : besom.types.Output[besom.api.googlenative.jobs.v3.outputs.CompanyDerivedInfoResponse] = output.flatMap(_.derivedInfo)
def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
def eeoText : besom.types.Output[String] = output.flatMap(_.eeoText)
def externalId : besom.types.Output[String] = output.flatMap(_.externalId)
def headquartersAddress : besom.types.Output[String] = output.flatMap(_.headquartersAddress)
def hiringAgency : besom.types.Output[Boolean] = output.flatMap(_.hiringAgency)
def imageUri : besom.types.Output[String] = output.flatMap(_.imageUri)
def keywordSearchableJobCustomAttributes : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.keywordSearchableJobCustomAttributes)
def name : besom.types.Output[String] = output.flatMap(_.name)
def project : besom.types.Output[String] = output.flatMap(_.project)
def size : besom.types.Output[String] = output.flatMap(_.size)
def suspended : besom.types.Output[Boolean] = output.flatMap(_.suspended)
def websiteUri : besom.types.Output[String] = output.flatMap(_.websiteUri)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy