Class: ContextDev::Models::BatchSubmitResponse::Metadata

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

Overview

See Also:

  • ContextDev::Models::BatchSubmitResponse#metadata

Defined Under Namespace

Modules: SourcesAttempted, SourcesSucceeded Classes: Identifiers

Instance Attribute Summary collapse

Class Method 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(linkedin_url: nil) ⇒ Object

Identifiers returned for the person.

Parameters:

  • linkedin_url (String) (defaults to: nil)

    LinkedIn profile URL.



# File 'lib/context_dev/models/batch_submit_response.rb', line 100

Instance Attribute Details

#identifiersContextDev::Models::BatchSubmitResponse::Metadata::Identifiers

Identifiers returned for the person.



70
# File 'lib/context_dev/models/batch_submit_response.rb', line 70

required :identifiers, -> { ContextDev::Models::BatchSubmitResponse::Metadata::Identifiers }

#personal_website_urlString?

Personal website URL, when found.

Parameters:

  • (String)

Returns:

  • (String, nil)


98
# File 'lib/context_dev/models/batch_submit_response.rb', line 98

optional :personal_website_url, String, api_name: :personalWebsiteUrl

#sources_attemptedArray<Symbol, ContextDev::Models::BatchSubmitResponse::Metadata::SourcesAttempted>

Source categories checked.

Parameters:

  • value (::Array[ContextDev::Models::BatchSubmitResponse::Metadata::sources_attempted])

Returns:



76
77
78
# File 'lib/context_dev/models/batch_submit_response.rb', line 76

required :sources_attempted,
-> { ContextDev::Internal::Type::ArrayOf[enum: ContextDev::Models::BatchSubmitResponse::Metadata::SourcesAttempted] },
api_name: :sourcesAttempted

#sources_succeededArray<Symbol, ContextDev::Models::BatchSubmitResponse::Metadata::SourcesSucceeded>

Source categories with data.

Parameters:

  • value (::Array[ContextDev::Models::BatchSubmitResponse::Metadata::sources_succeeded])

Returns:



84
85
86
# File 'lib/context_dev/models/batch_submit_response.rb', line 84

required :sources_succeeded,
-> { ContextDev::Internal::Type::ArrayOf[enum: ContextDev::Models::BatchSubmitResponse::Metadata::SourcesSucceeded] },
api_name: :sourcesSucceeded

#urls_analyzedArray<String>

URLs reviewed for this profile.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


92
# File 'lib/context_dev/models/batch_submit_response.rb', line 92

required :urls_analyzed, ContextDev::Internal::Type::ArrayOf[String], api_name: :urlsAnalyzed

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/context_dev/models/batch_submit_response.rb', line 136

Instance Method Details

#to_hash{

Returns:

  • ({)


83
# File 'sig/context_dev/models/batch_submit_response.rbs', line 83

def to_hash: -> {