Files
github-api/apidocs/org/kohsuke/github/GHOrganization.html
2020-04-01 15:08:20 -07:00

1403 lines
87 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.5) on Wed Apr 01 14:43:53 PDT 2020 -->
<title>GHOrganization (GitHub API for Java 1.109 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-04-01">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="GHOrganization (GitHub API for Java 1.109 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":42,"i6":42,"i7":10,"i8":42,"i9":42,"i10":42,"i11":42,"i12":10,"i13":10,"i14":10,"i15":10,"i16":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/GHOrganization.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.kohsuke.github</a></div>
<h2 title="Class GHOrganization" class="title">Class GHOrganization</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="GHObject.html" title="class in org.kohsuke.github">org.kohsuke.github.GHObject</a></li>
<li>
<ul class="inheritance">
<li><a href="GHPerson.html" title="class in org.kohsuke.github">org.kohsuke.github.GHPerson</a></li>
<li>
<ul class="inheritance">
<li>org.kohsuke.github.GHOrganization</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">GHOrganization</span>
extends <a href="GHPerson.html" title="class in org.kohsuke.github">GHPerson</a></pre>
<div class="block">The type GHOrganization.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Kohsuke Kawaguchi</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a></span></code></th>
<td class="colLast">
<div class="block">The enum Permission.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GHOrganization.Role.html" title="enum in org.kohsuke.github">GHOrganization.Role</a></span></code></th>
<td class="colLast">
<div class="block">Member's role in an organization</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.kohsuke.github.GHPerson">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.kohsuke.github.<a href="GHPerson.html" title="class in org.kohsuke.github">GHPerson</a></h3>
<code><a href="GHPerson.html#avatar_url">avatar_url</a>, <a href="GHPerson.html#blog">blog</a>, <a href="GHPerson.html#company">company</a>, <a href="GHPerson.html#email">email</a>, <a href="GHPerson.html#followers">followers</a>, <a href="GHPerson.html#following">following</a>, <a href="GHPerson.html#html_url">html_url</a>, <a href="GHPerson.html#location">location</a>, <a href="GHPerson.html#login">login</a>, <a href="GHPerson.html#name">name</a>, <a href="GHPerson.html#public_gists">public_gists</a>, <a href="GHPerson.html#public_repos">public_repos</a>, <a href="GHPerson.html#site_admin">site_admin</a>, <a href="GHPerson.html#total_private_repos">total_private_repos</a>, <a href="GHPerson.html#type">type</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.kohsuke.github.GHObject">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.kohsuke.github.<a href="GHObject.html" title="class in org.kohsuke.github">GHObject</a></h3>
<code><a href="GHObject.html#created_at">created_at</a>, <a href="GHObject.html#id">id</a>, <a href="GHObject.html#responseHeaderFields">responseHeaderFields</a>, <a href="GHObject.html#updated_at">updated_at</a>, <a href="GHObject.html#url">url</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">GHOrganization</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(org.kohsuke.github.GHUser,org.kohsuke.github.GHOrganization.Role)">add</a></span>&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user,
<a href="GHOrganization.Role.html" title="enum in org.kohsuke.github">GHOrganization.Role</a>&nbsp;role)</code></th>
<td class="colLast">
<div class="block">Adds (invites) a user to the organization.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#conceal(org.kohsuke.github.GHUser)">conceal</a></span>&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;u)</code></th>
<td class="colLast">
<div class="block">Conceals the membership.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createHook(java.lang.String,java.util.Map,java.util.Collection,boolean)">createHook</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events,
boolean&nbsp;active)</code></th>
<td class="colLast">
<div class="block">See https://api.github.com/hooks for possible names and their configuration scheme.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="GHProject.html" title="class in org.kohsuke.github">GHProject</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createProject(java.lang.String,java.lang.String)">createProject</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;body)</code></th>
<td class="colLast">
<div class="block">Creates a project for the organization.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="GHCreateRepositoryBuilder.html" title="class in org.kohsuke.github">GHCreateRepositoryBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRepository(java.lang.String)">createRepository</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Starts a builder that creates a new repository.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRepository(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)">createRepository</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;homepage,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;team,
boolean&nbsp;isPublic)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createRepository(java.lang.String)"><code>createRepository(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRepository(java.lang.String,java.lang.String,java.lang.String,org.kohsuke.github.GHTeam,boolean)">createRepository</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;homepage,
<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;team,
boolean&nbsp;isPublic)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createRepository(java.lang.String)"><code>createRepository(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="GHTeamBuilder.html" title="class in org.kohsuke.github">GHTeamBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTeam(java.lang.String)">createTeam</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Starts a builder that creates a new team.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTeam(java.lang.String,java.util.Collection)">createTeam</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;repositories)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTeam(java.lang.String,org.kohsuke.github.GHOrganization.Permission,java.util.Collection)">createTeam</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a>&nbsp;p,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;repositories)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">https://developer.github.com/v3/teams/#create-team deprecates permission field use
<a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a></div>
</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTeam(java.lang.String,org.kohsuke.github.GHOrganization.Permission,org.kohsuke.github.GHRepository...)">createTeam</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a>&nbsp;p,
<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>...&nbsp;repositories)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">https://developer.github.com/v3/teams/#create-team deprecates permission field use
<a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a></div>
</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTeam(java.lang.String,org.kohsuke.github.GHRepository...)">createTeam</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>...&nbsp;repositories)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createWebHook(java.net.URL)">createWebHook</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a>&nbsp;url)</code></th>
<td class="colLast">
<div class="block">Create web hook gh hook.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createWebHook(java.net.URL,java.util.Collection)">createWebHook</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a>&nbsp;url,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events)</code></th>
<td class="colLast">
<div class="block">Create web hook gh hook.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHook(int)">getHook</a></span>&#8203;(int&nbsp;id)</code></th>
<td class="colLast">
<div class="block">Gets hook.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHooks()">getHooks</a></span>()</code></th>
<td class="colLast">
<div class="block">Retrieves the currently configured hooks.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMembers()">getMembers</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#listMembers()"><code>listMembers()</code></a></div>
</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPullRequests()">getPullRequests</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets all the open pull requests in this organizataion.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRepositoriesWithOpenPullRequests()">getRepositoriesWithOpenPullRequests</a></span>()</code></th>
<td class="colLast">
<div class="block">List up repositories that has some open pull requests.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTeam(int)">getTeam</a></span>&#8203;(int&nbsp;teamId)</code></th>
<td class="colLast">
<div class="block">Gets a single team by ID.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTeamByName(java.lang.String)">getTeamByName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Finds a team that has the given name in its <a href="GHTeam.html#getName()"><code>GHTeam.getName()</code></a></div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTeamBySlug(java.lang.String)">getTeamBySlug</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;slug)</code></th>
<td class="colLast">
<div class="block">Finds a team that has the given slug in its <a href="GHTeam.html#getSlug()"><code>GHTeam.getSlug()</code></a></div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTeams()">getTeams</a></span>()</code></th>
<td class="colLast">
<div class="block">Teams by their names.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasMember(org.kohsuke.github.GHUser)">hasMember</a></span>&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">Checks if this organization has the specified user as a member.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasPublicMember(org.kohsuke.github.GHUser)">hasPublicMember</a></span>&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">Checks if this organization has the specified user as a public member.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHEventInfo.html" title="class in org.kohsuke.github">GHEventInfo</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listEvents()">listEvents</a></span>()</code></th>
<td class="colLast">
<div class="block">Lists events performed by a user (this includes private events if the caller is authenticated.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listMembers()">listMembers</a></span>()</code></th>
<td class="colLast">
<div class="block">All the members of this organization.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listMembersWithFilter(java.lang.String)">listMembersWithFilter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;filter)</code></th>
<td class="colLast">
<div class="block">List members with filter paged iterable.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listMembersWithRole(java.lang.String)">listMembersWithRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;role)</code></th>
<td class="colLast">
<div class="block">List members with specified role paged iterable.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHProject.html" title="class in org.kohsuke.github">GHProject</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listProjects()">listProjects</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns all open projects for the organization.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHProject.html" title="class in org.kohsuke.github">GHProject</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listProjects(org.kohsuke.github.GHProject.ProjectStateFilter)">listProjects</a></span>&#8203;(<a href="GHProject.ProjectStateFilter.html" title="enum in org.kohsuke.github">GHProject.ProjectStateFilter</a>&nbsp;status)</code></th>
<td class="colLast">
<div class="block">Returns the projects for this organization.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listPublicMembers()">listPublicMembers</a></span>()</code></th>
<td class="colLast">
<div class="block">All the public members of this organization.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listRepositories(int)">listRepositories</a></span>&#8203;(int&nbsp;pageSize)</code></th>
<td class="colLast">
<div class="block">Lists up all the repositories using the specified page size.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listTeams()">listTeams</a></span>()</code></th>
<td class="colLast">
<div class="block">List up all the teams.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#publicize(org.kohsuke.github.GHUser)">publicize</a></span>&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;u)</code></th>
<td class="colLast">
<div class="block">Publicizes the membership.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(org.kohsuke.github.GHUser)">remove</a></span>&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">Remove a member of the organisation - which will remove them from all teams, and remove their access to the
organizations repositories.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.kohsuke.github.GHPerson">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.kohsuke.github.<a href="GHPerson.html" title="class in org.kohsuke.github">GHPerson</a></h3>
<code><a href="GHPerson.html#getAvatarUrl()">getAvatarUrl</a>, <a href="GHPerson.html#getBlog()">getBlog</a>, <a href="GHPerson.html#getCompany()">getCompany</a>, <a href="GHPerson.html#getCreatedAt()">getCreatedAt</a>, <a href="GHPerson.html#getEmail()">getEmail</a>, <a href="GHPerson.html#getFollowersCount()">getFollowersCount</a>, <a href="GHPerson.html#getFollowingCount()">getFollowingCount</a>, <a href="GHPerson.html#getGravatarId()">getGravatarId</a>, <a href="GHPerson.html#getHtmlUrl()">getHtmlUrl</a>, <a href="GHPerson.html#getLocation()">getLocation</a>, <a href="GHPerson.html#getLogin()">getLogin</a>, <a href="GHPerson.html#getName()">getName</a>, <a href="GHPerson.html#getPublicGistCount()">getPublicGistCount</a>, <a href="GHPerson.html#getPublicRepoCount()">getPublicRepoCount</a>, <a href="GHPerson.html#getRepositories()">getRepositories</a>, <a href="GHPerson.html#getRepository(java.lang.String)">getRepository</a>, <a href="GHPerson.html#getTotalPrivateRepoCount()">getTotalPrivateRepoCount</a>, <a href="GHPerson.html#getType()">getType</a>, <a href="GHPerson.html#getUpdatedAt()">getUpdatedAt</a>, <a href="GHPerson.html#isSiteAdmin()">isSiteAdmin</a>, <a href="GHPerson.html#iterateRepositories(int)">iterateRepositories</a>, <a href="GHPerson.html#listRepositories()">listRepositories</a>, <a href="GHPerson.html#populate()">populate</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.kohsuke.github.GHObject">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.kohsuke.github.<a href="GHObject.html" title="class in org.kohsuke.github">GHObject</a></h3>
<code><a href="GHObject.html#getId()">getId</a>, <a href="GHObject.html#getResponseHeaderFields()">getResponseHeaderFields</a>, <a href="GHObject.html#getUrl()">getUrl</a>, <a href="GHObject.html#setResponseHeaderFields(org.kohsuke.github.GitHubResponse.ResponseInfo)">setResponseHeaderFields</a>, <a href="GHObject.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GHOrganization</h4>
<pre>public&nbsp;GHOrganization()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="createRepository(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRepository</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public&nbsp;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&nbsp;createRepository&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;homepage,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;team,
boolean&nbsp;isPublic)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createRepository(java.lang.String)"><code>createRepository(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
<div class="block">Creates a new repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>description</code> - the description</dd>
<dd><code>homepage</code> - the homepage</dd>
<dd><code>team</code> - the team</dd>
<dd><code>isPublic</code> - the is public</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Newly created repository.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createRepository(java.lang.String,java.lang.String,java.lang.String,org.kohsuke.github.GHTeam,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRepository</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public&nbsp;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&nbsp;createRepository&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;homepage,
<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;team,
boolean&nbsp;isPublic)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createRepository(java.lang.String)"><code>createRepository(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
<div class="block">Create repository gh repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>description</code> - the description</dd>
<dd><code>homepage</code> - the homepage</dd>
<dd><code>team</code> - the team</dd>
<dd><code>isPublic</code> - the is public</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh repository</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createRepository(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRepository</h4>
<pre class="methodSignature">public&nbsp;<a href="GHCreateRepositoryBuilder.html" title="class in org.kohsuke.github">GHCreateRepositoryBuilder</a>&nbsp;createRepository&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Starts a builder that creates a new repository.
<p>
You use the returned builder to set various properties, then call <a href="GHCreateRepositoryBuilder.html#create()"><code>GHCreateRepositoryBuilder.create()</code></a> to
finally create a repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh create repository builder</dd>
</dl>
</li>
</ul>
<a id="getTeams()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTeams</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&gt;&nbsp;getTeams()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Teams by their names.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the teams</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listTeams()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listTeams</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&gt;&nbsp;listTeams()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">List up all the teams.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="getTeam(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTeam</h4>
<pre class="methodSignature">public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;getTeam&#8203;(int&nbsp;teamId)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Gets a single team by ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>teamId</code> - id of the team that we want to query for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the team</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://developer.github.com/v3/teams/#get-team-by-name">documentation</a></dd>
</dl>
</li>
</ul>
<a id="getTeamByName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTeamByName</h4>
<pre class="methodSignature">public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;getTeamByName&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Finds a team that has the given name in its <a href="GHTeam.html#getName()"><code>GHTeam.getName()</code></a></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the team by name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="getTeamBySlug(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTeamBySlug</h4>
<pre class="methodSignature">public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;getTeamBySlug&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;slug)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Finds a team that has the given slug in its <a href="GHTeam.html#getSlug()"><code>GHTeam.getSlug()</code></a></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slug</code> - the slug</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the team by slug</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://developer.github.com/v3/teams/#get-team-by-name">documentation</a></dd>
</dl>
</li>
</ul>
<a id="add(org.kohsuke.github.GHUser,org.kohsuke.github.GHOrganization.Role)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;add&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user,
<a href="GHOrganization.Role.html" title="enum in org.kohsuke.github">GHOrganization.Role</a>&nbsp;role)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Adds (invites) a user to the organization.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - the user</dd>
<dd><code>role</code> - the role</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://developer.github.com/v3/orgs/members/#add-or-update-organization-membership">documentation</a></dd>
</dl>
</li>
</ul>
<a id="hasMember(org.kohsuke.github.GHUser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasMember</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;hasMember&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user)</pre>
<div class="block">Checks if this organization has the specified user as a member.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - the user</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the boolean</dd>
</dl>
</li>
</ul>
<a id="remove(org.kohsuke.github.GHUser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;remove&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Remove a member of the organisation - which will remove them from all teams, and remove their access to the
organizations repositories.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - the user</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="hasPublicMember(org.kohsuke.github.GHUser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPublicMember</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;hasPublicMember&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;user)</pre>
<div class="block">Checks if this organization has the specified user as a public member.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - the user</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the boolean</dd>
</dl>
</li>
</ul>
<a id="publicize(org.kohsuke.github.GHUser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>publicize</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;publicize&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;u)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Publicizes the membership.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>u</code> - the u</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="getMembers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMembers</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;getMembers()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#listMembers()"><code>listMembers()</code></a></div>
</div>
<div class="block">Gets members.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the members</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listMembers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listMembers</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listMembers()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">All the members of this organization.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listPublicMembers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listPublicMembers</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listPublicMembers()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">All the public members of this organization.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listMembersWithFilter(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listMembersWithFilter</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listMembersWithFilter&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;filter)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">List members with filter paged iterable.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filter</code> - the filter</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listMembersWithRole(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listMembersWithRole</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listMembersWithRole&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;role)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">List members with specified role paged iterable.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>role</code> - the role</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="conceal(org.kohsuke.github.GHUser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>conceal</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;conceal&#8203;(<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;u)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Conceals the membership.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>u</code> - the u</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listProjects(org.kohsuke.github.GHProject.ProjectStateFilter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listProjects</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHProject.html" title="class in org.kohsuke.github">GHProject</a>&gt;&nbsp;listProjects&#8203;(<a href="GHProject.ProjectStateFilter.html" title="enum in org.kohsuke.github">GHProject.ProjectStateFilter</a>&nbsp;status)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Returns the projects for this organization.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - The status filter (all, open or closed).</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listProjects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listProjects</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHProject.html" title="class in org.kohsuke.github">GHProject</a>&gt;&nbsp;listProjects()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Returns all open projects for the organization.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createProject(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createProject</h4>
<pre class="methodSignature">public&nbsp;<a href="GHProject.html" title="class in org.kohsuke.github">GHProject</a>&nbsp;createProject&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;body)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Creates a project for the organization.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>body</code> - the body</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh project</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createTeam(java.lang.String,org.kohsuke.github.GHOrganization.Permission,java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTeam</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;createTeam&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a>&nbsp;p,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;repositories)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">https://developer.github.com/v3/teams/#create-team deprecates permission field use
<a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a></div>
</div>
<div class="block">Creates a new team and assigns the repositories.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>p</code> - the p</dd>
<dd><code>repositories</code> - the repositories</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh team</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createTeam(java.lang.String,org.kohsuke.github.GHOrganization.Permission,org.kohsuke.github.GHRepository...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTeam</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;createTeam&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a>&nbsp;p,
<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>...&nbsp;repositories)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">https://developer.github.com/v3/teams/#create-team deprecates permission field use
<a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a></div>
</div>
<div class="block">Create team gh team.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>p</code> - the p</dd>
<dd><code>repositories</code> - the repositories</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh team</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createTeam(java.lang.String,java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTeam</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;createTeam&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;repositories)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
<div class="block">Creates a new team and assigns the repositories.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>repositories</code> - the repositories</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh team</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createTeam(java.lang.String,org.kohsuke.github.GHRepository...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTeam</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public&nbsp;<a href="GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&nbsp;createTeam&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>...&nbsp;repositories)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#createTeam(java.lang.String)"><code>createTeam(String)</code></a> that uses a builder pattern to let you control every aspect.</div>
</div>
<div class="block">Create team gh team.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dd><code>repositories</code> - the repositories</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh team</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createTeam(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTeam</h4>
<pre class="methodSignature">public&nbsp;<a href="GHTeamBuilder.html" title="class in org.kohsuke.github">GHTeamBuilder</a>&nbsp;createTeam&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Starts a builder that creates a new team.
<p>
You use the returned builder to set various properties, then call <a href="GHTeamBuilder.html#create()"><code>GHTeamBuilder.create()</code></a> to finally
create a team.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh create repository builder</dd>
</dl>
</li>
</ul>
<a id="getRepositoriesWithOpenPullRequests()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRepositoriesWithOpenPullRequests</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;getRepositoriesWithOpenPullRequests()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">List up repositories that has some open pull requests.
<p>
This used to be an efficient method that didn't involve traversing every repository, but now it doesn't do any
optimization.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the repositories with open pull requests</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="getPullRequests()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPullRequests</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&gt;&nbsp;getPullRequests()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Gets all the open pull requests in this organizataion.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the pull requests</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listEvents()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listEvents</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHEventInfo.html" title="class in org.kohsuke.github">GHEventInfo</a>&gt;&nbsp;listEvents()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Lists events performed by a user (this includes private events if the caller is authenticated.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="GHPerson.html#listEvents()">listEvents</a></code>&nbsp;in class&nbsp;<code><a href="GHPerson.html" title="class in org.kohsuke.github">GHPerson</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="listRepositories(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listRepositories</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;listRepositories&#8203;(int&nbsp;pageSize)</pre>
<div class="block">Lists up all the repositories using the specified page size.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="GHPerson.html#listRepositories(int)">listRepositories</a></code>&nbsp;in class&nbsp;<code><a href="GHPerson.html" title="class in org.kohsuke.github">GHPerson</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pageSize</code> - size for each page of items returned by GitHub. Maximum page size is 100.
Unlike <a href="GHPerson.html#getRepositories()"><code>GHPerson.getRepositories()</code></a>, this does not wait until all the repositories are returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
</dl>
</li>
</ul>
<a id="getHooks()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHooks</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a>&gt;&nbsp;getHooks()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Retrieves the currently configured hooks.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the hooks</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="getHook(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHook</h4>
<pre class="methodSignature">public&nbsp;<a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;getHook&#8203;(int&nbsp;id)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Gets hook.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the hook</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createHook(java.lang.String,java.util.Map,java.util.Collection,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createHook</h4>
<pre class="methodSignature">public&nbsp;<a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;createHook&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events,
boolean&nbsp;active)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">See https://api.github.com/hooks for possible names and their configuration scheme. TODO: produce type-safe
binding</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Type of the hook to be created. See https://api.github.com/hooks for possible names.</dd>
<dd><code>config</code> - The configuration hash.</dd>
<dd><code>events</code> - Can be null. Types of events to hook into.</dd>
<dd><code>active</code> - the active</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh hook</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createWebHook(java.net.URL,java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWebHook</h4>
<pre class="methodSignature">public&nbsp;<a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;createWebHook&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a>&nbsp;url,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Create web hook gh hook.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - the url</dd>
<dd><code>events</code> - the events</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh hook</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
<a id="createWebHook(java.net.URL)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createWebHook</h4>
<pre class="methodSignature">public&nbsp;<a href="GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;createWebHook&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a>&nbsp;url)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Create web hook gh hook.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - the url</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the gh hook</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - the io exception</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/GHOrganization.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2020. All rights reserved.</small></p>
</footer>
</body>
</html>