mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 12:42:32 +00:00
Merge pull request #1140 from prayankmathur/master
Added enum ItemStateFilter to differentiate between search and list APIs
This commit is contained in:
@@ -12,15 +12,15 @@ namespace Octokit
|
||||
{
|
||||
public PullRequestRequest()
|
||||
{
|
||||
State = ItemState.Open;
|
||||
State = ItemStateFilter.Open;
|
||||
SortProperty = PullRequestSort.Created;
|
||||
SortDirection = SortDirection.Descending;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// "open" or "closed" to filter by state. Default is "open".
|
||||
/// Which PullRequests to get. The default is <see cref="ItemStateFilter.Open"/>
|
||||
/// </summary>
|
||||
public ItemState State { get; set; }
|
||||
public ItemStateFilter State { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Filter pulls by head user and branch name in the format of "user:ref-name".
|
||||
|
||||
Reference in New Issue
Block a user