Class Github\Api\Organization\Teams

InheritanceGithub\Api\Organization\Teams » Github\Api\AbstractApi
ImplementsGithub\Api\ApiInterface

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createJsonBody() Create a JSON encoded version of an array of parameters. Github\Api\AbstractApi
delete() Send a DELETE request with JSON-encoded parameters. Github\Api\AbstractApi
get() Send a GET request with query parameters. Github\Api\AbstractApi
head() Send a HEAD request with query parameters. Github\Api\AbstractApi
patch() Send a PATCH request with JSON-encoded parameters. Github\Api\AbstractApi
post() Send a POST request with JSON-encoded parameters. Github\Api\AbstractApi
postRaw() Send a POST request with raw data. Github\Api\AbstractApi
put() Send a PUT request with JSON-encoded parameters. Github\Api\AbstractApi

Method Details

addMember() public method

public void addMember ( $team, $username )
$team
$username
addRepository() public method

public void addRepository ( $team, $username, $repository )
$team
$username
$repository
all() public method

public void all ( $organization )
$organization
check() public method

public void check ( $team, $username )
$team
$username
create() public method

public void create ( $organization, array $params )
$organization
$params
members() public method

public void members ( $team )
$team
remove() public method

public void remove ( $team )
$team
removeMember() public method

public void removeMember ( $team, $username )
$team
$username
removeRepository() public method

public void removeRepository ( $team, $username, $repository )
$team
$username
$repository
repositories() public method

public void repositories ( $team )
$team
repository() public method

public void repository ( $team, $username, $repository )
$team
$username
$repository
show() public method

public void show ( $team )
$team
update() public method

public void update ( $team, array $params )
$team
$params