C# Class Octokit.Reactive.ObservablePullRequestsClient

A client for GitHub's Pull Requests API.
See the Pull Requests API documentation for more information.
Inheritance: IObservablePullRequestsClient
Datei anzeigen Open project: octokit/octokit.net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Commits ( long repositoryId, int number ) : IObservable

Gets the list of commits on a pull request.

http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request

Commits ( string owner, string name, int number ) : IObservable

Gets the list of commits on a pull request.

http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request

Create ( long repositoryId, NewPullRequest newPullRequest ) : IObservable

Creates a pull request for the specified repository.

http://developer.github.com/v3/pulls/#create-a-pull-request

Create ( string owner, string name, NewPullRequest newPullRequest ) : IObservable

Creates a pull request for the specified repository.

http://developer.github.com/v3/pulls/#create-a-pull-request

Files ( long repositoryId, int number ) : IObservable

Get the list of files on a pull request.

https://developer.github.com/v3/pulls/#list-pull-requests-files

Files ( string owner, string name, int number ) : IObservable

Get the list of files on a pull request.

https://developer.github.com/v3/pulls/#list-pull-requests-files

Get ( long repositoryId, int number ) : IObservable

Gets a single Pull Request by number.

http://developer.github.com/v3/pulls/#get-a-single-pull-request

Get ( string owner, string name, int number ) : IObservable

Gets a single Pull Request by number.

http://developer.github.com/v3/pulls/#get-a-single-pull-request

GetAllForRepository ( long repositoryId ) : IObservable

Gets all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( long repositoryId, ApiOptions options ) : IObservable

Gets all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( long repositoryId, PullRequestRequest request ) : IObservable

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( long repositoryId, PullRequestRequest request, ApiOptions options ) : IObservable

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name ) : IObservable

Gets all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name, ApiOptions options ) : IObservable

Gets all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name, PullRequestRequest request ) : IObservable

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name, PullRequestRequest request, ApiOptions options ) : IObservable

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

Merge ( long repositoryId, int number, MergePullRequest mergePullRequest ) : IObservable

Merge a pull request.

http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade

Merge ( string owner, string name, int number, MergePullRequest mergePullRequest ) : IObservable

Merge a pull request.

http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade

Merged ( long repositoryId, int number ) : IObservable

Gets the pull request merge status.

http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged

Merged ( string owner, string name, int number ) : IObservable

Gets the pull request merge status.

http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged

ObservablePullRequestsClient ( IGitHubClient client ) : System
Update ( long repositoryId, int number, PullRequestUpdate pullRequestUpdate ) : IObservable

Update a pull request for the specified repository.

http://developer.github.com/v3/pulls/#update-a-pull-request

Update ( string owner, string name, int number, PullRequestUpdate pullRequestUpdate ) : IObservable

Update a pull request for the specified repository.

http://developer.github.com/v3/pulls/#update-a-pull-request

Method Details

Commits() public method

Gets the list of commits on a pull request.
http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request
public Commits ( long repositoryId, int number ) : IObservable
repositoryId long The Id of the repository
number int The pull request number
return IObservable

Commits() public method

Gets the list of commits on a pull request.
http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request
public Commits ( string owner, string name, int number ) : IObservable
owner string The owner of the repository
name string The name of the repository
number int The pull request number
return IObservable

Create() public method

Creates a pull request for the specified repository.
http://developer.github.com/v3/pulls/#create-a-pull-request
public Create ( long repositoryId, NewPullRequest newPullRequest ) : IObservable
repositoryId long The Id of the repository
newPullRequest NewPullRequest A instance describing the new PullRequest to create
return IObservable

Create() public method

Creates a pull request for the specified repository.
http://developer.github.com/v3/pulls/#create-a-pull-request
public Create ( string owner, string name, NewPullRequest newPullRequest ) : IObservable
owner string The owner of the repository
name string The name of the repository
newPullRequest NewPullRequest A instance describing the new PullRequest to create
return IObservable

Files() public method

Get the list of files on a pull request.
https://developer.github.com/v3/pulls/#list-pull-requests-files
public Files ( long repositoryId, int number ) : IObservable
repositoryId long The Id of the repository
number int The pull request number
return IObservable

