Class: BrightData::LinkedIn::Types::PeopleDiscoverInput
- Inherits:
-
Data
- Object
- Data
- BrightData::LinkedIn::Types::PeopleDiscoverInput
- Defined in:
- lib/brightdata/linkedin/types/people_discover_input.rb
Overview
Input shape for linkedin.people.discover_new_profiles.
Instance Attribute Summary collapse
-
#first_name ⇒ String?
readonly
First name to search by.
-
#last_name ⇒ String?
readonly
Last name to search by.
-
#url ⇒ String
readonly
Must be
https://www.linkedin.com.
Instance Method Summary collapse
-
#to_api_hash ⇒ Hash
Serialize for Bright Data, omitting nil values.
Instance Attribute Details
#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 |
#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 |
#url ⇒ String (readonly)
Returns must be https://www.linkedin.com.
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 |
Instance Method Details
#to_api_hash ⇒ Hash
Serialize for Bright Data, omitting nil values.
18 19 20 |
# File 'lib/brightdata/linkedin/types/people_discover_input.rb', line 18 def to_api_hash to_h.compact end |