Module: BrightData::LinkedIn::Types
- Defined in:
- lib/brightdata/linkedin/types/profile.rb,
lib/brightdata/linkedin/types/job.rb,
lib/brightdata/linkedin/types/post.rb,
lib/brightdata/linkedin/types/company.rb,
lib/brightdata/linkedin/types/job_url_input.rb,
lib/brightdata/linkedin/types/post_url_input.rb,
lib/brightdata/linkedin/types/company_url_input.rb,
lib/brightdata/linkedin/types/job_keyword_input.rb,
lib/brightdata/linkedin/types/profile_url_input.rb,
lib/brightdata/linkedin/types/discovered_profile.rb,
lib/brightdata/linkedin/types/people_discover_input.rb,
lib/brightdata/linkedin/types/post_company_url_input.rb,
lib/brightdata/linkedin/types/post_profile_url_input.rb
Overview
Typed input and output value objects for LinkedIn endpoints.
Defined Under Namespace
Classes: Company, CompanyUrlInput, DiscoveredProfile, Job, JobKeywordInput, JobUrlInput, PeopleDiscoverInput, Post, PostCompanyUrlInput, PostProfileUrlInput, PostUrlInput, Profile, ProfileUrlInput
Instance Attribute Summary collapse
-
#about ⇒ String?
readonly
About text.
-
#affiliated ⇒ Array<Hash>?
readonly
Affiliated companies.
-
#avatar ⇒ String?
readonly
Avatar URL.
-
#banner_image ⇒ String?
readonly
Banner image URL.
-
#city ⇒ String?
readonly
Profile city.
-
#comments_count ⇒ Integer, ...
readonly
Comment count.
-
#company ⇒ String?
readonly
Company filter.
-
#company_id ⇒ String?
readonly
LinkedIn company ID.
-
#company_logo ⇒ String?
readonly
Company logo URL.
-
#company_name ⇒ String?
readonly
Company name.
-
#company_size ⇒ String?
readonly
Company size.
-
#connections ⇒ Integer, ...
readonly
Connection count.
-
#country ⇒ String?
readonly
Country code.
-
#country_code ⇒ String?
readonly
Profile country code.
-
#current_company ⇒ Hash?
readonly
Current company details.
-
#date_posted ⇒ String?
readonly
Date posted.
-
#education ⇒ String, ...
readonly
Education summary.
-
#embedded_links ⇒ Array<String>?
readonly
Embedded links.
-
#employees ⇒ Array<Hash>?
readonly
Employees.
-
#employees_in_linkedin ⇒ Integer, ...
readonly
LinkedIn employee count.
-
#experience ⇒ String, ...
readonly
Experience summary.
-
#experience_level ⇒ String?
readonly
Experience level.
-
#first_name ⇒ String?
readonly
First name to search by.
-
#followers ⇒ Integer, ...
readonly
Follower count.
-
#founded ⇒ String, ...
readonly
Founded year.
-
#funding ⇒ Hash?
readonly
Funding details.
-
#hashtags ⇒ Array<String>?
readonly
Hashtags.
-
#headline ⇒ String?
readonly
Author headline.
-
#headquarters ⇒ Hash?
readonly
Headquarters.
-
#id ⇒ String?
readonly
Profile ID.
-
#image ⇒ String?
readonly
Image URL.
-
#images ⇒ Array<String>?
readonly
Image URLs.
-
#industries ⇒ Array<String>?
readonly
Industries.
-
#input_url ⇒ String?
readonly
Requested input URL.
-
#investors ⇒ Array<Hash>?
readonly
Investors.
-
#job_base_pay_range ⇒ String?
readonly
Base pay range.
-
#job_location ⇒ String?
readonly
Job location.
-
#job_posted_time ⇒ String?
readonly
Posted time.
-
#job_posting_id ⇒ String?
readonly
Job posting ID.
-
#job_summary ⇒ String?
readonly
Job summary.
-
#job_title ⇒ String?
readonly
Job title.
-
#job_type ⇒ String?
readonly
Job type.
-
#jobs_to_not_include ⇒ String, ...
readonly
Excluded jobs.
-
#keyword ⇒ String?
readonly
Job keyword.
-
#last_name ⇒ String?
readonly
Last name to search by.
-
#likes ⇒ Integer, ...
readonly
Like count.
-
#linkedin_id ⇒ String?
readonly
LinkedIn vanity ID.
-
#linkedin_num_id ⇒ String, ...
readonly
LinkedIn numeric ID.
-
#location ⇒ String?
readonly
Profile location.
-
#location_radius ⇒ Integer, ...
readonly
Location radius.
-
#locations ⇒ Array<Hash>?
readonly
Company locations.
-
#logo ⇒ String?
readonly
Logo URL.
-
#name ⇒ String?
readonly
Profile name.
-
#original_post ⇒ Hash?
readonly
Original post details.
-
#people_also_viewed ⇒ Array<Hash>?
readonly
Related profiles.
-
#position ⇒ String?
readonly
Current position.
-
#post_text ⇒ String?
readonly
Post text.
-
#raw ⇒ Hash
readonly
Full parsed API response.
-
#remote ⇒ String, ...
readonly
Remote filter.
-
#repost ⇒ Hash?
readonly
Repost details.
-
#selective_search ⇒ String, ...
readonly
Selective search flag.
-
#similar ⇒ Array<Hash>?
readonly
Similar companies.
-
#specialties ⇒ Array<String>?
readonly
Specialties.
-
#subtitle ⇒ String?
readonly
Profile subtitle.
-
#time_range ⇒ String?
readonly
Posting time range.
-
#updates ⇒ Array<Hash>?
readonly
Updates.
-
#url ⇒ String
readonly
LinkedIn profile URL.
-
#user_id ⇒ String?
readonly
Author user ID.
-
#videos ⇒ Array<String>?
readonly
Video URLs.
-
#website ⇒ String?
readonly
Company website.
Instance Attribute Details
#about ⇒ String? (readonly)
Returns about text.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#affiliated ⇒ Array<Hash>? (readonly)
Returns affiliated companies.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#avatar ⇒ String? (readonly)
Returns avatar URL.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#banner_image ⇒ String? (readonly)
Returns banner image URL.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#city ⇒ String? (readonly)
Returns profile city.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#comments_count ⇒ Integer, ... (readonly)
Returns comment count.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#company ⇒ String? (readonly)
Returns 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 |
#company_id ⇒ String? (readonly)
Returns LinkedIn company ID.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#company_logo ⇒ String? (readonly)
Returns company logo URL.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#company_name ⇒ String? (readonly)
Returns company name.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#company_size ⇒ String? (readonly)
Returns company size.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#connections ⇒ Integer, ... (readonly)
Returns connection count.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#country ⇒ String? (readonly)
Returns 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 |
#country_code ⇒ String? (readonly)
Returns profile country code.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#current_company ⇒ Hash? (readonly)
Returns current company details.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#date_posted ⇒ String? (readonly)
Returns date posted.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#education ⇒ String, ... (readonly)
Returns education summary.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#embedded_links ⇒ Array<String>? (readonly)
Returns embedded links.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#employees ⇒ Array<Hash>? (readonly)
Returns employees.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#employees_in_linkedin ⇒ Integer, ... (readonly)
Returns LinkedIn employee count.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#experience ⇒ String, ... (readonly)
Returns experience summary.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#experience_level ⇒ String? (readonly)
Returns 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 |
#first_name ⇒ String? (readonly)
Returns first name to search by.
14 15 16 17 18 19 20 21 |
# File 'lib/brightdata/linkedin/types/people_discover_input.rb', line 14 PeopleDiscoverInput = Data.define(:url, :first_name, :last_name) do # Serialize for Bright Data, omitting nil values. # # @return [Hash] API input payload def to_api_hash to_h.compact end end |
#followers ⇒ Integer, ... (readonly)
Returns follower count.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#founded ⇒ String, ... (readonly)
Returns founded year.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#funding ⇒ Hash? (readonly)
Returns funding details.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#hashtags ⇒ Array<String>? (readonly)
Returns hashtags.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#headline ⇒ String? (readonly)
Returns author headline.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#headquarters ⇒ Hash? (readonly)
Returns headquarters.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#id ⇒ String? (readonly)
Returns profile ID.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#image ⇒ String? (readonly)
Returns image URL.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#images ⇒ Array<String>? (readonly)
Returns image URLs.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#industries ⇒ Array<String>? (readonly)
Returns industries.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#input_url ⇒ String? (readonly)
Returns requested input URL.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#investors ⇒ Array<Hash>? (readonly)
Returns investors.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#job_base_pay_range ⇒ String? (readonly)
Returns base pay range.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#job_location ⇒ String? (readonly)
Returns job location.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#job_posted_time ⇒ String? (readonly)
Returns posted time.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#job_posting_id ⇒ String? (readonly)
Returns job posting ID.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#job_summary ⇒ String? (readonly)
Returns job summary.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#job_title ⇒ String? (readonly)
Returns job title.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#job_type ⇒ String? (readonly)
Returns 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_include ⇒ String, ... (readonly)
Returns 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 |
#keyword ⇒ String? (readonly)
Returns 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 |
#last_name ⇒ String? (readonly)
Returns last name to search by.
14 15 16 17 18 19 20 21 |
# File 'lib/brightdata/linkedin/types/people_discover_input.rb', line 14 PeopleDiscoverInput = Data.define(:url, :first_name, :last_name) do # Serialize for Bright Data, omitting nil values. # # @return [Hash] API input payload def to_api_hash to_h.compact end end |
#likes ⇒ Integer, ... (readonly)
Returns like count.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#linkedin_id ⇒ String? (readonly)
Returns LinkedIn vanity ID.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#linkedin_num_id ⇒ String, ... (readonly)
Returns LinkedIn numeric ID.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#location ⇒ String? (readonly)
Returns profile 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_radius ⇒ Integer, ... (readonly)
Returns 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 |
#locations ⇒ Array<Hash>? (readonly)
Returns company locations.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#logo ⇒ String? (readonly)
Returns logo URL.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#name ⇒ String? (readonly)
Returns profile name.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#original_post ⇒ Hash? (readonly)
Returns original post details.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#people_also_viewed ⇒ Array<Hash>? (readonly)
Returns related profiles.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#position ⇒ String? (readonly)
Returns current position.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/brightdata/linkedin/types/profile.rb', line 46 Profile = Data.define( :id, :name, :city, :country_code, :position, :about, :current_company, :experience, :education, :connections, :followers, :linkedin_id, :linkedin_num_id, :avatar, :banner_image, :people_also_viewed, :input_url, :raw ) do # Build a profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Profile] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], city: hash[:city], country_code: hash[:country_code], position: hash[:position], about: hash[:about], current_company: hash[:current_company], experience: hash[:experience], education: hash[:education], connections: hash[:connections], followers: hash[:followers], linkedin_id: hash[:linkedin_id], linkedin_num_id: hash[:linkedin_num_id], avatar: hash[:avatar], banner_image: hash[:banner_image], people_also_viewed: hash[:people_also_viewed], input_url: hash[:input_url], raw: hash ) end end |
#post_text ⇒ String? (readonly)
Returns post text.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#raw ⇒ Hash (readonly)
Returns full parsed API response.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#remote ⇒ String, ... (readonly)
Returns 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 |
#repost ⇒ Hash? (readonly)
Returns repost details.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#selective_search ⇒ String, ... (readonly)
Returns 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 |
#similar ⇒ Array<Hash>? (readonly)
Returns similar companies.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#specialties ⇒ Array<String>? (readonly)
Returns specialties.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#subtitle ⇒ String? (readonly)
Returns profile subtitle.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/brightdata/linkedin/types/discovered_profile.rb', line 25 DiscoveredProfile = Data.define(:url, :name, :subtitle, :location, :experience, :education, :avatar, :raw) do # Build a discovered profile from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::DiscoveredProfile] def self.from_api(hash) new( url: hash[:url], name: hash[:name], subtitle: hash[:subtitle], location: hash[:location], experience: hash[:experience], education: hash[:education], avatar: hash[:avatar], raw: hash ) end end |
#time_range ⇒ String? (readonly)
Returns 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 |
#updates ⇒ Array<Hash>? (readonly)
Returns updates.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |
#url ⇒ String (readonly)
Returns LinkedIn profile URL.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/brightdata/linkedin/types/job.rb', line 29 Job = Data.define( :url, :job_posting_id, :job_title, :company_name, :job_location, :job_summary, :job_base_pay_range, :job_posted_time, :company_logo, :raw ) do # Build a job from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Job] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( url: hash[:url], job_posting_id: hash[:job_posting_id], job_title: hash[:job_title], company_name: hash[:company_name], job_location: hash[:job_location], job_summary: hash[:job_summary], job_base_pay_range: hash[:job_base_pay_range], job_posted_time: hash[:job_posted_time], company_logo: hash[:company_logo], raw: hash ) end end |
#user_id ⇒ String? (readonly)
Returns author user ID.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#videos ⇒ Array<String>? (readonly)
Returns video URLs.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/brightdata/linkedin/types/post.rb', line 37 Post = Data.define( :id, :user_id, :headline, :post_text, :date_posted, :hashtags, :embedded_links, :images, :videos, :likes, :comments_count, :repost, :original_post, :raw ) do # Build a post from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Post] def self.from_api(hash) # rubocop:disable Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], user_id: hash[:user_id], headline: hash[:headline], post_text: hash[:post_text], date_posted: hash[:date_posted], hashtags: hash[:hashtags], embedded_links: hash[:embedded_links], images: hash[:images], videos: hash[:videos], likes: hash[:likes], comments_count: hash[:comments_count], repost: hash[:repost], original_post: hash[:original_post], raw: hash ) end end |
#website ⇒ String? (readonly)
Returns company website.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/brightdata/linkedin/types/company.rb', line 53 Company = Data.define( :id, :name, :country_code, :locations, :followers, :employees_in_linkedin, :company_size, :industries, :specialties, :website, :founded, :company_id, :employees, :similar, :updates, :logo, :image, :headquarters, :funding, :investors, :affiliated, :raw ) do # Build a company from a symbol-keyed API response. # # @param hash [Hash] symbolized-key API response object # @return [BrightData::LinkedIn::Types::Company] def self.from_api(hash) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength -- flat field-by-field mapping from the API response new( id: hash[:id], name: hash[:name], country_code: hash[:country_code], locations: hash[:locations], followers: hash[:followers], employees_in_linkedin: hash[:employees_in_linkedin], company_size: hash[:company_size], industries: hash[:industries], specialties: hash[:specialties], website: hash[:website], founded: hash[:founded], company_id: hash[:company_id], employees: hash[:employees], similar: hash[:similar], updates: hash[:updates], logo: hash[:logo], image: hash[:image], headquarters: hash[:headquarters], funding: hash[:funding], investors: hash[:investors], affiliated: hash[:affiliated], raw: hash ) end end |