Files() public method

Get the list of files on a pull request.
https://developer.github.com/v3/pulls/#list-pull-requests-files
public Files ( string owner, string name, int number ) : IObservable
owner string The owner of the repository
name string The name of the repository
number int The pull request number
return IObservable

Get() public method

Gets a single Pull Request by number.
http://developer.github.com/v3/pulls/#get-a-single-pull-request
public Get ( long repositoryId, int number ) : IObservable
repositoryId long The Id of the repository
number int The number of the pull request
return IObservable

Get() public method

Gets a single Pull Request by number.
http://developer.github.com/v3/pulls/#get-a-single-pull-request
public Get ( string owner, string name, int number ) : IObservable
owner string
name string
number int
return IObservable

GetAllForRepository() public method

Gets all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId ) : IObservable
repositoryId long The Id of the repository
return IObservable

GetAllForRepository() public method

Gets all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId, ApiOptions options ) : IObservable
repositoryId long The Id of the repository
options ApiOptions Options for changing the API response
return IObservable

GetAllForRepository() public method

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId, PullRequestRequest request ) : IObservable
repositoryId long The Id of the repository
request PullRequestRequest Used to filter and sort the list of pull requests returned
return IObservable

GetAllForRepository() public method

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId, PullRequestRequest request, ApiOptions options ) : IObservable
repositoryId long The Id of the repository
request PullRequestRequest Used to filter and sort the list of pull requests returned
options ApiOptions Options for changing the API response
return IObservable

GetAllForRepository() public method

Gets all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name ) : IObservable
owner string The owner of the repository
name string The name of the repository
return IObservable

GetAllForRepository() public method

Gets all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name, ApiOptions options ) : IObservable
owner string The owner of the repository
name string The name of the repository
options ApiOptions Options for changing the API response
return IObservable

GetAllForRepository() public method

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name, PullRequestRequest request ) : IObservable
owner string The owner of the repository
name string The name of the repository
request PullRequestRequest Used to filter and sort the list of pull requests returned
return IObservable

GetAllForRepository() public method

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name, PullRequestRequest request, ApiOptions options ) : IObservable
owner string The owner of the repository
name string The name of the repository
request PullRequestRequest Used to filter and sort the list of pull requests returned
options ApiOptions Options for changing the API response
return IObservable

Merge() public method

Merge a pull request.
http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade
public Merge ( long repositoryId, int number, MergePullRequest mergePullRequest ) : IObservable
repositoryId long The Id of the repository
number int The pull request number
mergePullRequest MergePullRequest A instance describing a pull request merge
return IObservable

Merge() public method

Merge a pull request.
http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade
public Merge ( string owner, string name, int number, MergePullRequest mergePullRequest ) : IObservable
owner string The owner of the repository
name string The name of the repository
number int The pull request number
mergePullRequest MergePullRequest A instance describing a pull request merge
return IObservable

Merged() public method

Gets the pull request merge status.
http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged
public Merged ( long repositoryId, int number ) : IObservable
repositoryId long The Id of the repository
number int The pull request number
return IObservable

Merged() public method

Gets the pull request merge status.
http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged
public Merged ( string owner, string name, int number ) : IObservable
owner string The owner of the repository
name string The name of the repository
number int The pull request number
return IObservable

ObservablePullRequestsClient() public method

public ObservablePullRequestsClient ( IGitHubClient client ) : System
client IGitHubClient
return System

Update() public method

Update a pull request for the specified repository.
http://developer.github.com/v3/pulls/#update-a-pull-request
public Update ( long repositoryId, int number, PullRequestUpdate pullRequestUpdate ) : IObservable
repositoryId long The Id of the repository
number int The PullRequest number
pullRequestUpdate PullRequestUpdate An instance describing the changes to make to the PullRequest ///
return IObservable

Update() public method

Update a pull request for the specified repository.
http://developer.github.com/v3/pulls/#update-a-pull-request
public Update ( string owner, string name, int number, PullRequestUpdate pullRequestUpdate ) : IObservable
owner string The owner of the repository
name string The name of the repository
number int The PullRequest number
pullRequestUpdate PullRequestUpdate An instance describing the changes to make to the PullRequest ///
return IObservable