'Merge information from another PhoneNumber object into this one.'

def merge_from(self, other):

    if (other.country_code is not None):
        self.country_code = other.country_code
    if (other.national_number is not None):
        self.national_number = other.national_number
    if (other.extension is not None):
        self.extension = other.extension
    if (other.italian_leading_zero is not None):
        self.italian_leading_zero = other.italian_leading_zero
    if (other.number_of_leading_zeros is not None):
        self.number_of_leading_zeros = other.number_of_leading_zeros
    if (other.raw_input is not None):
        self.raw_input = other.raw_input
    if (other.country_code_source is not None):
        self.country_code_source = other.country_code_source
    if (other.preferred_domestic_carrier_code is not None):
        self.preferred_domestic_carrier_code = other.preferred_domestic_carrier_code
