C# Class Octokit.EventsClient

A client for GitHub's Activity Events API.
See the Activity Events API documentation for more information
Inheritance: Octokit.ApiClient, IEventsClient
显示文件 Open project: octokit/octokit.net Class Usage Examples

Public Methods

Method Description
EventsClient ( IApiConnection apiConnection ) : System.Collections.Generic

Instantiates a new GitHub Issue Events API client.

GetAll ( ) : Task>

Gets all the public events

http://developer.github.com/v3/activity/events/#list-public-events

GetAll ( Octokit.ApiOptions options ) : Task>

Gets all the public events

http://developer.github.com/v3/activity/events/#list-public-events

GetAllForAnOrganization ( string user, string organization ) : Task>

Gets all the events that are associated with an organization.

http://developer.github.com/v3/activity/events/#list-events-for-an-organization

GetAllForAnOrganization ( string user, string organization, Octokit.ApiOptions options ) : Task>

Gets all the events that are associated with an organization.

http://developer.github.com/v3/activity/events/#list-events-for-an-organization

GetAllForOrganization ( string organization ) : Task>

Gets all the events for a given organization

http://developer.github.com/v3/activity/events/#list-public-events-for-an-organization

GetAllForOrganization ( string organization, Octokit.ApiOptions options ) : Task>

Gets all the events for a given organization

http://developer.github.com/v3/activity/events/#list-public-events-for-an-organization

GetAllForRepository ( long repositoryId ) : Task>

Gets all the events for a given repository

http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository

GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>

Gets all the events for a given repository

http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository

GetAllForRepository ( string owner, string name ) : Task>

Gets all the events for a given repository

https://developer.github.com/v3/activity/events/#list-repository-events

GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>

Gets all the events for a given repository

https://developer.github.com/v3/activity/events/#list-repository-events

GetAllForRepositoryNetwork ( string owner, string name ) : Task>

Gets all the events for a given repository network

http://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories

GetAllForRepositoryNetwork ( string owner, string name, Octokit.ApiOptions options ) : Task>

Gets all the events for a given repository network

http://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories

GetAllIssuesForRepository ( long repositoryId ) : Task>

Gets all the issue events for a given repository

http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository

GetAllIssuesForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>

Gets all the issue events for a given repository

http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository

GetAllIssuesForRepository ( string owner, string name ) : Task>

Gets all the event issues for a given repository

http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository

GetAllIssuesForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>

Gets all the event issues for a given repository

http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository

GetAllUserPerformed ( string user ) : Task>

Gets all the events that have been performed by a given user.

http://developer.github.com/v3/activity/events/#list-events-performed-by-a-user

GetAllUserPerformed ( string user, Octokit.ApiOptions options ) : Task>

Gets all the events that have been performed by a given user.

http://developer.github.com/v3/activity/events/#list-events-performed-by-a-user

GetAllUserPerformedPublic ( string user ) : Task>

Gets all the public events that have been performed by a given user.

http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user

GetAllUserPerformedPublic ( string user, Octokit.ApiOptions options ) : Task>

Gets all the public events that have been performed by a given user.

http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user

GetAllUserReceived ( string user ) : Task>

Gets all the events that have been received by a given user.

http://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received

GetAllUserReceived ( string user, Octokit.ApiOptions options ) : Task>

Gets all the events that have been received by a given user.

http://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received

GetAllUserReceivedPublic ( string user ) : Task>

Gets all the events that have been received by a given user.

http://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received

GetAllUserReceivedPublic ( string user, Octokit.ApiOptions options ) : Task>

Gets all the events that have been received by a given user.

http://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received

Method Details

EventsClient() public method

Instantiates a new GitHub Issue Events API client.
public EventsClient ( IApiConnection apiConnection ) : System.Collections.Generic
apiConnection IApiConnection An API connection
return System.Collections.Generic

GetAll() public method

Gets all the public events
http://developer.github.com/v3/activity/events/#list-public-events
public GetAll ( ) : Task>
return Task>

GetAll() public method

Gets all the public events
http://developer.github.com/v3/activity/events/#list-public-events
public GetAll ( Octokit.ApiOptions options ) : Task>
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllForAnOrganization() public method

