Class: ContextDev::Models::IndustryRetrieveNaicsResponse::Code
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::IndustryRetrieveNaicsResponse::Code
- Defined in:
- lib/context_dev/models/industry_retrieve_naics_response.rb
Defined Under Namespace
Modules: Confidence
Instance Attribute Summary collapse
-
#code ⇒ String
NAICS code.
-
#confidence ⇒ Symbol, ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence
Confidence level for how well this NAICS code matches the company description.
-
#name ⇒ String
NAICS title.
Instance Method Summary collapse
- #initialize(code:, confidence:, name:) ⇒ Object constructor
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(code:, confidence:, name:) ⇒ Object
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/context_dev/models/industry_retrieve_naics_response.rb', line 53 class Code < ContextDev::Internal::Type::BaseModel # @!attribute code # NAICS code # # @return [String] required :code, String # @!attribute confidence # Confidence level for how well this NAICS code matches the company description # # @return [Symbol, ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence] required :confidence, enum: -> { ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence } # @!attribute name # NAICS title # # @return [String] required :name, String # @!method initialize(code:, confidence:, name:) # @param code [String] NAICS code # # @param confidence [Symbol, ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence] Confidence level for how well this NAICS code matches the company description # # @param name [String] NAICS title # Confidence level for how well this NAICS code matches the company description # # @see ContextDev::Models::IndustryRetrieveNaicsResponse::Code#confidence module Confidence extend ContextDev::Internal::Type::Enum HIGH = :high MEDIUM = :medium LOW = :low # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#code ⇒ String
NAICS code
58 |
# File 'lib/context_dev/models/industry_retrieve_naics_response.rb', line 58 required :code, String |
#confidence ⇒ Symbol, ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence
Confidence level for how well this NAICS code matches the company description
64 |
# File 'lib/context_dev/models/industry_retrieve_naics_response.rb', line 64 required :confidence, enum: -> { ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence } |
#name ⇒ String
NAICS title
70 |
# File 'lib/context_dev/models/industry_retrieve_naics_response.rb', line 70 required :name, String |