C# Class Octokit.Reactive.ObservableOrganizationsClient

Inheritance: IObservableOrganizationsClient
显示文件 Open project: octokit/octokit.net Class Usage Examples

Public Methods

Method Description
Get ( string org ) : IObservable

Returns the specified organization.

GetAll ( ) : IObservable

Returns all the organizations

GetAll ( OrganizationRequest request ) : IObservable

Returns all the organizations

GetAllForCurrent ( ) : IObservable

Returns all the organizations for the current user.

GetAllForCurrent ( ApiOptions options ) : IObservable

Returns all the organizations for the current user.

GetAllForUser ( string user ) : IObservable

Returns all the organizations for the specified user

GetAllForUser ( string user, ApiOptions options ) : IObservable

Returns all the organizations for the specified user

ObservableOrganizationsClient ( IGitHubClient client ) : System

Initializes a new Organization API client.

Update ( string organizationName, OrganizationUpdate updateRequest ) : IObservable

Update the specified organization with data from OrganizationUpdate.

Private Methods

Method Description
GetAll ( string user ) : IObservable
GetAll ( string user, ApiOptions options ) : IObservable

Method Details

Get() public method

Returns the specified organization.
public Get ( string org ) : IObservable
org string The login of the specified organization,
return IObservable

GetAll() public method

Returns all the organizations
public GetAll ( ) : IObservable
return IObservable

GetAll() public method

Returns all the organizations
public GetAll ( OrganizationRequest request ) : IObservable
request OrganizationRequest Search parameters of the last organization seen
return IObservable

GetAllForCurrent() public method

Returns all the organizations for the current user.
public GetAllForCurrent ( ) : IObservable
return IObservable

GetAllForCurrent() public method

Returns all the organizations for the current user.
public GetAllForCurrent ( ApiOptions options ) : IObservable
options ApiOptions Options for changing the API response
return IObservable

GetAllForUser() public method

Returns all the organizations for the specified user
public GetAllForUser ( string user ) : IObservable
user string The login for the user
return IObservable

GetAllForUser() public method

Returns all the organizations for the specified user
public GetAllForUser ( string user, ApiOptions options ) : IObservable
user string The login for the user
options ApiOptions Options for changing the API response
return IObservable

ObservableOrganizationsClient() public method

Initializes a new Organization API client.
public ObservableOrganizationsClient ( IGitHubClient client ) : System
client IGitHubClient An used to make the requests
return System

Update() public method

Update the specified organization with data from OrganizationUpdate.
Thrown if the client is not authenticated.
public Update ( string organizationName, OrganizationUpdate updateRequest ) : IObservable
organizationName string The name of the organization to update.
updateRequest OrganizationUpdate
return IObservable