|
3 | 3 |
|
4 | 4 | namespace StackExchange.NET.Interfaces
|
5 | 5 | {
|
| 6 | + /// <summary> |
| 7 | + /// The Answers interface which lists all possible operations. |
| 8 | + /// </summary> |
6 | 9 | public interface IAnswers
|
7 | 10 | {
|
| 11 | + /// <summary>Returns all the undeleted answers in the system.</summary> |
| 12 | + /// <param name="filters">The Answer filters.</param> |
| 13 | + /// <returns>This method returns a list of answers</returns> |
8 | 14 | BaseResponse<Answer> GetAllAnswers(AnswerFilters filters);
|
| 15 | + /// <summary> |
| 16 | + /// Gets the set of answers identified by ids. |
| 17 | + /// </summary> |
| 18 | + /// <param name="ids"></param> |
| 19 | + /// <param name="filters"></param> |
| 20 | + /// <returns></returns> |
9 | 21 | BaseResponse<Answer> GetAnswerByIds(List<string> ids, AnswerFilters filters);
|
10 |
| - BaseResponse<Answer> GetCommentsByIds(List<string> ids, AnswerFilters filters); |
| 22 | + /// <summary> |
| 23 | + /// Gets the comments on a set of answers. |
| 24 | + /// </summary> |
| 25 | + /// <param name="ids"></param> |
| 26 | + /// <param name="filters"></param> |
| 27 | + /// <returns></returns> |
| 28 | + BaseResponse<Answer> GetCommentsOnAnswers(List<string> ids, AnswerFilters filters); |
| 29 | + /// <summary> |
| 30 | + /// Returns the questions that answers identified by {ids} are on. |
| 31 | + /// </summary> |
| 32 | + /// <param name="ids"></param> |
| 33 | + /// <param name="filters"></param> |
| 34 | + /// <returns></returns> |
11 | 35 | BaseResponse<Question> GetQuestionByAnswerIds(List<string> ids, AnswerFilters filters);
|
12 |
| - void AcceptAnAnswer(string id, AnswerFilters filters); |
13 |
| - void UndoAcceptedAnswer(string id, AnswerFilters filters); |
14 |
| - void DeleteAnswer(string id, AnswerFilters filters); |
15 |
| - void DownVoteAnswer(string id, AnswerFilters filters); |
16 |
| - void UndoDownVotedAnswer(string id, AnswerFilters filters); |
17 |
| - void EditAnswer(string id, AnswerFilters filters); |
18 |
| - void GetOptionsOfAnswer(string id, AnswerFilters filters); |
19 |
| - void FlagAnswer(string id, AnswerFilters filters); |
20 |
| - void UpVoteAnswer(string id, AnswerFilters filters); |
21 |
| - void UndoUpVotedAnswer(string id, AnswerFilters filters); |
| 36 | + //void AcceptAnAnswer(string id, AnswerFilters filters); |
| 37 | + //void UndoAcceptedAnswer(string id, AnswerFilters filters); |
| 38 | + //void DeleteAnswer(string id, AnswerFilters filters); |
| 39 | + //void DownVoteAnswer(string id, AnswerFilters filters); |
| 40 | + //void UndoDownVotedAnswer(string id, AnswerFilters filters); |
| 41 | + //void EditAnswer(string id, AnswerFilters filters); |
| 42 | + //void GetOptionsOfAnswer(string id, AnswerFilters filters); |
| 43 | + //void FlagAnswer(string id, AnswerFilters filters); |
| 44 | + //void UpVoteAnswer(string id, AnswerFilters filters); |
| 45 | + //void UndoUpVotedAnswer(string id, AnswerFilters filters); |
22 | 46 | }
|
23 | 47 | }
|
0 commit comments