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_uuid_value("callChainId", self.call_chain_id)
        writer.write_str_value("cloudServiceDeploymentEnvironment", self.cloud_service_deployment_environment)
        writer.write_str_value("cloudServiceDeploymentId", self.cloud_service_deployment_id)
        writer.write_str_value("cloudServiceInstanceName", self.cloud_service_instance_name)
        writer.write_str_value("cloudServiceName", self.cloud_service_name)
        writer.write_str_value("deviceDescription", self.device_description)
        writer.write_str_value("deviceName", self.device_name)
        writer.write_uuid_value("mediaLegId", self.media_leg_id)
        writer.write_collection_of_object_values("mediaQualityList", self.media_quality_list)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_uuid_value("participantId", self.participant_id)
        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/teleconference_device_quality.py