Package com.jcabi.github
Interface UserOrganizations
-
@Immutable public interface UserOrganizations
Organizations of a Github user.- Since:
- 0.24
- Version:
- $Id: 41239bcbaf2b3027ab1d07d9777c52b6e8318075 $
- Author:
- Paul Polishchuk (ppol@ua.fm), Chris Rebert (github@chrisrebert.com)
- See Also:
- Organizations API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Github
github()
Github we're in.Iterable<Organization>
iterate()
Iterate organizations of particular user.User
user()
Get its owner.
-
-
-
Method Detail
-
github
Github github()
Github we're in.- Returns:
- Github
-
user
User user()
Get its owner.- Returns:
- User
-
iterate
Iterable<Organization> iterate() throws IOException
Iterate organizations of particular user. All public organizations for an unauthenticated user or private and public organizations for authenticated users- Returns:
- Iterator of Organizations
- Throws:
IOException
- If there is an I/O problem- Since:
- 0.24
- See Also:
- List User Organizations
-
-