Class: ContextDev::Models::PersonEnrichParams::Company

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/person_enrich_params.rb,
sig/context_dev/models/person_enrich_params.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(company: nil, education: nil, email: nil, location: nil, name: nil, social_urls: nil, tags: nil, timeout_ms: nil, request_options: {}) ⇒ Company

Some parameter documentations has been truncated, see ContextDev::Models::PersonEnrichParams for more details.

Parameters:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/context_dev/models/person_enrich_params.rb', line 76

class Company < ContextDev::Internal::Type::BaseModel
  # @!attribute domain
  #
  #   @return [String, nil]
  optional :domain, String

  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String

  # @!method initialize(domain: nil, name: nil)
  #   @param domain [String]
  #   @param name [String]
end

Instance Attribute Details

#domainString?

Parameters:

  • (String)

Returns:

  • (String, nil)


80
# File 'lib/context_dev/models/person_enrich_params.rb', line 80

optional :domain, String

#nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


85
# File 'lib/context_dev/models/person_enrich_params.rb', line 85

optional :name, String

Instance Method Details

#to_hash{ domain: String, name: String }

Returns:

  • ({ domain: String, name: String })


97
# File 'sig/context_dev/models/person_enrich_params.rbs', line 97

def to_hash: -> { domain: String, name: String }