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("deviceUsageType", self.device_usage_type)
        writer.write_bool_value("escapeLinkHidden", self.escape_link_hidden)
        writer.write_bool_value("eulaHidden", self.eula_hidden)
        writer.write_bool_value("keyboardSelectionPageSkipped", self.keyboard_selection_page_skipped)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_bool_value("privacySettingsHidden", self.privacy_settings_hidden)
        writer.write_enum_value("userType", self.user_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/out_of_box_experience_setting.py