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

726 lines
39 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.5) on Wed Apr 01 14:43:53 PDT 2020 -->
<title>GHMyself (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="GHMyself (GitHub API for Java 1.109 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":42,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":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/GHMyself.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 GHMyself" class="title">Class GHMyself</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><a href="GHUser.html" title="class in org.kohsuke.github">org.kohsuke.github.GHUser</a></li>
<li>
<ul class="inheritance">
<li>org.kohsuke.github.GHMyself</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">GHMyself</span>
extends <a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a></pre>
<div class="block">Represents the account that's logging into GitHub.</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="GHMyself.RepositoryListFilter.html" title="enum in org.kohsuke.github">GHMyself.RepositoryListFilter</a></span></code></th>
<td class="colLast">
<div class="block">Type of repositories returned during listing.</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()">GHMyself</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><a href="GHPersonSet.html" title="class in org.kohsuke.github">GHPersonSet</a>&lt;<a href="GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllOrganizations()">getAllOrganizations</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the organization that this user belongs to.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<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="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllRepositories()">getAllRepositories</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the all repositories this user owns (public and private).</div>
</td>
</tr>
<tr id="i2" 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="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;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEmails()">getEmails</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#getEmails2()"><code>getEmails2()</code></a></div>
</div>
</td>
</tr>
<tr id="i3" 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="GHEmail.html" title="class in org.kohsuke.github">GHEmail</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEmails2()">getEmails2</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the read-only list of e-mail addresses configured for you.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="GHMembership.html" title="class in org.kohsuke.github">GHMembership</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMembership(org.kohsuke.github.GHOrganization)">getMembership</a></span>&#8203;(<a href="GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Gets your membership in a specific organization.</div>
</td>
</tr>
<tr id="i5" 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="GHKey.html" title="class in org.kohsuke.github">GHKey</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPublicKeys()">getPublicKeys</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the read-only list of all the pulic keys of the current user.</div>
</td>
</tr>
<tr id="i6" 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="GHVerifiedKey.html" title="class in org.kohsuke.github">GHVerifiedKey</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPublicVerifiedKeys()">getPublicVerifiedKeys</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the read-only list of all the public verified keys of the current user.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<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="#listAllRepositories()">listAllRepositories</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#listRepositories()"><code>listRepositories()</code></a></div>
</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHMembership.html" title="class in org.kohsuke.github">GHMembership</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listOrgMemberships()">listOrgMemberships</a></span>()</code></th>
<td class="colLast">
<div class="block">List your organization memberships</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHMembership.html" title="class in org.kohsuke.github">GHMembership</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listOrgMemberships(org.kohsuke.github.GHMembership.State)">listOrgMemberships</a></span>&#8203;(<a href="GHMembership.State.html" title="enum in org.kohsuke.github">GHMembership.State</a>&nbsp;state)</code></th>
<td class="colLast">
<div class="block">List your organization memberships</div>
</td>
</tr>
<tr id="i10" 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()">listRepositories</a></span>()</code></th>
<td class="colLast">
<div class="block">Lists up all repositories this user owns (public and private).</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<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">List repositories that are accessible to the authenticated user (public and private) using the specified page
size.</div>
</td>
</tr>
<tr id="i12" 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,org.kohsuke.github.GHMyself.RepositoryListFilter)">listRepositories</a></span>&#8203;(int&nbsp;pageSize,
<a href="GHMyself.RepositoryListFilter.html" title="enum in org.kohsuke.github">GHMyself.RepositoryListFilter</a>&nbsp;repoType)</code></th>
<td class="colLast">
<div class="block">List repositories of a certain type that are accessible by current authenticated user using the specified page
size.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.kohsuke.github.GHUser">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.kohsuke.github.<a href="GHUser.html" title="class in org.kohsuke.github">GHUser</a></h3>
<code><a href="GHUser.html#equals(java.lang.Object)">equals</a>, <a href="GHUser.html#follow()">follow</a>, <a href="GHUser.html#getFollowers()">getFollowers</a>, <a href="GHUser.html#getFollows()">getFollows</a>, <a href="GHUser.html#getKeys()">getKeys</a>, <a href="GHUser.html#getOrganizations()">getOrganizations</a>, <a href="GHUser.html#hashCode()">hashCode</a>, <a href="GHUser.html#isMemberOf(org.kohsuke.github.GHOrganization)">isMemberOf</a>, <a href="GHUser.html#isMemberOf(org.kohsuke.github.GHTeam)">isMemberOf</a>, <a href="GHUser.html#isPublicMemberOf(org.kohsuke.github.GHOrganization)">isPublicMemberOf</a>, <a href="GHUser.html#listEvents()">listEvents</a>, <a href="GHUser.html#listFollowers()">listFollowers</a>, <a href="GHUser.html#listFollows()">listFollows</a>, <a href="GHUser.html#listGists()">listGists</a>, <a href="GHUser.html#listStarredRepositories()">listStarredRepositories</a>, <a href="GHUser.html#listSubscriptions()">listSubscriptions</a>, <a href="GHUser.html#unfollow()">unfollow</a></code></li>
</ul>
<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#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#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#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>GHMyself</h4>
<pre>public&nbsp;GHMyself()</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="getEmails()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEmails</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="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;getEmails()
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="#getEmails2()"><code>getEmails2()</code></a></div>
</div>
<div class="block">Gets emails.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the emails</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="getEmails2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEmails2</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="GHEmail.html" title="class in org.kohsuke.github">GHEmail</a>&gt;&nbsp;getEmails2()
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 read-only list of e-mail addresses configured for you.
<p>
This corresponds to the stuff you configure in https://github.com/settings/emails, and not to be confused with
<a href="GHPerson.html#getEmail()"><code>GHPerson.getEmail()</code></a> that shows your public e-mail address set in https://github.com/settings/profile</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Always non-null.</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="getPublicKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPublicKeys</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="GHKey.html" title="class in org.kohsuke.github">GHKey</a>&gt;&nbsp;getPublicKeys()
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 read-only list of all the pulic keys of the current user.
<p>
NOTE: When using OAuth authenticaiton, the READ/WRITE User scope is required by the GitHub APIs, otherwise you
will get a 404 NOT FOUND.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Always non-null.</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="getPublicVerifiedKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPublicVerifiedKeys</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="GHVerifiedKey.html" title="class in org.kohsuke.github">GHVerifiedKey</a>&gt;&nbsp;getPublicVerifiedKeys()
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 read-only list of all the public verified keys of the current user.
<p>
Differently from the getPublicKeys() method, the retrieval of the user's verified public keys does not require
any READ/WRITE OAuth Scope to the user's profile.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Always non-null.</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="getAllOrganizations()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllOrganizations</h4>
<pre class="methodSignature">public&nbsp;<a href="GHPersonSet.html" title="class in org.kohsuke.github">GHPersonSet</a>&lt;<a href="GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a>&gt;&nbsp;getAllOrganizations()
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 the organization that this user belongs to.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the all organizations</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="getAllRepositories()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllRepositories</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="GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;getAllRepositories()
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 the all repositories this user owns (public and private).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the all repositories</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()">
<!-- -->
</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()</pre>
<div class="block">Lists up all repositories this user owns (public and private).
Unlike <a href="#getAllRepositories()"><code>getAllRepositories()</code></a>, this does not wait until all the repositories are returned. Repositories
are returned by GitHub API with a 30 items per page.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="GHPerson.html#listRepositories()">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="returnLabel">Returns:</span></dt>
<dd>the paged iterable</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">List repositories that are accessible to the authenticated user (public and private) using the specified page
size.
This includes repositories owned by the authenticated user, repositories that belong to other users where the
authenticated user is a collaborator, and other organizations' repositories that the authenticated user has
access to through an organization membership.</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="listRepositories(int,org.kohsuke.github.GHMyself.RepositoryListFilter)">
<!-- -->
</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,
<a href="GHMyself.RepositoryListFilter.html" title="enum in org.kohsuke.github">GHMyself.RepositoryListFilter</a>&nbsp;repoType)</pre>
<div class="block">List repositories of a certain type that are accessible by current authenticated user using the specified page
size.</div>
<dl>
<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.</dd>
<dd><code>repoType</code> - type of repository returned in the listing</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
</dl>
</li>
</ul>
<a id="listAllRepositories()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listAllRepositories</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="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;listAllRepositories()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="#listRepositories()"><code>listRepositories()</code></a></div>
</div>
<div class="block">List all repositories paged iterable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
</dl>
</li>
</ul>
<a id="listOrgMemberships()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listOrgMemberships</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHMembership.html" title="class in org.kohsuke.github">GHMembership</a>&gt;&nbsp;listOrgMemberships()</pre>
<div class="block">List your organization memberships</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
</dl>
</li>
</ul>
<a id="listOrgMemberships(org.kohsuke.github.GHMembership.State)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listOrgMemberships</h4>
<pre class="methodSignature">public&nbsp;<a href="PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="GHMembership.html" title="class in org.kohsuke.github">GHMembership</a>&gt;&nbsp;listOrgMemberships&#8203;(<a href="GHMembership.State.html" title="enum in org.kohsuke.github">GHMembership.State</a>&nbsp;state)</pre>
<div class="block">List your organization memberships</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>state</code> - Filter by a specific state</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the paged iterable</dd>
</dl>
</li>
</ul>
<a id="getMembership(org.kohsuke.github.GHOrganization)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMembership</h4>
<pre class="methodSignature">public&nbsp;<a href="GHMembership.html" title="class in org.kohsuke.github">GHMembership</a>&nbsp;getMembership&#8203;(<a href="GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a>&nbsp;o)
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 your membership in a specific organization.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>o</code> - the o</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the membership</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/GHMyself.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>