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

com.pulumi.googlenative.jobs.v3.kotlin.outputs.GetCompanyResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.jobs.v3.kotlin.outputs

import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property careerSiteUri Optional. The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".
 * @property derivedInfo Derived details about the company.
 * @property displayName The display name of the company, for example, "Google LLC".
 * @property eeoText Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
 * @property externalId Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
 * @property headquartersAddress Optional. The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
 * @property hiringAgency Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
 * @property imageUri Optional. A URI that hosts the employer's company logo.
 * @property keywordSearchableJobCustomAttributes Optional. This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won't be properly searchable, and those keyword queries need to be surrounded by quotes.
 * @property name Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".
 * @property size Optional. The employer's company size.
 * @property suspended Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
 * @property websiteUri Optional. The URI representing the company's primary web site or home page, for example, "https://www.google.com". The maximum number of allowed characters is 255.
 */
public data class GetCompanyResult(
    public val careerSiteUri: String,
    public val derivedInfo: CompanyDerivedInfoResponse,
    public val displayName: String,
    public val eeoText: String,
    public val externalId: String,
    public val headquartersAddress: String,
    public val hiringAgency: Boolean,
    public val imageUri: String,
    @Deprecated(
        message = """
  Optional. This field is deprecated. Please set the searchability of the custom attribute in the
      Job.custom_attributes going forward. A list of keys of filterable Job.custom_attributes, whose
      corresponding `string_values` are used in keyword search. Jobs with `string_values` under
      these specified field keys are returned if any of the values matches the search keyword.
      Custom field values with parenthesis, brackets and special symbols won't be properly
      searchable, and those keyword queries need to be surrounded by quotes.
  """,
    )
    public val keywordSearchableJobCustomAttributes: List,
    public val name: String,
    public val size: String,
    public val suspended: Boolean,
    public val websiteUri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.jobs.v3.outputs.GetCompanyResult): GetCompanyResult = GetCompanyResult(
            careerSiteUri = javaType.careerSiteUri(),
            derivedInfo = javaType.derivedInfo().let({ args0 ->
                com.pulumi.googlenative.jobs.v3.kotlin.outputs.CompanyDerivedInfoResponse.Companion.toKotlin(args0)
            }),
            displayName = javaType.displayName(),
            eeoText = javaType.eeoText(),
            externalId = javaType.externalId(),
            headquartersAddress = javaType.headquartersAddress(),
            hiringAgency = javaType.hiringAgency(),
            imageUri = javaType.imageUri(),
            keywordSearchableJobCustomAttributes = javaType.keywordSearchableJobCustomAttributes().map({ args0 ->
                args0
            }),
            name = javaType.name(),
            size = javaType.size(),
            suspended = javaType.suspended(),
            websiteUri = javaType.websiteUri(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy