Class: Sentdm::Models::NumberLookupResponse::Data
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(carrier_name: nil, country_code: nil, is_ported: nil, is_valid: nil, is_voip: nil, line_type: nil, mobile_country_code: nil, mobile_network_code: nil, phone_number: nil) ⇒ Object
The response data (null if error)
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 89
|
Instance Attribute Details
#carrier_name ⇒ String?
47
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 47
optional :carrier_name, String, nil?: true
|
#country_code ⇒ String?
52
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 52
optional :country_code, String, nil?: true
|
#is_ported ⇒ Boolean?
57
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 57
optional :is_ported, Sentdm::Internal::Type::Boolean, nil?: true
|
#is_voip ⇒ Boolean?
67
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 67
optional :is_voip, Sentdm::Internal::Type::Boolean, nil?: true
|
#line_type ⇒ String?
72
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 72
optional :line_type, String, nil?: true
|
#mobile_country_code ⇒ String?
77
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 77
optional :mobile_country_code, String, nil?: true
|
#mobile_network_code ⇒ String?
82
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 82
optional :mobile_network_code, String, nil?: true
|
#phone_number ⇒ String?
87
|
# File 'lib/sentdm/models/number_lookup_response.rb', line 87
optional :phone_number, String
|