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 ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#to_api_hash ⇒ Hash
Serialize for Bright Data, omitting nil values.
Instance Attribute Details
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name
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 ⇒ Object (readonly)
Returns the value of attribute last_name
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 ⇒ Object (readonly)
Returns the value of attribute url
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 |