Class: DingSDK::Shared::LookupResponse

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/ding_sdk/models/shared/lookupresponse.rb

Instance Method Summary collapse

Methods included from MetadataFields

#field, #fields, included, #marshal_json, #marshal_single

Constructor Details

#initialize(caller_name: nil, carrier: nil, country_code: nil, line_type: nil, mcc: nil, mnc: nil, number_ported: nil, phone_number: nil, temporary_phone_number: nil) ⇒ LookupResponse

Returns a new instance of LookupResponse.



55
56
57
58
59
60
61
62
63
64
65
# File 'lib/ding_sdk/models/shared/lookupresponse.rb', line 55

def initialize(caller_name: nil, carrier: nil, country_code: nil, line_type: nil, mcc: nil, mnc: nil, number_ported: nil, phone_number: nil, temporary_phone_number: nil)
  @caller_name = caller_name
  @carrier = carrier
  @country_code = country_code
  @line_type = line_type
  @mcc = mcc
  @mnc = mnc
  @number_ported = number_ported
  @phone_number = phone_number
  @temporary_phone_number = temporary_phone_number
end