def __init__(self, version, payload, phone_number=None):
        """
        Initialize the PhoneNumberInstance

        :returns: twilio.rest.lookups.v1.phone_number.PhoneNumberInstance
        :rtype: twilio.rest.lookups.v1.phone_number.PhoneNumberInstance
        """
        super(PhoneNumberInstance, self).__init__(version)

        # Marshaled Properties
        self._properties = {
            'caller_name': payload['caller_name'],
            'country_code': payload['country_code'],
            'phone_number': payload['phone_number'],
            'national_format': payload['national_format'],
            'carrier': payload['carrier'],
            'add_ons': payload['add_ons'],
            'url': payload['url'],
        }

        # Context
        self._context = None
        self._solution = {'phone_number': phone_number or self._properties['phone_number'], }
def __init__ ( self , version , payload , phone_number = None ) : super ( PhoneNumberInstance , self ) . __init__ ( version ) self . _properties = { 'caller_name' : payload [ 'caller_name' ] , 'country_code' : payload [ 'country_code' ] , 'phone_number' : payload [ 'phone_number' ] , 'national_format' : payload [ 'national_format' ] , 'carrier' : payload [ 'carrier' ] , 'add_ons' : payload [ 'add_ons' ] , 'url' : payload [ 'url' ] , } self . _context = None self . _solution = { 'phone_number' : phone_number or self . _properties [ 'phone_number' ] , }
Initialize the PhoneNumberInstance

        :returns: twilio.rest.lookups.v1.phone_number.PhoneNumberInstance
        :rtype: twilio.rest.lookups.v1.phone_number.PhoneNumberInstance