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_primitive_values("additionalTags", self.additional_tags)
        writer.write_str_value("contentWebUrl", self.content_web_url)
        writer.write_collection_of_primitive_values("contributors", self.contributors)
        writer.write_datetime_value("createdDateTime", self.created_date_time)
        writer.write_str_value("description", self.description)
        writer.write_timedelta_value("duration", self.duration)
        writer.write_str_value("externalId", self.external_id)
        writer.write_str_value("format", self.format)
        writer.write_bool_value("isActive", self.is_active)
        writer.write_bool_value("isPremium", self.is_premium)
        writer.write_bool_value("isSearchable", self.is_searchable)
        writer.write_str_value("languageTag", self.language_tag)
        writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time)
        writer.write_enum_value("level", self.level)
        writer.write_int_value("numberOfPages", self.number_of_pages)
        writer.write_collection_of_primitive_values("skillTags", self.skill_tags)
        writer.write_str_value("sourceName", self.source_name)
        writer.write_str_value("thumbnailWebUrl", self.thumbnail_web_url)
        writer.write_str_value("title", self.title)

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