def serialize(self,writer: SerializationWriter) -> None:
        """
        Serializes information the current object
        param writer: Serialization writer to use to serialize this model
        Returns: None
        """
        if writer is None:
            raise TypeError("writer cannot be null.")
        writer.write_int_value("altitudeInMeters", self.altitude_in_meters)
        writer.write_str_value("building", self.building)
        writer.write_str_value("city", self.city)
        writer.write_str_value("countryOrRegion", self.country_or_region)
        writer.write_str_value("floor", self.floor)
        writer.write_str_value("floorDescription", self.floor_description)
        writer.write_float_value("latitude", self.latitude)
        writer.write_float_value("longitude", self.longitude)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_collection_of_primitive_values("organization", self.organization)
        writer.write_str_value("postalCode", self.postal_code)
        writer.write_str_value("roomDescription", self.room_description)
        writer.write_str_value("roomName", self.room_name)
        writer.write_str_value("site", self.site)
        writer.write_str_value("stateOrProvince", self.state_or_province)
        writer.write_str_value("streetAddress", self.street_address)
        writer.write_collection_of_primitive_values("subdivision", self.subdivision)
        writer.write_collection_of_primitive_values("subunit", self.subunit)
        writer.write_additional_data_value(self.additional_data)

        Serializes information the current object
        param writer: Serialization writer to use to serialize this model
        Returns: None
        
msgraph/generated/models/printer_location.py