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_str_value("album", self.album)
        writer.write_str_value("albumArtist", self.album_artist)
        writer.write_str_value("artist", self.artist)
        writer.write_int_value("bitrate", self.bitrate)
        writer.write_str_value("composers", self.composers)
        writer.write_str_value("copyright", self.copyright)
        writer.write_int_value("disc", self.disc)
        writer.write_int_value("discCount", self.disc_count)
        writer.write_int_value("duration", self.duration)
        writer.write_str_value("genre", self.genre)
        writer.write_bool_value("hasDrm", self.has_drm)
        writer.write_bool_value("isVariableBitrate", self.is_variable_bitrate)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_str_value("title", self.title)
        writer.write_int_value("track", self.track)
        writer.write_int_value("trackCount", self.track_count)
        writer.write_int_value("year", self.year)
        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/audio.py