Class: BrightData::LinkedIn::Types::PeopleDiscoverInput

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

Overview

Input shape for ‘linkedin.people.discover_new_profiles`.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#first_nameObject (readonly)

Returns the value of attribute first_name

Returns:

  • (Object)

    the current value of 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_nameObject (readonly)

Returns the value of attribute last_name

Returns:

  • (Object)

    the current value of 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

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of 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_hashHash

Serialize for Bright Data, omitting nil values.

Returns:

  • (Hash)

    API input payload



18
19
20
# File 'lib/brightdata/linkedin/types/people_discover_input.rb', line 18

def to_api_hash
  to_h.compact
end