def __init__(self, version, payload, account_sid, country_code):
        """
        Initialize the NationalInstance

        :returns: twilio.rest.api.v2010.account.available_phone_number.national.NationalInstance
        :rtype: twilio.rest.api.v2010.account.available_phone_number.national.NationalInstance
        """
        super(NationalInstance, self).__init__(version)

        # Marshaled Properties
        self._properties = {
            'friendly_name': payload['friendly_name'],
            'phone_number': payload['phone_number'],
            'lata': payload['lata'],
            'locality': payload['locality'],
            'rate_center': payload['rate_center'],
            'latitude': deserialize.decimal(payload['latitude']),
            'longitude': deserialize.decimal(payload['longitude']),
            'region': payload['region'],
            'postal_code': payload['postal_code'],
            'iso_country': payload['iso_country'],
            'address_requirements': payload['address_requirements'],
            'beta': payload['beta'],
            'capabilities': payload['capabilities'],
        }

        # Context
        self._context = None
        self._solution = {'account_sid': account_sid, 'country_code': country_code, }
def __init__ ( self , version , payload , account_sid , country_code ) : super ( NationalInstance , self ) . __init__ ( version ) self . _properties = { 'friendly_name' : payload [ 'friendly_name' ] , 'phone_number' : payload [ 'phone_number' ] , 'lata' : payload [ 'lata' ] , 'locality' : payload [ 'locality' ] , 'rate_center' : payload [ 'rate_center' ] , 'latitude' : deserialize . decimal ( payload [ 'latitude' ] ) , 'longitude' : deserialize . decimal ( payload [ 'longitude' ] ) , 'region' : payload [ 'region' ] , 'postal_code' : payload [ 'postal_code' ] , 'iso_country' : payload [ 'iso_country' ] , 'address_requirements' : payload [ 'address_requirements' ] , 'beta' : payload [ 'beta' ] , 'capabilities' : payload [ 'capabilities' ] , } self . _context = None self . _solution = { 'account_sid' : account_sid , 'country_code' : country_code , }
Initialize the NationalInstance

        :returns: twilio.rest.api.v2010.account.available_phone_number.national.NationalInstance
        :rtype: twilio.rest.api.v2010.account.available_phone_number.national.NationalInstance