feat: Implement polls functionality#226
Open
GwFreak01 wants to merge 9 commits intoGetStream:mainfrom
Open
Conversation
5d0db0f to
6f6c989
Compare
Author
|
Not sure if i need to add the feature to this SDK or the |
6f6c989 to
c77e4ef
Compare
added 9 commits
January 17, 2026 23:27
- Add GetPollResponse class
- Add GetPollRequest class with userId support
- Add get() static factory method
- Add GET /polls/{poll_id} service method
- Add unit tests for get poll functionality
- Add UpdatePollResponse class - Add UpdatePollRequestData with UpdatePollRequest builder class - Add update() static factory method - Add PUT /polls service method - Add unit tests for update poll and close poll functionality
- Add PartialUpdatePollRequestData with PartialUpdatePollRequest builder class
- Add partialUpdate() static factory method
- Add PATCH /polls/{poll_id} service method
- Add unit tests for partial update with set and unset
- Add DeletePollRequest class with userId support
- Add delete() static factory method
- Add DELETE /polls/{poll_id} service method
- Add unit test for poll deletion
- Add CreatePollOptionResponse class
- Add CreatePollOptionRequestData with CreatePollOptionRequest builder class
- Add createOption() static factory method
- Add POST /polls/{poll_id}/options service method
- Add unit test for poll option creation
- Add UpdatePollOptionResponse class
- Add UpdatePollOptionRequestData with UpdatePollOptionRequest builder class
- Add updateOption() static factory method
- Add PUT /polls/{poll_id}/options service method
- Add unit test for poll option update
- Add DeletePollOptionRequest class with userId support
- Add deleteOption() static factory method
- Add DELETE /polls/{poll_id}/options/{option_id} service method
- Add unit test for poll option deletion
- Add QueryPollsResponse class with pagination support - Add QueryPollsRequestData with QueryPollsRequest builder class - Add query() static factory method - Add POST /polls/query service method - Add unit tests for basic query and query with filter/sort
c77e4ef to
4b0c114
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Submit a pull request
CLA
Description of the pull request