Gets all the events that are associated with an organization.
http://developer.github.com/v3/activity/events/#list-events-for-an-organization
public GetAllForAnOrganization ( string user, string organization ) : Task>
user string The login of the user
organization string The name of the organization
return Task>

GetAllForAnOrganization() public method

Gets all the events that are associated with an organization.
http://developer.github.com/v3/activity/events/#list-events-for-an-organization
public GetAllForAnOrganization ( string user, string organization, Octokit.ApiOptions options ) : Task>
user string The login of the user
organization string The name of the organization
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllForOrganization() public method

Gets all the events for a given organization
http://developer.github.com/v3/activity/events/#list-public-events-for-an-organization
public GetAllForOrganization ( string organization ) : Task>
organization string The name of the organization
return Task>

GetAllForOrganization() public method

Gets all the events for a given organization
http://developer.github.com/v3/activity/events/#list-public-events-for-an-organization
public GetAllForOrganization ( string organization, Octokit.ApiOptions options ) : Task>
organization string The name of the organization
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllForRepository() public method

Gets all the events for a given repository
http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
public GetAllForRepository ( long repositoryId ) : Task>
repositoryId long The Id of the repository
return Task>

GetAllForRepository() public method

Gets all the events for a given repository
http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
public GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllForRepository() public method

Gets all the events for a given repository
https://developer.github.com/v3/activity/events/#list-repository-events
public GetAllForRepository ( string owner, string name ) : Task>
owner string The owner of the repository
name string The name of the repository
return Task>

GetAllForRepository() public method

Gets all the events for a given repository
https://developer.github.com/v3/activity/events/#list-repository-events
public GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllForRepositoryNetwork() public method

Gets all the events for a given repository network
http://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories
public GetAllForRepositoryNetwork ( string owner, string name ) : Task>
owner string The owner of the repository
name string The name of the repository
return Task>

GetAllForRepositoryNetwork() public method

Gets all the events for a given repository network
http://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories
public GetAllForRepositoryNetwork ( string owner, string name, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllIssuesForRepository() public method

Gets all the issue events for a given repository
http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
public GetAllIssuesForRepository ( long repositoryId ) : Task>
repositoryId long The Id of the repository
return Task>

GetAllIssuesForRepository() public method

Gets all the issue events for a given repository
http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
public GetAllIssuesForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllIssuesForRepository() public method

Gets all the event issues for a given repository
http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
public GetAllIssuesForRepository ( string owner, string name ) : Task>
owner string The owner of the repository
name string The name of the repository
return Task>

GetAllIssuesForRepository() public method

Gets all the event issues for a given repository
http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
public GetAllIssuesForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllUserPerformed() public method

Gets all the events that have been performed by a given user.
http://developer.github.com/v3/activity/events/#list-events-performed-by-a-user
public GetAllUserPerformed ( string user ) : Task>
user string The login of the user
return Task>

GetAllUserPerformed() public method

Gets all the events that have been performed by a given user.
http://developer.github.com/v3/activity/events/#list-events-performed-by-a-user
public GetAllUserPerformed ( string user, Octokit.ApiOptions options ) : Task>
user string The login of the user
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllUserPerformedPublic() public method

Gets all the public events that have been performed by a given user.
http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user
public GetAllUserPerformedPublic ( string user ) : Task>
user string The login of the user
return Task>

GetAllUserPerformedPublic() public method

Gets all the public events that have been performed by a given user.
http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user
public GetAllUserPerformedPublic ( string user, Octokit.ApiOptions options ) : Task>
user string The login of the user
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllUserReceived() public method

Gets all the events that have been received by a given user.
http://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received
public GetAllUserReceived ( string user ) : Task>
user string The login of the user
return Task>

GetAllUserReceived() public method

Gets all the events that have been received by a given user.
http://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received
public GetAllUserReceived ( string user, Octokit.ApiOptions options ) : Task>
user string The login of the user
options Octokit.ApiOptions Options for changing the API response
return Task>

GetAllUserReceivedPublic() public method

Gets all the events that have been received by a given user.
http://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received
public GetAllUserReceivedPublic ( string user ) : Task>
user string The login of the user
return Task>

GetAllUserReceivedPublic() public method

Gets all the events that have been received by a given user.
http://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received
public GetAllUserReceivedPublic ( string user, Octokit.ApiOptions options ) : Task>
user string The login of the user
options Octokit.ApiOptions Options for changing the API response
return Task>