diff --git a/src/GregClient/Responses/Responses.cs b/src/GregClient/Responses/Responses.cs index bd9e0b8..c30b7f6 100644 --- a/src/GregClient/Responses/Responses.cs +++ b/src/GregClient/Responses/Responses.cs @@ -217,4 +217,19 @@ public class UserPackages public List maintains { get; set; } } + /// + /// Used to handle response from /user/votes route + /// to fetch all packages the current user has upvoted + /// + public class UserVotes + { + public string username { get; set; } + + public string _id { get; set; } + + /// + /// List of package ids that the current user has upvoted + /// + public List has_upvoted { get; set; } + } } \ No newline at end of file