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_enum_value("allowedAudience", self.allowed_audience)
        writer.write_object_value("captions", self.captions)
        writer.write_bool_value("isAttendeeReportEnabled", self.is_attendee_report_enabled)
        writer.write_bool_value("isQuestionAndAnswerEnabled", self.is_question_and_answer_enabled)
        writer.write_bool_value("isRecordingEnabled", self.is_recording_enabled)
        writer.write_bool_value("isVideoOnDemandEnabled", self.is_video_on_demand_enabled)
        writer.write_str_value("@odata.type", self.odata_type)
        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/broadcast_meeting_settings.py