Class: BrightData::LinkedIn::Types::JobKeywordInput

Inherits:
Data
  • Object
show all
Defined in:
lib/brightdata/linkedin/types/job_keyword_input.rb

Overview

Input shape for linkedin.jobs.discover_by_keyword.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#companyString? (readonly)

Returns company filter.

Returns:

  • (String, nil)

    company filter



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#countryString? (readonly)

Returns country code.

Returns:

  • (String, nil)

    country code



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#experience_levelString? (readonly)

Returns experience level.

Returns:

  • (String, nil)

    experience level



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#job_typeString? (readonly)

Returns job type.

Returns:

  • (String, nil)

    job type



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#jobs_to_not_includeString, ... (readonly)

Returns excluded jobs.

Returns:

  • (String, Array<String>, nil)

    excluded jobs



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#keywordString? (readonly)

Returns job keyword.

Returns:

  • (String, nil)

    job keyword



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#locationString (readonly)

Returns target location.

Returns:

  • (String)

    target location



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#location_radiusInteger, ... (readonly)

Returns location radius.

Returns:

  • (Integer, String, nil)

    location radius



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#remoteString, ... (readonly)

Returns remote filter.

Returns:

  • (String, Boolean, nil)

    remote filter



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#selective_searchString, ... (readonly)

Returns selective search flag.

Returns:

  • (String, Boolean, nil)

    selective search flag



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

#time_rangeString? (readonly)

Returns posting time range.

Returns:

  • (String, nil)

    posting time range



30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 30

JobKeywordInput = Data.define(
  :location, :keyword, :country, :time_range, :job_type,
  :experience_level, :remote, :company, :selective_search,
  :jobs_to_not_include, :location_radius
) do
  # Serialize for Bright Data, omitting nil values.
  #
  # @return [Hash] API input payload
  def to_api_hash
    to_h.compact
  end
end

Instance Method Details

#to_api_hashHash

Serialize for Bright Data, omitting nil values.

Returns:

  • (Hash)

    API input payload



38
39
40
# File 'lib/brightdata/linkedin/types/job_keyword_input.rb', line 38

def to_api_hash
  to_h.compact
end