C# 클래스 Octokit.OrganizationsClient

A client for GitHub's Orgs API.
See the Orgs API documentation for more information.
상속: Octokit.ApiClient, IOrganizationsClient
파일 보기 프로젝트 열기: octokit/octokit.net 1 사용 예제들

공개 메소드들

메소드 설명
Get ( string org ) : Task

Returns the specified Organization.

GetAll ( ) : Task>

Returns all Organizations.

GetAll ( OrganizationRequest request ) : Task>

Returns all Organizations.

GetAllForCurrent ( ) : Task>

Returns all Organizations for the current user.

GetAllForCurrent ( Octokit.ApiOptions options ) : Task>

Returns all Organizations for the current user.

GetAllForUser ( string user ) : Task>

Returns all Organizations for the specified user.

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

Returns all Organizations for the specified user.

OrganizationsClient ( IApiConnection apiConnection ) : System

Initializes a new GitHub Orgs API client.

Update ( string organizationName, Octokit.OrganizationUpdate updateRequest ) : Task

Update the specified organization with data from OrganizationUpdate.

비공개 메소드들

메소드 설명
GetAll ( string user ) : Task>
GetAll ( string user, Octokit.ApiOptions options ) : Task>

메소드 상세

Get() 공개 메소드

Returns the specified Organization.
Thrown when a general API error occurs.
public Get ( string org ) : Task
org string login of the organization to get
리턴 Task

GetAll() 공개 메소드

Returns all Organizations.
Thrown when a general API error occurs.
public GetAll ( ) : Task>
리턴 Task>

GetAll() 공개 메소드

Returns all Organizations.
Thrown when a general API error occurs.
public GetAll ( OrganizationRequest request ) : Task>
request OrganizationRequest Search parameters of the last organization seen
리턴 Task>

GetAllForCurrent() 공개 메소드

Returns all Organizations for the current user.
Thrown when a general API error occurs.
public GetAllForCurrent ( ) : Task>
리턴 Task>

GetAllForCurrent() 공개 메소드

Returns all Organizations for the current user.
Thrown when a general API error occurs.
public GetAllForCurrent ( Octokit.ApiOptions options ) : Task>
options Octokit.ApiOptions Options for changing the API response
리턴 Task>

GetAllForUser() 공개 메소드

Returns all Organizations for the specified user.
Thrown when a general API error occurs.
public GetAllForUser ( string user ) : Task>
user string The login of the user
리턴 Task>

GetAllForUser() 공개 메소드

Returns all Organizations for the specified user.
Thrown when a general API error occurs.
public GetAllForUser ( string user, Octokit.ApiOptions options ) : Task>
user string The login of the user
options Octokit.ApiOptions Options for changing the API response
리턴 Task>

OrganizationsClient() 공개 메소드

Initializes a new GitHub Orgs API client.
public OrganizationsClient ( IApiConnection apiConnection ) : System
apiConnection IApiConnection An API connection
리턴 System

Update() 공개 메소드

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