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.")
        super().serialize(writer)
        writer.write_collection_of_object_values("acl", self.acl)
        writer.write_collection_of_object_values("activities", self.activities)
        writer.write_object_value("content", self.content)
        writer.write_object_value("properties", self.properties)

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